A simple version based on git for setuptools.
Reason this release was yanked:
not work
Project description
A simple version based on git for setuptools.
If there have been no commits or uncommitted changes since the most recent tag, the version from the tag is used as the project version.
If the latest tag is final release, then the last part is incremented by 1 and alpha 0 is added.
If the latest tag is pre-release, the pre-release number is incremented by 1.
used:
- add "gitversion_simple" in build-system.requires (in pyproject.toml)
[build-system] requires = [ "setuptools>=81.0.0", "gitversion_simple~=1.0", ]
- add in pyproject.toml
[tool.versioningit.next-version] method = "simple" [tool.versioningit.format] method = "simple"
examples:
| last tag | version |
|---|---|
| v1.0.0 | 1.0.1 |
| v1.0.0a1 | 1.0.0a2 |
| v1.0.0b2 | 1.0.0b3 |
| v1.0 | 1.1 |
| v1.2.3.4 | 1.2.3.5 |
| v26.1 | 26.2 |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gitversion_simple-1.0.0.tar.gz.
File metadata
- Download URL: gitversion_simple-1.0.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa3317329186359f76d6f5ac9024d86e7fb96c616ca6d8aed0ce7db9638275fd
|
|
| MD5 |
7474fbac9df3ff636cea385e7abbbd61
|
|
| BLAKE2b-256 |
b80891a95450130869c8de17c755c014f82af93d00469f5adbc19e39464a543a
|
Provenance
The following attestation bundles were made for gitversion_simple-1.0.0.tar.gz:
Publisher:
release.yml on zedzhen/gitversion_simple
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gitversion_simple-1.0.0.tar.gz -
Subject digest:
fa3317329186359f76d6f5ac9024d86e7fb96c616ca6d8aed0ce7db9638275fd - Sigstore transparency entry: 1711957584
- Sigstore integration time:
-
Permalink:
zedzhen/gitversion_simple@cdec7f3d036dc4d48fee472f476d49476c15cc35 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/zedzhen
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@cdec7f3d036dc4d48fee472f476d49476c15cc35 -
Trigger Event:
release
-
Statement type:
File details
Details for the file gitversion_simple-1.0.0-py3-none-any.whl.
File metadata
- Download URL: gitversion_simple-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14e0fadf4163a49b6fcc9cfa0b02fbf9bfb95127ac5c3da4c204774e333d327e
|
|
| MD5 |
16b8a7e9ce273b42ad33314d5fd66b98
|
|
| BLAKE2b-256 |
989a92d2d3fcebd1f706a77305dac5ecf89aee2934e4d038bea90050d4a3b6fa
|
Provenance
The following attestation bundles were made for gitversion_simple-1.0.0-py3-none-any.whl:
Publisher:
release.yml on zedzhen/gitversion_simple
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gitversion_simple-1.0.0-py3-none-any.whl -
Subject digest:
14e0fadf4163a49b6fcc9cfa0b02fbf9bfb95127ac5c3da4c204774e333d327e - Sigstore transparency entry: 1711957611
- Sigstore integration time:
-
Permalink:
zedzhen/gitversion_simple@cdec7f3d036dc4d48fee472f476d49476c15cc35 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/zedzhen
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@cdec7f3d036dc4d48fee472f476d49476c15cc35 -
Trigger Event:
release
-
Statement type: