Skip to content

MAINT: implement parts of #5220, deprecate ancient aliases - #5784

Merged
bashtage merged 1 commit into
statsmodels:masterfrom
jbrockmendel:port
Jul 12, 2019
Merged

bashtage merged 1 commit into
statsmodels:masterfrom
jbrockmendel:port

Conversation

@jbrockmendel

Copy link
Copy Markdown
Contributor

No description provided.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.003%) to 84.982% when pulling d61ddb9 on jbrockmendel:port into 22aaef4 on statsmodels:master.

@coveralls

coveralls commented May 24, 2019 •

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.01%) to 85.087% when pulling d1335ef on jbrockmendel:port into 9c59f08 on statsmodels:master.

@codecov

codecov Bot commented May 24, 2019 •

Copy link
Copy Markdown

Codecov Report

Merging #5784 into master will increase coverage by 0.01%.
The diff coverage is 97.4%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5784      +/-   ##
==========================================
+ Coverage   82.55%   82.56%   +0.01%     
==========================================
  Files         598      598              
  Lines       94496    94552      +56     
  Branches    10429    10434       +5     
==========================================
+ Hits        78009    78067      +58     
+ Misses      14074    14073       -1     
+ Partials     2413     2412       -1
Impacted Files Coverage Δ
statsmodels/tools/decorators.py 96.49% <100%> (+1.03%) ⬆️
statsmodels/tsa/vector_ar/svar_model.py 83.81% <100%> (+0.17%) ⬆️
statsmodels/tools/tests/test_decorators.py 95.74% <100%> (+4.83%) ⬆️
statsmodels/tsa/vector_ar/tests/test_var.py 94.25% <100%> (+0.16%) ⬆️
statsmodels/tsa/vector_ar/var_model.py 88.91% <87.5%> (+0.28%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9c59f08...d1335ef. Read the comment docs.

@jbrockmendel

Copy link
Copy Markdown
Contributor Author

@bashtage any thoughts here? Among other things there are similar aliases in ar_model etc that should be treated symmetrically.

__all__ = ['cache_readonly', 'cache_writable', 'deprecated_alias']


def deprecated_alias(old_name, new_name, remove_version=None, msg=None,

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.

Is this vendored from somewhere? Might be goog to make it clear in the docstring if true, in case of changes.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I implemented the original in sm2, then you made some improvements in your PR (which I may have subsequently updated the original with)

@jbrockmendel

Copy link
Copy Markdown
Contributor Author

@bashtage does the current hold on non-doc/bug preclude deprecations? Given the release cycle, getting these in under the wire can have a pretty big impact.

@bashtage

bashtage commented Jun 9, 2019

Copy link
Copy Markdown
Member

No, if they are essential.

@bashtage

Copy link
Copy Markdown
Member

Probably should have gotten this in for 0.10. Thanks. Will backport.

@bashtage
bashtage merged commit fe5a19d into statsmodels:master Jul 12, 2019
bashtage added a commit to bashtage/statsmodels that referenced this pull request Jul 12, 2019
MAINT: implement parts of statsmodels#5220, deprecate ancient aliases
@bashtage bashtage removed the backport label Jul 12, 2019
@jbrockmendel
jbrockmendel deleted the port branch July 12, 2019 13:53
bashtage added a commit that referenced this pull request Jul 12, 2019
@bashtage bashtage added this to the 0.11 milestone Dec 18, 2019
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.

3 participants