==> Building on monferno ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ .SRCINFO 700 44% 0.00kB/s 0:00:00 1,582 100% 861.33kB/s 0:00:00 (xfr#1, to-chk=7/9) .nvchecker.toml 60 100% 58.59kB/s 0:00:00 60 100% 58.59kB/s 0:00:00 (xfr#2, to-chk=6/9) LICENSE 646 100% 630.86kB/s 0:00:00 646 100% 630.86kB/s 0:00:00 (xfr#3, to-chk=5/9) PKGBUILD 700 41% 683.59kB/s 0:00:00 1,704 100% 1.63MB/s 0:00:00 (xfr#4, to-chk=4/9) REUSE.toml 375 100% 366.21kB/s 0:00:00 375 100% 366.21kB/s 0:00:00 (xfr#5, to-chk=3/9) python-openapi-core-0.23.1-1.log 619 100% 604.49kB/s 0:00:00 619 100% 604.49kB/s 0:00:00 (xfr#6, to-chk=2/9) LICENSES/ sent 867 bytes received 204 bytes 2,142.00 bytes/sec total size is 4,572 speedup is 4.27 ==> Applying RISC-V patches... sending incremental file list ./ sent 85 bytes received 19 bytes 208.00 bytes/sec total size is 190 speedup is 1.83 patching file PKGBUILD ==> Running pkgctl build --arch riscv64 on remote host... ==> WARNING: invalid architecture: riscv64 ==> Updating pacman database cache [?25l:: Synchronizing package databases... core downloading... extra downloading... multilib downloading... [?25h==> Building python-openapi-core  -> repo: extra  -> arch: riscv64  -> worker: felix-0 ==> Building python-openapi-core for [extra] (riscv64) ]3008;start=f8e1a2649f53456a8b03a2a138854d2b;user=felix;hostname=monferno.felixc.at;machineid=d81047be213f47f4a04ac21a8f8e559b;bootid=e09be040f722427c8b59ed2fd3c4abfd;pid=1998537;pidfdid=23016185;comm=sudo;targetuser=root;type=session\Note: in a future version of systemd-nspawn the default set of permitted socket address families will be restricted to AF_INET, AF_INET6 and AF_UNIX. Use --restrict-address-families= to configure the set of permitted socket address families, or set RestrictAddressFamilies= in a .nspawn file. ]3008;start=8b373c5bf5b24b9ab6005154173d4d22;user=root;hostname=monferno.felixc.at;machineid=d81047be213f47f4a04ac21a8f8e559b;bootid=e09be040f722427c8b59ed2fd3c4abfd;pid=1998581;pidfdid=22971754;comm=systemd-nspawn;container=arch-nspawn-1998581;type=container\]11;?\]2;🔵 Container arch-nspawn-1998581 on monferno.felixc.at\[?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h[!p]104\[?7h]3008;end=8b373c5bf5b24b9ab6005154173d4d22\==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix-0]...done ]3008;start=dc8bd6c0401b4fc09e703ff730aecc46;user=root;hostname=monferno.felixc.at;machineid=d81047be213f47f4a04ac21a8f8e559b;bootid=e09be040f722427c8b59ed2fd3c4abfd;pid=1998702;pidfdid=22951830;comm=sudo;targetuser=felix;type=session\==> Making package: python-openapi-core 0.23.1-1 (Sun Sep 6 20:21:26 2026) ==> Retrieving sources...  -> Updating openapi-core git repo... ==> Validating source files with b2sums... openapi-core ... Passed ]3008;end=dc8bd6c0401b4fc09e703ff730aecc46\Note: in a future version of systemd-nspawn the default set of permitted socket address families will be restricted to AF_INET, AF_INET6 and AF_UNIX. Use --restrict-address-families= to configure the set of permitted socket address families, or set RestrictAddressFamilies= in a .nspawn file. ]3008;start=2075436d44e64957bfd521a28a101e19;user=root;hostname=monferno.felixc.at;machineid=d81047be213f47f4a04ac21a8f8e559b;bootid=e09be040f722427c8b59ed2fd3c4abfd;pid=1999630;pidfdid=22971799;comm=systemd-nspawn;container=makechrootpkg-python-openapi-core.build.1998558;type=container\]11;?\]2;🔵 Container makechrootpkg-python-openapi-core.build.1998558 on monferno.felixc.at\]3008;start=9b500972c1574280b3bb38139efdaf0f;user=root;hostname=makechrootpkg-python-openapi-core.build.1998558;machineid=890b8f41150d420f89723cd00a576889;bootid=e23762be42b14396ab8894019f522ef0;pid=34;pidfdid=23020715;comm=sudo;targetuser=builduser;type=session\==> Making package: python-openapi-core 0.23.1-1 (Sun Sep 6 20:21:37 2026) ==> Checking runtime dependencies... ==> Installing missing dependencies... ]3008;start=13d62b771b61495592bd134e79a3ffdb;user=builduser;hostname=makechrootpkg-python-openapi-core.build.1998558;machineid=890b8f41150d420f89723cd00a576889;bootid=e23762be42b14396ab8894019f522ef0;pid=2017;pidfdid=22929263;comm=sudo;targetuser=root;type=session\[?25lresolving dependencies... looking for conflicting packages... Package (31) New Version Net Change extra/libyaml 0.2.5-3 0.16 MiB extra/python-annotated-types 0.8.0-1 0.12 MiB extra/python-attrs 26.1.0-1 0.63 MiB extra/python-certifi 2026.07.22-1 0.02 MiB extra/python-charset-normalizer 3.5.1-1 0.63 MiB extra/python-click 8.3.3-1 1.38 MiB extra/python-dotenv 1.2.3-1 0.18 MiB extra/python-idna 3.19-1 0.66 MiB extra/python-jsonschema-specifications 2025.9.1-2 0.05 MiB extra/python-lazy-object-proxy 1.12.0-2 0.18 MiB extra/python-markupsafe 3.0.3-1 0.09 MiB extra/python-pathable 0.6.0-1 0.20 MiB extra/python-pydantic 2.13.4-1 6.04 MiB extra/python-pydantic-core 3:2.46.4-1 5.35 MiB extra/python-pydantic-settings 2.15.0-1 0.85 MiB extra/python-referencing 0.37.0-3.1 0.41 MiB extra/python-requests 2.34.2-1 0.76 MiB extra/python-rfc3339-validator 0.1.4-8 0.01 MiB extra/python-rpds-py 2026.6.3-1 0.73 MiB extra/python-six 1.17.0-3 0.12 MiB extra/python-typing-inspection 0.4.4-1 0.13 MiB extra/python-typing_extensions 4.16.0-1 0.53 MiB extra/python-urllib3 2.6.3-1 1.44 MiB extra/python-yaml 6.0.3-2 0.93 MiB extra/python-isodate 0.7.2-3 0.17 MiB extra/python-jsonschema 4.26.0-1.1 1.39 MiB extra/python-jsonschema-path 0.5.0-1 0.20 MiB extra/python-more-itertools 11.1.0-1 0.77 MiB extra/python-openapi-schema-validator 0.8.1-1 0.16 MiB extra/python-openapi-spec-validator 0.8.4-1 0.49 MiB extra/python-werkzeug 3.1.8-1 2.75 MiB Total Installed Size: 27.52 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-isodate... installing python-attrs... installing python-rpds-py... installing python-referencing... installing python-jsonschema-specifications... installing python-jsonschema... Optional dependencies for python-jsonschema python-isoduration: for duration format python-fqdn: for hostname format python-idna: for idn-hostname format [pending] python-jsonpointer: for json-pointer & relative-json-pointer format python-rfc3339-validator: for date-time format [pending] python-rfc3987: for iri, iri-reference, uri & uri-reference format python-uri-template: for uri-template format python-webcolors: for color format installing python-pathable... installing libyaml... installing python-yaml... installing python-charset-normalizer... installing python-idna... installing python-urllib3... Optional dependencies for python-urllib3 python-brotli: Brotli support python-brotlicffi: Brotli support python-h2: HTTP/2 support python-pysocks: SOCKS support installing python-certifi... installing python-requests... Optional dependencies for python-requests python-chardet: alternative character encoding library python-pysocks: SOCKS proxy support installing python-jsonschema-path... installing python-more-itertools... installing python-six... installing python-rfc3339-validator... installing python-annotated-types... installing python-typing_extensions... installing python-typing-inspection... installing python-pydantic-core... installing python-pydantic... Optional dependencies for python-pydantic mypy: for type validation with mypy python-dotenv: for .env file support [pending] python-email-validator: for email validation python-hypothesis: for hypothesis plugin when using legacy v1 installing python-click... installing python-dotenv... Optional dependencies for python-dotenv ipython: ipython support installing python-pydantic-settings... Optional dependencies for python-pydantic-settings python-pyyaml: for YAML support [installed] installing python-openapi-schema-validator... installing python-lazy-object-proxy... installing python-openapi-spec-validator... installing python-markupsafe... installing python-werkzeug... Optional dependencies for python-werkzeug python-watchdog: faster and more advanced reloader :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... [?25h]3008;end=13d62b771b61495592bd134e79a3ffdb\==> Checking buildtime dependencies... ==> Installing missing dependencies... ]3008;start=caccb59e73b84c8591061de711553434;user=builduser;hostname=makechrootpkg-python-openapi-core.build.1998558;machineid=890b8f41150d420f89723cd00a576889;bootid=e23762be42b14396ab8894019f522ef0;pid=2416;pidfdid=23020838;comm=sudo;targetuser=root;type=session\[?25lresolving dependencies... looking for conflicting packages... warning: insufficient columns available for table display Packages (47) llhttp-9.3.1-1 perl-error-0.17030-3 perl-mailtools-2.22-3 perl-timedate-2.35-1 python-aiohappyeyeballs-2.7.1-1 python-aiosignal-1.4.0-3 python-annotated-doc-0.0.5-1.1 python-anyio-4.15.1-1 python-asgiref-3.12.1-1 python-blinker-1.9.0-4 python-fastjsonschema-2.21.2-2 python-frozenlist-1.8.0-2 python-h11-0.16.0-2 python-httpcore2-2.3.0-1 python-iniconfig-2.3.0-1 python-itsdangerous-2.2.0-2 python-jinja-1:3.1.6-3.1 python-lark-parser-1.3.1-2 python-packaging-26.3-1 python-pluggy-1.6.0-3.1 python-propcache-0.4.1-2 python-pydantic-extra-types-2.11.2-1 python-pygments-2.21.0-1 python-pyproject-hooks-1.2.0-6 python-pytz-2026.1-1 python-sqlparse-0.6.0-1 python-truststore-0.10.4-3 python-yarl-1.23.0-1 zlib-ng-2.3.3-1 git-2.55.0-1 python-aiohttp-3.13.5-1 python-aioitertools-0.13.0-2 python-build-1.6.0-1 python-django-5.2.13-1 python-django-rest-framework-3.17.1-1 python-falcon-4.3.1-1 python-fastapi-0.141.1-1 python-flask-3.1.3-1 python-httpx2-2.3.0-1 python-installer-1.0.1-1 python-multidict-6.7.1-1 python-poetry-core-2.4.1-1 python-pytest-1:9.1.0-1 python-pytest-aiohttp-1.1.0-1 python-pytest-asyncio-1.4.0-1 python-responses-0.26.3-1 python-starlette-1.6.0-1.1 Total Download Size: 0.25 MiB Total Installed Size: 120.36 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-packaging-26.3-1-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing zlib-ng... installing git... Optional dependencies for git git-zsh-completion: upstream zsh completion tk: gitk and git gui openssh: ssh transport and crypto man: show help with `git command --help` perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-cgi: gitweb (web interface) support python: git svn & git p4 [installed] subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] less: the default pager for git installing python-packaging... installing python-pyproject-hooks... installing python-build... Optional dependencies for python-build python-pip: to use as the Python package installer (default) python-uv: to use as the Python package installer python-virtualenv: to use virtualenv for build isolation installing python-installer... installing python-fastjsonschema... installing python-lark-parser... Optional dependencies for python-lark-parser python-atomicwrites: for atomic_cache python-regex: for regex support installing python-poetry-core... installing llhttp... installing python-aiohappyeyeballs... installing python-frozenlist... installing python-aiosignal... installing python-multidict... installing python-propcache... installing python-yarl... installing python-aiohttp... Optional dependencies for python-aiohttp gunicorn: to deploy using Gunicorn python-aiodns: for fast DNS resolving python-brotli: for Brotli transfer-encodings support installing python-aioitertools... installing python-pytz... installing python-sqlparse... installing python-asgiref... installing python-django... Optional dependencies for python-django python-psycopg2: for PostgreSQL backend python-argon2-cffi: for Argon2 password hashing support installing python-django-rest-framework... Optional dependencies for python-django-rest-framework python-django-filter: for dynamic queryset filters python-django-guardian: for a per-object permission model python-markdown: for markdown support python-psycopg2: for PostgreSQL support python-pygments: for syntax highlighting [pending] python-yaml: for YAML support [installed] installing python-falcon... Optional dependencies for python-falcon python-bottle: for falcon-bench python-django: for falcon-bench [installed] python-flask: for falcon-bench [pending] python-jsonschema: for JSON schema validation [installed] python-msgpack: for MessagePackHandler python-pecan: for falcon-bench python-pprofile: for falcon-bench installing python-annotated-doc... installing python-anyio... Optional dependencies for python-anyio python-trio: trio backend python-outcome: trio backend python-uvloop: use uvloop for asyncio backend python-pytest: pytest plugin [pending] installing python-pydantic-extra-types... Optional dependencies for python-pydantic-extra-types python-cron-converter: for cron support python-pendulum: for datetime support python-phonenumbers: for phone number support python-pycountry: for country code support python-pymongo: for MongoDB support python-pytz: for timezone support [installed] python-semver: for semantic versioning support python-tzdata: for timezone support python-ulid: for ULID support installing python-starlette... Optional dependencies for python-starlette python-itsdangerous: for session middleware support [pending] python-jinja: for jinja templates [pending] python-python-multipart: for form parsing python-pyyaml: for schema generator [installed] python-httpx2: for test client [pending] installing python-fastapi... Optional dependencies for python-fastapi hypercorn: for Hypercorn as ASGI server python-email-validator: for email validation python-itsdangerous: for SessionMiddleware support [pending] python-jinja: for default starlette template configuration [pending] python-orjson: for ORJSONResponse python-python-multipart: for form parsing support python-pyyaml: for starlette SchemaGenerator support [installed] python-httpx: for TestClient support python-strawberry-graphql: for GraphQL support python-ujson: for faster JSON parsing and UJSONResponse uvicorn: for Uvicorn as ASGI server installing python-blinker... installing python-itsdangerous... installing python-jinja... Optional dependencies for python-jinja python-babel: for i18n support installing python-flask... Optional dependencies for python-flask python-asgiref: async functions and views [installed] python-cryptography: using ad-hoc certificates python-dotenv: loading env vars from files [installed] installing python-h11... installing python-truststore... Optional dependencies for python-truststore python-urllib3: when injecting into SSLContext via urllib3 [installed] installing python-httpcore2... Optional dependencies for python-httpcore2 python-anyio: asyncio support [installed] python-h2: HTTP/2 support python-socksio: SOCKS proxy support python-trio: trio async support installing python-httpx2... Optional dependencies for python-httpx2 python-brotli: for brotli response decompression python-brotlicffi: for brotli response decompression python-click: command line client support [installed] python-h2: HTTP/2 support python-pygments: command line client support [pending] python-rich: command line client support python-socksio: SOCKS proxy support python-trio: alternative async library python-zstandard: for zstd response decompression installing python-iniconfig... installing python-pluggy... installing python-pygments... installing python-pytest... installing python-pytest-aiohttp... installing python-pytest-asyncio... installing python-responses... :: Running post-transaction hooks... (1/4) Creating system user accounts... Creating group 'git' with GID 968. Creating user 'git' (git daemon user) with UID 968 and GID 968. (2/4) Reloading system manager configuration... Skipped: Current root is not booted. (3/4) Arming ConditionNeedsUpdate... (4/4) Checking for old perl modules... [?25h]3008;end=caccb59e73b84c8591061de711553434\==> Retrieving sources... ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Creating working copy of openapi-core git repo... Cloning into 'openapi-core'... done. Switched to a new branch 'makepkg' ==> Starting build()... * Getting build dependencies for wheel... * Building wheel... Successfully built openapi_core-0.23.1-py3-none-any.whl ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.14.7, pytest-9.1.0, pluggy-1.6.0 rootdir: /build/python-openapi-core/src/openapi-core configfile: pyproject.toml plugins: asyncio-1.4.0, aiohttp-1.1.0, anyio-4.15.1 asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function collected 1558 items tests/integration/contrib/aiohttp/test_aiohttp_project.py .. [ 0%] tests/integration/contrib/aiohttp/test_aiohttp_validation.py ...s..s.. [ 0%] tests/integration/contrib/django/test_django_project.py ................ [ 1%] ... [ 1%] tests/integration/contrib/falcon/test_falcon_asgi_middleware.py ...... [ 2%] tests/integration/contrib/falcon/test_falcon_project.py .........x...... [ 3%] x [ 3%] tests/integration/contrib/falcon/test_falcon_wsgi_middleware.py . [ 3%] tests/integration/contrib/fastapi/test_fastapi_project.py .............. [ 4%] [ 4%] tests/integration/contrib/flask/test_flask_decorator.py .......... [ 5%] tests/integration/contrib/flask/test_flask_project.py .. [ 5%] tests/integration/contrib/flask/test_flask_validator.py . [ 5%] tests/integration/contrib/flask/test_flask_views.py ....... [ 5%] tests/integration/contrib/requests/test_requests_validation.py ....... [ 6%] tests/integration/contrib/starlette/test_starlette_project.py .......... [ 6%] ...... [ 7%] tests/integration/contrib/starlette/test_starlette_validation.py .. [ 7%] tests/integration/contrib/werkzeug/test_werkzeug_validation.py ... [ 7%] tests/integration/schema/test_link_spec.py .... [ 7%] tests/integration/schema/test_path_params.py .. [ 7%] tests/integration/schema/test_spec.py ... [ 8%] tests/integration/test_minimal.py ...................................... [ 10%] ...................... [ 11%] tests/integration/test_petstore.py .................x................... [ 14%] ............... [ 15%] tests/integration/unmarshalling/test_read_only_write_only.py .... [ 15%] tests/integration/unmarshalling/test_request_unmarshaller.py ........... [ 16%] ... [ 16%] tests/integration/unmarshalling/test_response_unmarshaller.py .......... [ 17%] . [ 17%] tests/integration/unmarshalling/test_response_unmarshaller_response_properties_default_policy.py . [ 17%] .. [ 17%] tests/integration/unmarshalling/test_security_override.py ..... [ 17%] tests/integration/unmarshalling/test_unmarshallers.py ..............xxxx [ 18%] xxx..................................................................... [ 23%] ........................................................................ [ 27%] ........................................................................ [ 32%] .....xxxxxxx............................................................ [ 37%] ........................................................................ [ 41%] ........................................................................ [ 46%] ........................................................................ [ 51%] ........................................................................ [ 55%] ...............xx............................. [ 58%] tests/integration/validation/test_additional_properties_default_policy.py . [ 58%] ..... [ 59%] tests/integration/validation/test_dialect_validators.py .......... [ 59%] tests/integration/validation/test_parent_reference.py .. [ 59%] tests/integration/validation/test_request_validators.py ........... [ 60%] tests/integration/validation/test_response_properties_default_policy.py . [ 60%] .... [ 60%] tests/integration/validation/test_response_validators.py ........... [ 61%] tests/integration/validation/test_strict_json_validation.py ......... [ 62%] tests/unit/casting/test_schema_casters.py ............... [ 63%] tests/unit/contrib/aiohttp/test_aiohttp_requests.py . [ 63%] tests/unit/contrib/aiohttp/test_aiohttp_responses.py . [ 63%] tests/unit/contrib/django/test_django.py ......... [ 63%] tests/unit/contrib/flask/test_flask_requests.py .... [ 64%] tests/unit/contrib/flask/test_flask_responses.py .. [ 64%] tests/unit/contrib/requests/test_requests_requests.py ...... [ 64%] tests/unit/contrib/requests/test_requests_responses.py .. [ 64%] tests/unit/deserializing/test_media_types_deserializers.py ............. [ 65%] ........................ [ 67%] tests/unit/deserializing/test_styles_deserializers.py .................. [ 68%] ............................................ [ 71%] tests/unit/extensions/test_factories.py .. [ 71%] tests/unit/schema/test_schema_parameters.py ............................ [ 72%] ........................................................................ [ 77%] ................................................. [ 80%] tests/unit/security/test_providers.py ......... [ 81%] tests/unit/templating/test_media_types_finders.py EEEEEEEEE [ 81%] tests/unit/templating/test_paths_finders.py F....F....F.............F... [ 83%] .F....F................ [ 85%] tests/unit/templating/test_paths_parsers.py ...... [ 85%] tests/unit/templating/test_responses_finders.py EEE [ 85%] tests/unit/test_app.py .................. [ 86%] tests/unit/test_shortcuts.py ........................................... [ 89%] .................................................................... [ 94%] tests/unit/test_util.py ................. [ 95%] tests/unit/unmarshalling/test_path_item_params_validator.py ........ [ 95%] tests/unit/unmarshalling/test_request_unmarshallers.py .... [ 95%] tests/unit/unmarshalling/test_schema_unmarshallers.py ......x. [ 96%] tests/unit/validation/schemas/test_schemas_factories.py . [ 96%] tests/unit/validation/test_schema_validators.py ........................ [ 98%] ............................... [100%] ==================================== ERRORS ==================================== ____ ERROR at setup of TestMediaTypes.test_charset[text/html;charset=utf-8] ____ fixturedef = request = > @pytest.hookimpl(wrapper=True) def pytest_fixture_setup(fixturedef: FixtureDef, request) -> object | None: if ( fixturedef.argname == "event_loop_policy" and fixturedef.func.__module__ != __name__ ): warnings.warn( PytestDeprecationWarning(_EVENT_LOOP_POLICY_FIXTURE_DEPRECATION_WARNING), ) asyncio_mode = _get_asyncio_mode(request.config) if not _is_asyncio_fixture_function(fixturedef.func): if asyncio_mode == Mode.STRICT: # Ignore async fixtures without explicit asyncio mark in strict mode # This applies to pytest_trio fixtures, for example > return (yield) ^^^^^ E pytest.PytestRemovedIn10Warning: Class-scoped fixture defined as instance method is deprecated. E Instance attributes set in this fixture will NOT be visible to test methods, E as each test gets a new instance while the fixture runs only once per class. E Use @classmethod decorator and set attributes on cls instead. E See https://docs.pytest.org/en/stable/deprecations.html#class-scoped-fixture-as-instance-method /usr/lib/python3.14/site-packages/pytest_asyncio/plugin.py:924: PytestRemovedIn10Warning ___ ERROR at setup of TestMediaTypes.test_charset[Text/HTML;Charset="utf-8"] ___ cls = func = . at 0x7f6d0f845e80> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:805: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:629: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1180: in execute fixturedef = request._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1180: in execute fixturedef = request._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef fixturedef.execute(request=subrequest) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > def execute(self, request: SubRequest) -> FixtureValue: """Return the value of this fixture, executing it if not cached.""" # Ensure that the dependent fixtures requested by this fixture are loaded. # This needs to be done before checking if we have a cached value, since # if a dependent fixture has their cache invalidated, e.g. due to # parametrization, they finalize themselves and fixtures depending on it # (which will likely include this fixture) setting `self.cached_result = None`. # See #4871 requested_fixtures_that_should_finalize_us = [] for argname in self.argnames: fixturedef = request._get_active_fixturedef(argname) # Saves requested fixtures in a list so we later can add our finalizer # to them, ensuring that if a requested fixture gets torn down we get torn # down first. This is generally handled by SetupState, but still currently # needed when this fixture is not parametrized but depends on a parametrized # fixture. requested_fixtures_that_should_finalize_us.append(fixturedef) # Check for (and return) cached value/exception. if self.cached_result is not None: request_cache_key = self.cache_key(request) cache_key = self.cached_result[1] try: # Attempt to make a normal == check: this might fail for objects # which do not implement the standard comparison (like numpy arrays -- #6497). cache_hit = bool(request_cache_key == cache_key) except (ValueError, RuntimeError): # If the comparison raises, use 'is' as fallback. cache_hit = request_cache_key is cache_key if cache_hit: if self.cached_result[2] is not None: exc, exc_tb = self.cached_result[2] raise exc.with_traceback(exc_tb) else: return self.cached_result[0] # We have a previous but differently parametrized fixture instance # so we need to tear it down before creating a new one. self.finish(request) assert self.cached_result is None # Add finalizer to requested fixtures we saved previously. # We make sure to do this after checking for cached value to avoid # adding our finalizer multiple times. (#12135) finalizer = functools.partial(self.finish, request=request) for parent_fixture in requested_fixtures_that_should_finalize_us: parent_fixture.addfinalizer(finalizer) # Register the pytest_fixture_post_finalizer as the first finalizer, # which is executed last. > assert not self._finalizers ^^^^^^^^^^^^^^^^^^^^ E AssertionError /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1220: AssertionError __ ERROR at setup of TestMediaTypes.test_charset[text/html; charset="utf-8"] ___ cls = func = . at 0x7f6d0f846400> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:805: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:629: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1180: in execute fixturedef = request._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1180: in execute fixturedef = request._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef fixturedef.execute(request=subrequest) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > def execute(self, request: SubRequest) -> FixtureValue: """Return the value of this fixture, executing it if not cached.""" # Ensure that the dependent fixtures requested by this fixture are loaded. # This needs to be done before checking if we have a cached value, since # if a dependent fixture has their cache invalidated, e.g. due to # parametrization, they finalize themselves and fixtures depending on it # (which will likely include this fixture) setting `self.cached_result = None`. # See #4871 requested_fixtures_that_should_finalize_us = [] for argname in self.argnames: fixturedef = request._get_active_fixturedef(argname) # Saves requested fixtures in a list so we later can add our finalizer # to them, ensuring that if a requested fixture gets torn down we get torn # down first. This is generally handled by SetupState, but still currently # needed when this fixture is not parametrized but depends on a parametrized # fixture. requested_fixtures_that_should_finalize_us.append(fixturedef) # Check for (and return) cached value/exception. if self.cached_result is not None: request_cache_key = self.cache_key(request) cache_key = self.cached_result[1] try: # Attempt to make a normal == check: this might fail for objects # which do not implement the standard comparison (like numpy arrays -- #6497). cache_hit = bool(request_cache_key == cache_key) except (ValueError, RuntimeError): # If the comparison raises, use 'is' as fallback. cache_hit = request_cache_key is cache_key if cache_hit: if self.cached_result[2] is not None: exc, exc_tb = self.cached_result[2] raise exc.with_traceback(exc_tb) else: return self.cached_result[0] # We have a previous but differently parametrized fixture instance # so we need to tear it down before creating a new one. self.finish(request) assert self.cached_result is None # Add finalizer to requested fixtures we saved previously. # We make sure to do this after checking for cached value to avoid # adding our finalizer multiple times. (#12135) finalizer = functools.partial(self.finish, request=request) for parent_fixture in requested_fixtures_that_should_finalize_us: parent_fixture.addfinalizer(finalizer) # Register the pytest_fixture_post_finalizer as the first finalizer, # which is executed last. > assert not self._finalizers ^^^^^^^^^^^^^^^^^^^^ E AssertionError /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1220: AssertionError ____ ERROR at setup of TestMediaTypes.test_charset[text/html;charset=UTF-8] ____ cls = func = . at 0x7f6d0f8461f0> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:805: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:629: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1180: in execute fixturedef = request._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1180: in execute fixturedef = request._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef fixturedef.execute(request=subrequest) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > def execute(self, request: SubRequest) -> FixtureValue: """Return the value of this fixture, executing it if not cached.""" # Ensure that the dependent fixtures requested by this fixture are loaded. # This needs to be done before checking if we have a cached value, since # if a dependent fixture has their cache invalidated, e.g. due to # parametrization, they finalize themselves and fixtures depending on it # (which will likely include this fixture) setting `self.cached_result = None`. # See #4871 requested_fixtures_that_should_finalize_us = [] for argname in self.argnames: fixturedef = request._get_active_fixturedef(argname) # Saves requested fixtures in a list so we later can add our finalizer # to them, ensuring that if a requested fixture gets torn down we get torn # down first. This is generally handled by SetupState, but still currently # needed when this fixture is not parametrized but depends on a parametrized # fixture. requested_fixtures_that_should_finalize_us.append(fixturedef) # Check for (and return) cached value/exception. if self.cached_result is not None: request_cache_key = self.cache_key(request) cache_key = self.cached_result[1] try: # Attempt to make a normal == check: this might fail for objects # which do not implement the standard comparison (like numpy arrays -- #6497). cache_hit = bool(request_cache_key == cache_key) except (ValueError, RuntimeError): # If the comparison raises, use 'is' as fallback. cache_hit = request_cache_key is cache_key if cache_hit: if self.cached_result[2] is not None: exc, exc_tb = self.cached_result[2] raise exc.with_traceback(exc_tb) else: return self.cached_result[0] # We have a previous but differently parametrized fixture instance # so we need to tear it down before creating a new one. self.finish(request) assert self.cached_result is None # Add finalizer to requested fixtures we saved previously. # We make sure to do this after checking for cached value to avoid # adding our finalizer multiple times. (#12135) finalizer = functools.partial(self.finish, request=request) for parent_fixture in requested_fixtures_that_should_finalize_us: parent_fixture.addfinalizer(finalizer) # Register the pytest_fixture_post_finalizer as the first finalizer, # which is executed last. > assert not self._finalizers ^^^^^^^^^^^^^^^^^^^^ E AssertionError /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1220: AssertionError ___ ERROR at setup of TestMediaTypes.test_charset[text/html ; charset=utf-8] ___ cls = func = . at 0x7f6d0f846820> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:805: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:629: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1180: in execute fixturedef = request._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1180: in execute fixturedef = request._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef fixturedef.execute(request=subrequest) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > def execute(self, request: SubRequest) -> FixtureValue: """Return the value of this fixture, executing it if not cached.""" # Ensure that the dependent fixtures requested by this fixture are loaded. # This needs to be done before checking if we have a cached value, since # if a dependent fixture has their cache invalidated, e.g. due to # parametrization, they finalize themselves and fixtures depending on it # (which will likely include this fixture) setting `self.cached_result = None`. # See #4871 requested_fixtures_that_should_finalize_us = [] for argname in self.argnames: fixturedef = request._get_active_fixturedef(argname) # Saves requested fixtures in a list so we later can add our finalizer # to them, ensuring that if a requested fixture gets torn down we get torn # down first. This is generally handled by SetupState, but still currently # needed when this fixture is not parametrized but depends on a parametrized # fixture. requested_fixtures_that_should_finalize_us.append(fixturedef) # Check for (and return) cached value/exception. if self.cached_result is not None: request_cache_key = self.cache_key(request) cache_key = self.cached_result[1] try: # Attempt to make a normal == check: this might fail for objects # which do not implement the standard comparison (like numpy arrays -- #6497). cache_hit = bool(request_cache_key == cache_key) except (ValueError, RuntimeError): # If the comparison raises, use 'is' as fallback. cache_hit = request_cache_key is cache_key if cache_hit: if self.cached_result[2] is not None: exc, exc_tb = self.cached_result[2] raise exc.with_traceback(exc_tb) else: return self.cached_result[0] # We have a previous but differently parametrized fixture instance # so we need to tear it down before creating a new one. self.finish(request) assert self.cached_result is None # Add finalizer to requested fixtures we saved previously. # We make sure to do this after checking for cached value to avoid # adding our finalizer multiple times. (#12135) finalizer = functools.partial(self.finish, request=request) for parent_fixture in requested_fixtures_that_should_finalize_us: parent_fixture.addfinalizer(finalizer) # Register the pytest_fixture_post_finalizer as the first finalizer, # which is executed last. > assert not self._finalizers ^^^^^^^^^^^^^^^^^^^^ E AssertionError /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1220: AssertionError _________________ ERROR at setup of TestMediaTypes.test_exact __________________ cls = func = . at 0x7f6d0f8466c0> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:805: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:629: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1180: in execute fixturedef = request._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1180: in execute fixturedef = request._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef fixturedef.execute(request=subrequest) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > def execute(self, request: SubRequest) -> FixtureValue: """Return the value of this fixture, executing it if not cached.""" # Ensure that the dependent fixtures requested by this fixture are loaded. # This needs to be done before checking if we have a cached value, since # if a dependent fixture has their cache invalidated, e.g. due to # parametrization, they finalize themselves and fixtures depending on it # (which will likely include this fixture) setting `self.cached_result = None`. # See #4871 requested_fixtures_that_should_finalize_us = [] for argname in self.argnames: fixturedef = request._get_active_fixturedef(argname) # Saves requested fixtures in a list so we later can add our finalizer # to them, ensuring that if a requested fixture gets torn down we get torn # down first. This is generally handled by SetupState, but still currently # needed when this fixture is not parametrized but depends on a parametrized # fixture. requested_fixtures_that_should_finalize_us.append(fixturedef) # Check for (and return) cached value/exception. if self.cached_result is not None: request_cache_key = self.cache_key(request) cache_key = self.cached_result[1] try: # Attempt to make a normal == check: this might fail for objects # which do not implement the standard comparison (like numpy arrays -- #6497). cache_hit = bool(request_cache_key == cache_key) except (ValueError, RuntimeError): # If the comparison raises, use 'is' as fallback. cache_hit = request_cache_key is cache_key if cache_hit: if self.cached_result[2] is not None: exc, exc_tb = self.cached_result[2] raise exc.with_traceback(exc_tb) else: return self.cached_result[0] # We have a previous but differently parametrized fixture instance # so we need to tear it down before creating a new one. self.finish(request) assert self.cached_result is None # Add finalizer to requested fixtures we saved previously. # We make sure to do this after checking for cached value to avoid # adding our finalizer multiple times. (#12135) finalizer = functools.partial(self.finish, request=request) for parent_fixture in requested_fixtures_that_should_finalize_us: parent_fixture.addfinalizer(finalizer) # Register the pytest_fixture_post_finalizer as the first finalizer, # which is executed last. > assert not self._finalizers ^^^^^^^^^^^^^^^^^^^^ E AssertionError /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1220: AssertionError _________________ ERROR at setup of TestMediaTypes.test_match __________________ cls = func = . at 0x7f6d0f846c40> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:805: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:629: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1180: in execute fixturedef = request._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1180: in execute fixturedef = request._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef fixturedef.execute(request=subrequest) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > def execute(self, request: SubRequest) -> FixtureValue: """Return the value of this fixture, executing it if not cached.""" # Ensure that the dependent fixtures requested by this fixture are loaded. # This needs to be done before checking if we have a cached value, since # if a dependent fixture has their cache invalidated, e.g. due to # parametrization, they finalize themselves and fixtures depending on it # (which will likely include this fixture) setting `self.cached_result = None`. # See #4871 requested_fixtures_that_should_finalize_us = [] for argname in self.argnames: fixturedef = request._get_active_fixturedef(argname) # Saves requested fixtures in a list so we later can add our finalizer # to them, ensuring that if a requested fixture gets torn down we get torn # down first. This is generally handled by SetupState, but still currently # needed when this fixture is not parametrized but depends on a parametrized # fixture. requested_fixtures_that_should_finalize_us.append(fixturedef) # Check for (and return) cached value/exception. if self.cached_result is not None: request_cache_key = self.cache_key(request) cache_key = self.cached_result[1] try: # Attempt to make a normal == check: this might fail for objects # which do not implement the standard comparison (like numpy arrays -- #6497). cache_hit = bool(request_cache_key == cache_key) except (ValueError, RuntimeError): # If the comparison raises, use 'is' as fallback. cache_hit = request_cache_key is cache_key if cache_hit: if self.cached_result[2] is not None: exc, exc_tb = self.cached_result[2] raise exc.with_traceback(exc_tb) else: return self.cached_result[0] # We have a previous but differently parametrized fixture instance # so we need to tear it down before creating a new one. self.finish(request) assert self.cached_result is None # Add finalizer to requested fixtures we saved previously. # We make sure to do this after checking for cached value to avoid # adding our finalizer multiple times. (#12135) finalizer = functools.partial(self.finish, request=request) for parent_fixture in requested_fixtures_that_should_finalize_us: parent_fixture.addfinalizer(finalizer) # Register the pytest_fixture_post_finalizer as the first finalizer, # which is executed last. > assert not self._finalizers ^^^^^^^^^^^^^^^^^^^^ E AssertionError /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1220: AssertionError _______________ ERROR at setup of TestMediaTypes.test_not_found ________________ cls = func = . at 0x7f6d0f846560> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:805: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:629: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1180: in execute fixturedef = request._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1180: in execute fixturedef = request._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef fixturedef.execute(request=subrequest) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > def execute(self, request: SubRequest) -> FixtureValue: """Return the value of this fixture, executing it if not cached.""" # Ensure that the dependent fixtures requested by this fixture are loaded. # This needs to be done before checking if we have a cached value, since # if a dependent fixture has their cache invalidated, e.g. due to # parametrization, they finalize themselves and fixtures depending on it # (which will likely include this fixture) setting `self.cached_result = None`. # See #4871 requested_fixtures_that_should_finalize_us = [] for argname in self.argnames: fixturedef = request._get_active_fixturedef(argname) # Saves requested fixtures in a list so we later can add our finalizer # to them, ensuring that if a requested fixture gets torn down we get torn # down first. This is generally handled by SetupState, but still currently # needed when this fixture is not parametrized but depends on a parametrized # fixture. requested_fixtures_that_should_finalize_us.append(fixturedef) # Check for (and return) cached value/exception. if self.cached_result is not None: request_cache_key = self.cache_key(request) cache_key = self.cached_result[1] try: # Attempt to make a normal == check: this might fail for objects # which do not implement the standard comparison (like numpy arrays -- #6497). cache_hit = bool(request_cache_key == cache_key) except (ValueError, RuntimeError): # If the comparison raises, use 'is' as fallback. cache_hit = request_cache_key is cache_key if cache_hit: if self.cached_result[2] is not None: exc, exc_tb = self.cached_result[2] raise exc.with_traceback(exc_tb) else: return self.cached_result[0] # We have a previous but differently parametrized fixture instance # so we need to tear it down before creating a new one. self.finish(request) assert self.cached_result is None # Add finalizer to requested fixtures we saved previously. # We make sure to do this after checking for cached value to avoid # adding our finalizer multiple times. (#12135) finalizer = functools.partial(self.finish, request=request) for parent_fixture in requested_fixtures_that_should_finalize_us: parent_fixture.addfinalizer(finalizer) # Register the pytest_fixture_post_finalizer as the first finalizer, # which is executed last. > assert not self._finalizers ^^^^^^^^^^^^^^^^^^^^ E AssertionError /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1220: AssertionError ________________ ERROR at setup of TestMediaTypes.test_missing _________________ cls = func = . at 0x7f6d244e47d0> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:805: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:629: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1180: in execute fixturedef = request._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1180: in execute fixturedef = request._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef fixturedef.execute(request=subrequest) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > def execute(self, request: SubRequest) -> FixtureValue: """Return the value of this fixture, executing it if not cached.""" # Ensure that the dependent fixtures requested by this fixture are loaded. # This needs to be done before checking if we have a cached value, since # if a dependent fixture has their cache invalidated, e.g. due to # parametrization, they finalize themselves and fixtures depending on it # (which will likely include this fixture) setting `self.cached_result = None`. # See #4871 requested_fixtures_that_should_finalize_us = [] for argname in self.argnames: fixturedef = request._get_active_fixturedef(argname) # Saves requested fixtures in a list so we later can add our finalizer # to them, ensuring that if a requested fixture gets torn down we get torn # down first. This is generally handled by SetupState, but still currently # needed when this fixture is not parametrized but depends on a parametrized # fixture. requested_fixtures_that_should_finalize_us.append(fixturedef) # Check for (and return) cached value/exception. if self.cached_result is not None: request_cache_key = self.cache_key(request) cache_key = self.cached_result[1] try: # Attempt to make a normal == check: this might fail for objects # which do not implement the standard comparison (like numpy arrays -- #6497). cache_hit = bool(request_cache_key == cache_key) except (ValueError, RuntimeError): # If the comparison raises, use 'is' as fallback. cache_hit = request_cache_key is cache_key if cache_hit: if self.cached_result[2] is not None: exc, exc_tb = self.cached_result[2] raise exc.with_traceback(exc_tb) else: return self.cached_result[0] # We have a previous but differently parametrized fixture instance # so we need to tear it down before creating a new one. self.finish(request) assert self.cached_result is None # Add finalizer to requested fixtures we saved previously. # We make sure to do this after checking for cached value to avoid # adding our finalizer multiple times. (#12135) finalizer = functools.partial(self.finish, request=request) for parent_fixture in requested_fixtures_that_should_finalize_us: parent_fixture.addfinalizer(finalizer) # Register the pytest_fixture_post_finalizer as the first finalizer, # which is executed last. > assert not self._finalizers ^^^^^^^^^^^^^^^^^^^^ E AssertionError /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1220: AssertionError _________________ ERROR at setup of TestResponses.test_default _________________ fixturedef = request = > @pytest.hookimpl(wrapper=True) def pytest_fixture_setup(fixturedef: FixtureDef, request) -> object | None: if ( fixturedef.argname == "event_loop_policy" and fixturedef.func.__module__ != __name__ ): warnings.warn( PytestDeprecationWarning(_EVENT_LOOP_POLICY_FIXTURE_DEPRECATION_WARNING), ) asyncio_mode = _get_asyncio_mode(request.config) if not _is_asyncio_fixture_function(fixturedef.func): if asyncio_mode == Mode.STRICT: # Ignore async fixtures without explicit asyncio mark in strict mode # This applies to pytest_trio fixtures, for example > return (yield) ^^^^^ /usr/lib/python3.14/site-packages/pytest_asyncio/plugin.py:924: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fixturedef = request = > @pytest.hookimpl(wrapper=True) def pytest_fixture_setup(fixturedef: FixtureDef, request) -> object | None: if ( fixturedef.argname == "event_loop_policy" and fixturedef.func.__module__ != __name__ ): warnings.warn( PytestDeprecationWarning(_EVENT_LOOP_POLICY_FIXTURE_DEPRECATION_WARNING), ) asyncio_mode = _get_asyncio_mode(request.config) if not _is_asyncio_fixture_function(fixturedef.func): if asyncio_mode == Mode.STRICT: # Ignore async fixtures without explicit asyncio mark in strict mode # This applies to pytest_trio fixtures, for example > return (yield) ^^^^^ E pytest.PytestRemovedIn10Warning: Class-scoped fixture defined as instance method is deprecated. E Instance attributes set in this fixture will NOT be visible to test methods, E as each test gets a new instance while the fixture runs only once per class. E Use @classmethod decorator and set attributes on cls instead. E See https://docs.pytest.org/en/stable/deprecations.html#class-scoped-fixture-as-instance-method /usr/lib/python3.14/site-packages/pytest_asyncio/plugin.py:924: PytestRemovedIn10Warning __________________ ERROR at setup of TestResponses.test_range __________________ cls = func = . at 0x7f6d0fd85590> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:805: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:629: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1180: in execute fixturedef = request._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1180: in execute fixturedef = request._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef fixturedef.execute(request=subrequest) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > def execute(self, request: SubRequest) -> FixtureValue: """Return the value of this fixture, executing it if not cached.""" # Ensure that the dependent fixtures requested by this fixture are loaded. # This needs to be done before checking if we have a cached value, since # if a dependent fixture has their cache invalidated, e.g. due to # parametrization, they finalize themselves and fixtures depending on it # (which will likely include this fixture) setting `self.cached_result = None`. # See #4871 requested_fixtures_that_should_finalize_us = [] for argname in self.argnames: fixturedef = request._get_active_fixturedef(argname) # Saves requested fixtures in a list so we later can add our finalizer # to them, ensuring that if a requested fixture gets torn down we get torn # down first. This is generally handled by SetupState, but still currently # needed when this fixture is not parametrized but depends on a parametrized # fixture. requested_fixtures_that_should_finalize_us.append(fixturedef) # Check for (and return) cached value/exception. if self.cached_result is not None: request_cache_key = self.cache_key(request) cache_key = self.cached_result[1] try: # Attempt to make a normal == check: this might fail for objects # which do not implement the standard comparison (like numpy arrays -- #6497). cache_hit = bool(request_cache_key == cache_key) except (ValueError, RuntimeError): # If the comparison raises, use 'is' as fallback. cache_hit = request_cache_key is cache_key if cache_hit: if self.cached_result[2] is not None: exc, exc_tb = self.cached_result[2] raise exc.with_traceback(exc_tb) else: return self.cached_result[0] # We have a previous but differently parametrized fixture instance # so we need to tear it down before creating a new one. self.finish(request) assert self.cached_result is None # Add finalizer to requested fixtures we saved previously. # We make sure to do this after checking for cached value to avoid # adding our finalizer multiple times. (#12135) finalizer = functools.partial(self.finish, request=request) for parent_fixture in requested_fixtures_that_should_finalize_us: parent_fixture.addfinalizer(finalizer) # Register the pytest_fixture_post_finalizer as the first finalizer, # which is executed last. > assert not self._finalizers ^^^^^^^^^^^^^^^^^^^^ E AssertionError /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1220: AssertionError __________________ ERROR at setup of TestResponses.test_exact __________________ cls = func = . at 0x7f6d0f847d70> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:805: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:629: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1180: in execute fixturedef = request._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1180: in execute fixturedef = request._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef fixturedef.execute(request=subrequest) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > def execute(self, request: SubRequest) -> FixtureValue: """Return the value of this fixture, executing it if not cached.""" # Ensure that the dependent fixtures requested by this fixture are loaded. # This needs to be done before checking if we have a cached value, since # if a dependent fixture has their cache invalidated, e.g. due to # parametrization, they finalize themselves and fixtures depending on it # (which will likely include this fixture) setting `self.cached_result = None`. # See #4871 requested_fixtures_that_should_finalize_us = [] for argname in self.argnames: fixturedef = request._get_active_fixturedef(argname) # Saves requested fixtures in a list so we later can add our finalizer # to them, ensuring that if a requested fixture gets torn down we get torn # down first. This is generally handled by SetupState, but still currently # needed when this fixture is not parametrized but depends on a parametrized # fixture. requested_fixtures_that_should_finalize_us.append(fixturedef) # Check for (and return) cached value/exception. if self.cached_result is not None: request_cache_key = self.cache_key(request) cache_key = self.cached_result[1] try: # Attempt to make a normal == check: this might fail for objects # which do not implement the standard comparison (like numpy arrays -- #6497). cache_hit = bool(request_cache_key == cache_key) except (ValueError, RuntimeError): # If the comparison raises, use 'is' as fallback. cache_hit = request_cache_key is cache_key if cache_hit: if self.cached_result[2] is not None: exc, exc_tb = self.cached_result[2] raise exc.with_traceback(exc_tb) else: return self.cached_result[0] # We have a previous but differently parametrized fixture instance # so we need to tear it down before creating a new one. self.finish(request) assert self.cached_result is None # Add finalizer to requested fixtures we saved previously. # We make sure to do this after checking for cached value to avoid # adding our finalizer multiple times. (#12135) finalizer = functools.partial(self.finish, request=request) for parent_fixture in requested_fixtures_that_should_finalize_us: parent_fixture.addfinalizer(finalizer) # Register the pytest_fixture_post_finalizer as the first finalizer, # which is executed last. > assert not self._finalizers ^^^^^^^^^^^^^^^^^^^^ E AssertionError /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1220: AssertionError =================================== FAILURES =================================== ________ TestSpecSimpleServerDefaultServer.test_returns_default_server _________ self = finder = spec = SchemaPath('') def test_returns_default_server(self, finder, spec): method = "get" full_url = "http://petstore.swagger.io/resource" result = finder.find(method, full_url) path = spec / "paths" / self.path_name operation = spec / "paths" / self.path_name / method server = SchemaPath.from_dict({"url": "/"}) path_result = TemplateResult(self.path_name, {}) server_result = TemplateResult("/", {}) > assert result == ( path, operation, server, path_result, server_result, ) E AssertionError: assert PathOperation...variables={})) == (SchemaPath('...variables={})) E E At index 2 diff: SchemaPath('') != SchemaPath('') E Use -v to get more diff tests/unit/templating/test_paths_finders.py:201: AssertionError ______ TestOperationSimpleServerDefaultServer.test_returns_default_server ______ self = finder = spec = SchemaPath('') def test_returns_default_server(self, finder, spec): method = "get" full_url = "http://petstore.swagger.io/resource" result = finder.find(method, full_url) path = spec / "paths" / self.path_name operation = spec / "paths" / self.path_name / method server = SchemaPath.from_dict({"url": "/"}) path_result = TemplateResult(self.path_name, {}) server_result = TemplateResult("/", {}) > assert result == ( path, operation, server, path_result, server_result, ) E AssertionError: assert PathOperation...variables={})) == (SchemaPath('...variables={})) E E At index 2 diff: SchemaPath('') != SchemaPath('') E Use -v to get more diff tests/unit/templating/test_paths_finders.py:201: AssertionError ________ TestPathSimpleServerDefaultServer.test_returns_default_server _________ self = finder = spec = SchemaPath('') def test_returns_default_server(self, finder, spec): method = "get" full_url = "http://petstore.swagger.io/resource" result = finder.find(method, full_url) path = spec / "paths" / self.path_name operation = spec / "paths" / self.path_name / method server = SchemaPath.from_dict({"url": "/"}) path_result = TemplateResult(self.path_name, {}) server_result = TemplateResult("/", {}) > assert result == ( path, operation, server, path_result, server_result, ) E AssertionError: assert PathOperation...variables={})) == (SchemaPath('...variables={})) E E At index 2 diff: SchemaPath('') != SchemaPath('') E Use -v to get more diff tests/unit/templating/test_paths_finders.py:201: AssertionError _______ TestSpecVariableServerDefaultServer.test_returns_default_server ________ self = finder = spec = SchemaPath('') def test_returns_default_server(self, finder, spec): method = "get" full_url = "http://petstore.swagger.io/resource" result = finder.find(method, full_url) path = spec / "paths" / self.path_name operation = spec / "paths" / self.path_name / method server = SchemaPath.from_dict({"url": "/"}) path_result = TemplateResult(self.path_name, {}) server_result = TemplateResult("/", {}) > assert result == ( path, operation, server, path_result, server_result, ) E AssertionError: assert PathOperation...variables={})) == (SchemaPath('...variables={})) E E At index 2 diff: SchemaPath('') != SchemaPath('') E Use -v to get more diff tests/unit/templating/test_paths_finders.py:201: AssertionError _____ TestOperationVariableServerDefaultServer.test_returns_default_server _____ self = finder = spec = SchemaPath('') def test_returns_default_server(self, finder, spec): method = "get" full_url = "http://petstore.swagger.io/resource" result = finder.find(method, full_url) path = spec / "paths" / self.path_name operation = spec / "paths" / self.path_name / method server = SchemaPath.from_dict({"url": "/"}) path_result = TemplateResult(self.path_name, {}) server_result = TemplateResult("/", {}) > assert result == ( path, operation, server, path_result, server_result, ) E AssertionError: assert PathOperation...variables={})) == (SchemaPath('...variables={})) E E At index 2 diff: SchemaPath('') != SchemaPath('') E Use -v to get more diff tests/unit/templating/test_paths_finders.py:201: AssertionError _______ TestPathVariableServerDefaultServer.test_returns_default_server ________ self = finder = spec = SchemaPath('') def test_returns_default_server(self, finder, spec): method = "get" full_url = "http://petstore.swagger.io/resource" result = finder.find(method, full_url) path = spec / "paths" / self.path_name operation = spec / "paths" / self.path_name / method server = SchemaPath.from_dict({"url": "/"}) path_result = TemplateResult(self.path_name, {}) server_result = TemplateResult("/", {}) > assert result == ( path, operation, server, path_result, server_result, ) E AssertionError: assert PathOperation...variables={})) == (SchemaPath('...variables={})) E E At index 2 diff: SchemaPath('') != SchemaPath('') E Use -v to get more diff tests/unit/templating/test_paths_finders.py:201: AssertionError =========================== short test summary info ============================ FAILED tests/unit/templating/test_paths_finders.py::TestSpecSimpleServerDefaultServer::test_returns_default_server FAILED tests/unit/templating/test_paths_finders.py::TestOperationSimpleServerDefaultServer::test_returns_default_server FAILED tests/unit/templating/test_paths_finders.py::TestPathSimpleServerDefaultServer::test_returns_default_server FAILED tests/unit/templating/test_paths_finders.py::TestSpecVariableServerDefaultServer::test_returns_default_server FAILED tests/unit/templating/test_paths_finders.py::TestOperationVariableServerDefaultServer::test_returns_default_server FAILED tests/unit/templating/test_paths_finders.py::TestPathVariableServerDefaultServer::test_returns_default_server ERROR tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_charset[text/html;charset=utf-8] ERROR tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_charset[Text/HTML;Charset="utf-8"] ERROR tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_charset[text/html; charset="utf-8"] ERROR tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_charset[text/html;charset=UTF-8] ERROR tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_charset[text/html ; charset=utf-8] ERROR tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_exact ERROR tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_match ERROR tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_not_found ERROR tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_missing ERROR tests/unit/templating/test_responses_finders.py::TestResponses::test_default ERROR tests/unit/templating/test_responses_finders.py::TestResponses::test_range ERROR tests/unit/templating/test_responses_finders.py::TestResponses::test_exact = 6 failed, 1518 passed, 2 skipped, 20 xfailed, 12 errors in 154.98s (0:02:34) = ==> ERROR: A failure occurred in check().  Aborting... ]3008;end=9b500972c1574280b3bb38139efdaf0f\[!p]104\[?7h]3008;end=2075436d44e64957bfd521a28a101e19\==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix-0/build [?25h[?25h]3008;end=f8e1a2649f53456a8b03a2a138854d2b\[?25hreceiving incremental file list python-openapi-core-0.23.1-1-riscv64-build.log python-openapi-core-0.23.1-1-riscv64-check.log sent 62 bytes received 6,425 bytes 12,974.00 bytes/sec total size is 88,957 speedup is 13.71