Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply Repo-Review suggestion #1039

Closed

Conversation

DimitriPapadopoulos
Copy link
Contributor

Apply a Repo-Review suggestion.

  • PP003: Does not list wheel as a build-dep
    Do not include "wheel" in your build-system.requires, setuptools does this via PEP 517 already. Setuptools will also only require this for actual wheel builds, and might have version limits.

@@ -1,6 +1,6 @@
# pyproject.toml
[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.0"]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.0"]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I seem to recall "setuptools>=61" is requited for PEP517 compliance. Is that why you explicitly require "wheel"?

	PP003: Does not list wheel as a build-dep
	Do not include "wheel" in your build-system.requires,
	setuptools does this via PEP 517 already. Setuptools
	will also only require this for actual wheel builds,
	and might have version limits.
@sigmavirus24
Copy link
Member

Once again, there is an effort to apply a rule from a linter not in use and which has many other items that could be addressed when the linter is designed for a different set of projects altogether (scientific Python).

@DimitriPapadopoulos DimitriPapadopoulos deleted the repo-review branch January 6, 2024 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants