From 900558c2bdcf97fced877594243bacf639b363bb Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Wed, 18 Dec 2024 12:15:19 +0100 Subject: [PATCH 1/2] use "no-local-version" for setuptools_scm "local_scheme" config --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index d58f07fd..0f9a42b7 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ def get_long_description(): name="PyMPDATA", description="Numba-accelerated Pythonic implementation of MPDATA " "with examples in Python, Julia, Rust and Matlab", - use_scm_version={"local_scheme": lambda _: "", "version_scheme": "post-release"}, + use_scm_version={"local_scheme": "no-local-version", "version_scheme": "post-release"}, setup_requires=["setuptools_scm"], install_requires=[ "numba" From 0d46c091a3c79331a8cdb5280839904bc1fe02da Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Thu, 26 Dec 2024 15:01:55 +0100 Subject: [PATCH 2/2] pre commit --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 0f9a42b7..d1c6b5fd 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,10 @@ def get_long_description(): name="PyMPDATA", description="Numba-accelerated Pythonic implementation of MPDATA " "with examples in Python, Julia, Rust and Matlab", - use_scm_version={"local_scheme": "no-local-version", "version_scheme": "post-release"}, + use_scm_version={ + "local_scheme": "no-local-version", + "version_scheme": "post-release", + }, setup_requires=["setuptools_scm"], install_requires=[ "numba"