From 41ebe72588b20b912eb8c9e082b2d66b37564ad3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20Malmstr=C3=B6m?= Date: Wed, 20 Sep 2023 16:00:11 +0000 Subject: Change version scheme to not guess next version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit By default, setuptools_scm will guess the next version and supply that as the version number when the package is installed. For example, this meant that installing when tag "v0.60.2" was checked out would give package version "0.60.3.dev8+gf5a8283.d20230920". With this change, the package version would instead be "0.60.2.post1.dev8+gad80c03". Change-Id: I0bca9a6abec38e82839b52fe2933d2c0d14b5a84 Signed-off-by: Josef Malmström --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index 49aa0ed..4a58d8c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,4 +1,4 @@ -# Copyright (c) 2021-2022 Arm Limited. +# Copyright (c) 2021-2023 Arm Limited. # SPDX-License-Identifier: Apache-2.0 [build-system] @@ -10,3 +10,4 @@ requires = [ build-backend = "setuptools.build_meta" [tool.setuptools_scm] +version_scheme = "no-guess-dev" -- cgit v1.2.1