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 1708118 - python-attrs fails to build with Python 3.8
Summary: python-attrs fails to build with Python 3.8
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: python-attrs
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Eric Smith
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1609770
Blocks: PYTHON38
TreeView+ depends on / blocked
 
Reported: 2019-05-09 07:49 UTC by Miro Hrončok
Modified: 2019-05-28 10:50 UTC (History)
1 user (show)

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


Attachments (Terms of Use)
Full log from Copr (184.04 KB, text/plain)
2019-05-09 07:49 UTC, Miro Hrončok
no flags Details

Description Miro Hrončok 2019-05-09 07:49:45 UTC
Created attachment 1566015 [details]
Full log from Copr

python-attrs 19.1.0-1.fc31 fails to rebuild with Python 3.8.0a4.

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

Full log attached.

Comment 1 Miro Hrončok 2019-05-09 11:22:30 UTC
Trying to update hypothesis (bz1609770) and see if it helps.

Comment 2 Miro Hrončok 2019-05-09 11:40:02 UTC
It does.


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