Source: flask-caching Version: 2.0.1-2 Severity: serious Tags: sid bookworm User: debian...@lists.debian.org Usertags: needs-update User: debian-pyt...@lists.debian.org Usertags: python3.11 Control: affects -1 src:python3-defaults
Dear maintainer(s),We are in the transition of adding python3.11 as a supported Python version [0]. With a recent upload of python3-defaults the autopkgtest of flask-caching fails in testing when that autopkgtest is run with the binary packages of python3-defaults from unstable. It passes when run with only packages from testing. In tabular form:
pass fail python3-defaults from testing 3.10.6-3 flask-caching from testing 2.0.1-2 all others from testing from testing I copied some of the output at the bottom of this report.Currently this regression is blocking the migration of python3-defaults to testing [1]. https://docs.python.org/3/whatsnew/3.11.html lists what's new in Python3.11, it may help to identify what needs to be updated.
More information about this bug and the reason for filing it can be found on https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation Paul [0] https://bugs.debian.org/1021984 [1] https://qa.debian.org/excuses.php?package=python3-defaults https://ci.debian.net/data/autopkgtest/testing/amd64/f/flask-caching/28726230/log.gz + trap cleanup EXIT ++ py3versions -s + for p in $(py3versions -s) + echo 'Testing with python3.11...' Testing with python3.11... + echo 2183 + python3.11 debian/tests/testapp.py + sleep 3 * Serving Flask app 'testapp' (lazy loading) * Environment: productionWARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead. * Debug mode: off * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) + curl http://127.0.0.1:5000/ + grep '^counter=1$' 127.0.0.1 - - [27/Nov/2022 17:13:31] "GET / HTTP/1.1" 200 - counter=1 + curl http://127.0.0.1:5000/ + grep '^counter=1$' 127.0.0.1 - - [27/Nov/2022 17:13:31] "GET / HTTP/1.1" 200 - counter=1 + curl http://127.0.0.1:5000/ + grep '^counter=1$' 127.0.0.1 - - [27/Nov/2022 17:13:31] "GET / HTTP/1.1" 200 - counter=1 + sleep 10 + curl http://127.0.0.1:5000/ + grep '^counter=2$' 127.0.0.1 - - [27/Nov/2022 17:13:41] "GET / HTTP/1.1" 200 - counter=2 + curl http://127.0.0.1:5000/ + grep '^counter=2$' 127.0.0.1 - - [27/Nov/2022 17:13:41] "GET / HTTP/1.1" 200 - counter=2 + for p in $(py3versions -s) + echo 'Testing with python3.10...' Testing with python3.10... + echo 2201 + python3.10 debian/tests/testapp.py + sleep 3 * Serving Flask app 'testapp' (lazy loading) * Environment: productionWARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead. * Debug mode: off Traceback (most recent call last):File "/tmp/autopkgtest-lxc.op2ybvu9/downtmp/build.R2l/src/debian/tests/testapp.py", line 39, in <module>
app.run() File "/usr/lib/python3/dist-packages/flask/app.py", line 920, in run run_simple(t.cast(str, host), port, self, **options)File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 1010, in run_simple
inner()File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 950, in inner
srv = make_server(File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 782, in make_server
return ThreadedWSGIServer(File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 688, in __init__
super().__init__(server_address, handler) # type: ignore File "/usr/lib/python3.10/socketserver.py", line 452, in __init__ self.server_bind() File "/usr/lib/python3.10/http/server.py", line 136, in server_bind socketserver.TCPServer.server_bind(self) File "/usr/lib/python3.10/socketserver.py", line 466, in server_bind self.socket.bind(self.server_address) OSError: [Errno 98] Address already in use + curl http://127.0.0.1:5000/ + grep '^counter=1$' 127.0.0.1 - - [27/Nov/2022 17:13:44] "GET / HTTP/1.1" 200 - + cleanup ++ cat /tmp/autopkgtest-lxc.op2ybvu9/downtmp/autopkgtest_tmp/flask.pid + kill 2201/tmp/autopkgtest-lxc.op2ybvu9/downtmp/build.R2l/src/debian/tests/functional: line 23: kill: (2201) - No such process /tmp/autopkgtest-lxc.op2ybvu9/downtmp/wrapper.sh: Killing leaked background processes: 2183 PID TTY STAT TIME COMMAND
2183 ? S 0:00 python3.11 debian/tests/testapp.py autopkgtest [17:13:44]: test functional
OpenPGP_signature
Description: OpenPGP digital signature