Closed rouilj closed 1 month ago
Hello @rouilj Thank you for creating this issue. We will investigate it and get back to you as soon as we have some feedback.
this is an issue with psycopg2, not setup-python: https://github.com/psycopg/psycopg2/pull/1695
this is an issue with psycopg2, not setup-python: psycopg/psycopg2#1695
Thanks for the pointer to that issue. It looks like that could be the problem.
The patch for psycopg/utils.c in that issue appears to change _PyInterpreterState_Get
to
PyInterpreterState_Get
for 3.13. I'll close this for now as I have followed up on psycopg2's 1695.
I'll re-open if it turns out that's not the fix.
Thanks.
Description: In order to run psycopg2, I have to install it manually in the 3.13 tree. When I do this, it builds successfully with 3.13beta1 (the build failed with 3.13alpha6 see #848). But when importing psycopg2 I get:
Action version:
Platform:
Runner type:
Tools version:
3.13beta1
Repro steps:
should cause the crash on import with:
Expected behavior:
No import error and the ability to use the package to connect to the running postgresql server.
Actual behavior:
Crash with import error:
You can see the run at:
for full details. The
pip install psycopg2
is located under the section "Install python db libraries" and the import crash is under the section: "Test build roundup and install locale so lang tests work."