python-hypothesis fails to build with Python 3.9.0a6. =================================== FAILURES =================================== __________ test_specialised_collection_types[A_NamedTuple-tuple-int] ___________ [gw1] linux -- Python 3.9.0 /usr/bin/python3 Traceback (most recent call last): File "/builddir/build/BUILD/hypothesis-hypothesis-python-5.10.4/hypothesis-python/tests/cover/test_lookup.py", line 131, in test_specialised_collection_types inner() File "/builddir/build/BUILD/hypothesis-hypothesis-python-5.10.4/hypothesis-python/tests/cover/test_lookup.py", line 124, in inner def inner(ex): File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/core.py", line 1095, in wrapped_test raise the_error_hypothesis_found File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/core.py", line 1064, in wrapped_test state.run_engine() File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/core.py", line 725, in run_engine runner.run() File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/engine.py", line 420, in run self._run() File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/engine.py", line 813, in _run self.reuse_existing_examples() File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/engine.py", line 497, in reuse_existing_examples data = self.cached_test_function(existing) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/engine.py", line 985, in cached_test_function self.test_function(data) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/engine.py", line 155, in test_function self.__stoppable_test_function(data) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/engine.py", line 137, in __stoppable_test_function self._test_function(data) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/core.py", line 678, in _execute_once_for_engine escalate_hypothesis_internal_error() File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/core.py", line 649, in _execute_once_for_engine result = self.execute_once(data) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/core.py", line 604, in execute_once result = self.test_runner(data, run) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/executors.py", line 52, in default_new_style_executor return function(data) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/core.py", line 545, in run args, kwargs = data.draw(self.search_strategy) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/data.py", line 893, in draw return strategy.do_draw(self) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/collections.py", line 57, in do_draw return tuple(data.draw(e) for e in self.element_strategies) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/collections.py", line 57, in <genexpr> return tuple(data.draw(e) for e in self.element_strategies) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/data.py", line 888, in draw return strategy.do_draw(self) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/strategies.py", line 658, in do_draw result = self.pack(data.draw(self.mapped_strategy)) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/data.py", line 888, in draw return strategy.do_draw(self) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/lazy.py", line 150, in do_draw return data.draw(self.wrapped_strategy) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/data.py", line 888, in draw return strategy.do_draw(self) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/strategies.py", line 658, in do_draw result = self.pack(data.draw(self.mapped_strategy)) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/data.py", line 888, in draw return strategy.do_draw(self) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/collections.py", line 57, in do_draw return tuple(data.draw(e) for e in self.element_strategies) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/collections.py", line 57, in <genexpr> return tuple(data.draw(e) for e in self.element_strategies) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/data.py", line 888, in draw return strategy.do_draw(self) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/lazy.py", line 150, in do_draw return data.draw(self.wrapped_strategy) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/data.py", line 888, in draw return strategy.do_draw(self) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/strategies.py", line 658, in do_draw result = self.pack(data.draw(self.mapped_strategy)) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/core.py", line 1241, in <lambda> lambda value: target(*value[0], **value[1]) # type: ignore TypeError: __new__() missing 1 required positional argument: 'elem' ----------------------------- Captured stdout call ----------------------------- You can add @seed(46005252413622179806644262216963626462) to this test or run pytest with --hypothesis-seed=46005252413622179806644262216963626462 to reproduce this failure. ____________________ test_infers_args_for_namedtuple_builds ____________________ [gw1] linux -- Python 3.9.0 /usr/bin/python3 Traceback (most recent call last): File "/builddir/build/BUILD/hypothesis-hypothesis-python-5.10.4/hypothesis-python/tests/cover/test_lookup.py", line 453, in test_infers_args_for_namedtuple_builds def test_infers_args_for_namedtuple_builds(thing): File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/core.py", line 1095, in wrapped_test raise the_error_hypothesis_found File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/core.py", line 1064, in wrapped_test state.run_engine() File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/core.py", line 725, in run_engine runner.run() File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/engine.py", line 420, in run self._run() File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/engine.py", line 814, in _run self.generate_new_examples() File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/engine.py", line 548, in generate_new_examples zero_data = self.cached_test_function(bytes(BUFFER_SIZE)) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/engine.py", line 985, in cached_test_function self.test_function(data) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/engine.py", line 155, in test_function self.__stoppable_test_function(data) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/engine.py", line 137, in __stoppable_test_function self._test_function(data) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/core.py", line 678, in _execute_once_for_engine escalate_hypothesis_internal_error() File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/core.py", line 649, in _execute_once_for_engine result = self.execute_once(data) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/core.py", line 604, in execute_once result = self.test_runner(data, run) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/executors.py", line 52, in default_new_style_executor return function(data) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/core.py", line 545, in run args, kwargs = data.draw(self.search_strategy) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/data.py", line 893, in draw return strategy.do_draw(self) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/collections.py", line 57, in do_draw return tuple(data.draw(e) for e in self.element_strategies) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/collections.py", line 57, in <genexpr> return tuple(data.draw(e) for e in self.element_strategies) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/data.py", line 888, in draw return strategy.do_draw(self) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/strategies.py", line 658, in do_draw result = self.pack(data.draw(self.mapped_strategy)) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/data.py", line 888, in draw return strategy.do_draw(self) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/lazy.py", line 150, in do_draw return data.draw(self.wrapped_strategy) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/data.py", line 888, in draw return strategy.do_draw(self) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/strategies.py", line 658, in do_draw result = self.pack(data.draw(self.mapped_strategy)) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/data.py", line 888, in draw return strategy.do_draw(self) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/collections.py", line 57, in do_draw return tuple(data.draw(e) for e in self.element_strategies) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/collections.py", line 57, in <genexpr> return tuple(data.draw(e) for e in self.element_strategies) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/data.py", line 888, in draw return strategy.do_draw(self) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/lazy.py", line 150, in do_draw return data.draw(self.wrapped_strategy) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/data.py", line 888, in draw return strategy.do_draw(self) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/strategies.py", line 658, in do_draw result = self.pack(data.draw(self.mapped_strategy)) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/core.py", line 1241, in <lambda> lambda value: target(*value[0], **value[1]) # type: ignore TypeError: __new__() missing 1 required positional argument: 'a' ---------------------------------- Hypothesis ---------------------------------- You can add @seed(105325354627574033128196204265686585011) to this test or run pytest with --hypothesis-seed=105325354627574033128196204265686585011 to reproduce this failure. __________________ test_infers_args_for_namedtuple_from_type ___________________ [gw1] linux -- Python 3.9.0 /usr/bin/python3 Traceback (most recent call last): File "/builddir/build/BUILD/hypothesis-hypothesis-python-5.10.4/hypothesis-python/tests/cover/test_lookup.py", line 458, in test_infers_args_for_namedtuple_from_type def test_infers_args_for_namedtuple_from_type(thing): File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/core.py", line 1095, in wrapped_test raise the_error_hypothesis_found File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/core.py", line 1064, in wrapped_test state.run_engine() File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/core.py", line 725, in run_engine runner.run() File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/engine.py", line 420, in run self._run() File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/engine.py", line 814, in _run self.generate_new_examples() File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/engine.py", line 548, in generate_new_examples zero_data = self.cached_test_function(bytes(BUFFER_SIZE)) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/engine.py", line 985, in cached_test_function self.test_function(data) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/engine.py", line 155, in test_function self.__stoppable_test_function(data) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/engine.py", line 137, in __stoppable_test_function self._test_function(data) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/core.py", line 678, in _execute_once_for_engine escalate_hypothesis_internal_error() File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/core.py", line 649, in _execute_once_for_engine result = self.execute_once(data) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/core.py", line 604, in execute_once result = self.test_runner(data, run) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/executors.py", line 52, in default_new_style_executor return function(data) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/core.py", line 545, in run args, kwargs = data.draw(self.search_strategy) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/data.py", line 893, in draw return strategy.do_draw(self) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/collections.py", line 57, in do_draw return tuple(data.draw(e) for e in self.element_strategies) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/collections.py", line 57, in <genexpr> return tuple(data.draw(e) for e in self.element_strategies) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/data.py", line 888, in draw return strategy.do_draw(self) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/strategies.py", line 658, in do_draw result = self.pack(data.draw(self.mapped_strategy)) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/data.py", line 888, in draw return strategy.do_draw(self) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/lazy.py", line 150, in do_draw return data.draw(self.wrapped_strategy) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/data.py", line 888, in draw return strategy.do_draw(self) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/strategies.py", line 658, in do_draw result = self.pack(data.draw(self.mapped_strategy)) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/data.py", line 888, in draw return strategy.do_draw(self) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/collections.py", line 57, in do_draw return tuple(data.draw(e) for e in self.element_strategies) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/collections.py", line 57, in <genexpr> return tuple(data.draw(e) for e in self.element_strategies) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/data.py", line 888, in draw return strategy.do_draw(self) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/lazy.py", line 150, in do_draw return data.draw(self.wrapped_strategy) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/data.py", line 888, in draw return strategy.do_draw(self) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/strategies.py", line 658, in do_draw result = self.pack(data.draw(self.mapped_strategy)) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/core.py", line 1241, in <lambda> lambda value: target(*value[0], **value[1]) # type: ignore TypeError: __new__() missing 1 required positional argument: 'a' ---------------------------------- Hypothesis ---------------------------------- You can add @seed(116321922263849654318013579981697523988) to this test or run pytest with --hypothesis-seed=116321922263849654318013579981697523988 to reproduce this failure. _____________ test_resolves_forward_references_outside_annotations _____________ [gw1] linux -- Python 3.9.0 /usr/bin/python3 Traceback (most recent call last): File "/builddir/build/BUILD/hypothesis-hypothesis-python-5.10.4/hypothesis-python/tests/cover/test_lookup_py36.py", line 31, in test_resolves_forward_references_outside_annotations @given(st.builds(TreeForwardRefs)) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/core.py", line 1095, in wrapped_test raise the_error_hypothesis_found File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/core.py", line 1064, in wrapped_test state.run_engine() File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/core.py", line 725, in run_engine runner.run() File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/engine.py", line 420, in run self._run() File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/engine.py", line 814, in _run self.generate_new_examples() File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/engine.py", line 548, in generate_new_examples zero_data = self.cached_test_function(bytes(BUFFER_SIZE)) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/engine.py", line 985, in cached_test_function self.test_function(data) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/engine.py", line 155, in test_function self.__stoppable_test_function(data) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/engine.py", line 137, in __stoppable_test_function self._test_function(data) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/core.py", line 678, in _execute_once_for_engine escalate_hypothesis_internal_error() File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/core.py", line 649, in _execute_once_for_engine result = self.execute_once(data) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/core.py", line 604, in execute_once result = self.test_runner(data, run) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/executors.py", line 52, in default_new_style_executor return function(data) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/core.py", line 545, in run args, kwargs = data.draw(self.search_strategy) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/data.py", line 893, in draw return strategy.do_draw(self) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/collections.py", line 57, in do_draw return tuple(data.draw(e) for e in self.element_strategies) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/collections.py", line 57, in <genexpr> return tuple(data.draw(e) for e in self.element_strategies) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/data.py", line 888, in draw return strategy.do_draw(self) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/strategies.py", line 658, in do_draw result = self.pack(data.draw(self.mapped_strategy)) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/data.py", line 888, in draw return strategy.do_draw(self) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/lazy.py", line 150, in do_draw return data.draw(self.wrapped_strategy) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/data.py", line 888, in draw return strategy.do_draw(self) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/strategies.py", line 658, in do_draw result = self.pack(data.draw(self.mapped_strategy)) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/data.py", line 888, in draw return strategy.do_draw(self) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/collections.py", line 57, in do_draw return tuple(data.draw(e) for e in self.element_strategies) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/collections.py", line 57, in <genexpr> return tuple(data.draw(e) for e in self.element_strategies) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/data.py", line 888, in draw return strategy.do_draw(self) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/lazy.py", line 150, in do_draw return data.draw(self.wrapped_strategy) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/internal/conjecture/data.py", line 888, in draw return strategy.do_draw(self) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/strategies.py", line 658, in do_draw result = self.pack(data.draw(self.mapped_strategy)) File "/builddir/build/BUILDROOT/python-hypothesis-5.10.4-1.fc33.x86_64/usr/lib/python3.9/site-packages/hypothesis/strategies/_internal/core.py", line 1241, in <lambda> lambda value: target(*value[0], **value[1]) # type: ignore TypeError: __new__() missing 3 required positional arguments: 'val', 'l', and 'r' ---------------------------------- Hypothesis ---------------------------------- You can add @seed(168135925096373156309424948463666610643) to this test or run pytest with --hypothesis-seed=168135925096373156309424948463666610643 to reproduce this failure. ========================== slowest 20 test durations =========================== 392.48s call hypothesis-python/tests/nocover/test_pretty_repr.py::test_repr_evals_to_thing_with_same_repr 104.03s call hypothesis-python/tests/quality/test_float_shrinking.py::test_shrinks_downwards_to_integers_when_fractional 47.88s call hypothesis-python/tests/cover/test_targeting.py::test_targeting_can_be_disabled 47.32s call hypothesis-python/tests/cover/test_stateful.py::test_bad_machines_fail[CanSwarm] 39.26s call hypothesis-python/tests/nocover/test_database_usage.py::test_trashes_invalid_examples 37.14s call hypothesis-python/tests/nocover/test_strategy_state.py::TestHypothesis::runTest 35.75s call hypothesis-python/tests/nocover/test_imports.py::test_can_star_import_from_hypothesis 16.45s call hypothesis-python/tests/cover/test_stateful.py::test_bad_machines_fail[RoseTreeStateMachine] 16.26s call hypothesis-python/tests/quality/test_float_shrinking.py::test_shrinks_downwards_to_integers 16.13s call hypothesis-python/tests/cover/test_searchstrategy.py::test_example_raises_unsatisfiable_when_too_filtered 15.16s call hypothesis-python/tests/nocover/test_targeting.py::test_targeting_increases_max_length 13.17s call hypothesis-python/tests/cover/test_regex.py::test_fullmatch_generates_example[[ab]*-aBb] 12.19s call hypothesis-python/tests/quality/test_shrink_quality.py::test_find_large_union_list 11.97s call hypothesis-python/tests/cover/test_flakiness.py::test_failure_sequence_inducing 11.23s call hypothesis-python/tests/quality/test_shrink_quality.py::test_minimize_multiple_elements_in_silly_large_int_range_min_is_not_dupe 11.07s call hypothesis-python/tests/cover/test_targeting.py::test_targeting_with_following_empty 10.92s call hypothesis-python/tests/cover/test_datetimes.py::test_bordering_on_a_leap_year 9.62s call hypothesis-python/tests/cover/test_statistical_events.py::test_stateful_with_one_of_bundles_states_are_deduped 9.42s call hypothesis-python/tests/cover/test_stateful.py::test_removes_needless_steps 9.38s call hypothesis-python/tests/quality/test_discovery_ability.py::test_sampled_from_large_number_can_mix == 4 failed, 3581 passed, 3 skipped, 2 xfailed, 2 xpassed in 1105.07 seconds === For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.9/fedora-rawhide-x86_64/01365506-python-hypothesis/ For all our attempts to build python-hypothesis with Python 3.9, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.9/package/python-hypothesis/ 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.9: https://copr.fedorainfracloud.org/coprs/g/python/python3.9/ Let us know here if you have any questions. Python 3.9 will be included in Fedora 33. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.9. 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.
ack. we should fix this upstream sooner rather than later
Looks like 5.10.5 succeeded, and the dependent -fspath package also builds. I'm updating Rawhide to 5.12.0, but rebuilding locally first with the python39 repo to make sure there's no regression.
Sorry for the confusion. I've built 5.10.5 with tests disabled to unblock myself. Will need to do the same for 5.12.0.
Ah, I wondered, since the local build on my machine did fail. Thanks, I'll try and patch it then. The code is a bit hairy so it might take some debugging.
Maybe try reporting this upstream first?
I did -- https://github.com/HypothesisWorks/hypothesis/issues/2427. Then realized when writing up the issue that the fix is trivial -- typed NamedTuple are weird and Hypothesis was using some heuristics to identify them, except of course the attribute they were detecting on got deprecated in 3.8 and is removed in 3.9. https://github.com/HypothesisWorks/hypothesis/pull/2428 local build is fine, the Rawhide 5.13.0 build has my PR patch applied. Hope this gets merged soon (upstream seems to be cutting a release on a weekly basis, which is wild).
Awesome, thanks! > upstream seems to be cutting a release on a weekly basis, which is wild Indeed wild.
Oh, they release all merged PRs: https://hypothesis.works/articles/continuous-releases/
(In reply to Miro Hrončok from comment #8) > Oh, they release all merged PRs: > https://hypothesis.works/articles/continuous-releases/ Yeah, I found out when CI failed on my PR until I added a release notes file :) 5.13.1 is out with my patch upstreamed, doing a test build for Rawhide now.