Move test/docs/dev deps to groups and simplify CI installs. - #619
Merged
Conversation
Use PEP 735 dependency groups instead of extras for tooling, and install backends only via torch/jax extras so CI no longer tracks upstream master.
Unreleased pyro-ppl develop has the proper fix; pin until that ships.
Keep extras flexible (torch>=2.0, torchvision>=0.15) and pin torch<=2.6 / jax<0.10 in CI until upstream releases land.
fritzo
reviewed
Jul 31, 2026
Comment on lines
+52
to
+54
| # TODO: remove once pyro-ppl releases the Uniform arg_constraints fix | ||
| # (https://github.com/pyro-ppl/pyro/pull/3453). | ||
| pip install .[torch] --group test "torch<=2.6" |
Member
There was a problem hiding this comment.
oh man we really need to release pyro, it's been over two years 😫
fritzo
approved these changes
Jul 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
test,docs, anddevfrom package extras into PEP 735[dependency-groups], keeping onlytorch/jaxas optional extras.make installand GitHub Actions atpip install ... --group ...(requires pip ≥ 25.1).Test plan
pip install . --group testpip install .[torch] --group testpip install .[jax] --group testpip install -e . --group devstill installs docs + test toolingdocs/requirements.txtstill used)