Skip to content

Commit 6a1fc3b

Browse files
Merge pull request #1318 from pypa/release/main
Release: setuptools-scm v10.0.4, vcs-versioning v1.1.0
2 parents 59275f7 + a63b13a commit 6a1fc3b

9 files changed

Lines changed: 27 additions & 9 deletions

File tree

setuptools-scm/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
<!-- towncrier release notes start -->
44

5+
## 10.0.4 (2026-03-27)
6+
7+
### Fixed
8+
9+
- Anchor ``get_version`` in ``setup.py`` with ``relative_to`` and ``fallback_root`` so SCM fallbacks (e.g. ``PKG-INFO``) do not resolve against the wrong directory when the build cwd is the workspace or repo root. ([#1302](https://github.com/pypa/setuptools-scm/issues/1302))
10+
- Enter ``GlobalOverrides`` for ``SETUPTOOLS_SCM`` when using ``setuptools_scm.get_version`` / ``_get_version``, avoiding implicit context warnings for direct API callers. ([#1314](https://github.com/pypa/setuptools-scm/issues/1314))
11+
12+
13+
### Miscellaneous
14+
15+
- Upgrade pre-commit hooks (Ruff, mypy, codespell), align locked Ruff with hooks, and add Ruff per-file configuration for setuptools_scm re-export modules. ([#1311](https://github.com/pypa/setuptools-scm/issues/1311))
16+
517
## 10.0.3 (2026-03-26)
618

719
### Fixed

setuptools-scm/changelog.d/1302.bugfix.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

setuptools-scm/changelog.d/1311.misc.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

setuptools-scm/changelog.d/1314.bugfix.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

vcs-versioning/CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22

33
<!-- towncrier release notes start -->
44

5+
## 1.1.0 (2026-03-27)
6+
7+
### Added
8+
9+
- Add ``fail-on-uncommitted-changes`` as a composable local scheme: raise when the working tree is dirty, otherwise defer to the next local scheme in the list so any ``version_scheme`` can be used. ([#1205](https://github.com/pypa/setuptools-scm/issues/1205))
10+
- When ``HEAD`` is exactly on a tag (``git describe --exact-match``), shallow Git worktrees no longer trigger ``warn_on_shallow``, ``fail_on_shallow``, or ``fetch_on_shallow``—shallow clones are enough for tagged release builds and avoid unnecessary unshallow fetches. ([#1241](https://github.com/pypa/setuptools-scm/issues/1241))
11+
- The "fetch_on_shallow" option for Git worktrees no longer fetches the contents of Git commits--
12+
only their tags and refs.
13+
It takes hardly any bandwidth as a result, and is quite fast. ([#1303](https://github.com/pypa/setuptools-scm/issues/1303))
14+
15+
16+
### Miscellaneous
17+
18+
- Build ``vcs-versioning`` with setuptools instead of hatchling to avoid a bootstrap cycle (hatchling → pluggy → setuptools-scm → vcs-versioning) for downstream packagers. ([#1302](https://github.com/pypa/setuptools-scm/issues/1302))
19+
520
## 1.0.1 (2026-03-09)
621

722
### Miscellaneous

vcs-versioning/changelog.d/1205.feature.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

vcs-versioning/changelog.d/1241.feature.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

vcs-versioning/changelog.d/1302.misc.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

vcs-versioning/changelog.d/1303.feature.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)