As for helping out, it'd be nice to have help getting rid of warning suppressions @
|
# FIXME: drop once certifi fixes their use of `importlib.resources` |
|
# Ref: https://github.com/certifi/python-certifi/issues/183 |
|
ignore:path is deprecated. Use files.. instead. Refer to https.//importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy for migration advice.:DeprecationWarning:certifi.core |
|
|
|
# FIXME: Try to figure out what causes this and ensure that the socket |
|
# FIXME: gets closed. |
|
ignore:unclosed <socket.socket fd=:ResourceWarning |
|
ignore:unclosed <ssl.SSLSocket fd=:ResourceWarning |
|
|
|
# FIXME: Python 3.13 no longer ignores IOBase errors raised by the close(), |
|
# FIXME: which exposed a possible race condition in test_conn test cleanup. |
|
# Ref: https://github.com/cherrypy/cheroot/issues/734 |
|
ignore:Exception ignored in. <function IOBase.__del__:pytest.PytestUnraisableExceptionWarning |
/
|
'ignore:Exception in thread CP Server Thread-:' |
|
'pytest.PytestUnhandledThreadExceptionWarning:_pytest.threadexception', |
|
'ignore:Exception in thread Thread-:' |
|
'pytest.PytestUnhandledThreadExceptionWarning:_pytest.threadexception', |
|
'ignore:Exception ignored in. ' |
|
'<socket.socket fd=-1, family=AddressFamily.AF_INET, ' |
|
'type=SocketKind.SOCK_STREAM, proto=.:' |
|
'pytest.PytestUnraisableExceptionWarning:_pytest.unraisableexception', |
|
'ignore:Exception ignored in. ' |
|
'<socket.socket fd=-1, family=AddressFamily.AF_INET6, ' |
|
'type=SocketKind.SOCK_STREAM, proto=.:' |
|
'pytest.PytestUnraisableExceptionWarning:_pytest.unraisableexception', |
|
'ignore:Exception ignored in. ' |
|
'<socket.socket fd=-1, family=AF_INET, ' |
|
'type=SocketKind.SOCK_STREAM, proto=.:' |
|
'pytest.PytestUnraisableExceptionWarning:_pytest.unraisableexception', |
|
'ignore:Exception ignored in. ' |
|
'<socket.socket fd=-1, family=AF_INET6, ' |
|
'type=SocketKind.SOCK_STREAM, proto=.:' |
|
'pytest.PytestUnraisableExceptionWarning:_pytest.unraisableexception', |
. While the CI doesn't crash with those in place, they may turn into errors in newer CPython runtimes.
Originally posted by @webknjaz in #754
Originally posted by @webknjaz in #754