Bug 1705462

Summary: python-astropy FTBFS with Python 3.8
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: python-astropyAssignee: Sergio Pascual <sergio.pasra>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: orion, sergio.pasra, tir.karthi, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-12 13:16:34 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: 1718246    
Bug Blocks: 1686977    
Attachments:
Description Flags
Full log from Copr none

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.