-
-
Notifications
You must be signed in to change notification settings - Fork 151
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
Python 3.11 compatibility #305
Comments
It would also be nice to replace the |
On related note: |
@itsankitkp they seem cython-related issues. Did you build it with the master version of cython? 3.0.0a10 surely doesn't support Python 3.12. |
Yes, I build with master version of CPython (Python 3.12.0a0 (heads/main:16b6e14) [GCC 11.2.0] on linux). Might need to dig deeper. |
And which version of Cython? |
Pip freeze result as follows: |
Cython 0.x definitely doesn't work. As already stated, to have a chance to compile for Python 3.11 you need cython from master, for the reasons explained in this ticket. I expect Python 3.12 to need at least the same. |
I did try that but it is still failing with Cython==3.0.0a10 (Cython master) Might need to wait for 3.0.0a11 |
Error log error.txt |
https://pythoninsider.blogspot.com/2022/08/python-3110rc1-is-now-available.html
|
You have a typo in the package name. You can probably install
I have noticed that Cython 3.0.0a11 has been released: will try if it fixes all the problems and merge this branch so that we can release packages for Py11 as soon as it's final. |
The To be merged to master and released as soon as Python 3.11 is officially released. |
PyPi supports pre-releases. What do you think about publishing the preliminary version as such a pre-release to allow early adopters to already test their application with it? |
It makes sense, @septatrix, you are right 👍 I've uploaded the packages just built on test pypi: instruction to install them at https://test.pypi.org/project/psycopg/3.1.2.dev0/ |
Merging to master and releasing, see #424. |
This comment was marked as abuse.
This comment was marked as abuse.
Do I owe you anything? Psycopg 3 for 3.11 has been released days ago. You are most likely barking at the wrong tree. But, because you are so nice, I will save you from barking more by blocking you. I have zero patience for people like you. |
@loopassembly I assume you are trying to build from source. If so it seems like |
At the moment, psycopg-c build is not compatible with Python 3.11. We probably need to wait for release of Cython 3.0.0a11 because the errors during build seem already addressed and merged to master:
The text was updated successfully, but these errors were encountered: