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 1709795 - python-hpack FTBFS with Python 3.8
Summary: python-hpack FTBFS with Python 3.8
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: python-hpack
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Robert-André Mauchin 🐧
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1609770
Blocks: PYTHON38
TreeView+ depends on / blocked
 
Reported: 2019-05-14 10:46 UTC by Lumír Balhar
Modified: 2019-05-28 10:50 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-28 10:50:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Full build log from COPR (3.75 KB, text/plain)
2019-05-14 10:46 UTC, Lumír Balhar
no flags Details

Description Lumír Balhar 2019-05-14 10:46:06 UTC
Created attachment 1568383 [details]
Full build log from COPR

python-hpack-3.0.0-5.fc31 fails to build from source in Fedora rawhide with Python 3.8. The test failure is:

+ /usr/bin/python3 -m pytest
BUILDSTDERR: Traceback (most recent call last):
BUILDSTDERR:   File "/usr/lib64/python3.8/runpy.py", line 192, in _run_module_as_main
BUILDSTDERR:     return _run_code(code, main_globals, None,
BUILDSTDERR:   File "/usr/lib64/python3.8/runpy.py", line 85, in _run_code
BUILDSTDERR:     exec(code, run_globals)
BUILDSTDERR:   File "/usr/lib/python3.8/site-packages/pytest.py", line 89, in <module>
BUILDSTDERR:     raise SystemExit(pytest.main())
BUILDSTDERR:   File "/usr/lib/python3.8/site-packages/_pytest/config/__init__.py", line 60, in main
BUILDSTDERR:     config = _prepareconfig(args, plugins)
BUILDSTDERR:   File "/usr/lib/python3.8/site-packages/_pytest/config/__init__.py", line 200, in _prepareconfig
BUILDSTDERR:     return pluginmanager.hook.pytest_cmdline_parse(
BUILDSTDERR:   File "/usr/lib/python3.8/site-packages/pluggy/hooks.py", line 289, in __call__
BUILDSTDERR:     return self._hookexec(self, self.get_hookimpls(), kwargs)
BUILDSTDERR:   File "/usr/lib/python3.8/site-packages/pluggy/manager.py", line 68, in _hookexec
BUILDSTDERR:     return self._inner_hookexec(hook, methods, kwargs)
BUILDSTDERR:   File "/usr/lib/python3.8/site-packages/pluggy/manager.py", line 59, in <lambda>
BUILDSTDERR:     self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
BUILDSTDERR:   File "/usr/lib/python3.8/site-packages/pluggy/callers.py", line 203, in _multicall
BUILDSTDERR:     gen.send(outcome)
BUILDSTDERR:   File "/usr/lib/python3.8/site-packages/_pytest/helpconfig.py", line 93, in pytest_cmdline_parse
BUILDSTDERR:     config = outcome.get_result()
BUILDSTDERR:   File "/usr/lib/python3.8/site-packages/pluggy/callers.py", line 80, in get_result
BUILDSTDERR:     raise ex[1].with_traceback(ex[2])
BUILDSTDERR:   File "/usr/lib/python3.8/site-packages/pluggy/callers.py", line 187, in _multicall
BUILDSTDERR:     res = hook_impl.function(*args)
BUILDSTDERR:   File "/usr/lib/python3.8/site-packages/_pytest/config/__init__.py", line 679, in pytest_cmdline_parse
BUILDSTDERR:     self.parse(args)
BUILDSTDERR:   File "/usr/lib/python3.8/site-packages/_pytest/config/__init__.py", line 896, in parse
BUILDSTDERR:     self._preparse(args, addopts=addopts)
BUILDSTDERR:   File "/usr/lib/python3.8/site-packages/_pytest/config/__init__.py", line 841, in _preparse
BUILDSTDERR:     self.pluginmanager.load_setuptools_entrypoints("pytest11")
BUILDSTDERR:   File "/usr/lib/python3.8/site-packages/pluggy/manager.py", line 274, in load_setuptools_entrypoints
BUILDSTDERR:     plugin = ep.load()
BUILDSTDERR:   File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2434, in load
BUILDSTDERR:     return self.resolve()
BUILDSTDERR:   File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2440, in resolve
BUILDSTDERR:     module = __import__(self.module_name, fromlist=['__name__'], level=0)
BUILDSTDERR:   File "/usr/lib/python3.8/site-packages/hypothesis/__init__.py", line 29, in <module>
BUILDSTDERR:     from hypothesis.core import given, find, example, seed, reproduce_failure, PrintSettings
BUILDSTDERR:   File "/usr/lib/python3.8/site-packages/hypothesis/core.py", line 37, in <module>
BUILDSTDERR:     import hypothesis.strategies as st
BUILDSTDERR:   File "/usr/lib/python3.8/site-packages/hypothesis/strategies.py", line 20, in <module>
BUILDSTDERR:     from hypothesis._strategies import (
BUILDSTDERR:   File "/usr/lib/python3.8/site-packages/hypothesis/_strategies.py", line 265, in <module>
BUILDSTDERR:     def nothing():
BUILDSTDERR:   File "/usr/lib/python3.8/site-packages/hypothesis/_strategies.py", line 182, in cacheable
BUILDSTDERR:     def cached_strategy(*args, **kwargs):
BUILDSTDERR:   File "/usr/lib/python3.8/site-packages/hypothesis/internal/reflection.py", line 617, in accept
BUILDSTDERR:     return impersonate(target)(
BUILDSTDERR:   File "/usr/lib/python3.8/site-packages/hypothesis/internal/reflection.py", line 603, in accept
BUILDSTDERR:     f.__code__ = update_code_location(
BUILDSTDERR:   File "/usr/lib/python3.8/site-packages/hypothesis/internal/compat.py", line 409, in update_code_location
BUILDSTDERR:     return type(code)(*unpacked)
BUILDSTDERR: TypeError: an integer is required (got type bytes)
RPM build errors:
BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.2zCNmv (%check)
BUILDSTDERR:     Bad exit status from /var/tmp/rpm-tmp.2zCNmv (%check)

Comment 1 Miro Hrončok 2019-05-14 12:36:13 UTC
hypothesis bug.


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