encode / starlette

The little ASGI framework that shines. 🌟
https://www.starlette.io/
BSD 3-Clause "New" or "Revised" License
10.05k stars 899 forks source link

0.21.0: pytest is failing #1870

Closed kloczek closed 1 year ago

kloczek commented 1 year ago

I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.

Most of the units is failing on deprecation warning DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. Probably tetmporary it would be goot temporary disable failing on that deprecation warning. There are other two units which are failing by other reaons.

Here is list of installed modules in build env

```console Package Version -------------------- -------------- anyio 3.6.1 appdirs 1.4.4 async-generator 1.10 attrs 22.1.0 Brlapi 0.8.3 build 0.8.0 certifi 2021.10.8 codespell 2.2.1 cssselect 1.1.0 databases 0.6.1 distro 1.7.0 dnspython 2.2.1 editables 0.3 extras 1.0.0 fixtures 4.0.0 gpg 1.17.1-unknown greenlet 1.1.2 h11 0.13.0 hatchling 1.10.0 httpcore 0.15.0 httpx 0.23.0 idna 3.4 importlib-metadata 4.12.0 importlib-resources 5.9.0 iniconfig 1.1.1 itsdangerous 2.1.2 Jinja2 3.1.1 libcomps 0.1.19 louis 3.23.0 lxml 4.9.1 Mako 1.2.3.dev0 Markdown 3.4.1 MarkupSafe 2.1.1 numpy 1.23.1 outcome 1.1.0 packaging 21.3 pathspec 0.10.1 pbr 5.9.0 pep517 0.12.0 pip 22.2.2 pkgutil_resolve_name 1.3.10 pluggy 1.0.0 ply 3.11 py 1.11.0 Pygments 2.13.0 PyGObject 3.42.2 pyparsing 3.0.9 pyrsistent 0.18.1 pytest 7.1.3 python-dateutil 2.8.2 rfc3986 2.0.0 rpm 4.17.0 scour 0.38.2 setuptools 65.4.0 six 1.16.0 smartypants 2.0.1 sniffio 1.2.0 sortedcontainers 2.4.0 SQLAlchemy 1.4.41.dev0 testtools 2.5.0 toml 0.10.2 tomli 2.0.1 traitlets 5.4.0 trio 0.21.0 typing_extensions 4.3.0 typogrify 2.0.7 wheel 0.37.1 zipp 3.8.1 ```
kloczek commented 1 year ago

Here is pytest output:

