jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1212663?usp=email )

Change subject: fix: update license declaration to SPDX string due to PEP639
......................................................................

fix: update 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: Idaba5f3a8396fec3ebf8bf80b195935872d00cb9
---
M pyproject.toml
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified




diff --git a/pyproject.toml b/pyproject.toml
index f5a48d8..a18217a 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,5 +1,5 @@
 [build-system]
-requires = ["packaging", "setuptools", "wheel"]
+requires = ["packaging", "setuptools>=77.0.3", "wheel"]
 build-backend = "setuptools.build_meta"


@@ -23,12 +23,12 @@
     "pywiki", "pywikibase", "pywikibot", "pywikipedia", "pywikipediabot",
     "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/+/1212663?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: Idaba5f3a8396fec3ebf8bf80b195935872d00cb9
Gerrit-Change-Number: 1212663
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]

Reply via email to