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

Update references to setup.py #142

Merged
merged 5 commits into from
Apr 26, 2024
Merged

Update references to setup.py #142

merged 5 commits into from
Apr 26, 2024

Conversation

MattiSG
Copy link
Member

@MattiSG MattiSG commented Apr 25, 2024

Following #139, setup.py was replaced by pyproject.toml.
However, some workflow files were not updated to reflect that change. While correcting this problem, I identified another one where workflows fail after bootstrapping. This changeset:

  • Updates every reference to setup.py in the codebase.
  • Ensures that there is always at least one tag in the repository after bootstrapping, preventing failure in workflows that expect tags.
  • Sets the version number to 0.0.1 upon bootstrapping, matching the value in the CHANGELOG.

To be noted: this is the first PR towards main, which currently is aligned with master. This pull request should thus, upon merge, trigger the deployment workflow. Since #139 changed the condition for deployment to being on the main branch but the main branch was not updated, version 7.0.0 has still not been published.

Upon initial setup, there might be no tag
This entails a risk when a merge to main is made without a tag, but this is a workflow failure that is not supposed to happen
Ensure that a first version is tagged
@MattiSG MattiSG requested a review from verbman April 25, 2024 16:26
Copy link
Contributor

@verbman verbman left a comment

Choose a reason for hiding this comment

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

Nice idea adding tag to bootstrap.

@MattiSG MattiSG merged commit 664ac0d into main Apr 26, 2024
7 checks passed
@MattiSG MattiSG deleted the update-setuppy branch April 26, 2024 01:26
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