-
Notifications
You must be signed in to change notification settings - Fork 778
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
Version 0.15.2 with support for Pypy 3.9 and Python 3.6 #2260
Comments
Personally, I think that is reasonable. Maybe make 0.15 a kind of "LTS" version? |
First, thanks! In the immediate term I think PyPy 3.9 support is the only compatibility issue we're currently facing with pyo3 0.15. To take a broader view, I'd love to think about what ways we (pyca/cryptography) can maintain our current, relatively conservative, support policies without placing too much burden on packages like pyo3. Notwithstanding my long-running frustration at support things because distros support them beyond the life of upstream (https://alexgaynor.net/2015/mar/30/red-hat-open-source-community/), I expect we'll continue to support Python 3.6 for quite a while; we also currently support rustc 1.41.0 and we'll be conservative in increasing that as well. I'd like to believe there's an outcome where we can maintain these without burdening the pyo3 team too much! |
Would it be feasible to fix As far as I can see in pyca/cryptography#6935 the only breaking change is the removed PartialEq impl, but substituting it with |
Hmm, a few thoughts:
|
What kind of timescale do you have for dropping Python 3.6 support? Personally I'm lukewarm about maintaining multiple pyo3 versions, especially if it's for years.. |
I was just pointed at https://github.com/TrueLayer/reqwest-middleware/blob/main/reqwest-tracing/Cargo.toml as a potential method to address this, and then we set the Our plan is to be data driven in when we drop it, based on usage going low enough. https://pypistats.org/packages/cryptography shows that 3.6 is ~13% ATM, I think we'd want it to be <5% before we consider dropping. Based on supporting both looking tractable, I think I'm going to try it! |
Unfortunately the pattern I linked doesn't work, because |
I would be happy to release a PyO3 0.15.2 with PyPy 3.9 support. Unfortunately I don't have time to implement this release myself at present, so community input is very welcome. @felipou I suggest looking at #2217 and #2143 Note that we split |
Opened #2262 |
You people are awesome! 👏 |
Hi! First of all, thanks for building and maintaining this project!
The cryptography project, which depends on this PyO3, is currently unable to provide support for Pypy with Python 3.9, because a large portion of their users still use Python 3.6, which was dropped in version 0.16 of PyO3, the same that first includes support for Pypy 3.9.
This is the relevant issue: pyca/cryptography#6924
It has been suggested that a new patch release could be used to solve this issue, for example a version 0.15.2 adding support for Pypy 3.9 while also keeping support for Python 3.6.
Is that feasible? Would a pull request be accepted? If yes, can you give me some pointers or tips so that I can start working on this?
The text was updated successfully, but these errors were encountered: