@@ -20859,6 +20859,38 @@ (define-public python-setuptools-scm-git-archive
belong to tagged versions.")
(license license:expat)))
+(define-public python-setuptools-scm-7
+ ;; The version tags are inaccurate. Use the bare commit.
+ (let ((commit "c4d37004ab0a16c2cacdc58ef06b36956db02a9f")
+ (revision "1"))
+ (package
+ (name "python-setuptools-scm")
+ (version (git-version "7.0.5" revision commit))
+ (source (origin
+ ;; Won't build with git. Fails with error:
+ ;; "ERROR Backend subproccess exited when trying to invoke
+ ;; get_requires_for_build_wheel"
+ ;;
+ ;; The PyPi version has no such issue.
+ (method url-fetch)
+ (uri (pypi-uri "setuptools_scm" version))
+ (sha256
+ (base32
+ "0i28zghzdzzkm9w8rrjwphggkfs58nh6xnqsjhmqjvqxfypi67h3"))))
+ (build-system python-build-system)
+ (propagated-inputs (list python-importlib-metadata python-packaging
+ python-tomli python-typing-extensions))
+ (native-inputs (list python
+ python-pypa-build
+ python-pytest
+ python-virtualenv
+ git-minimal
+ mercurial))
+ (home-page "https://github.com/pypa/setuptools_scm/")
+ (synopsis "The blessed package to manage your versions by scm tags")
+ (description "The blessed package to manage your versions by scm tags.")
+ (license license:expat))))
+
(define-public python-setuptools-git
(package
(name "python-setuptools-git")