We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I tried updating the base of our container images to fedora 41 out of curiosity, i.e:
ara/contrib/container-images/fedora-pypi.sh
Line 7 in 5fe28b7
and they fail the installation of psycopg2:
Building wheels for collected packages: mysqlclient, psycopg2, pyperclip Building wheel for mysqlclient (pyproject.toml) ... done Created wheel for mysqlclient: filename=mysqlclient-2.2.4-cp313-cp313-linux_x86_64.whl size=81367 sha256=7ab6d92d0cfdcc1096f5186deb18599eb54810da334eb44692f9a1883456070e Stored in directory: /root/.cache/pip/wheels/f8/95/61/e1d558bae0b83f3152629d5f1f99f0dab06f06b0f659d33445 Building wheel for psycopg2 (pyproject.toml) ... error error: subprocess-exited-with-error × Building wheel for psycopg2 (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [102 lines of output] running bdist_wheel running build running build_py creating build/lib.linux-x86_64-cpython-313/psycopg2 copying lib/_json.py -> build/lib.linux-x86_64-cpython-313/psycopg2 copying lib/extensions.py -> build/lib.linux-x86_64-cpython-313/psycopg2 copying lib/_ipaddress.py -> build/lib.linux-x86_64-cpython-313/psycopg2 copying lib/errors.py -> build/lib.linux-x86_64-cpython-313/psycopg2 copying lib/tz.py -> build/lib.linux-x86_64-cpython-313/psycopg2 copying lib/_range.py -> build/lib.linux-x86_64-cpython-313/psycopg2 copying lib/sql.py -> build/lib.linux-x86_64-cpython-313/psycopg2 copying lib/errorcodes.py -> build/lib.linux-x86_64-cpython-313/psycopg2 copying lib/__init__.py -> build/lib.linux-x86_64-cpython-313/psycopg2 copying lib/pool.py -> build/lib.linux-x86_64-cpython-313/psycopg2 copying lib/extras.py -> build/lib.linux-x86_64-cpython-313/psycopg2 running build_ext building 'psycopg2._psycopg' extension creating build/temp.linux-x86_64-cpython-313/psycopg gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/adapter_asis.c -o build/temp.linux-x86_64-cpython-313/psycopg/adapter_asis.o -Wdeclaration-after-statement gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/adapter_binary.c -o build/temp.linux-x86_64-cpython-313/psycopg/adapter_binary.o -Wdeclaration-after-statement gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/adapter_datetime.c -o build/temp.linux-x86_64-cpython-313/psycopg/adapter_datetime.o -Wdeclaration-after-statement gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/adapter_list.c -o build/temp.linux-x86_64-cpython-313/psycopg/adapter_list.o -Wdeclaration-after-statement gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/adapter_pboolean.c -o build/temp.linux-x86_64-cpython-313/psycopg/adapter_pboolean.o -Wdeclaration-after-statement gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/adapter_pdecimal.c -o build/temp.linux-x86_64-cpython-313/psycopg/adapter_pdecimal.o -Wdeclaration-after-statement gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/adapter_pfloat.c -o build/temp.linux-x86_64-cpython-313/psycopg/adapter_pfloat.o -Wdeclaration-after-statement gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/adapter_pint.c -o build/temp.linux-x86_64-cpython-313/psycopg/adapter_pint.o -Wdeclaration-after-statement gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/adapter_qstring.c -o build/temp.linux-x86_64-cpython-313/psycopg/adapter_qstring.o -Wdeclaration-after-statement gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/aix_support.c -o build/temp.linux-x86_64-cpython-313/psycopg/aix_support.o -Wdeclaration-after-statement gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/bytes_format.c -o build/temp.linux-x86_64-cpython-313/psycopg/bytes_format.o -Wdeclaration-after-statement gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/column_type.c -o build/temp.linux-x86_64-cpython-313/psycopg/column_type.o -Wdeclaration-after-statement gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/connection_int.c -o build/temp.linux-x86_64-cpython-313/psycopg/connection_int.o -Wdeclaration-after-statement psycopg/connection_int.c: In function ‘_conn_get_async_cursor’: psycopg/connection_int.c:1050:5: warning: ‘PyWeakref_GetObject’ is deprecated [-Wdeprecated-declarations] 1050 | if (!(py_curs = PyWeakref_GetObject(self->async_cursor))) { | ^~ In file included from /usr/include/python3.13/Python.h:113, from ./psycopg/psycopg.h:35, from psycopg/connection_int.c:28: /usr/include/python3.13/weakrefobject.h:30:44: note: declared here 30 | Py_DEPRECATED(3.13) PyAPI_FUNC(PyObject *) PyWeakref_GetObject(PyObject *ref); | ^~~~~~~~~~~~~~~~~~~ gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/connection_type.c -o build/temp.linux-x86_64-cpython-313/psycopg/connection_type.o -Wdeclaration-after-statement gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/conninfo_type.c -o build/temp.linux-x86_64-cpython-313/psycopg/conninfo_type.o -Wdeclaration-after-statement gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/cursor_int.c -o build/temp.linux-x86_64-cpython-313/psycopg/cursor_int.o -Wdeclaration-after-statement gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/cursor_type.c -o build/temp.linux-x86_64-cpython-313/psycopg/cursor_type.o -Wdeclaration-after-statement psycopg/cursor_type.c: In function ‘curs_fetchone’: psycopg/cursor_type.c:782:9: warning: ‘PyWeakref_GetObject’ is deprecated [-Wdeprecated-declarations] 782 | && PyWeakref_GetObject(self->conn->async_cursor) == (PyObject*)self) | ^~ In file included from /usr/include/python3.13/Python.h:113, from ./psycopg/psycopg.h:35, from psycopg/cursor_type.c:28: /usr/include/python3.13/weakrefobject.h:30:44: note: declared here 30 | Py_DEPRECATED(3.13) PyAPI_FUNC(PyObject *) PyWeakref_GetObject(PyObject *ref); | ^~~~~~~~~~~~~~~~~~~ psycopg/cursor_type.c: In function ‘curs_next_named’: psycopg/cursor_type.c:829:9: warning: ‘PyWeakref_GetObject’ is deprecated [-Wdeprecated-declarations] 829 | && PyWeakref_GetObject(self->conn->async_cursor) == (PyObject*)self) | ^~ /usr/include/python3.13/weakrefobject.h:30:44: note: declared here 30 | Py_DEPRECATED(3.13) PyAPI_FUNC(PyObject *) PyWeakref_GetObject(PyObject *ref); | ^~~~~~~~~~~~~~~~~~~ psycopg/cursor_type.c: In function ‘curs_fetchmany’: psycopg/cursor_type.c:914:9: warning: ‘PyWeakref_GetObject’ is deprecated [-Wdeprecated-declarations] 914 | && PyWeakref_GetObject(self->conn->async_cursor) == (PyObject*)self) | ^~ /usr/include/python3.13/weakrefobject.h:30:44: note: declared here 30 | Py_DEPRECATED(3.13) PyAPI_FUNC(PyObject *) PyWeakref_GetObject(PyObject *ref); | ^~~~~~~~~~~~~~~~~~~ psycopg/cursor_type.c: In function ‘curs_fetchall’: psycopg/cursor_type.c:983:9: warning: ‘PyWeakref_GetObject’ is deprecated [-Wdeprecated-declarations] 983 | && PyWeakref_GetObject(self->conn->async_cursor) == (PyObject*)self) | ^~ /usr/include/python3.13/weakrefobject.h:30:44: note: declared here 30 | Py_DEPRECATED(3.13) PyAPI_FUNC(PyObject *) PyWeakref_GetObject(PyObject *ref); | ^~~~~~~~~~~~~~~~~~~ gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/diagnostics_type.c -o build/temp.linux-x86_64-cpython-313/psycopg/diagnostics_type.o -Wdeclaration-after-statement gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/error_type.c -o build/temp.linux-x86_64-cpython-313/psycopg/error_type.o -Wdeclaration-after-statement gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/green.c -o build/temp.linux-x86_64-cpython-313/psycopg/green.o -Wdeclaration-after-statement gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/libpq_support.c -o build/temp.linux-x86_64-cpython-313/psycopg/libpq_support.o -Wdeclaration-after-statement gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/lobject_int.c -o build/temp.linux-x86_64-cpython-313/psycopg/lobject_int.o -Wdeclaration-after-statement gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/lobject_type.c -o build/temp.linux-x86_64-cpython-313/psycopg/lobject_type.o -Wdeclaration-after-statement gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/microprotocols.c -o build/temp.linux-x86_64-cpython-313/psycopg/microprotocols.o -Wdeclaration-after-statement gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/microprotocols_proto.c -o build/temp.linux-x86_64-cpython-313/psycopg/microprotocols_proto.o -Wdeclaration-after-statement gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/notify_type.c -o build/temp.linux-x86_64-cpython-313/psycopg/notify_type.o -Wdeclaration-after-statement gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/pqpath.c -o build/temp.linux-x86_64-cpython-313/psycopg/pqpath.o -Wdeclaration-after-statement gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/psycopgmodule.c -o build/temp.linux-x86_64-cpython-313/psycopg/psycopgmodule.o -Wdeclaration-after-statement gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/replication_connection_type.c -o build/temp.linux-x86_64-cpython-313/psycopg/replication_connection_type.o -Wdeclaration-after-statement gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/replication_cursor_type.c -o build/temp.linux-x86_64-cpython-313/psycopg/replication_cursor_type.o -Wdeclaration-after-statement gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/replication_message_type.c -o build/temp.linux-x86_64-cpython-313/psycopg/replication_message_type.o -Wdeclaration-after-statement gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/solaris_support.c -o build/temp.linux-x86_64-cpython-313/psycopg/solaris_support.o -Wdeclaration-after-statement gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/typecast.c -o build/temp.linux-x86_64-cpython-313/psycopg/typecast.o -Wdeclaration-after-statement gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/include/python3.13 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/utils.c -o build/temp.linux-x86_64-cpython-313/psycopg/utils.o -Wdeclaration-after-statement psycopg/utils.c: In function ‘psyco_is_main_interp’: psycopg/utils.c:397:12: error: implicit declaration of function ‘_PyInterpreterState_Get’; did you mean ‘PyInterpreterState_Get’? [-Wimplicit-function-declaration] 397 | return _PyInterpreterState_Get() == PyInterpreterState_Main(); | ^~~~~~~~~~~~~~~~~~~~~~~ | PyInterpreterState_Get psycopg/utils.c:397:38: warning: comparison between pointer and integer 397 | return _PyInterpreterState_Get() == PyInterpreterState_Main(); | ^~ error: command '/usr/bin/gcc' failed with exit code 1 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for psycopg2 Building wheel for pyperclip (pyproject.toml) ... done Created wheel for pyperclip: filename=pyperclip-1.9.0-py3-none-any.whl size=10996 sha256=e88790dcc963834437904b4143c2bdf91aa48ccb412dbce1c669749d8ba11999 Stored in directory: /root/.cache/pip/wheels/9c/79/90/c9e831caaffa2633ad99f1d35c6ea39866b92de62e909e89ef Successfully built mysqlclient pyperclip Failed to build psycopg2 ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (psycopg2) Error: while running runtime: exit status 1
The images should build.
The text was updated successfully, but these errors were encountered:
I haven't checked if this is a known issue elsewhere and haven't troubleshooted it. fedora 41 is still in beta.
Sorry, something went wrong.
psycopg/psycopg2#1692
Good find, thanks @flowerysong !
No branches or pull requests
What is the issue ?
I tried updating the base of our container images to fedora 41 out of curiosity, i.e:
ara/contrib/container-images/fedora-pypi.sh
Line 7 in 5fe28b7
and they fail the installation of psycopg2:
What should be happening ?
The images should build.
The text was updated successfully, but these errors were encountered: