Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REL: Remove Python upper version from the release branch #24962

Merged
merged 1 commit into from Oct 20, 2023

Conversation

seberg
Copy link
Member

@seberg seberg commented Oct 19, 2023

While the upper version is technically correct for the released version of NumPy (we are sure it will not work on Python 3.13) advertising it creates some problems, mostly for locking resolvers. They try to guess correct versions for non-released Python versions...

This is probably an ecosystem or just "reasons", but it seems less useful than trouble to do the correct advertising here.

See gh-24810 for way too much discussion about the why (and you will still be confused afterwards probably, so...).
This needs to be fixed or at least documented clearer upstream by PyPA or similar, but...

Closes gh-24810

While the upper version is technically correct for the released
version of NumPy (we are sure it will not work on Python 3.13)
advertising it creates some problems, mostly for locking resolvers.
They try to guess correct versions for non-released Python versions...

This is probably an ecosystem or just "reasons", but it seems less
useful than trouble to do the correct advertising here.

See numpygh-24810 for *way* too much discussion about the why (and you will
still be confused afterwards probably, so...).
This needs to be fixed or at least documented clearer upstream by
PyPA or similar, but...

Closes numpygh-24810
Copy link
Member

@rgommers rgommers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Sebastian. Agreed, not worth spending even more time on right now. In it goes.

@rgommers rgommers merged commit 4649a05 into numpy:maintenance/1.26.x Oct 20, 2023
63 checks passed
@seberg seberg deleted the no-upper-py-pin branch October 20, 2023 10:56
tylerjereddy added a commit to tylerjereddy/scipy that referenced this pull request Nov 13, 2023
* this patch against our latest maintenance branch is
related to scipygh-19513, and NumPy made a similar decision
upstream in numpy/numpy#24962

* the discussions surrounding this are pretty confusing,
but it seems like we may need to do it for resolvers
like those used by `poetry`...

* I suppose this increases the likelihood I have to do
`1.11.4`, but it was looking somewhat likely anyway...

[skip cirrus] [skip circle]
rgommers pushed a commit to scipy/scipy that referenced this pull request Nov 15, 2023
* this patch against our latest maintenance branch is
related to gh-19513, and NumPy made a similar decision
upstream in numpy/numpy#24962

* the discussions surrounding this are pretty confusing,
but it seems like we may need to do it for resolvers
like those used by `poetry`...

* I suppose this increases the likelihood I have to do
`1.11.4`, but it was looking somewhat likely anyway...

[skip cirrus] [skip circle]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants