Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #430 +/- ##
=======================================
Coverage 87.27% 87.27%
=======================================
Files 52 52
Lines 6461 6461
Branches 717 717
=======================================
Hits 5639 5639
Misses 803 803
Partials 19 19
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ 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 aims to make the Python packaging/build setup compatible with uv by moving most package metadata into pyproject.toml, simplifying setup.py, and updating CI workflows (including adding a new uv validation job).
Changes:
- Migrate package metadata (name, dependencies, classifiers, URLs, etc.) from
setup.pytopyproject.toml(PEP 621), keepingsetup.pyfocused on the CMake extension build. - Add a
uv-validatejob to the PyPI workflow to validateuv build, source installs, and editable installs prior to building/publishing artifacts. - Update GitHub Actions workflow dependencies (e.g.,
actions/checkout,actions/setup-python,actions/upload-artifact) across CI/CD workflows.
Reviewed changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| setup.py | Removes most packaging metadata, leaving extension build + version extraction. |
| pyproject.toml | Adds PEP 621 project metadata and setuptools package discovery configuration for uv/PEP 517 builds. |
| .github/workflows/pypi.yml | Adds uv-validate job and updates actions versions across build/publish jobs. |
| .github/workflows/ruff.yml | Updates actions versions used for Ruff formatting/linting. |
| .github/workflows/pytest.yml | Updates checkout action version for the test workflow. |
| .github/workflows/gh-pages.yml | Updates checkout action version for docs deployment. |
| .github/workflows/flawfinder.yml | Updates checkout action version for security scanning workflow. |
| .github/workflows/codeql.yml | Updates checkout action version for CodeQL workflow. |
| .github/workflows/codacy.yml | Updates checkout action version for Codacy workflow. |
| .github/workflows/cmake_tests.yml | Updates checkout action version for CMake tests workflow. |
| .github/workflows/cmake_examples.yml | Updates checkout action version for CMake examples workflow. |
| .github/workflows/clang_format.yml | Updates checkout action version for clang-format workflow. |
| .github/workflows/binding.yml | Updates checkout/setup-python action versions for binding build workflow. |
| .github/workflows/benchmark_release.yml | Updates checkout action version for benchmark workflow. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.