-
Notifications
You must be signed in to change notification settings - Fork 60
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
deprecation asdf.extension legacy functions #1409
deprecation asdf.extension legacy functions #1409
Conversation
7925b8c
to
556ca26
Compare
3db9378
to
3644b9d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a simplifying thought
3644b9d
to
9872c60
Compare
deprecates: - default_extensions - get_default_resolver - get_cached_asdf_extension_list
pytest_asdf was accessing asdf.extensions.default_extensions and then accessing the resolver attribute and passing it to load_schema as the resolver argument. This produces a resolver argument that is identical to the default. This commit removes the uneeded work and instead allows use of the identical default.
astropy tests named test_backwards_compat in astropy/io/misc/asdf/tags/fits/tests/test_fits.py and astropy/io/misc/asdf/tags/table/tests/test_table.py fail due to use of default_extensions in astropy/io/misc/asdf/tags/tests/helpers.py
9872c60
to
67eb3f3
Compare
for more information, see https://pre-commit.ci
To avoid confusion in |
At the moment I don't object to waiting. I started #1429 based off the changes included in this PR. Are there changes requested? If not, I will mark #1429 as ready for review and update #1361 based off the changes in #1429. |
This is ready aside from waiting for the astropy PR to clear. |
deprecates several helper functions/attributes exposed via
asdf.extensions
that are related to only the legacy extension api: