Skip to content

Conversation

@JeremieGince
Copy link
Owner

@JeremieGince JeremieGince commented Nov 2, 2025

Description

This pull request updates the release workflow in .github/workflows/build_dist.yml to improve dependency management and clarify the order of publishing and merging steps. The main changes ensure that the uv.lock file is kept up to date and committed alongside pyproject.toml, and reorders the PyPI publish step to occur after merging changes from main to dev.

Dependency and version management improvements:

  • Added a uv lock step after bumping the version to ensure the uv.lock file is updated whenever pyproject.toml changes.
  • Modified the commit step to add uv.lock to the commit, so both pyproject.toml and uv.lock are updated together in version control.

Workflow step reordering:

  • Moved the "Publish distribution to PyPI" step to after the merge from main to dev, clarifying the intended release order. The step is still disabled with if: false and a TODO comment. [1] [2]

Checklist

Please complete the following checklist when submitting a PR. The PR will not be reviewed until all items are checked.

  • All new features include a unit test.
    Make sure that the tests passed and the coverage is
    sufficient by running pytest tests --cov=src --cov-report=term-missing.
  • All new functions and code are clearly documented.
  • The code is formatted using Black.
    You can do this by running black src tests.
  • The imports are sorted using isort.
    You can do this by running isort src tests.
  • The code is type-checked using Mypy.
    You can do this by running mypy src tests.

github-actions bot and others added 3 commits October 17, 2025 15:14
The workflow now runs 'uv lock' after bumping the version and adds 'uv.lock' to the commit. The PyPI publish step was moved to the end of the job for better organization.
@github-actions
Copy link
Contributor

github-actions bot commented Nov 2, 2025

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
21 21 100% 98% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: b79a09d by action🐍

@JeremieGince JeremieGince merged commit 7f331d4 into main Nov 2, 2025
8 checks passed
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