#1140880 python-openapi-core: autopkgtest regression with pytest 9.1

#1140880#5
Date:
2026-06-27 21:23:30 UTC
From:
To:
Dear maintainer,

According to https://ci.debian.net data, your package python-openapi-core has an
autopkgtest regression with pytest.

The following architectures failed: amd64, arm64, i386, loong64,
ppc64el, riscv64, s390x.

Hopefully relevant excerpt from
https://ci.debian.net/packages/p/python-openapi-core/testing/amd64/72572309/
follows:

 86s tests/integration/contrib/falcon/test_falcon_project.py::TestPetListResource::test_post_multipart_valid 2026-06-27 07:17:45 [FALCON] [ERROR] POST /v1/pets => Traceback (most recent call last):
 86s NotImplementedError: multipart form serialization unsupported
 95s tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_charset[text/html;charset=utf-8] ERROR
 95s tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_charset[Text/HTML;Charset="utf-8"] ERROR
 95s tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_charset[text/html; charset="utf-8"] ERROR
 95s tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_charset[text/html;charset=UTF-8] ERROR
 96s tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_charset[text/html ; charset=utf-8] ERROR
 96s tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_exact ERROR
 96s tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_match ERROR
 96s tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_not_found ERROR
 97s tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_missing ERROR
 97s tests/unit/templating/test_responses_finders.py::TestResponses::test_default ERROR
 97s tests/unit/templating/test_responses_finders.py::TestResponses::test_range ERROR
 97s tests/unit/templating/test_responses_finders.py::TestResponses::test_exact ERROR
 98s ==================================== ERRORS ====================================
 98s ____ ERROR at setup of TestMediaTypes.test_charset[text/html;charset=utf-8] ____
 98s E               pytest.PytestRemovedIn10Warning: Class-scoped fixture defined as instance method is deprecated.
 98s E               Instance attributes set in this fixture will NOT be visible to test methods,
 98s E               as each test gets a new instance while the fixture runs only once per class.
 98s E               Use @classmethod decorator and set attributes on cls instead.
 98s E               See https://docs.pytest.org/en/stable/deprecations.html#class-scoped-fixture-as-instance-method
 98s ___ ERROR at setup of TestMediaTypes.test_charset[Text/HTML;Charset="utf-8"] ___
 98s E       AssertionError
 98s __ ERROR at setup of TestMediaTypes.test_charset[text/html; charset="utf-8"] ___
 98s E       AssertionError
 98s ____ ERROR at setup of TestMediaTypes.test_charset[text/html;charset=UTF-8] ____
 98s E       AssertionError
 98s ___ ERROR at setup of TestMediaTypes.test_charset[text/html ; charset=utf-8] ___
 98s E       AssertionError
 98s _________________ ERROR at setup of TestMediaTypes.test_exact __________________
 98s E       AssertionError
 98s _________________ ERROR at setup of TestMediaTypes.test_match __________________
 98s E       AssertionError
 98s _______________ ERROR at setup of TestMediaTypes.test_not_found ________________
 98s E       AssertionError
 98s ________________ ERROR at setup of TestMediaTypes.test_missing _________________
 98s E       AssertionError
 98s _________________ ERROR at setup of TestResponses.test_default _________________
 98s E               pytest.PytestRemovedIn10Warning: Class-scoped fixture defined as instance method is deprecated.
 98s E               Instance attributes set in this fixture will NOT be visible to test methods,
 98s E               as each test gets a new instance while the fixture runs only once per class.
 98s E               Use @classmethod decorator and set attributes on cls instead.
 98s E               See https://docs.pytest.org/en/stable/deprecations.html#class-scoped-fixture-as-instance-method
 98s __________________ ERROR at setup of TestResponses.test_range __________________
 98s E       AssertionError
 98s __________________ ERROR at setup of TestResponses.test_exact __________________
 98s E       AssertionError
 98s ERROR tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_charset[text/html;charset=utf-8]
 98s ERROR tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_charset[Text/HTML;Charset="utf-8"]
 98s ERROR tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_charset[text/html; charset="utf-8"]
 98s ERROR tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_charset[text/html;charset=UTF-8]
 98s ERROR tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_charset[text/html ; charset=utf-8]
 98s ERROR tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_exact
 98s ERROR tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_match
 98s ERROR tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_not_found
 98s ERROR tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_missing
 98s ERROR tests/unit/templating/test_responses_finders.py::TestResponses::test_default
 98s ERROR tests/unit/templating/test_responses_finders.py::TestResponses::test_range
 98s ERROR tests/unit/templating/test_responses_finders.py::TestResponses::test_exact
 99s E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest-lxc.j9my02j8/downtmp/autopkgtest_tmp/build; python3.14 -m pytest -W ignore::ResourceWarning --no-cov
102s tests/integration/contrib/falcon/test_falcon_project.py::TestPetListResource::test_post_multipart_valid 2026-06-27 07:18:01 [FALCON] [ERROR] POST /v1/pets => Traceback (most recent call last):
102s NotImplementedError: multipart form serialization unsupported
111s tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_charset[text/html;charset=utf-8] ERROR
111s tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_charset[Text/HTML;Charset="utf-8"] ERROR
111s tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_charset[text/html; charset="utf-8"] ERROR
112s tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_charset[text/html;charset=UTF-8] ERROR
112s tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_charset[text/html ; charset=utf-8] ERROR
112s tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_exact ERROR
112s tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_match ERROR
113s tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_not_found ERROR
113s tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_missing ERROR
113s tests/unit/templating/test_responses_finders.py::TestResponses::test_default ERROR
113s tests/unit/templating/test_responses_finders.py::TestResponses::test_range ERROR
113s tests/unit/templating/test_responses_finders.py::TestResponses::test_exact ERROR
114s ==================================== ERRORS ====================================
114s ____ ERROR at setup of TestMediaTypes.test_charset[text/html;charset=utf-8] ____
114s E               pytest.PytestRemovedIn10Warning: Class-scoped fixture defined as instance method is deprecated.
114s E               Instance attributes set in this fixture will NOT be visible to test methods,
114s E               as each test gets a new instance while the fixture runs only once per class.
114s E               Use @classmethod decorator and set attributes on cls instead.
114s E               See https://docs.pytest.org/en/stable/deprecations.html#class-scoped-fixture-as-instance-method
114s ___ ERROR at setup of TestMediaTypes.test_charset[Text/HTML;Charset="utf-8"] ___
114s E       AssertionError
114s __ ERROR at setup of TestMediaTypes.test_charset[text/html; charset="utf-8"] ___
114s E       AssertionError
114s ____ ERROR at setup of TestMediaTypes.test_charset[text/html;charset=UTF-8] ____
114s E       AssertionError
114s ___ ERROR at setup of TestMediaTypes.test_charset[text/html ; charset=utf-8] ___
114s E       AssertionError
114s _________________ ERROR at setup of TestMediaTypes.test_exact __________________
114s E       AssertionError
114s _________________ ERROR at setup of TestMediaTypes.test_match __________________
114s E       AssertionError
114s _______________ ERROR at setup of TestMediaTypes.test_not_found ________________
114s E       AssertionError
114s ________________ ERROR at setup of TestMediaTypes.test_missing _________________
114s E       AssertionError
114s _________________ ERROR at setup of TestResponses.test_default _________________
114s E               pytest.PytestRemovedIn10Warning: Class-scoped fixture defined as instance method is deprecated.
114s E               Instance attributes set in this fixture will NOT be visible to test methods,
114s E               as each test gets a new instance while the fixture runs only once per class.
114s E               Use @classmethod decorator and set attributes on cls instead.
114s E               See https://docs.pytest.org/en/stable/deprecations.html#class-scoped-fixture-as-instance-method
114s __________________ ERROR at setup of TestResponses.test_range __________________
114s E       AssertionError
114s __________________ ERROR at setup of TestResponses.test_exact __________________
114s E       AssertionError
114s ERROR tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_charset[text/html;charset=utf-8]
114s ERROR tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_charset[Text/HTML;Charset="utf-8"]
114s ERROR tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_charset[text/html; charset="utf-8"]
114s ERROR tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_charset[text/html;charset=UTF-8]
114s ERROR tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_charset[text/html ; charset=utf-8]
114s ERROR tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_exact
114s ERROR tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_match
114s ERROR tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_not_found
114s ERROR tests/unit/templating/test_media_types_finders.py::TestMediaTypes::test_missing
114s ERROR tests/unit/templating/test_responses_finders.py::TestResponses::test_default
114s ERROR tests/unit/templating/test_responses_finders.py::TestResponses::test_range
114s ERROR tests/unit/templating/test_responses_finders.py::TestResponses::test_exact
115s E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest-lxc.j9my02j8/downtmp/autopkgtest_tmp/build; python3.13 -m pytest -W ignore::ResourceWarning --no-cov
115s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p "3.14 3.13" --parallel= returned exit code 13
115s pybuild-autopkgtest: error: /tmp/JC08Skg4ZP/run pybuild-autopkgtest returned exit code 2
115s pybuild-autopkgtest  FAIL non-zero exit status 25
115s pybuild-autopkgtest  FAIL non-zero exit status 25

