DEP: update and add missing lower bounds on direct dependencies#15041
Merged
Carreau merged 3 commits intoipython:mainfrom Oct 31, 2025
Merged
DEP: update and add missing lower bounds on direct dependencies#15041Carreau merged 3 commits intoipython:mainfrom
Carreau merged 3 commits intoipython:mainfrom
Conversation
This was referenced Oct 26, 2025
Member
|
Thanks, I've resolve some conflicts. I tend to be ok with being fairly aggressive with minimum dependencies as IPython follows spec-0 (https://scientific-python.org/specs/spec-0000/) If you think any other test matrix elements are needed, feel free to send a PR. |
Contributor
Author
will do once this one goes in. Thanks ! |
Carreau
added a commit
that referenced
this pull request
Nov 4, 2025
…orted versions of direct dependencies (#15054) Follow up to #15041 Since this setup requires uv (pip install doesn't support the `--resolution` argument, crucial to this work), I've written it as a completely separate job instead of a matrix item. It would be possible to reconcile the two, but that would make for a much more invasive change where I'd replace pip with uv everywhere. Of course, if that's desired, I'm also happy to go all-in with uv, either here, or as a follow up PR.
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.
Include changes from #15040
This is a best-effort attempt to provide/update lower bounds on direct dependencies in two groups: hard requirements, and test dependencies.
At the time of opening, I still see 7 test failing locally with an env obtained with
uv sync --resolution=lowest-directwhich may indicate that some updates are still needed (although it is not clear what dependencies are causing the failures). It could also be a symptom of transitive dependencies incompatibilities. In any case, this is still much better than no explicit lower bounds at all.The end goal is to enable testing downstream with
--resolution=lowest.To guide reviewers I've included small comments to justify my choice of lower bounds. I simply commented "wheel" in places where I picked the oldest version that has a compatible wheel on PyPI (in some cases, older versions might still build from source, but relying on much more recent versions of setuptools is more or less bound to break at some point).
If you're interested, I'd be happy to also setup a CI job to systematically check that lower bounds are sound and up to date.