Skip to content

Commit 1d5620b

Browse files
Avoid deprecated license specification format
Fix this pip warning: ******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). By 2026-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ********************************************************************************
1 parent 209ff11 commit 1d5620b

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

.github/workflows/tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
python-version:
23-
- "3.8"
2423
- "3.9"
2524
- "3.10"
2625
- "3.11"

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Useful links
2020
Requirements
2121
------------
2222

23-
Python 3.8 or above.
23+
Python 3.9 or above.
2424

2525
Installation
2626
------------

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
name = "codespell"
55
description = "Fix common misspellings in text files"
66
readme = { file = "README.rst", content-type = "text/x-rst" }
7-
requires-python = ">=3.8"
8-
license = {text = "GPL-2.0-only"}
7+
requires-python = ">=3.9"
8+
license = "GPL-2.0-only"
99
authors = [
1010
{name = "Lucas De Marchi", email = "[email protected]"},
1111
]
@@ -21,7 +21,6 @@ classifiers = [
2121
"Programming Language :: Python",
2222
"Programming Language :: Python :: 3",
2323
"Programming Language :: Python :: 3 :: Only",
24-
"Programming Language :: Python :: 3.8",
2524
"Programming Language :: Python :: 3.9",
2625
"Programming Language :: Python :: 3.10",
2726
"Programming Language :: Python :: 3.11",
@@ -67,7 +66,7 @@ repository = "https://github.com/codespell-project/codespell"
6766

6867
[build-system]
6968
build-backend = "setuptools.build_meta"
70-
requires = ["setuptools>=64", "setuptools_scm[toml]>=6.2, != 8.0.0"]
69+
requires = ["setuptools>=77", "setuptools_scm[toml]>=6.2, != 8.0.0"]
7170

7271
[tool.setuptools_scm]
7372
write_to = "codespell_lib/_version.py"

0 commit comments

Comments
 (0)