summaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
authorRoberto Bertó <463349+robertoberto@users.noreply.github.com>2026-05-19 03:06:11 +0000
committerRoberto Bertó <463349+robertoberto@users.noreply.github.com>2026-05-19 03:06:11 +0000
commit7aa4989061950a336287cd8b581813ccd60b1832 (patch)
tree3a72b976bea9aaa1e7de403a16ea168a522c55fa /pyproject.toml
parentb2f1765d286502307ea07a62648718d0414e4f39 (diff)
downloadpyvyos-7aa4989061950a336287cd8b581813ccd60b1832.tar.gz
pyvyos-7aa4989061950a336287cd8b581813ccd60b1832.zip
build: tighten runtime deps and lower Python floor to 3.11
- requires-python: >=3.13 -> >=3.11. The code does not use any 3.13-only feature. typing.List/Dict/Union/Optional throughout, no PEP 695 generics, no Self, no match. Classifiers updated to advertise 3.11/3.12/3.13. - runtime dependencies: trim to requests only. - python-dotenv is only used by examples; move to the dev extra. - urllib3 is never imported by pyvyos directly; it remains available transitively through requests. - pre-existing dev tooling (pytest, pytest-cov, pytest-env) untouched. - CI: PR validation runs on a 3.11/3.12/3.13 matrix. - README: reword the Python requirement. - .python-version: 3.13.0 -> 3.13 (CI uses the matrix). - Wheel build verified to include pyvyos/py.typed and to declare Requires-Python: >=3.11 with requests as the only runtime requirement.
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml7
1 files changed, 4 insertions, 3 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 1f35384..b266351 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -10,7 +10,7 @@ authors = [
]
description = "Python SDK for interacting with the VyOS HTTPS API"
readme = "README.md"
-requires-python = ">=3.13"
+requires-python = ">=3.11"
license = { file = "LICENSE" }
keywords = ["vyos", "networking", "sdk", "api", "router", "firewall"]
classifiers = [
@@ -20,6 +20,8 @@ classifiers = [
"Topic :: System :: Networking",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3",
+ "Programming Language :: Python :: 3.11",
+ "Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
@@ -27,12 +29,11 @@ classifiers = [
]
dependencies = [
"requests>=2.32.0,<3.0",
- "python-dotenv>=1.0.1,<2.0",
- "urllib3>=2.5.0",
]
[project.optional-dependencies]
dev = [
+ "python-dotenv>=1.0.1,<2.0",
"pytest>=8.0,<10.0",
"pytest-cov>=5.0,<7.0",
"pytest-env>=0.6.2,<1.3",