diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index b8173330d5..e82c2b0881 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -53,7 +53,7 @@ jobs: - name: "Install test runner dependencies" run: | set -xe - python3 -m pip install --upgrade 'pip==23.1.0' setuptools wheel 'tox<4' tox-gh-actions coverage virtualenv 'snmpsim>=1.0' + python3 -m pip install --upgrade 'pip==23.1.0' setuptools wheel 'tox<4' tox-gh-actions coverage virtualenv sudo apt-get install -y nbtscan # virtualenv seems to currently be embedding a broken version of diff --git a/tests/docker/Dockerfile b/tests/docker/Dockerfile index e4a1086ab0..73dcdb5681 100644 --- a/tests/docker/Dockerfile +++ b/tests/docker/Dockerfile @@ -67,7 +67,7 @@ RUN cd /tmp && \ mv chromedriver /usr/local/bin/ # Install our primary test runner -RUN python3.9 -m pip install 'tox<4' 'snmpsim>=1.0' virtualenv +RUN python3.9 -m pip install 'tox<4' virtualenv # Add a build user ENV USER build diff --git a/tests/requirements.txt b/tests/requirements.txt index 98964ea0de..d7ad4f06a8 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -12,6 +12,8 @@ pytest-timeout pytest-twisted~=1.13.0 pytidylib==0.3.2 selenium==3.141.0 +snmpsim>=1.0 +pyasn1<0.6.0 # Really just a constraint because of incompatibility with snmpsim toml whisper>=0.9.9 whitenoise==4.1.4