From 125d4bd75601876e67b9bddba81a4380ab604dba Mon Sep 17 00:00:00 2001 From: Alejandro Moreo Date: Fri, 17 Jul 2026 17:39:33 +0200 Subject: [PATCH] pin setuptools<82 in bayes extra setuptools 82 removed pkg_resources entirely, which httpstan still imports at runtime; CI's prior `pip install --upgrade setuptools` step grabs the latest, so an unpinned setuptools didn't help. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index bdc9c74..f93c29b 100644 --- a/setup.py +++ b/setup.py @@ -130,7 +130,7 @@ setup( # Similar to `install_requires` above, these must be valid existing # projects. extras_require={ # Optional - 'bayes': ['jax', 'jaxlib', 'numpyro', 'pystan', 'setuptools'], + 'bayes': ['jax', 'jaxlib', 'numpyro', 'pystan', 'setuptools<82'], 'neural': ['torch'], 'tests': ['certifi'], 'docs' : ['sphinx-rtd-theme', 'myst-parser'],