Closed ab5424 closed 5 months ago
The recent updates streamline the release process for a Python project, improve coverage report conditions, include additional file types in distributions, and refine package configuration. These changes enhance deployment automation and build accuracy, with a focus on PyPI releases and repository-specific actions.
File Path | Change Summary |
---|---|
.github/workflows/release.yml , .github/workflows/test.yml |
Introduces a release workflow automating Python project releases, updates coverage report conditions. |
pyproject.toml , setup.py |
Version update, package configuration changes. |
MANIFEST.in |
Adds a directive to include all .pyx files globally. |
Objective | Addressed | Explanation |
---|---|---|
Implement release workflow for trusted release on PyPI and configure wheel builds (#346) | ✅ |
🐇✨ In the burrows of code, a rabbit hops, Through lines and files, it never stops! A new release, oh what a sight, Automated workflows make it just right. Cheers to the team, for wheels that spin, With every merge, a new journey begins! 🎉🐾
pyproject.toml (3)
`6-6`: The update to specify the package directory as "src" aligns with common practices for Python projects, ensuring a clean separation of source code from other project files. --- `9-9`: Please ensure the rationale for excluding `*musllinux*` builds is documented or communicated clearly to the team. This helps in understanding the strategic or compatibility reasons behind this decision. --- `13-13`: The version update to "0.0.1.7" is noted. Please ensure this aligns with the release tagging strategy used in the workflow to maintain consistency across releases.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 68.18%. Comparing base (
789ff42
) to head (92f5a26
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This is ready to merge. Once it is merged, a new release can be triggered by increasing the version in pyproject.toml
and then creating a release on the molara github page.
@Michel-Heinz I removed script_args=["build_ext", "--build-lib=src/"]
from the cython compilation. If this is ok, please merge this pull request.
Closes #346
Summary by CodeRabbit
New Features
.pyx
files in packaging.Enhancements
Bug Fixes
Refactor