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

Avoid dirtying the worktree #22

Merged
merged 1 commit into from
Nov 3, 2023
Merged

Avoid dirtying the worktree #22

merged 1 commit into from
Nov 3, 2023

Conversation

Wuestengecko
Copy link
Member

Patching the pyproject.toml file like before led to a dirty worktree, which caused setuptools-scm to always generate dev versions even when making wheels for a tag.

This commit refactors the CI so that patching the pyproject.toml file is no longer necessary. The (yet) private dependency project will be install directly from the Github repository as additional step before installing the rest of the test dependencies, and the Gitlab pipelines don't need to do anything special because they pull from an internal repository which hosts the dependency package.

Patching the pyproject.toml file like before led to a dirty worktree,
which caused setuptools-scm to always generate dev versions even when
making wheels for a tag.

This commit refactors the CI so that patching the pyproject.toml file is
no longer necessary. The (yet) private dependency project will be
install directly from the Github repository as additional step before
installing the rest of the test dependencies, and the Gitlab pipelines
don't need to do anything special because they pull from an internal
repository which hosts the dependency package.
@Wuestengecko Wuestengecko requested a review from ewuerger October 26, 2023 09:22
@Wuestengecko Wuestengecko changed the title ci: Avoid dirtying the worktree Avoid dirtying the worktree Oct 26, 2023
Copy link
Member

@ewuerger ewuerger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@ewuerger ewuerger merged commit 9d1d890 into main Nov 3, 2023
5 checks passed
@ewuerger ewuerger deleted the dirty-ci branch November 3, 2023 10:58
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