Timeline for removal of deprecated astropy.tests.pytest_plugins
See original GitHub issueImporting from astropy.tests.pytest_plugins
was officially deprecated in the 3.0 release, but has been maintained for backwards compatibility (see #6606 and specifically c16c2fa).
However, the discussion on https://github.com/astropy/pytest-doctestplus/issues/22 seems to indicate that imports of the form from astropy.tests import pytest_plugins
are definitively broken with recent versions of pytest
.
This raises a question: should we move forward with the removal of the astropy.tests.pytest_plugins
submodule earlier than we would for other deprecations?
cc @nicoddemus
Issue Analytics
- State:
- Created 5 years ago
- Comments:21 (21 by maintainers)
Top Results From Across the Web
Removal of deprecated astropy.tests.pytest_plugins ... - GitHub
Hi, My recent commits in PR #659 passed almost all the tests that should be have been passed except for the Travis CI....
Read more >Full Changelog — Astropy v5.2
The deprecated private astropy._erfa module has been removed. Use pyerfa , which is a dependency of astropy and can be imported directly using...
Read more >Deprecations and Removals — pytest documentation
This page lists all pytest features that are currently deprecated or have been removed in past major releases. The objective is to give...
Read more >Full Changelog — Astropy v3.2.dev994
The astropy.io.fits.new_table function is now fully deprecated (though will not be removed for a long time, considering how widely it is used). Instead...
Read more >pytest Documentation - Read the Docs
when deprecated warnings are effectively removed. However, in the specific case where users capture any type of warnings in their test, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I suppose that’s the only solution as we are not suppose to remove any API from LTS.
I suspect the only up-to-date users of LTS is the CI for the affiliated packages 😉
@pllim at that time it was not clear (or I was not paying attention) that this would be completely broken by
pytest-4.0
and/or when exactly 4.0 would be released. So in light of that information, I think it should be removed as soon as possible.