Skip to content

Conversation

eerovaher
Copy link
Member

@eerovaher eerovaher commented Sep 23, 2021

The minimum required astropy version was updated in #1925, and that has made the astroquery.utils.decorators module obsolete.

@codecov
Copy link

codecov bot commented Sep 23, 2021

Codecov Report

Merging #2155 (6845150) into main (1aba55e) will increase coverage by 0.18%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2155      +/-   ##
==========================================
+ Coverage   66.24%   66.42%   +0.18%     
==========================================
  Files         419      418       -1     
  Lines       28118    28026      -92     
==========================================
- Hits        18626    18616      -10     
+ Misses       9492     9410      -82     
Impacted Files Coverage Δ
astroquery/cadc/core.py 77.38% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1aba55e...6845150. Read the comment docs.

CHANGES.rst Outdated
The API for JPLspec's ``lookup_table.find`` function returns a dictionary
instead of values (for compatibility w/CDMS). [#2144]

- The functions ``astroquery.utils.decorators.deprecated()`` and
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These never was part of the public API and was only internally used, so won't need a changelog.

https://astroquery.readthedocs.io/en/latest/utils.html?highlight=decorator

@@ -1,180 +1,20 @@
from astropy.utils.decorators import deprecated as _deprecated
from astropy.utils.decorators import (deprecated_renamed_argument
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need for this, the module is entirely for internal usage, remove it altogether rather than deprecate.

@bsipocz bsipocz added this to the v0.4.4 milestone Sep 28, 2021
The deleted file was no longer necessary because everything it defined
can be safely imported directly from `astropy`, and there was only a
single instance in the code where that was not being done already.
@eerovaher eerovaher changed the title Deprecate astroquery.utils.decorators Remove astroquery.utils.decorators Sep 28, 2021
@bsipocz bsipocz merged commit 241d896 into astropy:main Sep 28, 2021
@bsipocz
Copy link
Member

bsipocz commented Sep 28, 2021

Thanks @eerovaher!

@bsipocz bsipocz added the utils label Sep 28, 2021
@eerovaher eerovaher deleted the deprecate-decorators branch October 11, 2021 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants