Merged
Conversation
Rename array_utils, common, wcs_utils at the top level, and all public subpackage modules (core, high_level, utils, etc.) to have underscore prefixes, making them private implementation details.
Add deprecation shim files at the old module paths that emit AstropyDeprecationWarning when imported, then re-export from the private modules. Update all internal imports (within the package and tests) to use the private module names directly.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #591 +/- ##
==========================================
- Coverage 91.06% 87.49% -3.58%
==========================================
Files 30 49 +19
Lines 1858 1935 +77
==========================================
+ Hits 1692 1693 +1
- Misses 166 242 +76 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Cadair
approved these changes
Mar 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR moves many of the submodules which should be private to include leading underscores, and adds backward compatibility imports with deprecation warnings.
GitHub is not doing a good job at showing the changes - things are much clearer if you look at each individual commit.
@Cadair @svank - could you check what you think about this and whether this impacts any of the code/packages you have already?