-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
Milestone
Description
As discussed on Slack, this issue is to track the removal of deprecated stuff for astropy
4.0 LTS release. Update this as needed. I added cc for people who brought it up or implemented the deprecation or would be the most interested in its future, but all are welcome to have a look.
Disclaimer: I found the following using a simple grep for "deprecate". If I missed something, feel free to add to the list.
Candidates for removal
(Listing more or less in the alphabetical order of the affected sub-package. Check the box if removal is done and xref the relevant PRs.)
- Remove
io.ascii
Reader/Writer and unified I/O interfaces; see Remove deprecated io.ascii Reader/Writer and unified I/O interfaces #8567 -- cc @taldcroft (UPDATE: Pushed back due to lack of time)
- Remove deprecated keyword in
convolve.py
, which was done in 2.0 release in Convolution consistency #5782 -- cc @keflavich See Remove deprecations in convolution #9356 - Remove deprecated parameter from
Gaussian2DKernel
, which was done in 3.0 release in Added theta parameter to Gaussian2DKernel #6748 -- cc @adamginsburg See Remove deprecations in convolution #9356 - Remove
representation
keyword in coordinatesbaseframe.py
, which was deprecated in 3.1 release in deprecate representation #8119 -- cc @eteq EDIT: this was punted to a future LTS release - Remove deprecated arguments in
galactocentric.py
, which was done in 2.0 release in Add velocity support to coordinate frames and transformations #6219 -- cc @adrn Removed in Remove some deprecated things from astropy.coordinates #9326 - Remove
latitude
andlongitude
inearth.py
, which was deprecated in 2.0 release in Make output of to_geodetic a namedtuple #6237 -- cc @eteq Removed in Remove some deprecated things from astropy.coordinates #9326 - Remove
recommended_units
inrepresentations.py
, which was deprecated in 3.0 release in Deprecate "recommended_units" for representations #6858 -- cc @mhvk (Remove deprecated _recommended_units attribute from Representations. #8892) - Remove
compatibility_mode
inhdf5.py
, which was deprecated in 3.0 release in Allow metadata of any dimension in HDF5 #6304 -- cc @matteobachetti Done in Eliminate compatibility mode from HDF5 I/O #8899 - Remove
usecPickle
inpickle_helpers.py
, which was deprecated in 3.0 release in Removing further python2 mentions #6655 -- cc @bsipocz. Removed in Removing deprecated usecPickle kwarg #8890 - Remove
rotation_matrix_from_angle
method inrotations.py
, which was deprecated in 2.0 release in Rotations with units #6235 -- @nden Removed in A sequence of rotations in 3D space #9369 - Remove
deprecated_renamed_argument
frombiweight.py
, which was added in 2.0 release in Several improvements to biweight statistic functions #5991 -- @larrybradley. Removed in Remove deprecated renamed arguments in stats package #8948. - Remove
deprecated_renamed_argument
fromstats/funcs.py
, which was added in 2.0 release in add ignore_nan option to median_absolute_deviation #5232 -- cc @keflavich. Removed in Remove deprecated argument name in median_absolute_deviation #9011. - Remove
deprecated_renamed_argument
fromsigma_clipping.py
, which was added in 3.1 release in Faster sigma clipping #7478 -- cc @larrybradley. Removed in Remove deprecated renamed arguments in stats package #8948. - Remove
magnitude_zero_points.py
, which was deprecated in 3.1 release in Update to (and enable by default) magnitude zero points and add maggies #7891 -- see Remove the deprecated astropy.units.magnitude_zero_points module. #9353 - Remove
funcsigs.py
andfutures
, which were deprecated in 3.0 release in Remove more Python2 code #6598 -- cc @saimn. Done in Removed deprecated funcsigs and futures #8909 - Remove
utils.compat.numpy
modules that were deprecated in 3.0 release in Remove NumPy compat functions #6691 -- cc @MSeifert04 Done in Removed the deprecated astropy.utils.compat.numpy module #8910 - Remove
_naxis1
and_naxis2
fromwcs.py
, which were deprecated in 3.1 in deprecate _naxis1/2 #7973 -- cc @nden Removed in remove deprecated _naxis #9465. - Remove bundled
six
, which is not needed after 3.0 release -- PR by @saimn waiting at Remove bundled six #8315, see Remove deprecated functionality for 4.0 release #8888 (comment)
Need clarification
- Deprecate representation, remove
_normalize_representation_type
; see Deprecate representation, remove _normalize_representation_type #8886 -- cc @adrn EDIT: this was clarified in Clarify comment about removing deprecated representation attribute on frame classes #9320
Decide to keep for now
- Anything related to
io.fits
😬 - Anything in
extern
; Looking at you,jsquery
andconfigobj
. - Deprecated
stats.bls
andstats.lombscargle
namespace, which was moved in 3.2 in Integrate periodogram algorithms better with TimeSeries object #8599 -- Remove deprecated functionality for 4.0 release #8888 (comment)