Commit 9c1342d
⬆️ dep-bump: cap unxt below 2.0 (#800)
galax declares `unxt>=1.11.2` with no upper bound, but has never been resolved
or tested against unxt 2.x -- the lock has only ever held a 1.x. Today nothing
declares that boundary: `uv` considers unxt 2.0.0 during resolution (it is
compatible on `requires-python`) and backtracks to 1.11.x for transitive
reasons. That is incidental, not a guarantee, and it disappears the moment the
surrounding constraints shift.
Make the tested boundary explicit. The resolved version is unchanged --
1.11.2, as before -- so this is metadata only; `uv.lock` records the new
specifier and nothing else.
There is a concrete change coming that this guards against. unxt is making unit
system `repr`/`str` round-trippable
(GalacticDynamics/unxt#855), which rewrites the
`LTMAUnitSystem( length=Unit("kpc"), ...)` form that 32 doctest lines here pin,
18 of them in `_interop/galax_interop_gala/potential.py` and 12 in
`..._galpy/potential.py`. Those updates belong with the port to unxt 2.x, not
ahead of it.
Lift this cap in the PR that does that port.
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>1 parent e6ef7d5 commit 9c1342d
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments