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

skip testing type versions not in any deployed standard #1253

Conversation

braingram
Copy link
Contributor

Modifies _assert_extension_type_correctness to skip checking type versions that are not part of a non-development supported version of the asdf-standard.

Two other tests are added test_default_in_supported_versions and test_development_is_not_default to catch possible errors where the default is set to a non-supported (or development) version.

As this PR will skip testing completeness (that a type has a schema of the same version) of type versions that are only in development version, it's possible that updating the development version of the asdf-standard will cause test failures if the schema and type versions do not match. Put another way, a PR that advances the asdf-standard development version might reveal and then have to fix these type/schema version issues.

This should allow PR #1250 to pass CI without an asdf-standard release.

@braingram
Copy link
Contributor Author

It might make more sense to add this to #1250 so we can verify it passes CI.

If the CI here passes we'll at least have confirmation that it didn't add any new failures to the master branch.

asdf/tests/helpers.py Outdated Show resolved Hide resolved
@braingram braingram force-pushed the testing/skip_development_version_types branch 2 times, most recently from c24b747 to 23b6b98 Compare December 9, 2022 21:01
@braingram
Copy link
Contributor Author

PR #1255 (the combination of this PR and #1250) passed CI which suggests that the changes included in this PR should be sufficient to allow #1250 CI to pass.

@braingram braingram force-pushed the testing/skip_development_version_types branch from 23b6b98 to ea19f3a Compare December 13, 2022 17:31
@WilliamJamieson
Copy link
Contributor

close/reopen to attempt to reset doc build

@braingram braingram closed this Dec 13, 2022
@braingram braingram reopened this Dec 13, 2022
@WilliamJamieson WilliamJamieson merged commit 3cfb47b into asdf-format:master Dec 13, 2022
@braingram braingram deleted the testing/skip_development_version_types branch December 13, 2022 21:35
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.

2 participants