Skip to content

Commit fa55821

Browse files
committed
BLD: Temporarily pin setuptools-scm<10
This is currently causing warnings at runtime in the editable install, which breaks almost all tests.
1 parent fe89b41 commit fa55821

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/workflows/cygwin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ jobs:
182182
export PATH="/usr/local/bin:$PATH"
183183
python -m pip install --no-build-isolation 'contourpy>=1.0.1'
184184
python -m pip install --upgrade cycler fonttools \
185-
packaging pyparsing python-dateutil setuptools-scm \
185+
packaging pyparsing python-dateutil 'setuptools-scm<10' \
186186
-r requirements_test.txt sphinx ipython
187187
python -m pip install --upgrade pycairo 'cairocffi>=0.8' PyGObject &&
188188
python -c 'import gi; gi.require_version("Gtk", "3.0"); from gi.repository import Gtk' &&

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ jobs:
256256
# Preinstall build requirements to enable no-build-isolation builds.
257257
python -m pip install --upgrade $PRE \
258258
'contourpy>=1.0.1' cycler fonttools kiwisolver importlib_resources \
259-
packaging pillow 'pyparsing!=3.1.0' python-dateutil setuptools-scm \
259+
packaging pillow 'pyparsing!=3.1.0' python-dateutil 'setuptools-scm<10' \
260260
'meson-python>=0.13.1' 'pybind11>=2.13.2' \
261261
-r requirements/testing/all.txt \
262262
${{ matrix.extra-requirements }}

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ requires-python = ">=3.11"
4949
dev = [
5050
"meson-python>=0.13.2,!=0.17.*",
5151
"pybind11>=2.13.2,!=2.13.3",
52-
"setuptools_scm>=7",
52+
"setuptools_scm>=7,<10",
5353
# Not required by us but setuptools_scm without a version, cso _if_
5454
# installed, then setuptools_scm 8 requires at least this version.
5555
# Unfortunately, we can't do a sort of minimum-if-installed dependency, so
@@ -75,7 +75,7 @@ requires = [
7575
# you really need it and aren't using an sdist.
7676
"meson-python>=0.13.2,!=0.17.*",
7777
"pybind11>=2.13.2,!=2.13.3",
78-
"setuptools_scm>=7",
78+
"setuptools_scm>=7,<10",
7979
]
8080

8181
[tool.meson-python.args]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
pybind11>=2.13.2,!=2.13.3
22
meson-python
3-
setuptools-scm
3+
setuptools-scm<10

requirements/testing/mypy.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ packaging>=20.0
2222
pillow>=9
2323
pyparsing>=3
2424
python-dateutil>=2.7
25-
setuptools_scm>=7
25+
setuptools_scm>=7,<10
2626
setuptools>=64

0 commit comments

Comments
 (0)