From 1cef3385e8368d78290e1e85d6dd7b327fe03edd Mon Sep 17 00:00:00 2001 From: Christian Manivong Date: Tue, 27 Oct 2026 10:49:27 +0100 Subject: [PATCH] fix: the floor on napalm is 5.1 (NAPALM/driver-standard#6) napalm 5.0 and older import pkg_resources, which a Python 3.12 venv no longer has, so the lowest job failed on them. --- CHANGELOG.md | 2 ++ pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8571d00..a52306f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ recorded here; their history is the git log. ### 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). +- The floor on napalm is 5.1: older releases import `pkg_resources`, which a Python + 3.12 venv no longer has. ### Added - `HostShutdownMixin.shutdown_host()`, on `DeviceTypeDriver`: shut the device itself diff --git a/pyproject.toml b/pyproject.toml index 7f865d2..06800cb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,7 +37,7 @@ classifiers = [ "Typing :: Typed", ] dependencies = [ - "napalm>=4.0", + "napalm>=5.1", # older releases import pkg_resources, which a 3.12 venv lacks "typing-extensions>=4.0", ]