Skip to content

Conversation

@KinzaQamar
Copy link
Contributor

@KinzaQamar KinzaQamar commented Sep 15, 2025

The configurations added in pyproject.toml and the workflow release.yml together will create a github release in the following manner:

  1. Determine the version number according to the commit parsers present in pyproject.toml and create the tag.
  2. Make a major, minor, or patch release.
  3. Write the tag number into pyproject.toml
  4. Commit the modified pyproject.toml in step 4.

Closes #4.

@KinzaQamar KinzaQamar marked this pull request as draft September 15, 2025 13:49
@KinzaQamar KinzaQamar force-pushed the py_semver branch 2 times, most recently from 3cc5e06 to c97a0d2 Compare September 28, 2025 22:46
@KinzaQamar KinzaQamar marked this pull request as ready for review September 28, 2025 22:47
@KinzaQamar
Copy link
Contributor Author

This PR is reviewable now

@KinzaQamar KinzaQamar changed the title Utilizing Python Semantic Release for releasing and versioning Utilization of python-semantic-release for versioning and publishing the release of DVSim Sep 28, 2025
@KinzaQamar KinzaQamar force-pushed the py_semver branch 12 times, most recently from 015f1e6 to c4a6649 Compare September 29, 2025 21:14
@KinzaQamar KinzaQamar marked this pull request as draft September 29, 2025 21:20
@KinzaQamar KinzaQamar marked this pull request as ready for review September 30, 2025 13:59
Copy link
Collaborator

@machshev machshev left a comment

Choose a reason for hiding this comment

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

Looks good to me! Thanks @KinzaQamar
We can build on this to get automatic pypi package build and release.

@machshev machshev requested a review from rswarbrick September 30, 2025 16:37
Copy link
Contributor

@rswarbrick rswarbrick left a comment

Choose a reason for hiding this comment

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

This is neat!

@KinzaQamar KinzaQamar marked this pull request as draft September 30, 2025 19:36
These will be consumed by python-semantic-release to
make a release.

Signed-off-by: Kinza Qamar <kqzaman@lowrisc.org>
If the action is successful, it will:
1) Determine the next version number
2) Create a tag and make a github release
3) Write the version number in pyproject.toml and made
   that a commit

Signed-off-by: Kinza Qamar <kqzaman@lowrisc.org>
@KinzaQamar KinzaQamar marked this pull request as ready for review September 30, 2025 19:46
@KinzaQamar KinzaQamar changed the title Utilization of python-semantic-release for versioning and publishing the release of DVSim Utilization of python-semantic-release for versioning and publishing releases Oct 1, 2025
@machshev machshev merged commit fc763d4 into lowRISC:master Oct 1, 2025
6 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.

[RFC] Versioning strategy and release process

3 participants