Skip to content

Remove backward-compatibility hacks for old configuration system - #4446

Merged
astrofrog merged 5 commits into
astropy:masterfrom
astrofrog:remove-config-aliases
Jan 12, 2016
Merged

astrofrog merged 5 commits into
astropy:masterfrom
astrofrog:remove-config-aliases

Conversation

@astrofrog

Copy link
Copy Markdown
Member

This addresses #2767

  • fix tests
  • changelog entry
  • send a warning email to astropy-dev to warn that the configuration items in affiliated packages will need to be updated in order to be compatible with Astropy 1.2

The package template didn't actually use the old configuration system (it didn't have any example configuration items at all). So astropy/package-template#57 doesn't actually have to be merged yet (or at all), so we can focus on finishing up this PR first, and then we can consider separately whether to include an example in the package template.

@astrofrog astrofrog added this to the v1.2.0 milestone Jan 7, 2016
Comment thread astropy/vo/client/vos_catalog.py Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is either incorrect or confusing. This conf is most likely the one imported in Line 20, which is from io.votable, not utils.data. Also at some other places in the same module, conf is overwritten by from .. import conf. I think the conf import lines need some clean up.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yes, I've fixed this in an upcoming commit

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Okay, thanks! 👍

@embray

embray commented Jan 7, 2016

Copy link
Copy Markdown
Member

Haven't looked at the code changes yet but 👍 from me in principle.

@astrofrog

Copy link
Copy Markdown
Member Author

I sent a message to astropy-dev about this and gave a deadline of Monday to merge this if all tests pass.

@bsipocz

bsipocz commented Jan 7, 2016

Copy link
Copy Markdown
Member

@astrofrog - This (and the other PRs opened today) will close #3500, too.

@astrofrog

Copy link
Copy Markdown
Member Author

The tests are passing, so this is now ready for review.

@embray

embray commented Jan 8, 2016

Copy link
Copy Markdown
Member

PRs that remove an order of magnitude more code than they add are the best. Looks good to me.

@eteq

eteq commented Jan 11, 2016

Copy link
Copy Markdown
Member

👍 from me!

@astrofrog
astrofrog force-pushed the remove-config-aliases branch from 99791b7 to c601ea1 Compare January 12, 2016 11:05
@astrofrog

Copy link
Copy Markdown
Member Author

Had to rebase due to a changelog entry conflict, but will then merge.

@astrofrog

Copy link
Copy Markdown
Member Author

There have been no objections raised on astropy-dev. Merging!

astrofrog added a commit that referenced this pull request Jan 12, 2016
Remove backward-compatibility hacks for old configuration system
@astrofrog
astrofrog merged commit ee403ea into astropy:master Jan 12, 2016
@embray

embray commented Jan 12, 2016

Copy link
Copy Markdown
Member

I like to remove "Ready-for-final-review" after it's been closed. Though it mostly doesn't matter.

@astrofrog
astrofrog deleted the remove-config-aliases branch July 5, 2016 18:46
ntessore pushed a commit to glass-dev/cosmology that referenced this pull request Dec 7, 2020
…aliases

Remove backward-compatibility hacks for old configuration system
ntessore pushed a commit to glass-dev/cosmology that referenced this pull request Dec 8, 2020
…aliases

Remove backward-compatibility hacks for old configuration system
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants