[5.0.1] Missing astropy.utils.decorators.wraps lets other packages fail
See original GitHub issueDescription
I just uploaded astropy 5.0.1 to Debian and experienced two CI failures:
Both packages fail with
==================================== ERRORS ====================================
________________________ ERROR collecting test session _________________________
[…]
/usr/lib/python3/dist-packages/aplpy/decorators.py:3: in <module>
from astropy.utils.decorators import wraps
E ImportError: cannot import name 'wraps' from 'astropy.utils.decorators' (/usr/lib/python3/dist-packages/astropy/utils/decorators.py)
=========================== short test summary info ============================
Both packages are a bit out of date: for APLPy there is no newer version and the patches required for 5.0 were locally applied on the Debian package (see https://github.com/aplpy/aplpy/issues/467), and the version 1.2.1 of PyVO is still not uploaded to Debian (1.1 was however tested to be compatible to Astropy 5.0).
Expected behavior
Micro version updates should not break anything.
Actual behavior
See above
Steps to Reproduce
Run CI tests for PyVO and APLPy with Astropy 5.0.1 installed.
System Details
- Linux-5.15.0-3-amd64-x86_64-with-glibc2.33
- Python 3.9.10 (main, Jan 16 2022, 17:12:18) [GCC 11.2.0]
- Astropy 5.0.1
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Bug#1004517: [pyvo] CI failure with astropy 5.0.1
Source: pyvo. Version: 1.1-1. Severity: serious. Control: affects -1 astropy. Dear maintainer, I just uploaded astropy-5.0.1 to unstable.
Read more >Full Changelog — Astropy v5.2
Added missing coordinate transformations where the starting and ending frames are the same (i.e., loopback transformations). · Allow negation, multiplication and ...
Read more >Ubuntu – Software Packages in "jammy", Alaosasto python
Python 3 module to discover ECMWF libraries. python3-edgegrid (1.1.1-0ubuntu1) [universe]: Authentication handler for Akamai OPEN EdgeGrid Authentication scheme ...
Read more >Package List — Spack 0.10 documentation
The software can handle a number of different input types from mapped reads to imputed ... MPI calls are intercepted (using wrappers) to...
Read more >plasmapy Changelog - pyup.io
PyUp actively tracks 470,140 Python packages for vulnerabilities to keep your Python environments ... is based on `astropy.utils.decorators.deprecated`.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
As a work around: updating to PyVO 1.2.1 did the job.
I have no real opinion on that. The two packages will be fixed on Debian, so it is not a problem for us. I just don’t know about expectations or setups of others.