Skip to main content

Python package versioning made simple

Project description

Current Version Build Status Coverage Requirements Status Vulnerabililtes Status Updates Python 3

Python package versioning made simple

NOTE: this is a fork of the original rocktavious/pyversion. This version has been upgraded to support python3.x


Feeling impatient? I like your style.

In your file

    setup_requires = ['pyversion3'],
    auto_version = True,

On the command line

python increment tag register sdist upload


If you are also using the openstack PBR package pyversion3 supports this as well just modify your file

    setup_requires = [
    pbr = True,
    auto_version = "PBR",


Download and install using pip install pyversion3


The package also comes with a cli command that can be used to determine what the current version the package sees for your package


>>> pyversion3 <name of your package>


To develop on this project, please take a fork of then and submit a pull requeest once changes are ready.

This package makes of of pipenv for installing and dependency maintainence. If publishing to pypi, rememeber to update requirements.txt and test-requirements.txt as follows:

pipenv install –dev -ignore-pipfile > requirements.txt pipenv lock –requirements > requirements.txt

Also remember to run tox in the base directory to run black, linter and other tests.

You can also run tox to perform black formatting, linting and testing. To test build and upload to use: tox -e testrelease

To build and upload to production use: tox -e release will release to pypi a new version

Travis is in use for CI, so you can also run: travis-lint .travis.yml

Or use the below to manully upload: python sdist bdist_wheel twine upload dist/*

Project details

Download files

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

Files for pyversion3, version 0.5.16
Filename, size File type Python version Upload date Hashes
Filename, size pyversion3-0.5.16-py2.py3-none-any.whl (9.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size pyversion3-0.5.16-py3.7.egg (15.7 kB) File type Egg Python version 3.7 Upload date Hashes View
Filename, size pyversion3-0.5.16.tar.gz (16.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page