diff --git a/environment.yml b/environment.yml index 21f5c9052749..313ab11f7e6f 100644 --- a/environment.yml +++ b/environment.yml @@ -28,7 +28,7 @@ dependencies: - pyqt - python>=3.11 - python-dateutil>=2.1 - - setuptools_scm + - setuptools_scm<10 - wxpython # building documentation - colorspacious diff --git a/pyproject.toml b/pyproject.toml index c3326bd6b88e..f01a4fa2b75c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,7 +61,7 @@ requires = [ # you really need it and aren't using an sdist. "meson-python>=0.13.1,!=0.17.*", "pybind11>=2.13.2,!=2.13.3", - "setuptools_scm>=7", + "setuptools_scm>=7,<10", ] [dependency-groups] @@ -80,7 +80,7 @@ build = [ # Should be the same as `[build-system] requires` above. "meson-python>=0.13.1,!=0.17.*", "pybind11>=2.13.2,!=2.13.3", - "setuptools_scm>=7", + "setuptools_scm>=7,<10", # Not required by us but setuptools_scm without a version, so _if_ # installed, then setuptools_scm 8 requires at least this version. # Unfortunately, we can't do a sort of minimum-if-installed dependency, so