[x] Check if anything needs an update in CONTRIBUTING.md.
In addition, check for any new warnings emitted when running tests, e.g., whether we are relying on any deprecated functionality that will be removed in future Python versions:
[x] Multiple DeprecationWarning: non-integer arguments to randrange() have been deprecated since Python 3.10 and will be removed in a subsequent version https://github.com/falconry/falcon/pull/1972
[x] falcon/util/sync.py:224: DeprecationWarning: There is no current event loop
loop = asyncio.get_event_loop()
asyncio.get_event_loop(): Deprecated since version 3.10: Deprecation warning is emitted if there is no running event loop. In future Python releases, this function will be an alias of get_running_loop().
[x] tests/asgi/test_ws.py:344: DeprecationWarning: The explicit passing of coroutine objects to asyncio.wait() is deprecated since Python 3.8, and scheduled for removal in Python 3.11.
CPython 3.10 has been released.
Although it may already work out of the box, we need to add official first class support anyway:
CONTRIBUTING.md
.In addition, check for any new warnings emitted when running tests, e.g., whether we are relying on any deprecated functionality that will be removed in future Python versions:
DeprecationWarning
: non-integer arguments to randrange() have been deprecated since Python 3.10 and will be removed in a subsequent version https://github.com/falconry/falcon/pull/1972falcon/util/sync.py
:224:DeprecationWarning
: There is no current event loop loop = asyncio.get_event_loop()asyncio.get_event_loop()
: Deprecated since version 3.10: Deprecation warning is emitted if there is no running event loop. In future Python releases, this function will be an alias ofget_running_loop()
.tests/asgi/test_ws.py
:344:DeprecationWarning
: The explicit passing of coroutine objects to asyncio.wait() is deprecated since Python 3.8, and scheduled for removal in Python 3.11.