-
Notifications
You must be signed in to change notification settings - Fork 14
chore: Update pyproject.toml to use PEP 735 dependency groups #158
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #158 +/- ##
=======================================
Coverage 91.46% 91.46%
=======================================
Files 11 11
Lines 1711 1711
=======================================
Hits 1565 1565
Misses 146 146 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates dependency versions and enhances project metadata to improve compatibility and performance. Key changes include updated dependency version specifications in pyproject.toml, a refactoring of dependency groups with clear separation for test, docs, and dev, and improvements to the GitHub Actions workflow to leverage the latest uv installation method.
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
File | Description |
---|---|
pyproject.toml | Updates to dependency versions, dependency groups reorganization, and metadata tweaks |
.github/workflows/build.yml | Adjustments to workflow configuration including action version updates and step refinements |
Comments suppressed due to low confidence (4)
pyproject.toml:33
- The Python version requirement has been updated to >=3.11; please verify that the project documentation is also updated to reflect this change.
requires-python = ">=3.11"
pyproject.toml:36
- The updated pyarrow version (>=20.0.0) marks a significant jump; ensure that all usages of its API across the project are compatible with potential breaking changes in this major release.
"pyarrow>=20.0.0"
.github/workflows/build.yml:52
- [nitpick] While the step name clearly indicates its purpose, consider adding an inline comment explaining the rationale for splitting the installation into two commands for maintainability.
Install mesa-frames + dev dependencies
.github/workflows/build.yml:30
- The change to lower-case boolean style (false) should be confirmed against the expected YAML schema for GitHub Actions to ensure consistency with other workflows.
fail-fast: false
This pull request introduces several updates to the build workflow and project configuration, focusing on improving dependency management, streamlining the build process, and ensuring compatibility with updated tools. The most significant changes include enhancements to the GitHub Actions workflow, updates to dependency versions in
pyproject.toml
, and restructuring of optional dependency groups.Build Workflow Improvements:
.github/workflows/build.yml
to use theastral-sh/setup-uv
action for installinguv
, and restructured installation steps for better clarity and maintainability.fail-fast
strategy in the matrix configuration and standardized the use of single quotes for Python version strings.Dependency Updates:
pyproject.toml
, includingpolars
(from>=1.0.0
to>=1.30.0
),pyarrow
(to>=20.0.0
), and others in thetest
,docs
, anddev
groups.requires-python = ">=3.11"
to ensure compatibility with Python 3.11 and later.Dependency Group Restructuring:
pyproject.toml
(e.g.,test
,docs
,dev
) to follow PEP 735 standards, improving clarity and maintainability. Groups now include explicit version constraints and references to other groups where applicable.Hatch and
uv
Configuration:tool.hatch.envs
section inpyproject.toml
to define environments for testing, documentation, and development. Added atool.uv
section to configureuv
as the default installer for speed and efficiency.Minor Formatting Changes:
keywords
array inpyproject.toml
for better readability by consolidating entries into a single line.Enhance project metadata inpyproject.toml
anduv.lock
by updating dependency versions and improving version specifications for better compatibility and performance.