Skip to content
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

Fedora failures test_from_dockerfile and 'pyuwsgi-pipenv-test-app' on Python3-313 #718

Open
phracek opened this issue Oct 15, 2024 · 1 comment
Assignees
Labels

Comments

@phracek
Copy link
Member

phracek commented Oct 15, 2024

These tests failed on Fedora in version 3.13:

[PASSED] for 'app-module-test-app' test_application_enable_init_wrapper (00:00:05)
 [FAILED] for 'pyuwsgi-pipenv-test-app' run_s2i_build ()
 [PASSED] for 'micropipenv-test-app' run_s2i_build ()

see error:

\u2714 Success!
Locking [dev-packages] dependencies...
Updated Pipfile.lock (dd8d616f5144a655fcebd78da6210427ab22779ae8553a19dc5bab9212120174)!
Installing dependencies from Pipfile.lock (120174)...
[pipenv.exceptions.InstallError]: Collecting blinker==1.8.2 (from -r /tmp/pipenv-njs3ibfu-requirements/pipenv-xjn7fhdl-hashed-reqs.txt (line 1))
[pipenv.exceptions.InstallError]:   Downloading blinker-1.8.2-py3-none-any.whl (9.5 kB)
[pipenv.exceptions.InstallError]: Collecting click==8.1.7 (from -r /tmp/pipenv-njs3ibfu-requirements/pipenv-xjn7fhdl-hashed-reqs.txt (line 2))
[pipenv.exceptions.InstallError]:   Downloading click-8.1.7-py3-none-any.whl (97 kB)
[pipenv.exceptions.InstallError]:      \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 97.9/97.9 kB 6.9 MB/s eta 0:00:00
[pipenv.exceptions.InstallError]: Collecting flask==3.0.3 (from -r /tmp/pipenv-njs3ibfu-requirements/pipenv-xjn7fhdl-hashed-reqs.txt (line 3))
[pipenv.exceptions.InstallError]:   Downloading flask-3.0.3-py3-none-any.whl (101 kB)
[pipenv.exceptions.InstallError]:      \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 101.7/101.7 kB 112.7 MB/s eta 0:00:00
[pipenv.exceptions.InstallError]: Collecting itsdangerous==2.2.0 (from -r /tmp/pipenv-njs3ibfu-requirements/pipenv-xjn7fhdl-hashed-reqs.txt (line 4))
[pipenv.exceptions.InstallError]:   Downloading itsdangerous-2.2.0-py3-none-any.whl (16 kB)
[pipenv.exceptions.InstallError]: Collecting jinja2==3.1.4 (from -r /tmp/pipenv-njs3ibfu-requirements/pipenv-xjn7fhdl-hashed-reqs.txt (line 5))
[pipenv.exceptions.InstallError]:   Downloading jinja2-3.1.4-py3-none-any.whl (133 kB)
[pipenv.exceptions.InstallError]:      \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 133.3/133.3 kB 59.1 MB/s eta 0:00:00
[pipenv.exceptions.InstallError]: Collecting markupsafe==3.0.1 (from -r /tmp/pipenv-njs3ibfu-requirements/pipenv-xjn7fhdl-hashed-reqs.txt (line 6))
[pipenv.exceptions.InstallError]:   Downloading MarkupSafe-3.0.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (23 kB)
[pipenv.exceptions.InstallError]: Collecting pyuwsgi==2.0.26 (from -r /tmp/pipenv-njs3ibfu-requirements/pipenv-xjn7fhdl-hashed-reqs.txt (line 7))
[pipenv.exceptions.InstallError]:   Downloading pyuwsgi-2.0.26.tar.gz (854 kB)
[pipenv.exceptions.InstallError]:      \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 854.4/854.4 kB 54.3 MB/s eta 0:00:00
[pipenv.exceptions.InstallError]:   Installing build dependencies: started
[pipenv.exceptions.InstallError]:   Installing build dependencies: finished with status 'done'
[pipenv.exceptions.InstallError]:   Getting requirements to build wheel: started
[pipenv.exceptions.InstallError]:   Getting requirements to build wheel: finished with status 'done'
[pipenv.exceptions.InstallError]:   Preparing metadata (pyproject.toml): started
[pipenv.exceptions.InstallError]:   Preparing metadata (pyproject.toml): finished with status 'done'
[pipenv.exceptions.InstallError]: Collecting werkzeug==3.0.4 (from -r /tmp/pipenv-njs3ibfu-requirements/pipenv-xjn7fhdl-hashed-reqs.txt (line 8))
[pipenv.exceptions.InstallError]:   Downloading werkzeug-3.0.4-py3-none-any.whl (227 kB)
[pipenv.exceptions.InstallError]:      \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 227.6/227.6 kB 374.4 MB/s eta 0:00:00
[pipenv.exceptions.InstallError]: Building wheels for collected packages: pyuwsgi
[pipenv.exceptions.InstallError]:   Building wheel for pyuwsgi (pyproject.toml): started
[pipenv.exceptions.InstallError]:   Building wheel for pyuwsgi (pyproject.toml): finished with status 'error'
[pipenv.exceptions.InstallError]: Failed to build pyuwsgi
[pipenv.exceptions.InstallError]: error: subprocess-exited-with-error
[pipenv.exceptions.InstallError]:   
[pipenv.exceptions.InstallError]:   × Building wheel for pyuwsgi (pyproject.toml) did not run successfully.
[pipenv.exceptions.InstallError]:   \u2502 exit code: 1
[pipenv.exceptions.InstallError]:   \u2570\u2500> [204 lines of output]
[pipenv.exceptions.InstallError]:       running bdist_wheel
[pipenv.exceptions.InstallError]:       running build
[pipenv.exceptions.InstallError]:       running build_py
[pipenv.exceptions.InstallError]:       creating build/lib.linux-x86_64-cpython-313
[pipenv.exceptions.InstallError]:       copying uwsgidecorators.py -> build/lib.linux-x86_64-cpython-313
[pipenv.exceptions.InstallError]:       warning: build_py: byte-compiling is disabled, skipping.
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:       running build_ext
[pipenv.exceptions.InstallError]:       using profile: buildconf/pyuwsgi.ini
[pipenv.exceptions.InstallError]:       detected include path: ['/usr/lib/gcc/x86_64-redhat-linux/14/include', '/usr/local/include', '/usr/include']
[pipenv.exceptions.InstallError]:       detected CPU cores: 1
[pipenv.exceptions.InstallError]:       configured CFLAGS: -O2 -I. -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wformat-signedness -DUWSGI_HAS_IFADDRS -DUWSGI_ZLIB -DUWSGI_LOCK_USE_MUTEX -DUWSGI_EVENT_USE_EPOLL -DUWSGI_EVENT_TIMER_USE_TIMERFD -DUWSGI_EVENT_FILEMONITOR_USE_INOTIFY -fPIC -DUWSGI_AS_SHARED_LIBRARY  -DUWSGI_PCRE2 -DUWSGI_ROUTING -DUWSGI_VERSION="\"2.0.26\"" -DUWSGI_VERSION_BASE="2" -DUWSGI_VERSION_MAJOR="0" -DUWSGI_VERSION_MINOR="26" -DUWSGI_VERSION_REVISION="0" -DUWSGI_VERSION_CUSTOM="\"\"" -DUWSGI_YAML -DUWSGI_SSL -I/usr/include/libxml2 -DUWSGI_XML -DUWSGI_XML_LIBXML2 -DUWSGI_PLUGIN_DIR="\".\"" -DUWSGI_DECLARE_EMBEDDED_PLUGINS="UDEP(pyuwsgi);UDEP(python);UDEP(gevent);UDEP(stats_pusher_statsd);UDEP(ping);UDEP(cache);UDEP(nagios);UDEP(rrdtool);UDEP(carbon);UDEP(rpc);UDEP(corerouter);UDEP(fastrouter);UDEP(http);UDEP(ugreen);UDEP(signal);UDEP(syslog);UDEP(rsyslog);UDEP(logsocket);UDEP(router_uwsgi);UDEP(router_redirect);UDEP(router_basicauth);UDEP(zergpool);UDEP(redislog);UDEP(mongodblog);UDEP(router_rewrite);UDEP(router_http);UDEP(logfile);UDEP(router_cache);UDEP(rawrouter);UDEP(router_static);UDEP(sslrouter);UDEP(spooler);UDEP(cheaper_busyness);UDEP(symcall);UDEP(transformation_tofile);UDEP(transformation_gzip);UDEP(transformation_chunked);UDEP(transformation_offload);UDEP(router_memcached);UDEP(router_redis);UDEP(router_hash);UDEP(router_expires);UDEP(router_metrics);UDEP(transformation_template);UDEP(stats_pusher_socket);" -DUWSGI_LOAD_EMBEDDED_PLUGINS="ULEP(pyuwsgi);ULEP(python);ULEP(gevent);ULEP(stats_pusher_statsd);ULEP(ping);ULEP(cache);ULEP(nagios);ULEP(rrdtool);ULEP(carbon);ULEP(rpc);ULEP(corerouter);ULEP(fastrouter);ULEP(http);ULEP(ugreen);ULEP(signal);ULEP(syslog);ULEP(rsyslog);ULEP(logsocket);ULEP(router_uwsgi);ULEP(router_redirect);ULEP(router_basicauth);ULEP(zergpool);ULEP(redislog);ULEP(mongodblog);ULEP(router_rewrite);ULEP(router_http);ULEP(logfile);ULEP(router_cache);ULEP(rawrouter);ULEP(router_static);ULEP(sslrouter);ULEP(spooler);ULEP(cheaper_busyness);ULEP(symcall);ULEP(transformation_tofile);ULEP(transformation_gzip);ULEP(transformation_chunked);ULEP(transformation_offload);ULEP(router_memcached);ULEP(router_redis);ULEP(router_hash);ULEP(router_expires);ULEP(router_metrics);ULEP(transformation_template);ULEP(stats_pusher_socket);"
[pipenv.exceptions.InstallError]:       *** uWSGI compiling server core ***
[pipenv.exceptions.InstallError]:       [gcc] core/utils.o
[pipenv.exceptions.InstallError]:       [gcc] core/protocol.o
[pipenv.exceptions.InstallError]:       [gcc] core/socket.o
[pipenv.exceptions.InstallError]:       [gcc] core/logging.o
[pipenv.exceptions.InstallError]:       [gcc] core/master.o
[pipenv.exceptions.InstallError]:       [gcc] core/master_utils.o
[pipenv.exceptions.InstallError]:       [gcc] core/emperor.o
[pipenv.exceptions.InstallError]:       [gcc] core/notify.o
[pipenv.exceptions.InstallError]:       [gcc] core/mule.o
[pipenv.exceptions.InstallError]:       [gcc] core/subscription.o
[pipenv.exceptions.InstallError]:       [gcc] core/stats.o
[pipenv.exceptions.InstallError]:       [gcc] core/sendfile.o
[pipenv.exceptions.InstallError]:       [gcc] core/async.o
[pipenv.exceptions.InstallError]:       [gcc] core/master_checks.o
[pipenv.exceptions.InstallError]:       [gcc] core/fifo.o
[pipenv.exceptions.InstallError]:       [gcc] core/offload.o
[pipenv.exceptions.InstallError]:       [gcc] core/io.o
[pipenv.exceptions.InstallError]:       [gcc] core/static.o
[pipenv.exceptions.InstallError]:       [gcc] core/websockets.o
[pipenv.exceptions.InstallError]:       [gcc] core/spooler.o
[pipenv.exceptions.InstallError]:       [gcc] core/snmp.o
[pipenv.exceptions.InstallError]:       [gcc] core/exceptions.o
[pipenv.exceptions.InstallError]:       [gcc] core/config.o
[pipenv.exceptions.InstallError]:       [gcc] core/setup_utils.o
[pipenv.exceptions.InstallError]:       [gcc] core/clock.o
[pipenv.exceptions.InstallError]:       [gcc] core/init.o
[pipenv.exceptions.InstallError]:       [gcc] core/buffer.o
[pipenv.exceptions.InstallError]:       [gcc] core/reader.o
[pipenv.exceptions.InstallError]:       [gcc] core/writer.o
[pipenv.exceptions.InstallError]:       [gcc] core/alarm.o
[pipenv.exceptions.InstallError]:       [gcc] core/cron.o
[pipenv.exceptions.InstallError]:       [gcc] core/hooks.o
[pipenv.exceptions.InstallError]:       [gcc] core/plugins.o
[pipenv.exceptions.InstallError]:       [gcc] core/lock.o
[pipenv.exceptions.InstallError]:       [gcc] core/cache.o
[pipenv.exceptions.InstallError]:       [gcc] core/daemons.o
[pipenv.exceptions.InstallError]:       [gcc] core/errors.o
[pipenv.exceptions.InstallError]:       [gcc] core/hash.o
[pipenv.exceptions.InstallError]:       [gcc] core/master_events.o
[pipenv.exceptions.InstallError]:       [gcc] core/chunked.o
[pipenv.exceptions.InstallError]:       [gcc] core/queue.o
[pipenv.exceptions.InstallError]:       [gcc] core/event.o
[pipenv.exceptions.InstallError]:       [gcc] core/signal.o
[pipenv.exceptions.InstallError]:       [gcc] core/strings.o
[pipenv.exceptions.InstallError]:       [gcc] core/progress.o
[pipenv.exceptions.InstallError]:       [gcc] core/timebomb.o
[pipenv.exceptions.InstallError]:       [gcc] core/ini.o
[pipenv.exceptions.InstallError]:       [gcc] core/fsmon.o
[pipenv.exceptions.InstallError]:       [gcc] core/mount.o
[pipenv.exceptions.InstallError]:       [gcc] core/metrics.o
[pipenv.exceptions.InstallError]:       [gcc] core/plugins_builder.o
[pipenv.exceptions.InstallError]:       [gcc] core/sharedarea.o
[pipenv.exceptions.InstallError]:       [gcc] core/rpc.o
[pipenv.exceptions.InstallError]:       [gcc] core/gateway.o
[pipenv.exceptions.InstallError]:       [gcc] core/loop.o
[pipenv.exceptions.InstallError]:       [gcc] core/cookie.o
[pipenv.exceptions.InstallError]:       [gcc] core/querystring.o
[pipenv.exceptions.InstallError]:       [gcc] core/rb_timers.o
[pipenv.exceptions.InstallError]:       [gcc] core/transformations.o
[pipenv.exceptions.InstallError]:       [gcc] core/uwsgi.o
[pipenv.exceptions.InstallError]:       [gcc] proto/base.o
[pipenv.exceptions.InstallError]:       [gcc] proto/uwsgi.o
[pipenv.exceptions.InstallError]:       [gcc] proto/http.o
[pipenv.exceptions.InstallError]:       [gcc] proto/fastcgi.o
[pipenv.exceptions.InstallError]:       [gcc] proto/scgi.o
[pipenv.exceptions.InstallError]:       [gcc] proto/puwsgi.o
[pipenv.exceptions.InstallError]:       [gcc] lib/linux_ns.o
[pipenv.exceptions.InstallError]:       [gcc] core/zlib.o
[pipenv.exceptions.InstallError]:       [gcc] core/regexp.o
[pipenv.exceptions.InstallError]:       [gcc] core/routing.o
[pipenv.exceptions.InstallError]:       [gcc] core/yaml.o
[pipenv.exceptions.InstallError]:       [gcc] core/ssl.o
[pipenv.exceptions.InstallError]:       core/ssl.c: In function \u2018uwsgi_ssl_new_server_context\u2019:
[pipenv.exceptions.InstallError]:       core/ssl.c:268:17: warning: \u2018PEM_read_bio_DHparams\u2019 is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
[pipenv.exceptions.InstallError]:         268 |                 DH *dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL);
[pipenv.exceptions.InstallError]:             |                 ^~
[pipenv.exceptions.InstallError]:       In file included from /usr/include/openssl/ssl.h:37,
[pipenv.exceptions.InstallError]:                        from ./uwsgi.h:357,
[pipenv.exceptions.InstallError]:                        from core/ssl.c:1:
[pipenv.exceptions.InstallError]:       /usr/include/openssl/pem.h:473:1: note: declared here
[pipenv.exceptions.InstallError]:         473 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH)
[pipenv.exceptions.InstallError]:             | ^~~~~~~~~~~~~~~~~~~
[pipenv.exceptions.InstallError]:       core/ssl.c:273:25: warning: \u2018DH_free\u2019 is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
[pipenv.exceptions.InstallError]:         273 |                         DH_free(dh);
[pipenv.exceptions.InstallError]:             |                         ^~~~~~~
[pipenv.exceptions.InstallError]:       In file included from /usr/include/openssl/dsa.h:31,
[pipenv.exceptions.InstallError]:                        from /usr/include/openssl/x509.h:37,
[pipenv.exceptions.InstallError]:                        from /usr/include/openssl/ssl.h:32:
[pipenv.exceptions.InstallError]:       /usr/include/openssl/dh.h:207:28: note: declared here
[pipenv.exceptions.InstallError]:         207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
[pipenv.exceptions.InstallError]:             |                            ^~~~~~~
[pipenv.exceptions.InstallError]:       core/ssl.c:279:9: warning: \u2018EC_KEY_new_by_curve_name\u2019 is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
[pipenv.exceptions.InstallError]:         279 |         EC_KEY *ecdh = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1);
[pipenv.exceptions.InstallError]:             |         ^~~~~~
[pipenv.exceptions.InstallError]:       In file included from /usr/include/openssl/x509.h:33:
[pipenv.exceptions.InstallError]:       /usr/include/openssl/ec.h:1017:31: note: declared here
[pipenv.exceptions.InstallError]:        1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
[pipenv.exceptions.InstallError]:             |                               ^~~~~~~~~~~~~~~~~~~~~~~~
[pipenv.exceptions.InstallError]:       core/ssl.c:283:17: warning: \u2018EC_KEY_free\u2019 is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
[pipenv.exceptions.InstallError]:         283 |                 EC_KEY_free(ecdh);
[pipenv.exceptions.InstallError]:             |                 ^~~~~~~~~~~
[pipenv.exceptions.InstallError]:       /usr/include/openssl/ec.h:1022:28: note: declared here
[pipenv.exceptions.InstallError]:        1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
[pipenv.exceptions.InstallError]:             |                            ^~~~~~~~~~~
[pipenv.exceptions.InstallError]:       core/ssl.c: In function \u2018uwsgi_sha1\u2019:
[pipenv.exceptions.InstallError]:       core/ssl.c:563:9: warning: \u2018SHA1_Init\u2019 is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
[pipenv.exceptions.InstallError]:         563 |         SHA1_Init(&sha);
[pipenv.exceptions.InstallError]:             |         ^~~~~~~~~
[pipenv.exceptions.InstallError]:       In file included from /usr/include/openssl/x509.h:41:
[pipenv.exceptions.InstallError]:       /usr/include/openssl/sha.h:49:27: note: declared here
[pipenv.exceptions.InstallError]:          49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c);
[pipenv.exceptions.InstallError]:             |                           ^~~~~~~~~
[pipenv.exceptions.InstallError]:       core/ssl.c:564:9: warning: \u2018SHA1_Update\u2019 is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
[pipenv.exceptions.InstallError]:         564 |         SHA1_Update(&sha, src, len);
[pipenv.exceptions.InstallError]:             |         ^~~~~~~~~~~
[pipenv.exceptions.InstallError]:       /usr/include/openssl/sha.h:50:27: note: declared here
[pipenv.exceptions.InstallError]:          50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
[pipenv.exceptions.InstallError]:             |                           ^~~~~~~~~~~
[pipenv.exceptions.InstallError]:       core/ssl.c:565:9: warning: \u2018SHA1_Final\u2019 is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
[pipenv.exceptions.InstallError]:         565 |         SHA1_Final((unsigned char *)dst, &sha);
[pipenv.exceptions.InstallError]:             |         ^~~~~~~~~~
[pipenv.exceptions.InstallError]:       /usr/include/openssl/sha.h:51:27: note: declared here
[pipenv.exceptions.InstallError]:          51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c);
[pipenv.exceptions.InstallError]:             |                           ^~~~~~~~~~
[pipenv.exceptions.InstallError]:       core/ssl.c: In function \u2018uwsgi_md5\u2019:
[pipenv.exceptions.InstallError]:       core/ssl.c:571:9: warning: \u2018MD5_Init\u2019 is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
[pipenv.exceptions.InstallError]:         571 |         MD5_Init(&md5);
[pipenv.exceptions.InstallError]:             |         ^~~~~~~~
[pipenv.exceptions.InstallError]:       In file included from core/ssl.c:4:
[pipenv.exceptions.InstallError]:       /usr/include/openssl/md5.h:49:27: note: declared here
[pipenv.exceptions.InstallError]:          49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c);
[pipenv.exceptions.InstallError]:             |                           ^~~~~~~~
[pipenv.exceptions.InstallError]:       core/ssl.c:572:9: warning: \u2018MD5_Update\u2019 is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
[pipenv.exceptions.InstallError]:         572 |         MD5_Update(&md5, src, len);
[pipenv.exceptions.InstallError]:             |         ^~~~~~~~~~
[pipenv.exceptions.InstallError]:       /usr/include/openssl/md5.h:50:27: note: declared here
[pipenv.exceptions.InstallError]:          50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len);
[pipenv.exceptions.InstallError]:             |                           ^~~~~~~~~~
[pipenv.exceptions.InstallError]:       core/ssl.c:573:9: warning: \u2018MD5_Final\u2019 is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
[pipenv.exceptions.InstallError]:         573 |         MD5_Final((unsigned char *)dst, &md5);
[pipenv.exceptions.InstallError]:             |         ^~~~~~~~~
[pipenv.exceptions.InstallError]:       /usr/include/openssl/md5.h:51:27: note: declared here
[pipenv.exceptions.InstallError]:          51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c);
[pipenv.exceptions.InstallError]:             |                           ^~~~~~~~~
[pipenv.exceptions.InstallError]:       core/ssl.c: In function \u2018uwsgi_sha1_2n\u2019:
[pipenv.exceptions.InstallError]:       core/ssl.c:579:9: warning: \u2018SHA1_Init\u2019 is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
[pipenv.exceptions.InstallError]:         579 |         SHA1_Init(&sha);
[pipenv.exceptions.InstallError]:             |         ^~~~~~~~~
[pipenv.exceptions.InstallError]:       /usr/include/openssl/sha.h:49:27: note: declared here
[pipenv.exceptions.InstallError]:          49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c);
[pipenv.exceptions.InstallError]:             |                           ^~~~~~~~~
[pipenv.exceptions.InstallError]:       core/ssl.c:580:9: warning: \u2018SHA1_Update\u2019 is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
[pipenv.exceptions.InstallError]:         580 |         SHA1_Update(&sha, s1, len1);
[pipenv.exceptions.InstallError]:             |         ^~~~~~~~~~~
[pipenv.exceptions.InstallError]:       /usr/include/openssl/sha.h:50:27: note: declared here
[pipenv.exceptions.InstallError]:          50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
[pipenv.exceptions.InstallError]:             |                           ^~~~~~~~~~~
[pipenv.exceptions.InstallError]:       core/ssl.c:581:9: warning: \u2018SHA1_Update\u2019 is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
[pipenv.exceptions.InstallError]:         581 |         SHA1_Update(&sha, s2, len2);
[pipenv.exceptions.InstallError]:             |         ^~~~~~~~~~~
[pipenv.exceptions.InstallError]:       /usr/include/openssl/sha.h:50:27: note: declared here
[pipenv.exceptions.InstallError]:          50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
[pipenv.exceptions.InstallError]:             |                           ^~~~~~~~~~~
[pipenv.exceptions.InstallError]:       core/ssl.c:582:9: warning: \u2018SHA1_Final\u2019 is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
[pipenv.exceptions.InstallError]:         582 |         SHA1_Final((unsigned char *)dst, &sha);
[pipenv.exceptions.InstallError]:             |         ^~~~~~~~~~
[pipenv.exceptions.InstallError]:       /usr/include/openssl/sha.h:51:27: note: declared here
[pipenv.exceptions.InstallError]:          51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c);
[pipenv.exceptions.InstallError]:             |                           ^~~~~~~~~~
[pipenv.exceptions.InstallError]:       [gcc] core/legion.o
[pipenv.exceptions.InstallError]:       [gcc] core/xmlconf.o
[pipenv.exceptions.InstallError]:       [gcc] core/dot_h.o
[pipenv.exceptions.InstallError]:       [gcc] core/config_py.o
[pipenv.exceptions.InstallError]:       *** uWSGI compiling embedded plugins ***
[pipenv.exceptions.InstallError]:       [gcc] plugins/pyuwsgi/pyuwsgi.o
[pipenv.exceptions.InstallError]:       In file included from plugins/pyuwsgi/pyuwsgi.c:1:
[pipenv.exceptions.InstallError]:       plugins/pyuwsgi/../python/uwsgi_python.h:178:9: error: unknown type name \u2018_PyCFrame\u2019
[pipenv.exceptions.InstallError]:         178 |         _PyCFrame **current_frame;
[pipenv.exceptions.InstallError]:             |         ^~~~~~~~~
[pipenv.exceptions.InstallError]:       plugins/pyuwsgi/../python/uwsgi_python.h:182:9: error: unknown type name \u2018_PyCFrame\u2019
[pipenv.exceptions.InstallError]:         182 |         _PyCFrame *current_main_frame;
[pipenv.exceptions.InstallError]:             |         ^~~~~~~~~
[pipenv.exceptions.InstallError]:       plugins/pyuwsgi/pyuwsgi.c:168:10: warning: cast between incompatible function types from \u2018PyObject * (*)(PyObject *, PyObject *, PyObject *)\u2019 {aka \u2018struct _object * (*)(struct _object *, struct _object *, struct _object *)\u2019} to \u2018PyObject * (*)(PyObject *, PyObject *)\u2019 {aka \u2018struct _object * (*)(struct _object *, struct _object *)\u2019} [-Wcast-function-type]
[pipenv.exceptions.InstallError]:         168 |          (PyCFunction) pyuwsgi_run,
[pipenv.exceptions.InstallError]:             |          ^
[pipenv.exceptions.InstallError]:       plugins/pyuwsgi/pyuwsgi.c:173:10: warning: cast between incompatible function types from \u2018PyObject * (*)(PyObject *, PyObject *, PyObject *)\u2019 {aka \u2018struct _object * (*)(struct _object *, struct _object *, struct _object *)\u2019} to \u2018PyObject * (*)(PyObject *, PyObject *)\u2019 {aka \u2018struct _object * (*)(struct _object *, struct _object *)\u2019} [-Wcast-function-type]
[pipenv.exceptions.InstallError]:         173 |          (PyCFunction) pyuwsgi_init,
[pipenv.exceptions.InstallError]:             |          ^
[pipenv.exceptions.InstallError]:       plugins/pyuwsgi/pyuwsgi.c:178:10: warning: cast between incompatible function types from \u2018PyObject * (*)(PyObject *, PyObject *, PyObject *)\u2019 {aka \u2018struct _object * (*)(struct _object *, struct _object *, struct _object *)\u2019} to \u2018PyObject * (*)(PyObject *, PyObject *)\u2019 {aka \u2018struct _object * (*)(struct _object *, struct _object *)\u2019} [-Wcast-function-type]
[pipenv.exceptions.InstallError]:         178 |          (PyCFunction) pyuwsgi_setup,
[pipenv.exceptions.InstallError]:             |          ^
[pipenv.exceptions.InstallError]:       [end of output]
[pipenv.exceptions.InstallError]:   
[pipenv.exceptions.InstallError]:   note: This error originates from a subprocess, and is likely not a problem with pip.
[pipenv.exceptions.InstallError]:   ERROR: Failed building wheel for pyuwsgi
[pipenv.exceptions.InstallError]: ERROR: Could not build wheels for pyuwsgi, which is required to install pyproject.toml-based projects
ERROR: Couldn't install package: {}

