Skip to main content

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:

  1. add "gitversion_simple" in build-system.requires (in pyproject.toml)
        [build-system]
    requires = [
        "setuptools>=81.0.0",
        "gitversion_simple~=1.0",
    ]
    
  2. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gitversion_simple-1.0.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gitversion_simple-1.0.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

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

Hashes for gitversion_simple-1.0.0.tar.gz
Algorithm Hash digest
SHA256 fa3317329186359f76d6f5ac9024d86e7fb96c616ca6d8aed0ce7db9638275fd
MD5 7474fbac9df3ff636cea385e7abbbd61
BLAKE2b-256 b80891a95450130869c8de17c755c014f82af93d00469f5adbc19e39464a543a

See more details on using hashes here.

Provenance

The following attestation bundles were made for gitversion_simple-1.0.0.tar.gz:

Publisher: release.yml on zedzhen/gitversion_simple

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gitversion_simple-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for gitversion_simple-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 14e0fadf4163a49b6fcc9cfa0b02fbf9bfb95127ac5c3da4c204774e333d327e
MD5 16b8a7e9ce273b42ad33314d5fd66b98
BLAKE2b-256 989a92d2d3fcebd1f706a77305dac5ecf89aee2934e4d038bea90050d4a3b6fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for gitversion_simple-1.0.0-py3-none-any.whl:

Publisher: release.yml on zedzhen/gitversion_simple

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page