chore: the template's floor on napalm is 5.1 (#6)
napalm 5.0 and older import pkg_resources, which a Python 3.12 venv no longer has; every driver's lowest job failed on it.
This commit is contained in:
1 parent
0f201e0f2d
commit
aa66944e3c
2 files changed
+3
-1
No files matched your search
@@ -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.
|
||||||
|
|||||||
@@ -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",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user