add setuptools to bayes extra

httpstan imports pkg_resources at runtime, which modern pip/venvs no
longer bootstrap by default, breaking the bayes extra in fresh CI envs.
This commit is contained in:
Alejandro Moreo Fernandez 2026-07-17 17:17:20 +02:00
parent 6e83bbef67
commit 0965d99135
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ setup(
# Similar to `install_requires` above, these must be valid existing
# projects.
extras_require={ # Optional
'bayes': ['jax', 'jaxlib', 'numpyro', 'pystan'],
'bayes': ['jax', 'jaxlib', 'numpyro', 'pystan', 'setuptools'],
'neural': ['torch'],
'tests': ['certifi'],
'docs' : ['sphinx-rtd-theme', 'myst-parser'],