-
Notifications
You must be signed in to change notification settings - Fork 248
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
Compatibility with Python3.11 (again) #288
Comments
Python-3.11
|
We went ahead and reverted that change: |
I only fixed |
That was part of my original fix in #280. I don't believe @blackPantherOS's failure is happening on Greenlet's |
At least locally for me it compiles and |
Thanks, I tried latest git (2.0.0a1) as well
|
I am now seeing a different failure
I believe (but have not debugged/proven) that this is related to 18b5dd68c6b616257ae243c0b6bb965ffc885a23 / python/cpython#31530 / https://bugs.python.org/issue46836 which moved around some of the (internal) structs. |
Thanks for the update. I'm working on seeing if we can revert those changes in CPython, rather than requiring another layer of compatibility macros here. |
When these thing happen I should start with greenlet as other projects seem happier to adapt! This is a very late dependency in my personal stack so I tend to get to it after dealing with cython/numpy/scipy/pybind11 etc. |
I'm not affiliated with Greenlet, but my team is interested in keeping a few projects like Greenlet working for dev versions of CPython (since we need them to benchmark our performance work). |
Hi Greenlet - This is really not my usual style as I am very familiar with people poking me about issues that will be fixed, "when they're fixed", but Python 3.11 is at 3.11b1 now, downstream distros are packaging things and being able to build greenlet on py311 is starting to really hold things up. Is there any workaround / patch / specific tag available so that downstream dependents like SQLAlchemy can move forward with Py 3.11? thanks for listening.
|
looks like #302 does it, thanks @tacaswell |
I will work on getting that merged and released ASAP. |
thanks! I have greenlet in our CI now with that patch so we're OK on this end. sorry for whining. |
Not at all! I know I haven't been as responsive as I used to be, or would like to be, the past few months. The occasional polite poke is appreciated. |
Upstream CPython is aware of this issue and it is my understanding that this is considered a regression that they intend to fix. python/cpython#92800 is tracking a related issue. |
Also xref #301 |
Fixed issue where support for logging "stacklevel" implemented in :ticket:`7612` required adjustment to work with recently released Python 3.11.0b1, also repairs the unit tests which tested this feature. Install greenlet from a py311 compat patch. re: the stacklevel thing, this is going to be very inconvenient if we have to keep hardcoding numbers everywhere for every new python version Change-Id: I0c8f7293e98c0ca5cc544538284bfd1d3020cb1f References: python-greenlet/greenlet#288 Fixes: #8019
Fixed issue where support for logging "stacklevel" implemented in :ticket:`7612` required adjustment to work with recently released Python 3.11.0b1, also repairs the unit tests which tested this feature. Install greenlet from a py311 compat patch. re: the stacklevel thing, this is going to be very inconvenient if we have to keep hardcoding numbers everywhere for every new python version Change-Id: I0c8f7293e98c0ca5cc544538284bfd1d3020cb1f References: python-greenlet/greenlet#288 Fixes: #8019 (cherry picked from commit 43ff5b82dc0d91cacd625ac8943622ab340958c5)
If I followed correctly, all issues discussed here have been fixed so I suggest closing this issue. See the follow-up issue: "Schedule for a beta release of greenlet 2.0?" #303 |
I agree! All breaking changes were fixed upstream. |
python/cpython#30590 made changes to the way exceptions are stored on the thread stucts and greenlet does not compile
The text was updated successfully, but these errors were encountered: