Bug 1698160
| Summary: | future-0.17.0-2.fc31 FTBFS with Python 3.8: ImportError: cannot import name 'splitattr' from 'urllib.request' | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
| Component: | future | Assignee: | Antonio T. (sagitter) <anto.trande> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | anto.trande |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | future-0.17.1-0.1.20190313gitc423752.fc31 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-04-10 12:41:37 UTC | 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: | 1686977 | ||
Scratch build against Python38 are possible? Copr builds are possible. Fork https://copr.fedorainfracloud.org/coprs/g/python/python3.8/ (bottom right) and add your build. Added your patch, issue fixed on rawhide with the release 0.17.1 Confirmed. Thanks! |
The %check of future fails on Python 3.8: _____________ ERROR collecting tests/test_future/test_urllibnet.py _____________ ImportError while importing test module '/builddir/build/BUILD/future-0.17.0/python3/tests/test_future/test_urllibnet.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: tests/test_future/test_urllibnet.py:13: in <module> import future.moves.urllib.request as urllib_request build/lib/future/moves/urllib/request.py:9: in <module> from urllib.request import (getproxies, E ImportError: cannot import name 'splitattr' from 'urllib.request' (/usr/lib64/python3.8/urllib/request.py) Full log attached. This blocks the Python 3.8 bootstrap towards pyglet -> pybtex -> notbook. https://bugs.python.org/issue35891 https://bugs.python.org/issue27485