fix(packages): architecture is PackageDict's optional key, left out when unnamed (#14)
driver / lint (pull_request) Successful in 15s
driver / standard (pull_request) Successful in 18s
driver / lowest (pull_request) Successful in 33s
driver / types (pull_request) Successful in 1m7s
driver / test (3.13) (pull_request) Successful in 58s
driver / test (3.12) (pull_request) Successful in 1m14s
driver / build (pull_request) Successful in 26s
driver / security (pull_request) Successful in 59s
CI / driver (pull_request) Successful in 1m50s
driver / publish (pull_request) Skipped

napalm-device-types 4.59.0 declares architecture as an optional key of
PackageDict. WindowsPackageDict redeclared it as required, which strict
mypy refuses for a subclass. It now inherits the key and leaves it out
of a program whose Uninstall key names none, instead of writing "".
The floor is napalm-device-types 4.59.0.
This commit is contained in:
Christian Manivong committed 2026-12-05 06:52:34 +01:00
1 parent 61bbf91e32
commit 9b9fd261bd
4 files changed
+42 -6

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ classifiers = [
]
dependencies = [
"napalm>=5.1", # older releases import pkg_resources, which a 3.12 venv lacks
"napalm-device-types>=4.56.0", # HostStorageMixin, HostRepairMixin, host events, UserDict.sid
"napalm-device-types>=4.59.0", # PackageDict.architecture
"pypsrp>=0.8",
]