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

Replace Poetry with uv for dependency management and workflows #612

Open
wants to merge 24 commits into
base: main
Choose a base branch
from

Conversation

cpaniaguam
Copy link
Collaborator

@cpaniaguam cpaniaguam commented Dec 17, 2024

This pull request includes significant changes to the setup and configuration of the Python environment for the repository, as well as updates to the documentation and dependency management. The most important changes include the replacement of Poetry with uv, consolidation of test workflows, and updates to the pyproject.toml file.

Environment Setup and Workflow Changes:

  • .github/setup-env/action.yml: Created a new action to set up the Python environment using uv instead of Poetry.
  • .github/workflows/build_and_publish.yml: Consolidated the test workflows into a single run_tests job and replaced Poetry commands with uv commands. [1] [2]
  • .github/workflows/build_docs.yml, .github/workflows/linting_and_type_checking.yml, .github/workflows/run_tests.yml: Updated to use the new setup-env action and replaced Poetry commands with uv commands. [1] [2] [3]

Dependency Management:

  • pyproject.toml: Switched from Poetry to hatchling for build management, restructured dependencies, and updated the format to align with PEP 621. [1] [2]

Documentation Updates:

@AlexanderFengler
Copy link
Collaborator

@cpaniaguam this implies using uv all the way or specific to github workflows?

@cpaniaguam
Copy link
Collaborator Author

@cpaniaguam this implies using uv all the way or specific to github workflows?

@AlexanderFengler I think all the way!

Copy link

codecov bot commented Dec 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

see 31 files with indirect coverage changes

@cpaniaguam cpaniaguam self-assigned this Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants