Skip to content

Commit 78f7d95

Browse files
Pin setuptools lower bound to >v64 (#141)
* Pin setuptools lower bound to >v64 * update tests * The package name for setuptools-scm on PyPI uses a hyphen (setuptools-scm), not an underscore. * updating the generated pyproject.toml to use setuptools-scm * small typos
1 parent 06396ad commit 78f7d95

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tests/test_cookiecutter.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,13 +272,13 @@ def test_pyproject_toml(package_path_config_dict):
272272
"mypy",
273273
"pre-commit",
274274
"ruff",
275-
"setuptools_scm",
275+
"setuptools-scm",
276276
]
277277

278278
assert project_toml["build-system"]["requires"] == [
279-
"setuptools>=45",
279+
"setuptools>=64",
280280
"wheel",
281-
"setuptools_scm[toml]>=6.2",
281+
"setuptools-scm[toml]>=8",
282282
]
283283

284284
assert (

{{cookiecutter.package_name}}/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,14 @@ dev = [
6767
"mypy",
6868
"pre-commit",
6969
"ruff",
70-
"setuptools_scm",
70+
"setuptools-scm",
7171
]
7272

7373
[build-system]
7474
requires = [
75-
"setuptools>=45",
75+
"setuptools>=64",
7676
"wheel",
77-
"setuptools_scm[toml]>=6.2",
77+
"setuptools-scm[toml]>=8",
7878
]
7979
build-backend = "setuptools.build_meta"
8080

0 commit comments

Comments
 (0)