Bug 1705462 - python-astropy FTBFS with Python 3.8
Summary: python-astropy FTBFS with Python 3.8
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-astropy
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Sergio Pascual
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1718246
Blocks: PYTHON38
TreeView+ depends on / blocked
 
Reported: 2019-05-02 11:02 UTC by Miro Hrončok
Modified: 2019-07-12 13:16 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-07-12 13:16:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Full log from Copr (733.11 KB, text/plain)
2019-05-02 11:02 UTC, Miro Hrončok
no flags Details

Description Miro Hrončok 2019-05-02 11:02:23 UTC
Created attachment 1561531 [details]
Full log from Copr

python-astropy 3.1.2-3.fc31 fails %check when building with Python 3.8:

+ py.test-3.8 -k 'not test_scale_back_with_blanks' astropy
============================= test session starts ==============================
platform linux -- Python 3.8.0a3, pytest-4.4.1, py-1.8.0, pluggy-0.9.0
rootdir: /builddir/build/BUILDROOT/python-astropy-3.1.2-3.fc31.x86_64/usr/lib64/python3.8/site-packages
plugins: remotedata-0.3.1, openfiles-0.3.2, doctestplus-0.3.0, arraydiff-0.3
collected 11916 items / 1 errors / 1 deselected / 9 skipped / 11905 selected

==================================== ERRORS ====================================
______________ ERROR collecting astropy/utils/tests/test_timer.py ______________
astropy/utils/tests/test_timer.py:20: in <module>
    from astropy.utils.timer import RunTimePredictor
astropy/utils/timer.py:7: in <module>
    from collections import Iterable, OrderedDict
<frozen importlib._bootstrap>:1039: in _handle_fromlist
    ???
/usr/lib64/python3.8/collections/__init__.py:49: in __getattr__
    warnings.warn("Using or importing the ABCs from 'collections' instead "
E   DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!
============== 9 skipped, 1 deselected, 1 error in 29.30 seconds ===============

Full log attached.

Comment 1 Karthikeyan Singaravelan 2019-06-29 05:30:46 UTC
The DeprecationWarning seems to be fixed in upstream with https://github.com/astropy/astropy/commit/8b3d0ccc2381919c8de944caa6485eb88d13e819

Comment 2 Zbigniew Jędrzejewski-Szmek 2019-07-12 13:16:34 UTC
Seems to build fine with https://src.fedoraproject.org/rpms/python-astropy/c/e696a64226a2429d8a9765f1c4ef1ca0ed4016d3?branch=master.


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