```console + PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-starlette-0.21.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-starlette-0.21.0-2.fc35.x86_64/usr/lib/python3.8/site-packages + /usr/bin/pytest -ra =========================================================================== test session starts ============================================================================ platform linux -- Python 3.8.14, pytest-7.1.3, pluggy-1.0.0 rootdir: /home/tkloczko/rpmbuild/BUILD/starlette-0.21.0, configfile: setup.cfg plugins: anyio-3.6.1 collected 614 items tests/test__utils.py ...... [ 0%] tests/test_applications.py .FFFFFFFFFFFF..FFFFFF....FF.FFFFFF.......... [ 8%] tests/test_authentication.py .FFFF..FFFF [ 9%] tests/test_background.py FFFFFFFF [ 11%] tests/test_concurrency.py ..FF [ 11%] tests/test_config.py ... [ 12%] tests/test_convertors.py FF [ 12%] tests/test_database.py FsFsFs [ 13%] tests/test_datastructures.py ..................... [ 17%] tests/test_endpoints.py FFFFFF.............. [ 20%] tests/test_exceptions.py FFFFFFFF..FFFF... [ 23%] tests/test_formparsers.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF..FFFFFFFF [ 29%] tests/test_requests.py FFFFFF...FFFFFFFFFFFF.FFFF..FF.FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 40%] tests/test_responses.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF.. [ 50%] tests/test_routing.py FFFF..FFFF..FFFF.FFFF.FF.FF.FFFF....FFFF....FF.........FFFF..FFFFFF....... [ 62%] tests/test_schemas.py .FF [ 62%] tests/test_staticfiles.py FFFFFFFFFFFFFF.FFFFFF.FFFFFFFFFFFFFFFFFFFFFFFF [ 70%] tests/test_status.py .. [ 70%] tests/test_templates.py FF. [ 70%] tests/test_testclient.py FFFF....FFFF..FF [ 73%] tests/test_websockets.py ............................................................... [ 83%] tests/middleware/test_base.py FFFFFFFFFFFF....FFFF [ 86%] tests/middleware/test_cors.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 91%] tests/middleware/test_errors.py FFFFFFFF..FF [ 93%] tests/middleware/test_gzip.py FFFFFFFF [ 95%] tests/middleware/test_https_redirect.py FF [ 95%] tests/middleware/test_middleware.py . [ 95%] tests/middleware/test_session.py FFFFFFFFFFFF [ 97%] tests/middleware/test_trusted_host.py FF.FF [ 98%] tests/middleware/test_wsgi.py FFFFFFFF.. [100%] ================================================================================= FAILURES ================================================================================= _________________________________________________________________________ test_func_route[asyncio] _________________________________________________________________________ client = def test_func_route(client): > response = client.get("/func") tests/test_applications.py:137: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ starlette/testclient.py:482: in get return super().get( /usr/lib/python3.8/site-packages/httpx/_client.py:1039: in get return self.request( starlette/testclient.py:446: in request url = self.base_url.join(url) /usr/lib/python3.8/site-packages/httpx/_urls.py:529: in join return URL(relative_url._uri_reference.resolve_with(base_uri).unsplit()) /usr/lib/python3.8/site-packages/rfc3986/_mixin.py:265: in resolve_with if not base_uri.is_valid(require_scheme=True): _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = URIReference(scheme='http', authority='testserver', path=None, query=None, fragment=None), kwargs = {'require_scheme': True} def is_valid(self, **kwargs): """Determine if the URI is valid. .. deprecated:: 1.1.0 Use the :class:`~rfc3986.validators.Validator` object instead. :param bool require_scheme: Set to ``True`` if you wish to require the presence of the scheme component. :param bool require_authority: Set to ``True`` if you wish to require the presence of the authority component. :param bool require_path: Set to ``True`` if you wish to require the presence of the path component. :param bool require_query: Set to ``True`` if you wish to require the presence of the query component. :param bool require_fragment: Set to ``True`` if you wish to require the presence of the fragment component. :returns: ``True`` if the URI is valid. ``False`` otherwise. :rtype: bool """ > warnings.warn( "Please use rfc3986.validators.Validator instead. " "This method will be eventually removed.", DeprecationWarning, ) E DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. /usr/lib/python3.8/site-packages/rfc3986/_mixin.py:116: DeprecationWarning [..] _________________________________________________________ test_multi_tasks_failure_avoids_next_execution[asyncio] __________________________________________________________ test_client_factory = functools.partial(, backend='asyncio', backend_options={}) def test_multi_tasks_failure_avoids_next_execution( test_client_factory: Callable[..., TestClient] ) -> None: TASK_COUNTER = 0 def increment(): nonlocal TASK_COUNTER TASK_COUNTER += 1 if TASK_COUNTER == 1: raise Exception("task failed") async def app(scope, receive, send): tasks = BackgroundTasks() tasks.add_task(increment) tasks.add_task(increment) response = Response( "tasks initiated", media_type="text/plain", background=tasks ) await response(scope, receive, send) client = test_client_factory(app) with pytest.raises(Exception): client.get("/") > assert TASK_COUNTER == 1 E assert 0 == 1 tests/test_background.py:94: AssertionError ___________________________________________________________ test_multi_tasks_failure_avoids_next_execution[trio] ___________________________________________________________ test_client_factory = functools.partial(, backend='trio', backend_options={}) def test_multi_tasks_failure_avoids_next_execution( test_client_factory: Callable[..., TestClient] ) -> None: TASK_COUNTER = 0 def increment(): nonlocal TASK_COUNTER TASK_COUNTER += 1 if TASK_COUNTER == 1: raise Exception("task failed") async def app(scope, receive, send): tasks = BackgroundTasks() tasks.add_task(increment) tasks.add_task(increment) response = Response( "tasks initiated", media_type="text/plain", background=tasks ) await response(scope, receive, send) client = test_client_factory(app) with pytest.raises(Exception): client.get("/") > assert TASK_COUNTER == 1 E assert 0 == 1 tests/test_background.py:94: AssertionError _______________________________________________________ test_accessing_context_from_threaded_sync_endpoint[asyncio] ________________________________________________________ test_client_factory = functools.partial(, backend='asyncio', backend_options={}) def test_accessing_context_from_threaded_sync_endpoint(test_client_factory) -> None: ctxvar: ContextVar[bytes] = ContextVar("ctxvar") ctxvar.set(b"data") def endpoint(request: Request) -> Response: return Response(ctxvar.get()) app = Starlette(routes=[Route("/", endpoint)]) client = test_client_factory(app) > resp = client.get("/") tests/test_concurrency.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ starlette/testclient.py:482: in get return super().get( /usr/lib/python3.8/site-packages/httpx/_client.py:1039: in get return self.request( starlette/testclient.py:446: in request url = self.base_url.join(url) /usr/lib/python3.8/site-packages/httpx/_urls.py:529: in join return URL(relative_url._uri_reference.resolve_with(base_uri).unsplit()) /usr/lib/python3.8/site-packages/rfc3986/_mixin.py:265: in resolve_with if not base_uri.is_valid(require_scheme=True): _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = URIReference(scheme='http', authority='testserver', path=None, query=None, fragment=None), kwargs = {'require_scheme': True} def is_valid(self, **kwargs): """Determine if the URI is valid. .. deprecated:: 1.1.0 Use the :class:`~rfc3986.validators.Validator` object instead. :param bool require_scheme: Set to ``True`` if you wish to require the presence of the scheme component. :param bool require_authority: Set to ``True`` if you wish to require the presence of the authority component. :param bool require_path: Set to ``True`` if you wish to require the presence of the path component. :param bool require_query: Set to ``True`` if you wish to require the presence of the query component. :param bool require_fragment: Set to ``True`` if you wish to require the presence of the fragment component. :returns: ``True`` if the URI is valid. ``False`` otherwise. :rtype: bool """ > warnings.warn( "Please use rfc3986.validators.Validator instead. " "This method will be eventually removed.", DeprecationWarning, ) E DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. /usr/lib/python3.8/site-packages/rfc3986/_mixin.py:116: DeprecationWarning [..] ========================================================================= short test summary info ========================================================================== SKIPPED [3] tests/conftest.py:11: Trio not supported (yet!) FAILED tests/test_applications.py::test_func_route[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_applications.py::test_func_route[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_applications.py::test_async_route[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_applications.py::test_async_route[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_applications.py::test_class_route[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_applications.py::test_class_route[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_applications.py::test_mounted_route[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually remo... FAILED tests/test_applications.py::test_mounted_route[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_applications.py::test_mounted_route_path_params[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eve... FAILED tests/test_applications.py::test_mounted_route_path_params[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventu... FAILED tests/test_applications.py::test_subdomain_route[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually re... FAILED tests/test_applications.py::test_subdomain_route[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_applications.py::test_400[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_applications.py::test_400[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_applications.py::test_405[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_applications.py::test_405[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_applications.py::test_500[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_applications.py::test_500[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_applications.py::test_middleware[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_applications.py::test_middleware[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_applications.py::test_app_mount[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_applications.py::test_app_mount[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_applications.py::test_app_debug[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_applications.py::test_app_debug[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_applications.py::test_app_add_route[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually remo... FAILED tests/test_applications.py::test_app_add_route[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_authentication.py::test_user_interface[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually r... FAILED tests/test_authentication.py::test_user_interface[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually remo... FAILED tests/test_authentication.py::test_authentication_required[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eve... FAILED tests/test_authentication.py::test_authentication_required[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventu... FAILED tests/test_authentication.py::test_authentication_redirect[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eve... FAILED tests/test_authentication.py::test_authentication_redirect[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventu... FAILED tests/test_authentication.py::test_custom_on_error[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually ... FAILED tests/test_authentication.py::test_custom_on_error[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually rem... FAILED tests/test_background.py::test_async_task[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_background.py::test_async_task[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_background.py::test_sync_task[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_background.py::test_sync_task[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_background.py::test_multiple_tasks[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_background.py::test_multiple_tasks[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_background.py::test_multi_tasks_failure_avoids_next_execution[asyncio] - assert 0 == 1 FAILED tests/test_background.py::test_multi_tasks_failure_avoids_next_execution[trio] - assert 0 == 1 FAILED tests/test_concurrency.py::test_accessing_context_from_threaded_sync_endpoint[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This... FAILED tests/test_concurrency.py::test_accessing_context_from_threaded_sync_endpoint[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This me... FAILED tests/test_convertors.py::test_datetime_convertor[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually r... FAILED tests/test_convertors.py::test_datetime_convertor[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually remo... FAILED tests/test_database.py::test_database[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_database.py::test_database_execute_many[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually ... FAILED tests/test_database.py::test_database_isolated_during_test_cases[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will ... FAILED tests/test_endpoints.py::test_http_endpoint_route[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually r... FAILED tests/test_endpoints.py::test_http_endpoint_route[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually remo... FAILED tests/test_endpoints.py::test_http_endpoint_route_path_params[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be ... FAILED tests/test_endpoints.py::test_http_endpoint_route_path_params[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eve... FAILED tests/test_endpoints.py::test_http_endpoint_route_method[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be event... FAILED tests/test_endpoints.py::test_http_endpoint_route_method[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventual... FAILED tests/test_exceptions.py::test_not_acceptable[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_exceptions.py::test_not_acceptable[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_exceptions.py::test_no_content[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_exceptions.py::test_no_content[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_exceptions.py::test_not_modified[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_exceptions.py::test_not_modified[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_exceptions.py::test_with_headers[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_exceptions.py::test_with_headers[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_exceptions.py::test_handled_exc_after_response[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be even... FAILED tests/test_exceptions.py::test_handled_exc_after_response[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventua... FAILED tests/test_exceptions.py::test_force_500_response[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually r... FAILED tests/test_exceptions.py::test_force_500_response[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually remo... FAILED tests/test_formparsers.py::test_multipart_request_data[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventua... FAILED tests/test_formparsers.py::test_multipart_request_data[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually... FAILED tests/test_formparsers.py::test_multipart_request_files[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventu... FAILED tests/test_formparsers.py::test_multipart_request_files[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventuall... FAILED tests/test_formparsers.py::test_multipart_request_files_with_content_type[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This met... FAILED tests/test_formparsers.py::test_multipart_request_files_with_content_type[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method... FAILED tests/test_formparsers.py::test_multipart_request_multiple_files[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will ... FAILED tests/test_formparsers.py::test_multipart_request_multiple_files[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be ... FAILED tests/test_formparsers.py::test_multipart_request_multiple_files_with_headers[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This... FAILED tests/test_formparsers.py::test_multipart_request_multiple_files_with_headers[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This me... FAILED tests/test_formparsers.py::test_multi_items[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_formparsers.py::test_multi_items[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_formparsers.py::test_multipart_request_mixed_files_and_data[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method... FAILED tests/test_formparsers.py::test_multipart_request_mixed_files_and_data[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method wi... FAILED tests/test_formparsers.py::test_multipart_request_with_charset_for_filename[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This m... FAILED tests/test_formparsers.py::test_multipart_request_with_charset_for_filename[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This meth... FAILED tests/test_formparsers.py::test_multipart_request_without_charset_for_filename[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. Thi... FAILED tests/test_formparsers.py::test_multipart_request_without_charset_for_filename[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This m... FAILED tests/test_formparsers.py::test_multipart_request_with_encoded_value[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method w... FAILED tests/test_formparsers.py::test_multipart_request_with_encoded_value[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will... FAILED tests/test_formparsers.py::test_urlencoded_request_data[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventu... FAILED tests/test_formparsers.py::test_urlencoded_request_data[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventuall... FAILED tests/test_formparsers.py::test_no_request_data[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually rem... FAILED tests/test_formparsers.py::test_no_request_data[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_formparsers.py::test_urlencoded_percent_encoding[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be ev... FAILED tests/test_formparsers.py::test_urlencoded_percent_encoding[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be event... FAILED tests/test_formparsers.py::test_urlencoded_percent_encoding_keys[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will ... FAILED tests/test_formparsers.py::test_urlencoded_percent_encoding_keys[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be ... FAILED tests/test_formparsers.py::test_urlencoded_multi_field_app_reads_body[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method ... FAILED tests/test_formparsers.py::test_urlencoded_multi_field_app_reads_body[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method wil... FAILED tests/test_formparsers.py::test_multipart_multi_field_app_reads_body[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method w... FAILED tests/test_formparsers.py::test_multipart_multi_field_app_reads_body[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will... FAILED tests/test_formparsers.py::test_missing_boundary_parameter[asyncio-app-expectation0] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This m... FAILED tests/test_formparsers.py::test_missing_boundary_parameter[asyncio-app1-expectation1] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This ... FAILED tests/test_formparsers.py::test_missing_boundary_parameter[trio-app-expectation0] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This meth... FAILED tests/test_formparsers.py::test_missing_boundary_parameter[trio-app1-expectation1] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This met... FAILED tests/test_formparsers.py::test_missing_name_parameter_on_content_disposition[asyncio-app-expectation0] - DeprecationWarning: Please use rfc3986.validators.Valida... FAILED tests/test_formparsers.py::test_missing_name_parameter_on_content_disposition[asyncio-app1-expectation1] - DeprecationWarning: Please use rfc3986.validators.Valid... FAILED tests/test_formparsers.py::test_missing_name_parameter_on_content_disposition[trio-app-expectation0] - DeprecationWarning: Please use rfc3986.validators.Validator... FAILED tests/test_formparsers.py::test_missing_name_parameter_on_content_disposition[trio-app1-expectation1] - DeprecationWarning: Please use rfc3986.validators.Validato... FAILED tests/test_requests.py::test_request_url[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_requests.py::test_request_url[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_requests.py::test_request_query_params[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually r... FAILED tests/test_requests.py::test_request_query_params[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually remo... FAILED tests/test_requests.py::test_request_headers[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_requests.py::test_request_headers[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_requests.py::test_request_body[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_requests.py::test_request_body[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_requests.py::test_request_stream[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_requests.py::test_request_stream[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_requests.py::test_request_form_urlencoded[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventuall... FAILED tests/test_requests.py::test_request_form_urlencoded[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually r... FAILED tests/test_requests.py::test_request_body_then_stream[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventual... FAILED tests/test_requests.py::test_request_body_then_stream[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually ... FAILED tests/test_requests.py::test_request_stream_then_body[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventual... FAILED tests/test_requests.py::test_request_stream_then_body[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually ... FAILED tests/test_requests.py::test_request_json[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_requests.py::test_request_json[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_requests.py::test_request_raw_path[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_requests.py::test_request_raw_path[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_requests.py::test_request_without_setting_receive[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be e... FAILED tests/test_requests.py::test_request_without_setting_receive[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be even... FAILED tests/test_requests.py::test_request_is_disconnected[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventuall... FAILED tests/test_requests.py::test_request_is_disconnected[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually r... FAILED tests/test_requests.py::test_request_state[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_requests.py::test_request_state[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_requests.py::test_request_cookies[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_requests.py::test_request_cookies[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_requests.py::test_cookie_lenient_parsing[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually... FAILED tests/test_requests.py::test_cookie_lenient_parsing[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually re... FAILED tests/test_requests.py::test_cookies_edge_cases[asyncio-chips=ahoy; vienna=finger-expected0] - DeprecationWarning: Please use rfc3986.validators.Validator instead... FAILED tests/test_requests.py::test_cookies_edge_cases[asyncio-keebler="E=mc2; L=\\"Loves\\"; fudge=\\012;"-expected1] - DeprecationWarning: Please use rfc3986.validator... FAILED tests/test_requests.py::test_cookies_edge_cases[asyncio-keebler=E=mc2-expected2] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This metho... FAILED tests/test_requests.py::test_cookies_edge_cases[asyncio-key:term=value:term-expected3] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This... FAILED tests/test_requests.py::test_cookies_edge_cases[asyncio-a=b; c=[; d=r; f=h-expected4] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This ... FAILED tests/test_requests.py::test_cookies_edge_cases[asyncio-a=b; Domain=example.com-expected5] - DeprecationWarning: Please use rfc3986.validators.Validator instead. ... FAILED tests/test_requests.py::test_cookies_edge_cases[asyncio-a=b; h=i; a=c-expected6] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This metho... FAILED tests/test_requests.py::test_cookies_edge_cases[trio-chips=ahoy; vienna=finger-expected0] - DeprecationWarning: Please use rfc3986.validators.Validator instead. T... FAILED tests/test_requests.py::test_cookies_edge_cases[trio-keebler="E=mc2; L=\\"Loves\\"; fudge=\\012;"-expected1] - DeprecationWarning: Please use rfc3986.validators.V... FAILED tests/test_requests.py::test_cookies_edge_cases[trio-keebler=E=mc2-expected2] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method w... FAILED tests/test_requests.py::test_cookies_edge_cases[trio-key:term=value:term-expected3] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This me... FAILED tests/test_requests.py::test_cookies_edge_cases[trio-a=b; c=[; d=r; f=h-expected4] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This met... FAILED tests/test_requests.py::test_cookies_edge_cases[trio-a=b; Domain=example.com-expected5] - DeprecationWarning: Please use rfc3986.validators.Validator instead. Thi... FAILED tests/test_requests.py::test_cookies_edge_cases[trio-a=b; h=i; a=c-expected6] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method w... FAILED tests/test_requests.py::test_cookies_invalid[asyncio-abc=def; unnamed; django_language=en-expected0] - DeprecationWarning: Please use rfc3986.validators.Validator... FAILED tests/test_requests.py::test_cookies_invalid[asyncio-a=b; "; c=d-expected1] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method wil... FAILED tests/test_requests.py::test_cookies_invalid[asyncio-a b c=d e = f; gh=i-expected2] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This me... FAILED tests/test_requests.py::test_cookies_invalid[asyncio-a b,c<>@:/[]?{}=d " =e,f g-expected3] - DeprecationWarning: Please use rfc3986.validators.Validator inste... FAILED tests/test_requests.py::test_cookies_invalid[trio-abc=def; unnamed; django_language=en-expected0] - DeprecationWarning: Please use rfc3986.validators.Validator in... FAILED tests/test_requests.py::test_cookies_invalid[trio-a=b; "; c=d-expected1] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will b... FAILED tests/test_requests.py::test_cookies_invalid[trio-a b c=d e = f; gh=i-expected2] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This metho... FAILED tests/test_requests.py::test_cookies_invalid[trio-a b,c<>@:/[]?{}=d " =e,f g-expected3] - DeprecationWarning: Please use rfc3986.validators.Validator instead.... FAILED tests/test_requests.py::test_chunked_encoding[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_requests.py::test_chunked_encoding[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_requests.py::test_request_send_push_promise[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventua... FAILED tests/test_requests.py::test_request_send_push_promise[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually... FAILED tests/test_requests.py::test_request_send_push_promise_without_push_extension[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This... FAILED tests/test_requests.py::test_request_send_push_promise_without_push_extension[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This me... FAILED tests/test_requests.py::test_request_send_push_promise_without_setting_send[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This m... FAILED tests/test_requests.py::test_request_send_push_promise_without_setting_send[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This meth... FAILED tests/test_responses.py::test_text_response[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_responses.py::test_text_response[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_responses.py::test_bytes_response[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_responses.py::test_bytes_response[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_responses.py::test_json_none_response[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually re... FAILED tests/test_responses.py::test_json_none_response[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_responses.py::test_redirect_response[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually rem... FAILED tests/test_responses.py::test_redirect_response[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_responses.py::test_quoting_redirect_response[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventu... FAILED tests/test_responses.py::test_quoting_redirect_response[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventuall... FAILED tests/test_responses.py::test_redirect_response_content_length_header[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method ... FAILED tests/test_responses.py::test_redirect_response_content_length_header[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method wil... FAILED tests/test_responses.py::test_streaming_response[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually re... FAILED tests/test_responses.py::test_streaming_response[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_responses.py::test_streaming_response_custom_iterator[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will ... FAILED tests/test_responses.py::test_streaming_response_custom_iterator[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be ... FAILED tests/test_responses.py::test_streaming_response_custom_iterable[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will ... FAILED tests/test_responses.py::test_streaming_response_custom_iterable[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be ... FAILED tests/test_responses.py::test_sync_streaming_response[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventual... FAILED tests/test_responses.py::test_sync_streaming_response[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually ... FAILED tests/test_responses.py::test_response_headers[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually remo... FAILED tests/test_responses.py::test_response_headers[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_responses.py::test_response_phrase[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_responses.py::test_response_phrase[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_responses.py::test_file_response[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_responses.py::test_file_response[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_responses.py::test_file_response_with_directory_raises_error[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This metho... FAILED tests/test_responses.py::test_file_response_with_directory_raises_error[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method w... FAILED tests/test_responses.py::test_file_response_with_missing_file_raises_error[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This me... FAILED tests/test_responses.py::test_file_response_with_missing_file_raises_error[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This metho... FAILED tests/test_responses.py::test_file_response_with_chinese_filename[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will... FAILED tests/test_responses.py::test_file_response_with_chinese_filename[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be... FAILED tests/test_responses.py::test_file_response_with_inline_disposition[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method wi... FAILED tests/test_responses.py::test_file_response_with_inline_disposition[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will ... FAILED tests/test_responses.py::test_set_cookie[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_responses.py::test_set_cookie[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_responses.py::test_delete_cookie[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_responses.py::test_delete_cookie[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_responses.py::test_populate_headers[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually remo... FAILED tests/test_responses.py::test_populate_headers[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_responses.py::test_head_method[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_responses.py::test_head_method[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_responses.py::test_empty_response[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_responses.py::test_empty_response[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_responses.py::test_empty_204_response[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually re... FAILED tests/test_responses.py::test_empty_204_response[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_responses.py::test_non_empty_response[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually re... FAILED tests/test_responses.py::test_non_empty_response[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_responses.py::test_file_response_known_size[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventua... FAILED tests/test_responses.py::test_file_response_known_size[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually... FAILED tests/test_responses.py::test_streaming_response_unknown_size[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be ... FAILED tests/test_responses.py::test_streaming_response_unknown_size[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eve... FAILED tests/test_responses.py::test_streaming_response_known_size[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be ev... FAILED tests/test_responses.py::test_streaming_response_known_size[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be event... FAILED tests/test_routing.py::test_router[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_routing.py::test_router[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_routing.py::test_route_converters[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_routing.py::test_route_converters[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_routing.py::test_router_add_route[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_routing.py::test_router_add_route[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_routing.py::test_router_duplicate_path[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually r... FAILED tests/test_routing.py::test_router_duplicate_path[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually remo... FAILED tests/test_routing.py::test_protocol_switch[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_routing.py::test_protocol_switch[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_routing.py::test_mount_urls[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_routing.py::test_mount_urls[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_routing.py::test_mount_at_root[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_routing.py::test_mount_at_root[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_routing.py::test_host_routing[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_routing.py::test_host_routing[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_routing.py::test_subdomain_routing[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_routing.py::test_subdomain_routing[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_routing.py::test_url_for_with_root_path[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually ... FAILED tests/test_routing.py::test_url_for_with_root_path[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually rem... FAILED tests/test_routing.py::test_standalone_route_matches[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventuall... FAILED tests/test_routing.py::test_standalone_route_matches[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually r... FAILED tests/test_routing.py::test_standalone_route_does_not_match[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be ev... FAILED tests/test_routing.py::test_standalone_route_does_not_match[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be event... FAILED tests/test_routing.py::test_lifespan_async[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_routing.py::test_lifespan_async[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_routing.py::test_lifespan_sync[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_routing.py::test_lifespan_sync[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_routing.py::test_partial_async_endpoint[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually ... FAILED tests/test_routing.py::test_partial_async_endpoint[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually rem... FAILED tests/test_routing.py::test_mount_middleware[asyncio-app0] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually r... FAILED tests/test_routing.py::test_mount_middleware[asyncio-app1] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually r... FAILED tests/test_routing.py::test_mount_middleware[trio-app0] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually remo... FAILED tests/test_routing.py::test_mount_middleware[trio-app1] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually remo... FAILED tests/test_routing.py::test_add_route_to_app_after_mount[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be event... FAILED tests/test_routing.py::test_add_route_to_app_after_mount[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventual... FAILED tests/test_routing.py::test_exception_on_mounted_apps[asyncio] - AssertionError: assert 'Please use r...ally removed.' == 'Exc' FAILED tests/test_routing.py::test_exception_on_mounted_apps[trio] - AssertionError: assert 'Please use r...ally removed.' == 'Exc' FAILED tests/test_routing.py::test_mounted_middleware_does_not_catch_exception[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This metho... FAILED tests/test_routing.py::test_mounted_middleware_does_not_catch_exception[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method w... FAILED tests/test_schemas.py::test_schema_endpoint[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_schemas.py::test_schema_endpoint[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_staticfiles.py::test_staticfiles[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_staticfiles.py::test_staticfiles[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_staticfiles.py::test_staticfiles_with_pathlib[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be event... FAILED tests/test_staticfiles.py::test_staticfiles_with_pathlib[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventual... FAILED tests/test_staticfiles.py::test_staticfiles_head_with_middleware[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will ... FAILED tests/test_staticfiles.py::test_staticfiles_head_with_middleware[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be ... FAILED tests/test_staticfiles.py::test_staticfiles_with_package[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be event... FAILED tests/test_staticfiles.py::test_staticfiles_with_package[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventual... FAILED tests/test_staticfiles.py::test_staticfiles_post[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually re... FAILED tests/test_staticfiles.py::test_staticfiles_post[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_staticfiles.py::test_staticfiles_with_directory_returns_404[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method... FAILED tests/test_staticfiles.py::test_staticfiles_with_directory_returns_404[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method wi... FAILED tests/test_staticfiles.py::test_staticfiles_with_missing_file_returns_404[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This met... FAILED tests/test_staticfiles.py::test_staticfiles_with_missing_file_returns_404[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method... FAILED tests/test_staticfiles.py::test_staticfiles_configured_with_missing_directory[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This... FAILED tests/test_staticfiles.py::test_staticfiles_configured_with_missing_directory[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This me... FAILED tests/test_staticfiles.py::test_staticfiles_configured_with_file_instead_of_directory[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator inste... FAILED tests/test_staticfiles.py::test_staticfiles_configured_with_file_instead_of_directory[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead.... FAILED tests/test_staticfiles.py::test_staticfiles_config_check_occurs_only_once[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This met... FAILED tests/test_staticfiles.py::test_staticfiles_config_check_occurs_only_once[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method... FAILED tests/test_staticfiles.py::test_staticfiles_never_read_file_for_head_method[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This m... FAILED tests/test_staticfiles.py::test_staticfiles_never_read_file_for_head_method[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This meth... FAILED tests/test_staticfiles.py::test_staticfiles_304_with_etag_match[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will b... FAILED tests/test_staticfiles.py::test_staticfiles_304_with_etag_match[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be e... FAILED tests/test_staticfiles.py::test_staticfiles_304_with_last_modified_compare_last_req[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead... FAILED tests/test_staticfiles.py::test_staticfiles_304_with_last_modified_compare_last_req[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. T... FAILED tests/test_staticfiles.py::test_staticfiles_html_normal[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventu... FAILED tests/test_staticfiles.py::test_staticfiles_html_normal[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventuall... FAILED tests/test_staticfiles.py::test_staticfiles_html_without_index[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be... FAILED tests/test_staticfiles.py::test_staticfiles_html_without_index[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be ev... FAILED tests/test_staticfiles.py::test_staticfiles_html_without_404[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be e... FAILED tests/test_staticfiles.py::test_staticfiles_html_without_404[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be even... FAILED tests/test_staticfiles.py::test_staticfiles_html_only_files[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be ev... FAILED tests/test_staticfiles.py::test_staticfiles_html_only_files[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be event... FAILED tests/test_staticfiles.py::test_staticfiles_cache_invalidation_for_deleted_file_html_mode[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator i... FAILED tests/test_staticfiles.py::test_staticfiles_cache_invalidation_for_deleted_file_html_mode[trio] - DeprecationWarning: Please use rfc3986.validators.Validator inst... FAILED tests/test_staticfiles.py::test_staticfiles_with_invalid_dir_permissions_returns_401[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instea... FAILED tests/test_staticfiles.py::test_staticfiles_with_invalid_dir_permissions_returns_401[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. ... FAILED tests/test_staticfiles.py::test_staticfiles_with_missing_dir_returns_404[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This meth... FAILED tests/test_staticfiles.py::test_staticfiles_with_missing_dir_returns_404[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method ... FAILED tests/test_staticfiles.py::test_staticfiles_access_file_as_dir_returns_404[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This me... FAILED tests/test_staticfiles.py::test_staticfiles_access_file_as_dir_returns_404[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This metho... FAILED tests/test_staticfiles.py::test_staticfiles_unhandled_os_error_returns_500[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This me... FAILED tests/test_staticfiles.py::test_staticfiles_unhandled_os_error_returns_500[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This metho... FAILED tests/test_templates.py::test_templates[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_templates.py::test_templates[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_testclient.py::test_use_testclient_in_endpoint[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be even... FAILED tests/test_testclient.py::test_use_testclient_in_endpoint[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventua... FAILED tests/test_testclient.py::test_use_testclient_as_contextmanager[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will b... FAILED tests/test_testclient.py::test_use_testclient_as_contextmanager[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be e... FAILED tests/test_testclient.py::test_testclient_asgi2[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually rem... FAILED tests/test_testclient.py::test_testclient_asgi2[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_testclient.py::test_testclient_asgi3[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually rem... FAILED tests/test_testclient.py::test_testclient_asgi3[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_testclient.py::test_client[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/test_testclient.py::test_client[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/middleware/test_base.py::test_custom_middleware[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventual... FAILED tests/middleware/test_base.py::test_custom_middleware[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually ... FAILED tests/middleware/test_base.py::test_state_data_across_multiple_middlewares[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This me... FAILED tests/middleware/test_base.py::test_state_data_across_multiple_middlewares[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This metho... FAILED tests/middleware/test_base.py::test_app_middleware_argument[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be ev... FAILED tests/middleware/test_base.py::test_app_middleware_argument[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be event... FAILED tests/middleware/test_base.py::test_fully_evaluated_response[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be e... FAILED tests/middleware/test_base.py::test_fully_evaluated_response[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be even... FAILED tests/middleware/test_base.py::test_contextvars[asyncio-CustomMiddlewareWithoutBaseHTTPMiddleware] - DeprecationWarning: Please use rfc3986.validators.Validator i... FAILED tests/middleware/test_base.py::test_contextvars[asyncio-CustomMiddlewareUsingBaseHTTPMiddleware] - DeprecationWarning: Please use rfc3986.validators.Validator ins... FAILED tests/middleware/test_base.py::test_contextvars[trio-CustomMiddlewareWithoutBaseHTTPMiddleware] - DeprecationWarning: Please use rfc3986.validators.Validator inst... FAILED tests/middleware/test_base.py::test_contextvars[trio-CustomMiddlewareUsingBaseHTTPMiddleware] - DeprecationWarning: Please use rfc3986.validators.Validator instea... FAILED tests/middleware/test_base.py::test_app_receives_http_disconnect_while_sending_if_discarded[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator... FAILED tests/middleware/test_base.py::test_app_receives_http_disconnect_while_sending_if_discarded[trio] - DeprecationWarning: Please use rfc3986.validators.Validator in... FAILED tests/middleware/test_base.py::test_app_receives_http_disconnect_after_sending_if_discarded[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator... FAILED tests/middleware/test_base.py::test_app_receives_http_disconnect_after_sending_if_discarded[trio] - DeprecationWarning: Please use rfc3986.validators.Validator in... FAILED tests/middleware/test_cors.py::test_cors_allow_all[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually ... FAILED tests/middleware/test_cors.py::test_cors_allow_all[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually rem... FAILED tests/middleware/test_cors.py::test_cors_allow_all_except_credentials[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method ... FAILED tests/middleware/test_cors.py::test_cors_allow_all_except_credentials[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method wil... FAILED tests/middleware/test_cors.py::test_cors_allow_specific_origin[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be... FAILED tests/middleware/test_cors.py::test_cors_allow_specific_origin[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be ev... FAILED tests/middleware/test_cors.py::test_cors_disallowed_preflight[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be ... FAILED tests/middleware/test_cors.py::test_cors_disallowed_preflight[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eve... FAILED tests/middleware/test_cors.py::test_preflight_allows_request_origin_if_origins_wildcard_and_credentials_allowed[asyncio] - DeprecationWarning: Please use rfc3986.... FAILED tests/middleware/test_cors.py::test_preflight_allows_request_origin_if_origins_wildcard_and_credentials_allowed[trio] - DeprecationWarning: Please use rfc3986.val... FAILED tests/middleware/test_cors.py::test_cors_preflight_allow_all_methods[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method w... FAILED tests/middleware/test_cors.py::test_cors_preflight_allow_all_methods[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will... FAILED tests/middleware/test_cors.py::test_cors_allow_all_methods[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eve... FAILED tests/middleware/test_cors.py::test_cors_allow_all_methods[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventu... FAILED tests/middleware/test_cors.py::test_cors_allow_origin_regex[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be ev... FAILED tests/middleware/test_cors.py::test_cors_allow_origin_regex[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be event... FAILED tests/middleware/test_cors.py::test_cors_allow_origin_regex_fullmatch[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method ... FAILED tests/middleware/test_cors.py::test_cors_allow_origin_regex_fullmatch[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method wil... FAILED tests/middleware/test_cors.py::test_cors_credentialed_requests_return_specific_origin[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator inste... FAILED tests/middleware/test_cors.py::test_cors_credentialed_requests_return_specific_origin[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead.... FAILED tests/middleware/test_cors.py::test_cors_vary_header_defaults_to_origin[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This metho... FAILED tests/middleware/test_cors.py::test_cors_vary_header_defaults_to_origin[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method w... FAILED tests/middleware/test_cors.py::test_cors_vary_header_is_not_set_for_non_credentialed_request[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validato... FAILED tests/middleware/test_cors.py::test_cors_vary_header_is_not_set_for_non_credentialed_request[trio] - DeprecationWarning: Please use rfc3986.validators.Validator i... FAILED tests/middleware/test_cors.py::test_cors_vary_header_is_properly_set_for_credentialed_request[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validat... FAILED tests/middleware/test_cors.py::test_cors_vary_header_is_properly_set_for_credentialed_request[trio] - DeprecationWarning: Please use rfc3986.validators.Validator ... FAILED tests/middleware/test_cors.py::test_cors_vary_header_is_properly_set_when_allow_origins_is_not_wildcard[asyncio] - DeprecationWarning: Please use rfc3986.validato... FAILED tests/middleware/test_cors.py::test_cors_vary_header_is_properly_set_when_allow_origins_is_not_wildcard[trio] - DeprecationWarning: Please use rfc3986.validators.... FAILED tests/middleware/test_cors.py::test_cors_allowed_origin_does_not_leak_between_credentialed_requests[asyncio] - DeprecationWarning: Please use rfc3986.validators.V... FAILED tests/middleware/test_cors.py::test_cors_allowed_origin_does_not_leak_between_credentialed_requests[trio] - DeprecationWarning: Please use rfc3986.validators.Vali... FAILED tests/middleware/test_errors.py::test_handler[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/middleware/test_errors.py::test_handler[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/middleware/test_errors.py::test_debug_text[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually re... FAILED tests/middleware/test_errors.py::test_debug_text[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/middleware/test_errors.py::test_debug_html[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually re... FAILED tests/middleware/test_errors.py::test_debug_html[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/middleware/test_errors.py::test_debug_after_response_sent[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will b... FAILED tests/middleware/test_errors.py::test_debug_after_response_sent[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be e... FAILED tests/middleware/test_errors.py::test_background_task[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventual... FAILED tests/middleware/test_errors.py::test_background_task[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually ... FAILED tests/middleware/test_gzip.py::test_gzip_responses[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually ... FAILED tests/middleware/test_gzip.py::test_gzip_responses[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually rem... FAILED tests/middleware/test_gzip.py::test_gzip_not_in_accept_encoding[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will b... FAILED tests/middleware/test_gzip.py::test_gzip_not_in_accept_encoding[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be e... FAILED tests/middleware/test_gzip.py::test_gzip_ignored_for_small_responses[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method w... FAILED tests/middleware/test_gzip.py::test_gzip_ignored_for_small_responses[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will... FAILED tests/middleware/test_gzip.py::test_gzip_streaming_response[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be ev... FAILED tests/middleware/test_gzip.py::test_gzip_streaming_response[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be event... FAILED tests/middleware/test_https_redirect.py::test_https_redirect_middleware[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This metho... FAILED tests/middleware/test_https_redirect.py::test_https_redirect_middleware[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method w... FAILED tests/middleware/test_session.py::test_session[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually remo... FAILED tests/middleware/test_session.py::test_session[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/middleware/test_session.py::test_session_expires[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventua... FAILED tests/middleware/test_session.py::test_session_expires[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually... FAILED tests/middleware/test_session.py::test_secure_session[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventual... FAILED tests/middleware/test_session.py::test_secure_session[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually ... FAILED tests/middleware/test_session.py::test_session_cookie_subpath[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be ... FAILED tests/middleware/test_session.py::test_session_cookie_subpath[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eve... FAILED tests/middleware/test_session.py::test_invalid_session_cookie[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be ... FAILED tests/middleware/test_session.py::test_invalid_session_cookie[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eve... FAILED tests/middleware/test_session.py::test_session_cookie[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventual... FAILED tests/middleware/test_session.py::test_session_cookie[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually ... FAILED tests/middleware/test_trusted_host.py::test_trusted_host_middleware[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method wi... FAILED tests/middleware/test_trusted_host.py::test_trusted_host_middleware[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will ... FAILED tests/middleware/test_trusted_host.py::test_www_redirect[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be event... FAILED tests/middleware/test_trusted_host.py::test_www_redirect[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventual... FAILED tests/middleware/test_wsgi.py::test_wsgi_get[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/middleware/test_wsgi.py::test_wsgi_get[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/middleware/test_wsgi.py::test_wsgi_post[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/middleware/test_wsgi.py::test_wsgi_post[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually removed. FAILED tests/middleware/test_wsgi.py::test_wsgi_exception[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually ... FAILED tests/middleware/test_wsgi.py::test_wsgi_exception[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually rem... FAILED tests/middleware/test_wsgi.py::test_wsgi_exc_info[asyncio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually r... FAILED tests/middleware/test_wsgi.py::test_wsgi_exc_info[trio] - DeprecationWarning: Please use rfc3986.validators.Validator instead. This method will be eventually remo... =============================================================== 409 failed, 202 passed, 3 skipped in 45.31s ================================================================ ```
Kludex commented 1 year ago

The pipeline is using rfc3986==1.5.0 instead of 2.0.0, and there are other differences as well.

kloczek commented 1 year ago

So maybe it would better to not fail on that deprecation warning? 🤔

Kludex commented 1 year ago

I cannot reproduce this. How are you installing the dependencies?