Skip to content
Merged
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 pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["maturin>=1.0,<2.0"]
requires = ["maturin>=1.9,<2.0"]
build-backend = "maturin"

[project]
Expand All @@ -9,7 +9,8 @@ description = "An extremely fast Python linter and code formatter, written in Ru
authors = [{ name = "Astral Software Inc.", email = "[email protected]" }]
readme = "README.md"
requires-python = ">=3.7"
license = { file = "LICENSE" }
license = "MIT"
license-files = ["LICENSE"]
keywords = [
"automation",
"flake8",
Expand All @@ -22,7 +23,6 @@ classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
Copy link

Choose a reason for hiding this comment

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

Why is this removed?

Copy link
Contributor Author

@DimitriPapadopoulos DimitriPapadopoulos Jul 24, 2025

Choose a reason for hiding this comment

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

Because PEP639 expects only licence and licence-files.

It's redundant with:

license = "MIT"

This comment was marked as outdated.

Copy link

@vivodi vivodi Jul 24, 2025

Choose a reason for hiding this comment

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

Sorry, that PEP does indeed recommend removing the license classifier: https://peps.python.org/pep-0639/#deprecate-license-classifiers — I hadn’t looked at it carefully before.

"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
Expand Down
Loading