GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — REL: Remove Python upper version from the release branch by seberg · Pull Request #24962 · numpy/numpy

Conversation

@seberg

@seberg seberg commented Oct 19, 2023

Copy link
Copy Markdown
Member

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

espdev, ilayn, Vuizur, and Saelyos reacted with thumbs up emoji
All reactions
  • 👍 4 reactions
@seberg
REL: Remove Python upper version from the release branch
82d7657
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
@github-actions github-actions Bot added the 14 - Release label Oct 19, 2023
@seberg seberg added 00 - Bug 01 - Enhancement and removed 14 - Release labels Oct 19, 2023
@seberg seberg added this to the 1.26.2 release milestone Oct 19, 2023
rgommers
rgommers approved these changes Oct 20, 2023
View reviewed changes

@rgommers rgommers left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this 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.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@rgommers
rgommers merged commit 4649a05 into numpy:maintenance/1.26.x Oct 20, 2023
@seberg
seberg deleted the no-upper-py-pin branch October 20, 2023 10:56
@sr-murthy sr-murthy mentioned this pull request Nov 1, 2023
PDM complains when using 3.12 with requires-python >=3.10 pdm-project/pdm#2347
Closed
1 task done
@andyfaff andyfaff mentioned this pull request Nov 13, 2023
BUG: Python version constraints in releases causes issues for less strict downstream versions scipy/scipy#19513
Closed
tylerjereddy added a commit to tylerjereddy/scipy that referenced this pull request Nov 13, 2023
@tylerjereddy
MAINT, REL: unpin Python 1.11.x branch
9f1325c
* 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]
@tylerjereddy tylerjereddy mentioned this pull request Nov 13, 2023
MAINT, REL: unpin Python 1.11.x branch scipy/scipy#19517
Merged
rgommers pushed a commit to scipy/scipy that referenced this pull request Nov 15, 2023
@tylerjereddy
MAINT, REL: unpin Python 1.11.x branch (#19517)
bd349bd
* 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]
@m-martin-j m-martin-j mentioned this pull request Nov 24, 2023
Python version constraints could lead to breaking dependency resolution online-ml/river#1459
Closed
@yokomotod yokomotod mentioned this pull request Mar 6, 2024
relax python upper constraint m3dev/gokart#357
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@rgommers rgommers rgommers approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

00 - Bug 01 - Enhancement

Projects

None yet

Milestone

1.26.2 release

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@seberg @rgommers
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.