Bug 1746845
| Summary: | python-astroscrappy fails to build with Python 3.8 on Fedora 32+ | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
| Component: | python-astroscrappy | Assignee: | Christian Dersch <lupinix.fedora> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | astro-sig, lupinix.fedora, mtasaka |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-astroscrappy-1.0.5-16.fc32 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-09-11 23:41:17 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: | 1750908, 1750909, 1671167, 1686977 | ||
|
Description
Miro Hrončok
2019-08-29 11:38:23 UTC
Trying with: %prep ... # Pytest 4 no longer supports plain [pytest] sed -i 's/\[pytest\]/\[tool:pytest\]/' setup.cfg Task info: https://koji.fedoraproject.org/koji/taskinfo?taskID=37334510 That doesn't help: Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.perLiU + umask 022 + cd /builddir/build/BUILD + cd astroscrappy-1.0.5 + /usr/bin/python3 setup.py test BUILDSTDERR: Download error on https://pypi.python.org/simple/astropy-helpers/: [Errno -2] Name or service not known -- Some packages may not be found! BUILDSTDERR: Download error on https://pypi.python.org/simple/: [Errno -2] Name or service not known -- Some packages may not be found! running test installing to temporary directory: /tmp/astroscrappy-test-bltdipqz BUILDSTDERR: /usr/lib/python3.8/site-packages/pytest_doctestplus/plugin.py:22: SyntaxWarning: invalid escape sequence \. BUILDSTDERR: 'rst': '\.\.' BUILDSTDERR: ImportError while loading conftest '/tmp/astroscrappy-test-bltdipqz/lib64/python3.8/site-packages/astroscrappy/conftest.py'. BUILDSTDERR: astroscrappy/conftest.py:7: in <module> BUILDSTDERR: from astropy.tests.pytest_plugins import * BUILDSTDERR: E ModuleNotFoundError: No module named 'astropy.tests.pytest_plugins' BUILDSTDERR: /usr/lib64/python3.8/distutils/dist.py:274: UserWarning: Unknown distribution option: 'test_requires' BUILDSTDERR: warnings.warn(msg) BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.perLiU (%check) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.perLiU (%check) Add a patch with referring to https://github.com/spacetelescope/poppy/issues/289 Once fixed in python-astroscrappy-1.0.5-16.fc32 |