and

 [PASSED] for 'poetry-src-layout-test-app' test_application_enable_init_wrapper (00:00:05)
 [PASSED] for 'var-docker' test_scl_variables_in_dockerfile (00:00:00)
 [FAILED] for 'var-docker' test_from_dockerfile (00:00:32)

See error:

      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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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 \u2018_conn_get_async_cursor\u2019:
      psycopg/connection_int.c:1050:5: warning: \u2018PyWeakref_GetObject\u2019 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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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 \u2018curs_fetchone\u2019:
      psycopg/cursor_type.c:782:9: warning: \u2018PyWeakref_GetObject\u2019 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 \u2018curs_next_named\u2019:
      psycopg/cursor_type.c:829:9: warning: \u2018PyWeakref_GetObject\u2019 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 \u2018curs_fetchmany\u2019:
      psycopg/cursor_type.c:914:9: warning: \u2018PyWeakref_GetObject\u2019 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 \u2018curs_fetchall\u2019:
      psycopg/cursor_type.c:983:9: warning: \u2018PyWeakref_GetObject\u2019 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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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.5 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160004 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/app-root/include -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 \u2018psyco_is_main_interp\u2019:
      psycopg/utils.c:397:12: error: implicit declaration of function \u2018_PyInterpreterState_Get\u2019; did you mean \u2018PyInterpreterState_Get\u2019? [-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]

The reproducer is caught during each NightlyBuild logs

@frenzymadness
Copy link
Member

Yes, we know about it, see: #716 (review)

We are waiting for pyuwsgi to release new wheels for Python 3.13, see: lincolnloop/pyuwsgi-wheels#30

We can either wait or skip the test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants