chore: adopt the NAPALM driver standard
driver / standard (pull_request) Successful in 18s
driver / lint (pull_request) Successful in 19s
driver / types (pull_request) Successful in 1m0s
driver / test (3.10) (pull_request) Successful in 1m9s
driver / test (3.11) (pull_request) Successful in 59s
driver / test (3.12) (pull_request) Successful in 46s
driver / test (3.13) (pull_request) Successful in 55s
driver / lowest (pull_request) Failing after 25s
driver / security (pull_request) Successful in 1m0s
driver / build (pull_request) Successful in 26s
CI / driver (pull_request) Failing after 7m18s
driver / publish (pull_request) Skipped
driver / standard (pull_request) Successful in 18s
driver / lint (pull_request) Successful in 19s
driver / types (pull_request) Successful in 1m0s
driver / test (3.10) (pull_request) Successful in 1m9s
driver / test (3.11) (pull_request) Successful in 59s
driver / test (3.12) (pull_request) Successful in 46s
driver / test (3.13) (pull_request) Successful in 55s
driver / lowest (pull_request) Failing after 25s
driver / security (pull_request) Successful in 1m0s
driver / build (pull_request) Successful in 26s
CI / driver (pull_request) Failing after 7m18s
driver / publish (pull_request) Skipped
- CI moves to .gitea/workflows/ci.yml and calls the shared driver workflow of NAPALM/driver-standard; .github/ is gone. - requires-python >=3.10 (napalm-device-types needs it), napalm-device-types >=4.21.1, LICENSE file, py.typed, SPDX license string, a dev extra with floors, links to git.netork.io (README included), CHANGELOG.md. - mypy strict for the package; exempt for now, with 130 errors between them: napalm_openwrt.config_mixin, .interfaces_mixin, .lldp_mixin, .openwrt, .packages_mixin, .routing_mixin, .system_mixin, .vlan_mixin and .wireless_mixin. They are recorded in the quality baseline with the long and complex functions and the one unannotated public method. - Coverage floor 65 % (measured 65.03 %).
This commit is contained in:
1 parent
8b8905f0c7
commit
6d884898c7
8 files changed
+330
-65
No files matched your search
@@ -0,0 +1,21 @@
|
||||
# Changelog
|
||||
|
||||
All notable changes to napalm-openwrt. The format follows
|
||||
[Keep a Changelog](https://keepachangelog.com/), versions follow
|
||||
[Semantic Versioning](https://semver.org/). Versions up to 0.6.0 were not
|
||||
recorded here; their history is the git log.
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Changed
|
||||
- The driver follows the NAPALM driver standard
|
||||
(https://git.netork.io/NAPALM/driver-standard): CI on Gitea runs ruff, mypy, the
|
||||
tests on Python 3.10–3.13 and at the lowest declared versions, bandit, pip-audit and
|
||||
a build check, and a release tag publishes to PyPI. The package now ships `py.typed`
|
||||
and a LICENSE file. **Python 3.8 and 3.9 are no longer supported**;
|
||||
napalm-device-types never ran on them.
|
||||
- napalm-device-types 4.21.1 or newer is required.
|
||||
- Exceptions the driver deliberately ignores (the snmpd community in
|
||||
`get_snmp_config()`, the network VLANs in `get_ssids()`) are now logged at debug
|
||||
level.
|
||||
- The project links point at git.netork.io instead of GitHub.
|
||||
Reference in new issue
Block a user