question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[5.0.1] Missing astropy.utils.decorators.wraps lets other packages fail

See original GitHub issue

Description

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:closed
  • Created 2 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
agy-whycommented, Feb 4, 2022

As a work around: updating to PyVO 1.2.1 did the job.

1reaction
olebolecommented, Jan 29, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found