Skip to content

chore(deps): consolidate Python dependency range widening for release-v1#1240

Merged
MilesCranmer merged 2 commits into
astroautomata:release-v1from
MilesCranmerBot:bot/consolidate-pip-deps-release-v1
Jun 28, 2026
Merged

chore(deps): consolidate Python dependency range widening for release-v1#1240
MilesCranmer merged 2 commits into
astroautomata:release-v1from
MilesCranmerBot:bot/consolidate-pip-deps-release-v1

Conversation

@MilesCranmerBot

Copy link
Copy Markdown
Contributor

Consolidates multiple dependabot Python dependency bumps for the release-v1 branch.

Changes:

  • juliacall >=0.9.24,<0.9.27 → >=0.9.24,<0.9.36
  • beartype >=0.19,<0.22 → >=0.19,<0.23
  • jax[cpu] >=0.4,<0.6 → >=0.4,<0.7
  • mypy >=1,<2 → >=1,<3
  • pytest-cov >=5,<7 → >=5,<8

Closes #1228
Closes #1230
Closes #1232
Closes #1234
Closes #1235

- juliacall >=0.9.24,<0.9.27 → >=0.9.24,<0.9.36
- beartype >=0.19,<0.22 → >=0.19,<0.23
- jax[cpu] >=0.4,<0.6 → >=0.4,<0.7
- mypy >=1,<2 → >=1,<3
- pytest-cov >=5,<7 → >=5,<8

Closes astroautomata#1228
Closes astroautomata#1230
Closes astroautomata#1232
Closes astroautomata#1234
Closes astroautomata#1235
@MilesCranmer

Copy link
Copy Markdown
Member

@MilesCranmerBot can you check if these dependency upper bounds are actually used?

@MilesCranmerBot

Copy link
Copy Markdown
Contributor Author

Here's the analysis of each upper bound and whether it's actually exercised:

Package New bound Latest on PyPI Used in codebase? Verdict
juliacall <0.9.36 0.9.35 ✅ Core dep — pysr/julia_import.py, tests ⚠️ Barely includes the latest release. Next version (0.9.36) will be excluded.
beartype <0.23 0.22.9 ✅ Optional runtime — pysr/__init__.py (gated on PYSR_USE_BEARTYPE=1); CI has a dedicated beartype job ⚠️ Same — barely includes latest.
jax[cpu] <0.7 0.10.2 pysr/export_jax.py, test_jax.py, CI runs jax tests Too restrictive. JAX is already at 0.10.2; this bound excludes 0.7–0.10.x.
mypy <3 2.1.0 ✅ CI runs mypy --install-types and mypy --ignore-missing-imports ✅ Fine — includes all current versions.
pytest-cov <8 7.1.0 ⚠️ Not directly used. CI uses the coverage package directly (coverage run -m pysr test ...). No pytest config references --cov. The separate coverage>=7,<8 dep is what CI actually uses. ✅ Bound is fine, but the package itself may be dead weight.

@codecov

codecov Bot commented Jun 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@MilesCranmer

Copy link
Copy Markdown
Member

@MilesCranmerBot could you please adjust to include the newer jax versions please

Co-authored-by: Miles Cranmer <miles.cranmer@gmail.com>
@MilesCranmer MilesCranmer merged commit 757c152 into astroautomata:release-v1 Jun 28, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants