- Package:
- src:json-schema-to-pydantic
- Source:
- src:json-schema-to-pydantic
- Submitter:
- Colin Watson
- Date:
- 2026-06-04 14:41:03 UTC
- Severity:
- normal
- Tags:
json-schema-to-pydantic's tests fail with pydantic 2.13 in unstable (on
both Python 3.13 and 3.14). Let me know if you need help puzzling this
out.
=================================== FAILURES ===================================
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/test_handlers.py:502:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <class 'json_schema_to_pydantic.handlers.Variant_dog'>, item = '__args__'
def __getattr__(self, item: str) -> Any:
"""This is necessary to keep attribute access working for class attribute access."""
private_attributes = self.__dict__.get('__private_attributes__')
if private_attributes and item in private_attributes:
return private_attributes[item]
/usr/lib/python3/dist-packages/pydantic/_internal/_model_construction.py:290: AttributeError
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/test_handlers.py:862:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <class 'json_schema_to_pydantic.handlers.Variant_user'>
item = '__args__'
def __getattr__(self, item: str) -> Any:
"""This is necessary to keep attribute access working for class attribute access."""
private_attributes = self.__dict__.get('__private_attributes__')
if private_attributes and item in private_attributes:
return private_attributes[item]
/usr/lib/python3/dist-packages/pydantic/_internal/_model_construction.py:290: AttributeError
=============================== warnings summary ===============================
tests/test_model_builder.py::test_json_schema_extra_with_user_example
/build/reproducible-path/json-schema-to-pydantic-0.4.11/.pybuild/cpython3_3.14_json-schema-to-pydantic/build/tests/test_model_builder.py:560: PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use `json_schema_extra` instead. (Extra keys: 'is_core_field'). Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.13/migration/
v: int = Field(..., description="This is a field", is_core_field=True)
thanks. Hi Maintainer, Created a MR for fixing the build failures in the package [python3-json-schema-to-pydantic](https://packages.debian.org/unstable/python3-json-schema-to-pydantic). https://salsa.debian.org/python-team/packages/json-schema-to-pydantic/-/merge_requests/1 Shanavas M
I am uploading a LowNMU with the changes in git.
We believe that the bug you reported is fixed in the latest version of json-schema-to-pydantic, 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 1136391@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Bastian Germann <bage@debian.org> (supplier of updated json-schema-to-pydantic 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: Thu, 04 Jun 2026 16:00:58 +0200 Source: json-schema-to-pydantic Architecture: source Version: 0.4.11-1.1 Distribution: unstable Urgency: medium Maintainer: Antoine Beaupré <anarcat@debian.org> Changed-By: Bastian Germann <bage@debian.org> Closes: 1136391 Changes: json-schema-to-pydantic (0.4.11-1.1) unstable; urgency=medium . * Non-maintainer upload . [ Shanavas M ] * Fix build failure (Closes: #1136391) Checksums-Sha1: 1a042399a7b06c4a49a7a57f4d1e83de76a6cf64 2108 json-schema-to-pydantic_0.4.11-1.1.dsc d7d461352bb6dd11ac7882be54a78795b959f3f7 3056 json-schema-to-pydantic_0.4.11-1.1.debian.tar.xz d46e8be846202c753da3d646c320d132022d05b5 7651 json-schema-to-pydantic_0.4.11-1.1_source.buildinfo Checksums-Sha256: 4b64aaba41feb7b21db7acad2c8e51fd4e81a61936bfbf0dafc40c43f6223a60 2108 json-schema-to-pydantic_0.4.11-1.1.dsc 5710c658bdf89eb649122464c0cc9fe2f1a9348ff0dd1d4d413da20dc57bb5b8 3056 json-schema-to-pydantic_0.4.11-1.1.debian.tar.xz 4be4effc6bd9e71824d2d96d951cb1a8eca378957d9e8adfee69962252085be4 7651 json-schema-to-pydantic_0.4.11-1.1_source.buildinfo Files: 26b8413970135f57551215c70f8a91d3 2108 python optional json-schema-to-pydantic_0.4.11-1.1.dsc bf10e613340b61ab7551160214140cc1 3056 python optional json-schema-to-pydantic_0.4.11-1.1.debian.tar.xz 9fd48af2d410fd52736bc4578c84cc66 7651 python optional json-schema-to-pydantic_0.4.11-1.1_source.buildinfo -----BEGIN PGP SIGNATURE----- iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmohhWIQHGJhZ2VAZGVi aWFuLm9yZwAKCRAfXHqLRVZDFFX8DAD31YIWRtoe+SmbqVHAmeJAoOt1LcRMK/NS olb9cIp3oLj4aZJcuYMC2AtMGXzHMqKt433eag+/pBocLiOiBaGvLylNckkaueX0 vBw32MQ1kwQ3h1G9ao8CYkqbD6niwFrmjvzzGR9e8l1KuLmPZeBzTuwbvx+BQE6b Hx7fq53BYlhRPaLDDmQsz0CKLw9iWKfDWnfMrnaaCYK28IWRlawpcR7dUJcK8IVk U6qIVtZjfyvR3z+z4WBeuNVCkeKTPFhazrujJaH1eam9dqx6FX/pipqY+yV/+48b uHlkzZvit1jbAGjcaeLdBRw7+DxH7h6VBei3TkuwYS/9Xo+5AZEZT2VbOfGl3dLc kCTpJjdMMJplFx6/Z9KmCnIp2WeD+DVam8l2ZZQACeFpJI1kG53tYQSjUXuC2aba 16/EjanyiLe+/kqkm4TPNWEm12rhi6c7v7pyfRoiN6/Ooh4Z2Zn+FK8hECZ+KX0R nrreGqEHPIA4JLL3P3CXap5M9QSHyaA= =H1AZ -----END PGP SIGNATURE-----