Setuptools-git-versioning

Latest version: v2.0.0

Safety actively analyzes 630305 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 10

07.08.2020

.. change::
:tags: core, feature

Add ``branch`` substitution support

.. changelog::
:version: 1.1.3

07.01.2022

.. change::
:tags: general, breaking
:pullreq: 37

Drop Python 3.3 and 3.4 support

.. change::
:tags: general, deprecated

Python 2.7, 3.5 and 3.6 support is deprecated due to their end of life.

.. change::
:tags: core, deprecated

``get_branch_tags`` function is renamed to ``get_tags``.

It will be removed in ``2.0.0`` release. A warning message is added

.. change::
:tags: config, deprecated

``version_config`` keyword in ``setup.py`` is renamed to ``setuptools_git_versioning``.

It will be removed in ``2.0.0`` release. A warning message is added

.. change::
:tags: config, deprecated

Prefer using ``"enabled": True`` / ``"enabled": False`` option
instead of pure boolean values (``True``, ``False``) for config.

Old behavior is deprecated and will be removed in ``2.0`` version. A warning message is added

.. change::
:tags: core, feature
:pullreq: 37
:tickets: 35

Add support of reading config from ``pyproject.toml``.

Thanks to :github-user:`Bloodmallet`

.. change::
:tags: core, feature

Allow to pass regexp to ``branch_formatter`` option

.. change::
:tags: core, feature
:tickets: 31

Add ``tag_formatter`` option

.. change::
:tags: core, feature

Allow nested default values to be passed to ``env`` substitution

.. change::
:tags: tests, feature

Add integration tests

.. change::
:tags: ci, feature

Check test coverage and fail if it has been decreased

.. change::
:tags: ci, feature

Build docs using ReadTheDocs project

.. change::
:tags: docs, feature

Major docs improvement

.. change::
:tags: docs, feature

Added CHANGELOG.rst

.. change::
:tags: docs

Add ``miniver`` and ``versioningit`` to comparison table

04.02.2021

.. change::
:tags: ci, bug
:pullreq: 7

Fix release workflow

.. change::
:tags: ci, feature
:pullreq: 7

Add some issue and PR automatization

.. change::
:tags: core, bug
:tickets: 8

Fix Windows compatibility

.. changelog::
:version: 1.2.9

03.09.2022

.. change::
:tags: core, feature
:tickets: 58

Add ``setuptools-git-versioning`` script to infer version from ``pyproject.toml`` config

.. change::
:tags: core, feature

Check Python 3.11 support

.. changelog::
:version: 1.10.0

02.10.2022

.. change::
:tags: core, feature
:tickets: 58

Allow ``setuptools-git-versioning`` script to infer version from ``setup.py`` if ``pyproject.toml`` is missing

.. change::
:tags: core, breaking

Raise error if ``pyproject.toml`` exists, but is not a file

.. change::
:tags: core, feature

Add ``cwd`` argument to most of functions, allowing to get versions of a specific repo without changing current directory

.. change::
:tags: dev, feature

Add info and debug messages to the module

.. change::
:tags: docs, feature
:tickets: 58

Add documentation for ``setuptools-git-versioning`` script

.. change::
:tags: tests, refactoring

Use builtin type annotations (instead of type comments) in ``tests/lib/util.py``,
use modern annotations syntax (``type | None`` instead of ``Optional[type]``)

2.0

---

.. changelog::
:version: 2.0.0

Page 7 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.