#1140880#14
Date:
2026-06-29 11:36:53 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-openapi-core, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1140880@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated python-openapi-core package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 29 Jun 2026 12:12:10 +0100
Source: python-openapi-core
Architecture: source
Version: 0.23.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Closes: 1140880
Changes:
 python-openapi-core (0.23.1-3) unstable; urgency=medium
 .
   * Team upload.
   * Don't define class-scoped fixtures as instance methods (closes:
     #1140880).
Checksums-Sha1:
 539ff651543da227f7c48afee8e174f24bd9fd0d 3900 python-openapi-core_0.23.1-3.dsc
 880d90212ecedf98bbff12ad34aea9f500252be9 4952 python-openapi-core_0.23.1-3.debian.tar.xz
 dc0f6175e1d6fedf759b53195aebc79e71bbd864 602676 python-openapi-core_0.23.1-3.git.tar.xz
 dfd40d9dc2f436d6f317f464a7fcc0521fa0cb8d 17548 python-openapi-core_0.23.1-3_source.buildinfo
Checksums-Sha256:
 299848fd14abc93c50f372063f1da3d59408d95d1d01f7883d1f9272c21f4590 3900 python-openapi-core_0.23.1-3.dsc
 3f93fb8ab980c34ed3ae57288b2bd3da088bdd5279aab6c20fd16c6f12958c52 4952 python-openapi-core_0.23.1-3.debian.tar.xz
 a4b4713c67e2421c283c85a29fd3193564a1604780a0ea2c4130449ee15a8d9d 602676 python-openapi-core_0.23.1-3.git.tar.xz
 727eec77dc0db60f1b555588582a78b6c57784ff0ecf7a95ae0001c9b8492982 17548 python-openapi-core_0.23.1-3_source.buildinfo
Files:
 b501893332565e5787dbf6674953a76f 3900 python optional python-openapi-core_0.23.1-3.dsc
 244d3f43fde7dc29c8edb9bfca871778 4952 python optional python-openapi-core_0.23.1-3.debian.tar.xz
 97770a753bfef26e540472da8195350b 602676 python None python-openapi-core_0.23.1-3.git.tar.xz
 73987f408ce74320b2b81cbaa1c1a7bf 17548 python optional python-openapi-core_0.23.1-3_source.buildinfo
Git-Tag-Info: tag=59394829108fa797600e927bfa197a6e975ab73b fp=ac0a4ff12611b6fccf01c111393587d97d86500b
Git-Tag-Tagger: Colin Watson <cjwatson@debian.org>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmpCU2IACgkQYG0ITkaD
wHluWg//WDAK0LoWnbVJtv8pglTnOXLoEvnDutDSl6JBGaPbNwEcAMMmtJU8GMgF
OjOAIkXmH3lhErIdudwUBv9WCwqmymrNKcBbUGhmmNGXLmFTHa1h/7AHLlIhoLPd
iKEf51+t9Zl59+rMXnJn2vRTAAt5k4fvcP78o7cTj4u9N5yftZS15/3qEa/BkRBS
+lOa5p+Ce9nK2bwTyDmhV6Gt1DORG0er6Hn3P40Hhmlo73WizhRUsDzMt7f29huT
3I7iMMYpty/ttp2iOi8V2PItMOrSRSi6q9OKkv5zRd17phsbtT8Jr415bHHKHjEk
NoF69o6lJm5ezUPU57WyJgedddqbYsvFWAtq2zR0P7RmwTcc4hGFurWbnKZOGh+V
vL1TPiqh9UjBI50dK5KkpfJKLdSOLH1SPmVbasCjgJ16jW6ebOvXvkdmeSj313ly
haD6JzPMogT8COMydJU54neJhwKANhSndUJtajBb/V1d86r5HjujZb9GDi9rAkkT
Ba2Z3mk+OaVNxnm9tCk45DWqRRf/DBY0lGzWI8hwNLDjDMg4Crz5OvxNs0f3Gw4o
+r1kHIiDFi3NKdiGeGiekR6LibFDDvS3w4xNpzC+FSK0UPsr8MvJ0wXRt7Uqna/p
XIcYACMVAXRiMnPFaf6qd53fg/cuGPd4NWcTOCgP5Xpo6cQ8kNw=
=h9mH
-----END PGP SIGNATURE-----