Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1252171?usp=email )
Change subject: fix: update scripts license declaration to SPDX string due to
PEP639
......................................................................
fix: update scripts license declaration to SPDX string due to PEP639
- Replaced deprecated license = { text = "MIT License" } with license = "MIT"
- Removed deprecated license classifiers
- Added optional license-files for clarity
- setuptools>=77.0.3 is required to use SPDX license incormation
Bug: T396356
Change-Id: Ic81e075691ea2265e68bf8caadc9ca2df3b67bd1
---
M scripts/pyproject.toml
1 file changed, 3 insertions(+), 3 deletions(-)
Approvals:
jenkins-bot: Verified
Xqt: Looks good to me, approved
diff --git a/scripts/pyproject.toml b/scripts/pyproject.toml
index 71ca016..c15ea14 100644
--- a/scripts/pyproject.toml
+++ b/scripts/pyproject.toml
@@ -1,5 +1,5 @@
[build-system]
-requires = ["packaging", "setuptools", "wheel"]
+requires = ["packaging", "setuptools>=77.0.3", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
@@ -32,12 +32,12 @@
"replace", "redirect", "script", "scripts", "upload",
"wiki", "wikibase", "wikidata", "wikimedia", "wikipedia",
]
-license = {text = "MIT License"}
+license = "MIT"
+license-files = ["LICENSE"]
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
- "License :: OSI Approved :: MIT License",
"Natural Language :: Afrikaans",
"Natural Language :: Arabic",
"Natural Language :: Basque",
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1252171?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ic81e075691ea2265e68bf8caadc9ca2df3b67bd1
Gerrit-Change-Number: 1252171
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]