Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1902285
Summary: | python-hypothesis fails to build with Python 3.10: test failures [built without tests] | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tomáš Hrnčiar <thrnciar> |
Component: | python-hypothesis | Assignee: | Michel Alexandre Salim <michel> |
Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | igor.raits, mhroncok, michel, pingou, python-sig, thrnciar |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | Bug | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1890881 |
Description
Tomáš Hrnčiar
2020-11-27 15:35:34 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle. Changing version to 34. This is a mass-posted update. Sorry if it is not 100% accurate to this bugzilla. The Python 3.10 rebuild is in progress in a Koji side tag. If you manage to fix the problem, please commit the fix in the rawhide branch, but don't build the package in regular rawhide. You can either build the package in the side tag, with: $ fedpkg build --target=f35-python Or you can the build and we will eventually build it for you. Note that the rebuild is still in progress, so not all (build) dependencies of this package might be available right away. Thanks. See also https://fedoraproject.org/wiki/Changes/Python3.10 If you have general questions about the rebuild, please use this mailing list thread: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/G47SGOYIQLRDTWGOSLSWERZSSHXDEDH5/ The f35-python side tag has been merged to Rawhide. From now on, build as you would normally build. Current failures with Python 3.10.0b2 ==================================== ERRORS ==================================== _ ERROR collecting hypothesis-python/tests/typing_extensions/test_backported_types.py _ ImportError while importing test module '/builddir/build/BUILD/hypothesis-hypothesis-python-6.6.0/hypothesis-python/tests/typing_extensions/test_backported_types.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib64/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/typing_extensions/test_backported_types.py:20: in <module> from typing_extensions import DefaultDict, Literal, NewType, Type, TypedDict E ModuleNotFoundError: No module named 'typing_extensions' =================================== FAILURES =================================== ______________________ test_recursion_error_is_not_flaky _______________________ [gw0] linux -- Python 3.10.0 /usr/bin/python3 Traceback (most recent call last): File "/builddir/build/BUILD/hypothesis-hypothesis-python-6.6.0/hypothesis-python/tests/conjecture/test_engine.py", line 161, in recur if i >= 1: RecursionError: maximum recursion depth exceeded in comparison During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/hypothesis-hypothesis-python-6.6.0/hypothesis-python/tests/conjecture/test_engine.py", line 162, in recur recur(i - 1, data) File "/builddir/build/BUILD/hypothesis-hypothesis-python-6.6.0/hypothesis-python/tests/conjecture/test_engine.py", line 164, in recur data.mark_interesting() RecursionError: maximum recursion depth exceeded During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/hypothesis-hypothesis-python-6.6.0/hypothesis-python/tests/conjecture/test_engine.py", line 162, in recur recur(i - 1, data) File "/builddir/build/BUILD/hypothesis-hypothesis-python-6.6.0/hypothesis-python/tests/conjecture/test_engine.py", line 164, in recur data.mark_interesting() File "/builddir/build/BUILDROOT/python-hypothesis-6.6.0-4.fc35.x86_64/usr/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 1056, in mark_interesting self.conclude_test(Status.INTERESTING, interesting_origin) RecursionError: maximum recursion depth exceeded while calling a Python object During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/hypothesis-hypothesis-python-6.6.0/hypothesis-python/tests/conjecture/test_engine.py", line 162, in recur recur(i - 1, data) File "/builddir/build/BUILD/hypothesis-hypothesis-python-6.6.0/hypothesis-python/tests/conjecture/test_engine.py", line 164, in recur data.mark_interesting() File "/builddir/build/BUILDROOT/python-hypothesis-6.6.0-4.fc35.x86_64/usr/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 1056, in mark_interesting self.conclude_test(Status.INTERESTING, interesting_origin) RecursionError: maximum recursion depth exceeded During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/hypothesis-hypothesis-python-6.6.0/hypothesis-python/tests/conjecture/test_engine.py", line 162, in recur recur(i - 1, data) File "/builddir/build/BUILD/hypothesis-hypothesis-python-6.6.0/hypothesis-python/tests/conjecture/test_engine.py", line 164, in recur data.mark_interesting() File "/builddir/build/BUILDROOT/python-hypothesis-6.6.0-4.fc35.x86_64/usr/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 1056, in mark_interesting self.conclude_test(Status.INTERESTING, interesting_origin) File "/usr/lib64/python3.10/enum.py", line 141, in __get__ return ownerclass._member_map_[self.name] RecursionError: maximum recursion depth exceeded while calling a Python object During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/hypothesis-hypothesis-python-6.6.0/hypothesis-python/tests/conjecture/test_engine.py", line 162, in recur recur(i - 1, data) File "/builddir/build/BUILD/hypothesis-hypothesis-python-6.6.0/hypothesis-python/tests/conjecture/test_engine.py", line 164, in recur data.mark_interesting() File "/builddir/build/BUILDROOT/python-hypothesis-6.6.0-4.fc35.x86_64/usr/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 1056, in mark_interesting self.conclude_test(Status.INTERESTING, interesting_origin) File "/builddir/build/BUILDROOT/python-hypothesis-6.6.0-4.fc35.x86_64/usr/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 1052, in conclude_test self.freeze() File "/builddir/build/BUILDROOT/python-hypothesis-6.6.0-4.fc35.x86_64/usr/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 972, in freeze self.stop_example() File "/builddir/build/BUILDROOT/python-hypothesis-6.6.0-4.fc35.x86_64/usr/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 914, in stop_example assert self.depth >= -1 RecursionError: maximum recursion depth exceeded in comparison During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/hypothesis-hypothesis-python-6.6.0/hypothesis-python/tests/conjecture/test_engine.py", line 162, in recur recur(i - 1, data) File "/builddir/build/BUILD/hypothesis-hypothesis-python-6.6.0/hypothesis-python/tests/conjecture/test_engine.py", line 164, in recur data.mark_interesting() File "/builddir/build/BUILDROOT/python-hypothesis-6.6.0-4.fc35.x86_64/usr/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 1056, in mark_interesting self.conclude_test(Status.INTERESTING, interesting_origin) File "/builddir/build/BUILDROOT/python-hypothesis-6.6.0-4.fc35.x86_64/usr/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 1052, in conclude_test self.freeze() File "/builddir/build/BUILDROOT/python-hypothesis-6.6.0-4.fc35.x86_64/usr/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 980, in freeze self.observer.conclude_test(self.status, self.interesting_origin) File "/builddir/build/BUILDROOT/python-hypothesis-6.6.0-4.fc35.x86_64/usr/lib/python3.10/site-packages/hypothesis/internal/conjecture/datatree.py", line 393, in conclude_test if status == Status.OVERRUN: RecursionError: maximum recursion depth exceeded During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/hypothesis-hypothesis-python-6.6.0/hypothesis-python/tests/conjecture/test_engine.py", line 173, in test_recursion_error_is_not_flaky runner.run() File "/builddir/build/BUILDROOT/python-hypothesis-6.6.0-4.fc35.x86_64/usr/lib/python3.10/site-packages/hypothesis/internal/conjecture/engine.py", line 495, in run self._run() File "/builddir/build/BUILDROOT/python-hypothesis-6.6.0-4.fc35.x86_64/usr/lib/python3.10/site-packages/hypothesis/internal/conjecture/engine.py", line 897, in _run self.generate_new_examples() File "/builddir/build/BUILDROOT/python-hypothesis-6.6.0-4.fc35.x86_64/usr/lib/python3.10/site-packages/hypothesis/internal/conjecture/engine.py", line 701, in generate_new_examples minimal_example = self.cached_test_function( File "/builddir/build/BUILDROOT/python-hypothesis-6.6.0-4.fc35.x86_64/usr/lib/python3.10/site-packages/hypothesis/internal/conjecture/engine.py", line 1076, in cached_test_function self.test_function(data) File "/builddir/build/BUILDROOT/python-hypothesis-6.6.0-4.fc35.x86_64/usr/lib/python3.10/site-packages/hypothesis/internal/conjecture/engine.py", line 218, in test_function self.__stoppable_test_function(data) File "/builddir/build/BUILDROOT/python-hypothesis-6.6.0-4.fc35.x86_64/usr/lib/python3.10/site-packages/hypothesis/internal/conjecture/engine.py", line 194, in __stoppable_test_function self._test_function(data) File "/builddir/build/BUILD/hypothesis-hypothesis-python-6.6.0/hypothesis-python/tests/conjecture/test_engine.py", line 170, in tf recur(i, data) File "/builddir/build/BUILD/hypothesis-hypothesis-python-6.6.0/hypothesis-python/tests/conjecture/test_engine.py", line 162, in recur recur(i - 1, data) File "/builddir/build/BUILD/hypothesis-hypothesis-python-6.6.0/hypothesis-python/tests/conjecture/test_engine.py", line 162, in recur recur(i - 1, data) File "/builddir/build/BUILD/hypothesis-hypothesis-python-6.6.0/hypothesis-python/tests/conjecture/test_engine.py", line 162, in recur recur(i - 1, data) [Previous line repeated 982 more times] File "/builddir/build/BUILD/hypothesis-hypothesis-python-6.6.0/hypothesis-python/tests/conjecture/test_engine.py", line 164, in recur data.mark_interesting() File "/builddir/build/BUILDROOT/python-hypothesis-6.6.0-4.fc35.x86_64/usr/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 1056, in mark_interesting self.conclude_test(Status.INTERESTING, interesting_origin) File "/builddir/build/BUILDROOT/python-hypothesis-6.6.0-4.fc35.x86_64/usr/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 1049, in conclude_test self.__assert_not_frozen("conclude_test") File "/builddir/build/BUILDROOT/python-hypothesis-6.6.0-4.fc35.x86_64/usr/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 845, in __assert_not_frozen raise Frozen(f"Cannot call {name} on frozen ConjectureData") hypothesis.errors.Frozen: Cannot call conclude_test on frozen ConjectureData _______________________ test_pprint_heap_allocated_type ________________________ [gw1] linux -- Python 3.10.0 /usr/bin/python3 Traceback (most recent call last): File "/builddir/build/BUILD/hypothesis-hypothesis-python-6.6.0/hypothesis-python/tests/cover/test_pretty.py", line 276, in test_pprint_heap_allocated_type output = pretty.pretty(xxlimited.Null) AttributeError: module 'xxlimited' has no attribute 'Null' ________________ test_ghostwriter_example_outputs[base64_magic] ________________ [gw1] linux -- Python 3.10.0 /usr/bin/python3 Traceback (most recent call last): File "/builddir/build/BUILD/hypothesis-hypothesis-python-6.6.0/hypothesis-python/tests/ghostwriter/test_expected_output.py", line 115, in test_ghostwriter_example_outputs assert actual == expected # We got the expected source code AssertionError: assert '# This test ...(s, value1)\n' == '# This test ...(s, value1)\n' # This test code was written by the `hypothesis.extra.ghostwriter` module # and is provided under the Creative Commons Zero public domain dedication. import base64 from hypothesis import given, strategies as st # TODO: replace st.nothing() with appropriate strategies... ...Full output truncated (82 lines hidden), use '-vv' to show |