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

Merged
christianmanivong merged 2 commits from fix/ci-device-types-from-git into master 2026-10-04 00:00:37 +00:00
Owner

CI died at pip install -e ".[dev]" on every run. The package asks for napalm_device_types, which lives in git.netork.io/NAPALM rather than on PyPI, so pip found only an unrelated 0.1.0 and stopped. Not one test had run in CI.

What changes:

  • The workflow installs napalm-device-types from git first. The napalm-runner on build-01 resolves git.netork.io into the LAN.
  • The matrix drops 3.8 and 3.9, and requires-python is now >=3.10. napalm-device-types itself needs 3.10, so the package never installed on anything older.

Same failure and fix as NAPALM/napalm-opnsense#5.

CI died at `pip install -e ".[dev]"` on every run. The package asks for `napalm_device_types`, which lives in git.netork.io/NAPALM rather than on PyPI, so pip found only an unrelated 0.1.0 and stopped. Not one test had run in CI. What changes: - The workflow installs napalm-device-types from git first. The `napalm-runner` on build-01 resolves git.netork.io into the LAN. - The matrix drops 3.8 and 3.9, and `requires-python` is now `>=3.10`. napalm-device-types itself needs 3.10, so the package never installed on anything older. Same failure and fix as NAPALM/napalm-opnsense#5.
christianmanivong added 1 commit 2026-10-03 22:44:14 +00:00
ci: install napalm-device-types from git, so the tests run at all
CI / test (3.10) (push) Failing after 5m43s
CI / test (3.11) (push) Failing after 5m39s
CI / test (3.12) (push) Failing after 5m41s
CI / test (3.10) (pull_request) Failing after 5m42s
CI / test (3.11) (pull_request) Failing after 5m38s
CI / test (3.12) (pull_request) Failing after 5m40s
e85637496c
Every CI run died at "pip install -e .[dev]": pyproject.toml asks for
napalm_device_types, which lives in git.netork.io/NAPALM rather than on PyPI,
and pip found only an unrelated 0.1.0 there. Not one test had run in CI.

The workflow now installs napalm-device-types from git first. The matrix
drops 3.8/3.9 and requires-python says >=3.10, because napalm-device-types
itself needs 3.10 -- the package never installed on anything older.

Replayed in a fresh venv: napalm-device-types 2.0.0 from git, then the
package with its dev extras, tests green.
christianmanivong added 1 commit 2026-10-03 23:14:25 +00:00
ci: upload-artifact@v3, the version Gitea supports
CI / test (3.10) (push) Successful in 5m39s
CI / test (3.11) (push) Successful in 5m38s
CI / test (3.12) (push) Successful in 5m39s
CI / test (3.10) (pull_request) Successful in 5m39s
CI / test (3.11) (pull_request) Successful in 5m39s
CI / test (3.12) (pull_request) Successful in 5m39s
70c5fd5e40
With the install fixed, the tests ran and passed on 3.10-3.12, and the job
then failed at the last step: upload-artifact@v4 refuses to run on Gitea
(GHESNotSupportedError).
christianmanivong merged commit c6a51f730f into master 2026-10-04 00:00:37 +00:00
christianmanivong deleted branch fix/ci-device-types-from-git 2026-10-04 00:00:37 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: NAPALM/napalm-fritzbox#1