Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tests/test_cookiecutter.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,13 +272,13 @@ def test_pyproject_toml(package_path_config_dict):
"mypy",
"pre-commit",
"ruff",
"setuptools_scm",
"setuptools-scm",
]

assert project_toml["build-system"]["requires"] == [
"setuptools>=45",
"setuptools>=64",
"wheel",
"setuptools_scm[toml]>=6.2",
"setuptools-scm[toml]>=8",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason for enforcing this version?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This project supports Python3 and specificallly 3.11+ and based on the documentation on Pypi 6.2 has lower versions check programing languages Tab.

looking at the 8 Programming Language Tab exactly uses what this projects supports and This ensures good TOML configuration and fewer legacy issues.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there is something i am missing out , please let me know , I will update it, but this is based on what i am reading in the code so far.

]

assert (
Expand Down
6 changes: 3 additions & 3 deletions {{cookiecutter.package_name}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ dev = [
"mypy",
"pre-commit",
"ruff",
"setuptools_scm",
"setuptools-scm",
]

[build-system]
requires = [
"setuptools>=45",
"setuptools>=64",
"wheel",
"setuptools_scm[toml]>=6.2",
"setuptools-scm[toml]>=8",
]
build-backend = "setuptools.build_meta"

Expand Down