Created attachment 252006 [details] update to 3.1.3 Current www/py-falcon 3.0.1 does not work with Python 3.11: [2024-07-12 16:46:16 +0200] [72197] [ERROR] Exception in worker process Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/gunicorn/arbiter.py", line 609, in spawn_worker worker.init_process() File "/usr/local/lib/python3.11/site-packages/uvicorn/workers.py", line 75, in init_process super().init_process() File "/usr/local/lib/python3.11/site-packages/gunicorn/workers/base.py", line 134, in init_process self.load_wsgi() File "/usr/local/lib/python3.11/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi self.wsgi = self.app.wsgi() ^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/gunicorn/app/base.py", line 67, in wsgi self.callable = self.load() ^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/gunicorn/app/wsgiapp.py", line 58, in load return self.load_wsgiapp() ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp return util.import_app(self.app_uri) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/gunicorn/util.py", line 371, in import_app mod = importlib.import_module(module) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/usr/local/nominatim/lib/nominatim/lib-python/nominatim/server/falcon/server.py", line 15, in <module> from falcon.asgi import App, Request, Response File "/usr/local/lib/python3.11/site-packages/falcon/asgi/__init__.py", line 35, in <module> from .app import App File "/usr/local/lib/python3.11/site-packages/falcon/asgi/app.py", line 46, in <module> from .response import Response File "/usr/local/lib/python3.11/site-packages/falcon/asgi/response.py", line 17, in <module> from asyncio.coroutines import CoroWrapper # type: ignore ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ImportError: cannot import name 'CoroWrapper' from 'asyncio.coroutines' (/usr/local/lib/python3.11/asyncio/coroutines.py) [2024-07-12 16:46:16 +0200] [72197] [INFO] Worker exiting (pid: 72197)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c500efc3562d85ed50e5565550759f092e9a0cce commit c500efc3562d85ed50e5565550759f092e9a0cce Author: Tomasz Sowa <tomasz.sowa@ttmath.org> AuthorDate: 2024-07-29 06:55:16 +0000 Commit: Zsolt Udvari <uzsolt@FreeBSD.org> CommitDate: 2024-07-29 06:55:16 +0000 www/py-falcon: update to 3.1.3 Switch to DISTVERSION. Pet portfmt, portclippy. Changelogs: https://github.com/falconry/falcon/releases/tag/3.1.3 https://github.com/falconry/falcon/releases/tag/3.1.1 https://github.com/falconry/falcon/releases/tag/3.1.0 PR: 280252 Approved by: lichray <lichray@gmail.com> (maintainer) www/py-falcon/Makefile | 6 +++--- www/py-falcon/distinfo | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-)
Committed, thanks!