Skip to content

Replace setuptools_scm with bump2version#793

Merged
brianmay merged 2 commits intosshuttle:masterfrom
venthur:replace_setuptools_scm
Sep 4, 2022
Merged

Replace setuptools_scm with bump2version#793
brianmay merged 2 commits intosshuttle:masterfrom
venthur:replace_setuptools_scm

Conversation

@venthur
Copy link
Contributor

@venthur venthur commented Aug 29, 2022

As requested in #754, this PR replaces setuptools_scm with bump2version.

You'll notice that sshuttle/version.py is now under version control, this is intentional.

How to use?

Whenever you want to bump the version just:

bumpversion patch

or

bumpversion minor

depending on which part of the version you'll want to bump. This will update the sshuttle/version.py and the setup.cfg and requires a new commit. That's all.

I wasn't sure where to add the dependency to bump2version so I added it to requirements-test.txt, assuming that this is more correct than the requirements.txt.

@venthur venthur changed the title Replace setuptools scm Replace setuptools_scm with bump2version Aug 29, 2022
Copy link
Member

@brianmay brianmay left a comment

Choose a reason for hiding this comment

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

LGTM, will leave it a bit longer in case anybody else wants to comment.

@brianmay brianmay merged commit 810b4a3 into sshuttle:master Sep 4, 2022
@venthur venthur deleted the replace_setuptools_scm branch November 17, 2022 08:42
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