Setuptools-scm

Latest version: v8.2.0

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

Scan your dependencies

Page 1 of 17

8.2.0

Added

- fix 960: add a ``--force-write-version-files`` flag for the cli

Changed

- fix 950: ensure to pass encodings to io usage
- fix 957 - add subprocess timeout control env var
- add sp-repo-review pre-commit hook

Fixed

- fix 1018: allow non-normalized versions for semver
- fix 1103: respect GIT_CEILING_DIRECTORIES when trying to find git toplevels
- fix 1081: add name normalized pipx entrypoint
- fix 1080: clean pdm from PYTHONPATH to protect mercurial
-

8.1.0

Changed

- inclusion of `__all__` in autogenerated `version.py` files to aid IDE autoimports

8.0.4

Changed

- introduce scriv for changelog management
- reconfigure local build backend to use an attribute instead of star imports from setuptools
- introduce ruff as a linter
- ensure the setuptools version keyword correctly load pyproject.toml configuration
- add build and wheel to the test requirements for regression testing
- move internal toml handling to own module

Fixed

- fix 925: allow `write_to` to be an absolute path when it's a subdirectory of the root
- fix 932: ensure type annotations in version file don't cause linter issues
- fix 930: temporary restore `DEFAULT_VERSION_SCHEME` and `DEFAULT_LOCAL_SCHEME` on the `setuptools-scm` package

8.0.3

bugfix

- fix 918 for good - remove external importlib-metadata to avoid source only loop
- fix 926: ensure mypy on python3.8 works with the version file

8.0.2

bugfix

- fix 919: restore legacy version-file behaviour for external callers + add Deprecation warning
- fix 918: use packaging from setuptools for self-build
- fix 914: ignore the deprecated git archival plugin as its integrated now
- fix 912: ensure mypy safety of the version template + regression test
- fix 913: use 240s timeout instead of 20 for `git unshallow`
to account for large repos or slow connections

8.0.1

bugfix

- update version file template to work on older python versions by using type comments
- ensure tag regex from setup.py is parsed into regex

Page 1 of 17

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.