chore: Python 3.12 is the floor, part B (#6) #8

Merged
christianmanivong merged 2 commits from chore/python-312-floor-b into main 2026-10-27 11:38:29 +00:00
2 changed files with 3 additions and 1 deletions
Showing only changes of commit aa66944e3c - Show all commits

No files matched your search

+2
View File
@@ -11,6 +11,8 @@ The format follows [Keep a Changelog](https://keepachangelog.com/), versions fol
and mypy targeting 3.12, and the tool itself needs 3.12. netOrk runs every driver in and mypy targeting 3.12, and the tool itself needs 3.12. netOrk runs every driver in
its own containers on 3.12, so older versions are no longer tested. `check` its own containers on 3.12, so older versions are no longer tested. `check`
requires `requires-python` ≥ 3.12. requires `requires-python` ≥ 3.12.
- The template's floor on napalm is 5.1: older releases import `pkg_resources`, which a
Python 3.12 venv no longer has, so `lowest` fails on them.
- `check` reports a license given as a TOML table or as a `License ::` classifier: - `check` reports a license given as a TOML table or as a `License ::` classifier:
setuptools refuses both from 2027-02-18 (PEP 639). The template builds with setuptools refuses both from 2027-02-18 (PEP 639). The template builds with
setuptools>=77. setuptools>=77.
+1 -1
View File
@@ -16,7 +16,7 @@ classifiers = [
"Topic :: System :: Networking", "Topic :: System :: Networking",
] ]
dependencies = [ dependencies = [
"napalm>=5.0", "napalm>=5.1", # older releases import pkg_resources, which a 3.12 venv lacks
"napalm-device-types>=4.21", "napalm-device-types>=4.21",
] ]