Conversation
|
📄 Documentation for this branch is available at: https://ncar.github.io/musica/branch/650-update-python-packaging/ |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #662 +/- ##
=======================================
Coverage 78.24% 78.24%
=======================================
Files 54 54
Lines 6857 6857
=======================================
Hits 5365 5365
Misses 1492 1492 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull Request Overview
This PR restructures the Python package by moving tests and bindings outside of the python/musica directory to ensure only Python source code is packaged. This addresses PyPI packaging warnings and includes an integrity check to prevent future violations.
- Relocates test files and bindings from
python/musicato sibling directories - Updates CMake configuration to reflect new directory structure
- Adds wheel integrity validation to CI pipeline
Reviewed Changes
Copilot reviewed 8 out of 45 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| python/test/unit/test_parser.py | Updates test file paths to reflect relocated test examples |
| python/musica/examples/sulfate_box_model.py | Moves matplotlib import into function scope to fix macOS Python 3.9 test failure |
| python/musica/CMakeLists.txt | Removes CMake configuration (file deleted) |
| python/bindings/CMakeLists.txt | Adds setup_musica_target include and PY_MODULES definition previously in musica/CMakeLists.txt |
| python/CMakeLists.txt | Updates to reference bindings subdirectory instead of musica |
| pyproject.toml | Updates dependencies, build scripts paths, and supported Python versions |
| .github/workflows/python-wheels.yml | Adds wheel RECORD integrity validation step |
| .github/workflows/python-tests.yml | Updates repair_wheel_windows.sh script path |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
@boulderdaze do you have a preference for folder names? Our current structure with this PR is this Top level has |
The code in the bindings directory does binding work, so I think it’s more explicit and clear to keep it named that way. It reflects what the code does. |
It would be to rename |
closes #650
python/musica