From 3d311143f3a665ad19ad3500faf6f501b6200b77 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sat, 17 Sep 2022 13:37:38 +0200 Subject: [PATCH] do not use version_tuple placeholder in setuptools_scm template that would require setuptools_scm>=5.0.0 but some dists do not have that yet. also, we do not use the version_tuple from _version.py, so it is not required anyway. forward port of #7024. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index ddaab4817..eced33233 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta" # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015052 # https://github.com/borgbackup/borg/issues/6875 write_to = "src/borg/_version.py" -write_to_template = "__version__ = version = {version!r}\n__version_tuple__ = version_tuple = {version_tuple!r}\n" +write_to_template = "__version__ = version = {version!r}\n" [tool.black] line-length = 120