From 14f1efec81b0cb0c51036716375f8b6effcc07a8 Mon Sep 17 00:00:00 2001
From: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Date: Sun, 23 Mar 2025 20:17:32 +0100
Subject: [PATCH] Use SPDX license identifier

---
 changelog/1190.trivial.rst | 1 +
 pyproject.toml             | 5 ++---
 2 files changed, 3 insertions(+), 3 deletions(-)
 create mode 100644 changelog/1190.trivial.rst

diff --git a/changelog/1190.trivial.rst b/changelog/1190.trivial.rst
new file mode 100644
index 00000000..78f79127
--- /dev/null
+++ b/changelog/1190.trivial.rst
@@ -0,0 +1 @@
+Switched to using a SPDX license identifier introduced in PEP 639.
diff --git a/pyproject.toml b/pyproject.toml
index 67b6b3a6..5f209f35 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
 [build-system]
 requires = [
-  "setuptools>=61.2",
+  "setuptools>=77.0",
   "setuptools-scm[toml]>=6.2.3",
 ]
 build-backend = "setuptools.build_meta"
@@ -9,13 +9,12 @@ build-backend = "setuptools.build_meta"
 name = "pytest-xdist"
 description = "pytest xdist plugin for distributed testing, most importantly across multiple CPUs"
 readme = "README.rst"
-license = {file="LICENSE"}
+license = "MIT"
 authors = [{name = "holger krekel and contributors", email = "pytest-dev@python.org"}, {email = "holger@merlinux.eu"}]
 classifiers = [
     "Development Status :: 5 - Production/Stable",
     "Framework :: Pytest",
     "Intended Audience :: Developers",
-    "License :: OSI Approved :: MIT License",
     "Operating System :: POSIX",
     "Operating System :: Microsoft :: Windows",
     "Operating System :: MacOS :: MacOS X",