Skip to content
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

✨ Adopt PEP 735 dependency groups #530

Merged
merged 5 commits into from
Jan 7, 2025
Merged

✨ Adopt PEP 735 dependency groups #530

merged 5 commits into from
Jan 7, 2025

Conversation

burgholzer
Copy link
Member

Description

This PR updates the project to use the dependency groups feature that was proposed in PEP 735 and is available in uv since 0.4.27 in favour of optional dependencies.
It adds three explicit dependency groups:

  • build, containing the build time dependencies,
  • test, containing the test dependencies (including coverage), and
  • docs, containing the docs dependencies.

In addition,

  • enables testing on Python 3.13 (after some dependency adjustments),
  • updates lower bounds for many development dependencies, and
  • refactors the nox sessions as well as the RtD script to take advantage of the new dependency groups.

Checklist:

  • The pull request only contains commits that are related to it.
  • I have added appropriate tests and documentation.
  • I have made sure that all CI jobs on GitHub pass.
  • The pull request introduces no new warnings and follows the project's style guidelines.

@burgholzer burgholzer self-assigned this Jan 7, 2025
@burgholzer burgholzer added dependencies Pull requests that update a dependency file python Anything related to Python code packaging Anything related to Python packaging labels Jan 7, 2025
@burgholzer burgholzer merged commit 0ed735c into main Jan 7, 2025
32 checks passed
@burgholzer burgholzer deleted the dependency-groups branch January 7, 2025 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file packaging Anything related to Python packaging python Anything related to Python code
Projects
Status: Done
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant