Skip to content

Removing deprecations in preparation of v2.0 - #6170

Merged
bsipocz merged 2 commits into
astropy:masterfrom
bsipocz:deprecation_removals_for_20
Jun 14, 2017
Merged

bsipocz merged 2 commits into
astropy:masterfrom
bsipocz:deprecation_removals_for_20

Conversation

@bsipocz

@bsipocz bsipocz commented Jun 9, 2017 •

Copy link
Copy Markdown
Member

This is a rather controversial PR, and I'm very much interested in what you all think.

I've gone ahead and removed (hopefully) every deprecations that was present in v1.3. According to APE2, we ought to keep deprecations around for one feature release. Since 2.0 will be our new LTS, I suggest to remove all of these deprecation now rather than dragging them along for 2 more years.

Obviously submodule maintainers have the insight whether we need to keep any of these for a longer cool off period.

(This will need a changelog that I add once we agreed on the deprecations that are needed to be kept further in core.)

@nden

nden commented Jun 9, 2017

Copy link
Copy Markdown
Contributor

@bsipocz Removing the deprecations in modeling and wcs is fine. Thanks for taking care of this.

@mwcraig

mwcraig commented Jun 9, 2017

Copy link
Copy Markdown
Member

@bsipocz -- the nddata changes look good, thanks for doing this!

Comment thread astropy/io/fits/hdu/hdulist.py Outdated
or open the file with lazy_load_hdus=False to read all
the HDUs into memory immediately upon opening the file.
"""), AstropyDeprecationWarning)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This one will be removed as part of #6082.
Otherwise looks good 👍

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

My feeling is that this should only be removed if and only if #6082 is merged. So I would suggest not removing it in here.

@mhvk

mhvk commented Jun 9, 2017

Copy link
Copy Markdown
Contributor

@bsipocz - removals in angles and units are both fine; thanks!

@MSeifert04

MSeifert04 commented Jun 10, 2017 •

Copy link
Copy Markdown
Contributor

nddata and io.fits look good. Thanks for all the work 👍

@bsipocz

bsipocz commented Jun 12, 2017

Copy link
Copy Markdown
Member Author

Thanks everyone for the feedbacks. There are still a few submodules that needs to be checked:

@aconley, @nhmc - Could either of you confirm please that the cosmology deprecations can be removed?

@pllim - Could you check the io.votable part?

@larrybradley @astrofrog - Could you have a look at the visualization removal?

@bsipocz
bsipocz force-pushed the deprecation_removals_for_20 branch from 8710619 to 104542e Compare June 12, 2017 12:47
@bsipocz
bsipocz force-pushed the deprecation_removals_for_20 branch from 104542e to c71679f Compare June 12, 2017 12:53
@eteq

eteq commented Jun 12, 2017

Copy link
Copy Markdown
Member

Hmm, I worry a little that rotation_matrix is used in the wild. @adrn, what do you think?

(Other than that I'm happy with this)

@adrn

adrn commented Jun 12, 2017

Copy link
Copy Markdown
Member

Well, I was a user, but I updated my code when I started getting deprecation warnings, so the system worked :)

I think it's probably fine to remove by now...

@pllim

pllim commented Jun 12, 2017

Copy link
Copy Markdown
Member

@bsipocz , io.votable LGTM. I can't imagine people would still use the old voexceptions.

@mhvk

mhvk commented Jun 12, 2017

Copy link
Copy Markdown
Contributor

@eteq - just in case you were confused by the two sets of deprecation messages: rotation_matrix was moved to utils, not removed altogether, and here we're just removing it from the old location.

@larrybradley

Copy link
Copy Markdown
Member

@bsipocz visualization LGTM. Thanks!

@nhmc

nhmc commented Jun 12, 2017

Copy link
Copy Markdown
Contributor

I will check the cosmology cases tonight, unless @aconley beats me to it.

@aconley

aconley commented Jun 12, 2017 via email

Copy link
Copy Markdown
Contributor

@nhmc

nhmc commented Jun 14, 2017 •

Copy link
Copy Markdown
Contributor

@bsipocz - Removing the cosmology deprecations seems fine to me. Thanks!

@bsipocz

bsipocz commented Jun 14, 2017

Copy link
Copy Markdown
Member Author

Now that this has got the green light from every affected subpackage, I'm going ahead and merge. Thanks for the review!

@bsipocz
bsipocz merged commit cd6510c into astropy:master Jun 14, 2017
@bsipocz bsipocz mentioned this pull request Jun 15, 2017
ntessore pushed a commit to glass-dev/cosmology that referenced this pull request Dec 7, 2020
…vals_for_20

Removing deprecations in preparation of v2.0
ntessore pushed a commit to glass-dev/cosmology that referenced this pull request Dec 8, 2020
…vals_for_20

Removing deprecations in preparation of v2.0
@bsipocz
bsipocz deleted the deprecation_removals_for_20 branch September 16, 2024 21:24
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.