CI / test (3.10) (push) Successful in 34s
CI / test (3.11) (push) Successful in 32s
CI / test (3.12) (push) Successful in 29s
CI / test (3.10) (pull_request) Successful in 25s
CI / test (3.11) (pull_request) Successful in 23s
CI / test (3.12) (pull_request) Successful in 25s
get_device_warnings decided two things for the application: that any pending update is a warning (it re-read the updates for that), and whether apt's proxy is the one the application's setting wants, which it was handed as optional_args["apt_proxy_url"]. The driver reports facts instead (napalm-device-types 4.14): get_package_proxy() says which proxy apt fetches through, None for none or on a non-apt host; the updates are get_available_updates() as before. get_device_warnings and the apt_proxy_url argument go. BREAKING CHANGE: get_device_warnings and optional_args["apt_proxy_url"] are removed. Requires napalm-device-types 4.14. Closes #28
67 lines
1.5 KiB
TOML
67 lines
1.5 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=68", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "napalm-linux"
|
|
version = "0.9.0"
|
|
description = "NAPALM driver for generic Linux systems via SSH"
|
|
readme = "README.md"
|
|
requires-python = ">=3.9"
|
|
license = { text = "Apache-2.0" }
|
|
authors = [
|
|
{ name = "Christian Manivong", email = "christian@manivong.de" },
|
|
]
|
|
keywords = [
|
|
"napalm",
|
|
"network",
|
|
"automation",
|
|
"linux",
|
|
"ssh",
|
|
"driver",
|
|
]
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Intended Audience :: Developers",
|
|
"Intended Audience :: System Administrators",
|
|
"License :: OSI Approved :: Apache Software License",
|
|
"Operating System :: OS Independent",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Topic :: System :: Networking",
|
|
"Topic :: System :: Systems Administration",
|
|
"Typing :: Typed",
|
|
]
|
|
dependencies = [
|
|
"napalm>=4.0",
|
|
"napalm-device-types>=4.14.0",
|
|
"netmiko>=4.0.0",
|
|
"paramiko>=5.0.0", # CVE-2026-44405
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest",
|
|
"pytest-cov",
|
|
"black",
|
|
"ruff",
|
|
"mypy",
|
|
]
|
|
|
|
[project.entry-points."napalm.drivers"]
|
|
linux = "napalm_linux:LinuxDriver"
|
|
|
|
[project.urls]
|
|
Repository = "https://github.com/chrismanivong/napalm-linux"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = ["napalm_linux*"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py39"
|