Skip to content

Commit fe22977

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 fe22977

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
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 & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,13 @@
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
]
1212
classifiers = [
1313
"Intended Audience :: Developers",
14-
"License :: OSI Approved",
1514
"Programming Language :: Python",
1615
"Topic :: Software Development",
1716
"Operating System :: Microsoft :: Windows",
@@ -21,7 +20,6 @@ classifiers = [
2120
"Programming Language :: Python",
2221
"Programming Language :: Python :: 3",
2322
"Programming Language :: Python :: 3 :: Only",
24-
"Programming Language :: Python :: 3.8",
2523
"Programming Language :: Python :: 3.9",
2624
"Programming Language :: Python :: 3.10",
2725
"Programming Language :: Python :: 3.11",
@@ -67,7 +65,7 @@ repository = "https://github.com/codespell-project/codespell"
6765

6866
[build-system]
6967
build-backend = "setuptools.build_meta"
70-
requires = ["setuptools>=64", "setuptools_scm[toml]>=6.2, != 8.0.0"]
68+
requires = ["setuptools>=77", "setuptools_scm[toml]>=6.2, != 8.0.0"]
7169

7270
[tool.setuptools_scm]
7371
write_to = "codespell_lib/_version.py"

0 commit comments

Comments
 (0)