Merge pull request 'chore: Python 3.12 is the floor (NAPALM/driver-standard#6)' (#44) from chore/python-312-floor into main
driver / standard (push) Successful in 18s
driver / lint (push) Successful in 21s
driver / types (push) Successful in 1m18s
driver / test (3.13) (push) Successful in 1m9s
driver / test (3.12) (push) Successful in 1m28s
driver / lowest (push) Successful in 35s
driver / build (push) Successful in 38s
driver / security (push) Successful in 1m14s
CI / driver (push) Successful in 2m58s
driver / publish (push) Skipped

This commit was merged in pull request #44.
This commit is contained in:
christianmanivong committed 2026-10-27 09:37:26 +00:00
commit b6677c9fc5
2 files changed
+7 -5

No files matched your search

+4
View File
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Changed
- Python 3.12 is the floor (`requires-python = ">=3.12"`): netOrk runs every driver
on 3.12, so 3.10 and 3.11 are no longer tested (NAPALM/driver-standard#6).
## [0.15.1] - 2026-10-23
### Fixed
+3 -5
View File
@@ -7,7 +7,7 @@ name = "napalm-linux"
version = "0.15.1"
description = "NAPALM driver for generic Linux systems via SSH"
readme = "README.md"
requires-python = ">=3.10"
requires-python = ">=3.12"
license = "Apache-2.0"
authors = [
{ name = "Christian Manivong", email = "christian@manivong.de" },
@@ -26,8 +26,6 @@ classifiers = [
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: System :: Networking",
@@ -66,7 +64,7 @@ napalm_linux = ["py.typed"]
[tool.ruff]
line-length = 100
target-version = "py310"
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
@@ -76,7 +74,7 @@ select = ["E", "F", "I", "UP", "B"]
"tests/**" = ["E501"]
[tool.mypy]
python_version = "3.10"
python_version = "3.12"
strict = true
# napalm itself is untyped, so every driver subclasses Any.
disallow_subclassing_any = false