Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 16, 2026

Bumps setuptools-git-versioning from 2.1.0 to 3.0.0.

Release notes

Sourced from setuptools-git-versioning's releases.

v3.0.0 (2026-01-16)

Breaking

  • Make most of args in version_from_git keyword-only.
  • Change return type of version_from_git and infer_version from str to packaging.version.Version.
  • Timestamps in version templates are now timezone-aware.

Refactoring

  • Split setuptools_git_versioning.py into smaller set of files.
  • Do not use Popen(shell=True) anymore.
  • Switch from setup.py to pyproject.toml.
  • Switch from pip to uv, use lock files.
  • Switch from black + isort + pyupgrade to ruff format.
  • Switch from flake8 to ruff.
  • Switch from pre-commit to prek.

Bug Fixes

  • Fix calling get_version(root=...) in combination with version-file strategy - relative file version was resolved against os.cwd, not explicitly passed root.
  • Fix epoch versions like 0!2025.12.3 were wrongly converted to 0.2025.12.3 (#122).
  • Using version_file-based schema with shallow git clone lead to version numbers like 1.2.3.postNone, now it is 1.2.3.post0 (#104).
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [setuptools-git-versioning](https://github.com/dolfinus/setuptools-git-versioning) from 2.1.0 to 3.0.0.
- [Release notes](https://github.com/dolfinus/setuptools-git-versioning/releases)
- [Commits](dolfinus/setuptools-git-versioning@v2.1.0...v3.0.0)

---
updated-dependencies:
- dependency-name: setuptools-git-versioning
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant