[Bug 280252] www/py-falcon: update to 3.1.3

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 13 Jul 2024 01:47:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280252

            Bug ID: 280252
           Summary: www/py-falcon: update to 3.1.3
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: tomasz.sowa@ttmath.org
                CC: lichray@gmail.com
             Flags: maintainer-feedback?(lichray@gmail.com)
                CC: lichray@gmail.com

Created attachment 252006
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=252006&action=edit
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)

-- 
You are receiving this mail because:
You are the assignee for the bug.