lorien / test_server

Server to test HTTP clients
MIT License
4 stars 2 forks source link

0.0.31: pytest DeprecationWarning #25

Closed kloczek closed 2 years ago

kloczek commented 3 years ago

Just normal build, install and test cycle used on building package from non-root account:

test/callbacks.py .. [ 6%] test/server.py ........................... [100%]

============================================================================= warnings summary ============================================================================= test_server/server.py:9 /home/tkloczko/rpmbuild/BUILD/test_server-0.0.31/test_server/server.py:9: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working from collections import defaultdict, Iterable

test/callbacks.py: 1 warning test/server.py: 32 warnings /usr/lib/python3.8/site-packages/waitress/adjustments.py:441: DeprecationWarning: In future versions of Waitress clear_untrusted_proxy_headers will be set to True by default. You may opt-out by setting this value to False, or opt-in explicitly by setting this to True. warnings.warn(

-- Docs: https://docs.pytest.org/en/stable/warnings.html ============================================================== 29 passed, 1 deselected, 34 warnings in 29.37s ==============================================================

lorien commented 2 years ago

I guess I have fixed that.