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

Add support for ndarray 1.1 and fix issue #1245 #1246

Closed

Conversation

braingram
Copy link
Contributor

This PR fixes #1245 by removing the use of super in NDArrayType and adding an exception to check for incompatible use of super in classes of type ExtensionTypeMeta.

One test is failing locally:

FAILED asdf/tests/test_extension.py::test_builtin_extension - AssertionError: NDArrayType supports tag, tag:stsci.edu:asdf/core/ndarray-1...

due to the missing schema added in this PR: asdf-format/asdf-standard#350 As that PR is failing due to missing support added in this PR there appears to be no way to have either pass prior to merging without skipping tests.

Additional changes to asdf will be required to fully support asdf-format/asdf-standard#350 including an update to add supported_versions to IntegerType. This should be left as a draft until a full set of PRs is ready.

@braingram
Copy link
Contributor Author

Closing this in favor of PR #1250

@braingram braingram closed this Nov 29, 2022
@braingram braingram deleted the bug/ndarray_supported_versions branch February 20, 2023 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NDArrayType does not allow for supported_versions
1 participant