Skip to content

Commit 4a71cd8

Browse files
committed
Bump minimum Python version to 3.9 and update license metadata.
Avoid deprecation warnings with modern setuptools, which will stop supporting a table as the project.license option in pyproject.toml soon. Require a modern version >= 77 to make use of the alternative options.
1 parent 317fd3d commit 4a71cd8

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The aim of the project is to support the most common parts of the CiA 301
66
standard in a simple Pythonic interface. It is mainly targeted for testing and
77
automation tasks rather than a standard compliant master implementation.
88

9-
The library supports Python 3.8 or newer.
9+
The library supports Python 3.9 or newer.
1010

1111

1212
Features

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools>=69", "wheel", "setuptools_scm>=8"]
2+
requires = ["setuptools>=77", "wheel", "setuptools_scm>=8"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
@@ -11,11 +11,11 @@ authors = [
1111
]
1212
description = "CANopen stack implementation"
1313
readme = "README.rst"
14-
requires-python = ">=3.8"
15-
license = {file = "LICENSE.txt"}
14+
requires-python = ">=3.9"
15+
license = "MIT"
16+
license-files = ["LICENSE.txt"]
1617
classifiers = [
1718
"Development Status :: 5 - Production/Stable",
18-
"License :: OSI Approved :: MIT License",
1919
"Operating System :: OS Independent",
2020
"Programming Language :: Python :: 3 :: Only",
2121
"Intended Audience :: Developers",
@@ -50,7 +50,7 @@ filterwarnings = [
5050
]
5151

5252
[tool.mypy]
53-
python_version = "3.8"
53+
python_version = "3.9"
5454
exclude = [
5555
"^examples*",
5656
"^test*",

0 commit comments

Comments
 (0)