Skip to content

Commit 88bc802

Browse files
authored
use "no-local-version" (instead of a lambda) for setuptools_scm "local_scheme"; avoid warning-triggering matplotlin 3.10.0 release on CI (#391)
1 parent 92eed8c commit 88bc802

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.binder/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PyPartMC>=0.0.19
2-
matplotlib
2+
matplotlib!=3.10.0
33
ipywidgets
44
voila
55
open-atmos-jupyter-utils

setup.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,8 @@ def build_extension(self, ext): # pylint: disable=too-many-branches
125125
setup(
126126
name="PyPartMC",
127127
use_scm_version={
128-
"local_scheme": lambda _: "",
128+
"local_scheme": "no-local-version",
129129
"version_scheme": "post-release",
130-
# "fallback_version": "0.0.0"
131130
},
132131
author="PyPartMC team (see https://github.com/open-atmos/PyPartMC/graphs/contributors)",
133132
author_email="[email protected]",

0 commit comments

Comments
 (0)