-
Notifications
You must be signed in to change notification settings - Fork 519
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
Backport #702 for 5.4
: Pin Cython build constraint to < 3.0
#726
Backport #702 for 5.4
: Pin Cython build constraint to < 3.0
#726
Conversation
* keeps libyaml extension build functional once Cython 3.0 releases; stopgap measure until we can rewrite the extension build to eliminate all the ancient deprecated distutils magic
5.4.1
: Pin Cython build constraint to < 3.05.4
: Pin Cython build constraint to < 3.0
c354143
to
99b5657
Compare
@nitzmahone please review😁 |
After the fire-drill required to rebuild all the 6.0 wheels, I'm not planning to touch the 5.x codebases or packages. The packaging metadata is the easy part- the hard part is rebuilding and re-releasing all the same wheels without risking breakage (esp since a number of the worker images have been discontinued). If we release a new 5.x sdist, we have to re-release all the wheels or we've broken everyone else that was still working fine with those old versions. For folks that need to build 5.x from sdist, I'd suggest using some combo of |
@nitzmahone thanks for looking into this and for your detailed response. |
@nitzmahone IIUC re-releasing the sdist to PyPI wouldn't require re-releasing wheels. Am I missing something? The issue with |
I also think so, assuming one didn't change their requirements, if pip fails to install 5.4.2 from source it should backtrack to 5.4.1 and install without a problem. |
What I'm talking about is re-releasing 5.4.1 sdist with the single Right now the 5.4.1 sdist is basically unusable, but the rest of the wheels are fine. |
Not possible. pypi refuses to reuse a version name. |
but e.g. docker-compose is requiring PyYAML < 6 and existing 5.4.1 is broken for me |
It's a bit unfortunate that this issue got closed because the problem with building the package essentially means that we're unable to build our application the usual way (poetry with a lock file - because the build dependencies of transitive dependencies are not locked). EDIT: I now have an ugly workaround. As part of the dockerfile:
|
Would it be possible to release pre-built wheels for Python 3.10? That would solve the issue for us because then we wouldn't have to build the wheel. Thank you kindly for considering this. |
Hi guys, |
Hi @nitzmahone |
Another idea is to release |
@idanmiara: I think a 5.4.2 Python3.10+ sdist is a great idea but I would prefer a #731 (formerly #602) style fix instead of a #702 workaround port. |
@Uzume |
@idanmiara: By "other maintainers" I assume you are referring to @ingydotnet or @perlpunk? Those are the only other users listed as maintainers at PyPI (and mapping usernames to GH). |
For the record, no opinion from me, because I'm not familiar enough with python releases and especially not cython. I concentrate mainly on YAML related stuff. |
@perlpunk: Thanks for the response. What you said may be true, however, you three are the only ones at PyPI that seem to have access to releases there (despite the greater number of people here in the GH org) and thus are the only ones capable to affecting changes there (besides PyPI admins themselves taking a direct hand in something). |
This is a backport of #702 + release of
5.4.2
Also closes #724
I'm not sure if
release/5.4.1
is the correct branch to rebase this, but I didn't find av5.4
branch or similar.