Skip to content

Commit

Permalink
Merge pull request #2964 from Uninett/test/move-snmpsim-requirement
Browse files Browse the repository at this point in the history
Fix more snmpsim problems
  • Loading branch information
lunkwill42 authored Sep 12, 2024
2 parents cba5a18 + bc56ce4 commit 5514304
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5514304

Please sign in to comment.