Bug 1907450 - python-jsons fails to build with Python 3.10: test failures
Summary: python-jsons fails to build with Python 3.10: test failures
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: python-jsons
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fabian Affolter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.10
TreeView+ depends on / blocked
 
Reported: 2020-12-14 14:37 UTC by Tomáš Hrnčiar
Modified: 2021-02-09 16:23 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)

Description Tomáš Hrnčiar 2020-12-14 14:37:39 UTC
python-jsons fails to build with Python 3.10.0a3.

=========================== short test summary info ============================
FAILED tests/test_case_transformer.py::TestCaseTransformer::test_serialize_and_deserialize_with_case_transformer
FAILED tests/test_decorator.py::TestDecorator::test_dumped_decorator - jsons....
FAILED tests/test_decorator.py::TestDecorator::test_loaded_decorator - jsons....
FAILED tests/test_decorator.py::TestDecorator::test_loaded_decorator_async - ...
FAILED tests/test_decorator.py::TestDecorator::test_loaded_with_loader - json...
FAILED tests/test_dict.py::TestDict::test_load_dict_with_generic - jsons.exce...
FAILED tests/test_dumpb_and_loadb.py::TestDumpbAndLoadb::test_loadb - jsons.e...
FAILED tests/test_dumps_and_loads.py::TestDumpsAndLoads::test_loads - jsons.e...
FAILED tests/test_list.py::TestList::test_dump_load_list_verbose - jsons.exce...
FAILED tests/test_object.py::TestObject::test_dump_and_load_with_innerclass
FAILED tests/test_object.py::TestObject::test_dump_load_object_deep - jsons.e...
FAILED tests/test_object.py::TestObject::test_dump_load_object_verbose_without_announcing
FAILED tests/test_object.py::TestObject::test_dump_with_attr_fail - Assertion...
FAILED tests/test_object.py::TestObject::test_load_object - jsons.exceptions....
FAILED tests/test_object.py::TestObject::test_load_object_verbose - jsons.exc...
FAILED tests/test_object.py::TestObject::test_load_object_without_type_hints_verbose
FAILED tests/test_specific_versions.py::TestSpecificVersions::test_namedtuple_with_optional
FAILED tests/test_type_error.py::TestTypeError::test_undefined_deserializer
FAILED tests/test_type_error.py::TestTypeError::test_wrong_primitive_type - A...
FAILED tests/test_union.py::TestUnion::test_load_union - jsons.exceptions.Des...
FAILED tests/test_various.py::TestVarious::test_dump_load_newtype - jsons.exc...
================== 21 failed, 172 passed, 5 warnings in 3.01s ==================
error: Bad exit status from /var/tmp/rpm-tmp.SZKMWq (%check)



For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.10/fedora-rawhide-x86_64/01827023-python-jsons/

For all our attempts to build python-jsons with Python 3.10, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.10/package/python-jsons/

Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.10:
https://copr.fedorainfracloud.org/coprs/g/python/python3.10/

Let us know here if you have any questions.

Python 3.10 will be included in Fedora 35. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.10.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon.
We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Ben Cotton 2021-02-09 15:34:15 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle.
Changing version to 34.


Note You need to log in before you can comment on or make changes to this bug.