ci: install napalm-device-types from git, so the tests run at all #1

Merged
christianmanivong merged 1 commits from fix/ci-device-types-from-git into main 2026-10-03 23:23:38 +00:00
2 changed files with 5 additions and 4 deletions
+4 -1
View File
@@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
@@ -25,6 +25,9 @@ jobs:
- name: Install dependencies
run: |
# napalm-device-types lives in git.netork.io/NAPALM, not on PyPI: without this
# pip looks there, finds an unrelated 0.1.0 and the job dies before any test.
pip install "napalm-device-types @ git+https://git.netork.io/NAPALM/napalm-device-types.git"
pip install -e ".[dev]"
- name: Run tests
+1 -3
View File
@@ -8,7 +8,7 @@ version = "0.1.2"
description = "NAPALM driver for TP-Link Jetstream managed switches"
readme = "README.md"
license = { text = "Apache-2.0" }
requires-python = ">=3.8"
requires-python = ">=3.10"
authors = [
{ name = "Christian Manivong" },
]
@@ -16,8 +16,6 @@ classifiers = [
"Topic :: Utilities",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",