fix: the floor on napalm is 5.1 (NAPALM/driver-standard#6)
driver / standard (pull_request) Successful in 14s
driver / lint (pull_request) Successful in 13s
driver / types (pull_request) Successful in 56s
driver / test (3.12) (pull_request) Successful in 54s
driver / test (3.13) (pull_request) Successful in 49s
driver / lowest (pull_request) Failing after 24s
driver / build (pull_request) Successful in 30s
driver / security (pull_request) Successful in 57s
CI / driver (pull_request) Failing after 2m16s
driver / publish (pull_request) Skipped

napalm 5.0 and older import pkg_resources, which a Python 3.12 venv no
longer has, so the lowest job failed on them.
This commit is contained in:
Christian Manivong committed 2026-10-27 10:49:28 +01:00
1 parent 91547c8b08
commit 27e0b069af
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -9,6 +9,8 @@ All notable changes to this driver. The format follows
### Changed ### Changed
- Python 3.12 is the floor (`requires-python = ">=3.12"`): netOrk runs every driver - 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). on 3.12, so 3.10 and 3.11 are no longer tested (NAPALM/driver-standard#6).
- The floor on napalm is 5.1: older releases import `pkg_resources`, which a Python
3.12 venv no longer has.
## [0.2.0] - 2026-10-23 ## [0.2.0] - 2026-10-23
+1 -1
View File
@@ -24,7 +24,7 @@ classifiers = [
# No BeautifulSoup: the web UI ships its table data as JS array literals, # No BeautifulSoup: the web UI ships its table data as JS array literals,
# which parse with ast.literal_eval — see parsers.extract_data_set. # which parse with ast.literal_eval — see parsers.extract_data_set.
dependencies = [ dependencies = [
"napalm>=4.0.0", "napalm>=5.1", # older releases import pkg_resources, which a 3.12 venv lacks
"napalm-device-types>=4.21.1", "napalm-device-types>=4.21.1",
"requests>=2.25.0", "requests>=2.25.0",
"urllib3>=1.23", "urllib3>=1.23",