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.

Remove deprecated functionality for 4.0 release

See original GitHub issue

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 #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 #5782 – cc @keflavich See #9356
  • Remove deprecated parameter from Gaussian2DKernel, which was done in 3.0 release in #6748 – cc @adamginsburg See #9356
  • Remove representation keyword in coordinates baseframe.py, which was deprecated in 3.1 release in #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 #6219 – cc @adrn Removed in #9326
  • Remove latitude and longitude in earth.py, which was deprecated in 2.0 release in #6237 – cc @eteq Removed in #9326
  • Remove recommended_units in representations.py, which was deprecated in 3.0 release in #6858 – cc @mhvk (#8892)
  • Remove compatibility_mode in hdf5.py, which was deprecated in 3.0 release in #6304 – cc @matteobachetti Done in #8899
  • Remove usecPickle in pickle_helpers.py, which was deprecated in 3.0 release in #6655 – cc @bsipocz. Removed in #8890
  • Remove rotation_matrix_from_angle method in rotations.py, which was deprecated in 2.0 release in #6235@nden Removed in #9369
  • Remove deprecated_renamed_argument from biweight.py, which was added in 2.0 release in #5991@larrybradley. Removed in #8948.
  • Remove deprecated_renamed_argument from stats/funcs.py, which was added in 2.0 release in #5232 – cc @keflavich. Removed in #9011.
  • Remove deprecated_renamed_argument from sigma_clipping.py, which was added in 3.1 release in #7478 – cc @larrybradley. Removed in #8948.
  • Remove magnitude_zero_points.py, which was deprecated in 3.1 release in #7891 – see #9353
  • Remove funcsigs.py and futures, which were deprecated in 3.0 release in #6598 – cc @saimn. Done in #8909
  • Remove utils.compat.numpy modules that were deprecated in 3.0 release in #6691 – cc @MSeifert04 Done in #8910
  • Remove _naxis1 and _naxis2 from wcs.py, which were deprecated in 3.1 in #7973 – cc @nden Removed in #9465.
  • Remove bundled six, which is not needed after 3.0 release – PR by @saimn waiting at #8315, see https://github.com/astropy/astropy/issues/8888#issuecomment-504146773

Need clarification

  • Deprecate representation, remove _normalize_representation_type; see #8886 – cc @adrn EDIT: this was clarified in #9320

Decide to keep for now

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
bsipoczcommented, Oct 25, 2019

I found this issue super helpful to keep track of stuff we needed to clean up, and vote for having similar ones for new releases, or at least for the new LTS releases, too.

3reactions
mhvkcommented, Jun 20, 2019

A very lucky number to remove cruft!

Aside: previously, it seems we never added entries to the changelog for removals of deprecated features. Should we?

Read more comments on GitHub >

github_iconTop Results From Across the Web

[v4] Remove deprecated functionality #1831 - Shopify/polaris
Removing deprecated functionality that we said we'd remove in v4 WHAT is this pull request doing? Remove secondaryFooterAction prop on Card iconBody prop...
Read more >
Important changes (deprecations) coming in Power Apps and ...
"Deprecated" means we intend to remove the feature or capability from a future release. The feature or capability will continue to work and ......
Read more >
Deprecations by version - GitLab Docs
In each release, GitLab announces features that are deprecated and no longer recommended for use. Each deprecated feature will be removed in a...
Read more >
How long to wait before deleting a deprecated method? [closed]
Removing deprecated methods just because they were deprecated for X months/years or because you're releasing a new version amounts to ...
Read more >
Deprecated and Removed Features - Delphix Documentation
The following features are deprecated as of 6.0.4 and will be removed in future releases: Masking: FTP, SFTP, and mount upload for ...
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