setuptools-scm-git-archive
setuptools_scm plugin for git archives
What it is and what it does
setuptools_scm_git_archive was a plugin for setuptools_scm that enabled version extraction from Git archives by reading metadata embedded in archive exports. It worked by parsing special Git export-ignore files to recover version information when the full Git history was not available—a common scenario in CI/CD pipelines and distributed builds.
The plugin is now obsolete. As of setuptools_scm version 7.0.0, this functionality has been integrated directly into setuptools_scm itself. The project repository is archived, the last commit was in February 2024, and no updates have been released since 2023-09-21. Users of older setuptools_scm versions who still rely on this plugin should migrate by updating their .git_archival.txt configuration file and upgrading to setuptools_scm >= 7.0.0.
Use it for:
- Extracting version info from Git archives in legacy CI/CD pipelines still using setuptools_scm < 7.0.0
- Maintaining compatibility with older projects that explicitly depend on this plugin
- Understanding how Git archive versioning worked before it was built into setuptools_scm
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A setuptools_scm plugin that extracts version information from Git archives—now obsolete, as setuptools_scm >= 7.0.0 includes this functionality natively.
No. Do not install this package. It is abandoned and obsolete—setuptools_scm >= 7.0.0 includes its functionality natively. If you are using an older setuptools_scm version, upgrade instead of adding this plugin. If you maintain a legacy project that currently depends on it, follow the migration guide in the package description to remove the dependency.
Install
setuptools-scm-git-archive on PyPI
pip
pip install setuptools-scm-git-archiveuv
uv add setuptools-scm-git-archivepoetry
poetry add setuptools-scm-git-archiveInstalling setuptools-scm-git-archive
Before you install
The package is abandoned (last commit 2024-02-02, repository archived) and has not been updated since its latest release on 2023-09-21. Its functionality is now built into setuptools_scm >= 7.0.0, making this plugin unnecessary for new projects.
License in practice
Licensed under MIT (permissive), so there are no licensing restrictions on use or redistribution—but the package's obsolescence makes this moot.
Quickstart
# This package is obsolete. Instead, update .git_archival.txt in your repo to:
# node: $Format:%H$
# node-date: $Format:%cI$
# describe-name: $Format:%(describe:tags=true)$
# ref-names: $Format:%D$
# Then remove setuptools_scm_git_archive from your dependencies.
This plugin requires setuptools_scm to be installed; however, setuptools_scm >= 7.0.0 makes this plugin redundant.
Verify before relying
- Whether any active projects still depend on this plugin or if all users have migrated to setuptools_scm >= 7.0.0
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | abandoned — 1,058 days since the last release |
| Last repo commit | (repository archived) |
| First released | |
| Downloads | 1,011,529/month — #4,511 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: setuptools_scm_git_archive-1.4.1-py2.py3-none-any.whl
Keywords: scm, vcs, version, tags, git, archive
Tags
More Build Tools packages
Provides reusable utilities for Python…
permissive · top 100 on PyPI
tqdmWraps any iterable to display a real-time…
copyleft · top 100 on PyPI
pippip is the standard installer for Python…
permissive · top 100 on PyPI
hatchlingHatchling is a standards-compliant Python build…
permissive · top 100 on PyPI
grpcio-toolsGenerates Python gRPC service stubs and message…
permissive · top 1,000 on PyPI
pre-commitpre-commit is a framework for installing and…
permissive · top 1,000 on PyPI
setuptools-scmAutomatically extracts and manages Python…
permissive · top 1,000 on PyPI
gitmanGitman manages nested Git repositories as…
permissive · top 15,000 on PyPI
hatch-vcsA Hatch plugin that automatically determines…
permissive · top 1,000 on PyPI
setuptools-git-versioningAutomatically generates PEP 440-compliant…
permissive · top 5,000 on PyPI
gtoGTO turns a Git repository into an artifact…
permissive · top 5,000 on PyPI
renoReno manages release notes by storing…
permissive · top 15,000 on PyPI
flit-scmflit_scm is a PEP 518 build backend that…
permissive · top 15,000 on PyPI
vcvervcver generates version strings for Python…
permissive · top 15,000 on PyPI
versioneer-518Automates version management in…
permissive · top 15,000 on PyPI
autosemverAutomatically generates semantic versions for…
copyleft · top 15,000 on PyPI