Skip to content

Commit

Permalink
Update to setuptools>=61
Browse files Browse the repository at this point in the history
I don't know anything about setuptools_scm,
but a failed CI run output this in the log:

ERROR: setuptools==59.6.0 is used in combination with setuptools_scm>=8.x

Your build configuration is incomplete and previously worked by accident!
setuptools_scm requires setuptools>=61

       Suggested workaround if applicable:
        - migrating from the deprecated setup_requires mechanism to pep517/518
          and using a pyproject.toml to declare build dependencies
          which are reliably pre-installed before running the build tools

so require setuptools>=61 and setuptools_scm >=8.
  • Loading branch information
pjonsson authored and omad committed May 7, 2024
1 parent cb51891 commit 3397464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4"]
requires = ["setuptools>=61", "wheel", "setuptools_scm[toml]>=8"]

[tool.setuptools_scm]
write_to = "cubedash/_version.py"
Expand Down

0 comments on commit 3397464

Please sign in to comment.