build: require Python 3.11 or later

pydantic-settings and validators, at the versions required, support
Python 3.11 and later only.

- Raise requires-python, drop the 3.10 classifier and move black's
  target to py311.
This commit is contained in:
2026-11-13 19:01:56 +09:00
parent 2c0f4a75c5
commit 96bfceba7a
2 changed files with 3 additions and 3 deletions
+2 -3
View File
@@ -14,13 +14,12 @@ authors = [
]
license = { text = "MIT" }
readme = "README.md"
requires-python = ">=3.10"
requires-python = ">=3.11"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
@@ -53,7 +52,7 @@ mdrs = "mdrsclient.__main__:main"
[tool.black]
line-length = 120
target-version = ['py310']
target-version = ['py311']
include = '\.pyi?$'
exclude = '''
/(