Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always warn for deprecated call #3499

Merged
merged 2 commits into from
Sep 22, 2019
Merged

Always warn for deprecated call #3499

merged 2 commits into from
Sep 22, 2019

Conversation

jlstevens
Copy link
Contributor

Looks like the last release still had the warning behind the util.config.future_deprecations flag. This PR makes sure the warning is always issued so we can finally remove __call__ immediately after the next release.

@jlstevens
Copy link
Contributor Author

jlstevens commented Feb 15, 2019

Probably worth grepping the travis logs for the warning in case it was missed anywhere internally (doubt it!)

@philippjfr
Copy link
Member

Just to double check, you are aware that this is Dimension.__call__ and not Dimensioned.__call__ right? This warning was indeed newly added in 1.11 afaik so enabling it in a micro release seems wrong.

@philippjfr philippjfr added this to the v1.12.0 milestone Feb 16, 2019
@jlstevens
Copy link
Contributor Author

jlstevens commented Feb 18, 2019

Oops yes and util.config.warn_options_call was True in 1.11.

4cf6729 restores Dimension and removes __call__ from Dimensioned entirely.

@jlstevens
Copy link
Contributor Author

Even if the tests go green, this PR doesn't need to be merged just yet as we will probably have another minor release first.

@philippjfr philippjfr modified the milestones: v1.12.0, v1.12.x Apr 22, 2019
@philippjfr philippjfr force-pushed the call_options_deprecation branch 2 times, most recently from 76628c5 to a9cd6a3 Compare September 22, 2019 19:30
@philippjfr
Copy link
Member

I've restored the method and am now merging. The fact that we never actually enabled the warning means that we can't remove it yet.

@philippjfr philippjfr merged commit bdc26eb into master Sep 22, 2019
@philippjfr philippjfr modified the milestones: v1.12.x, v1.12.6 Sep 22, 2019
@philippjfr philippjfr deleted the call_options_deprecation branch October 2, 2019 17:10
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants