From c2b9dd3c884637a57c7832062df363ec4ec29f5f Mon Sep 17 00:00:00 2001 From: Morten Brekkevold Date: Tue, 3 Jan 2023 14:18:25 +0100 Subject: [PATCH] Lock to an old ciscconfparse during testing ciscoconfparse is a dependency of NAV's direct dependency napalm. However, the latest few versions of ciscoconfparse have been packaged with dependencies that are only relevant for developers, not for production use. These dependencies conflict with our test environment dependencies. Until we upgrade to Napalm 4 (which ditches ciscoconfparse), we lock it to an older, stable version during test runs. --- tests/requirements.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/requirements.txt b/tests/requirements.txt index 970e3d9d7c..3f3fa4304d 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -14,3 +14,6 @@ pytidylib==0.3.2 selenium==3.141.0 whisper>=0.9.9 whitenoise==4.1.4 +# the next dep is here because newer versions of ciscoconfparse has broken dependencies +# this can be removed once we move to napalm 4, which no longer depends on ciscoconfparse +ciscoconfparse<1.6.51