From 3572e5e084d1c1ab1425cdc1455290a1f16bb24f Mon Sep 17 00:00:00 2001 From: Carlos <27721404+carlkidcrypto@users.noreply.github.com> Date: Sat, 2 Mar 2024 17:25:43 -0800 Subject: [PATCH] Flake - fixing flake errors - letting req text file be the source of truth for the "Install pip dependencies" step. --- .github/workflows/tests.yml | 3 --- requirements.txt | 3 ++- tests/test_multi_threading.py | 1 - 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 96435b9a..8948adfa 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -77,9 +77,6 @@ jobs: - name: Install pip dependencies run: | - python -m pip install --upgrade pip - pip install flake8 pytest pytest-cov wheel - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Build source diff --git a/requirements.txt b/requirements.txt index e133f299..18d07435 100644 --- a/requirements.txt +++ b/requirements.txt @@ -25,4 +25,5 @@ setuptools==69.1.1 urllib3==2.2.1 build==1.1.1 cibuildwheel==2.16.5 -pip==24.0 \ No newline at end of file +pip==24.0 +wheel==0.37.1 \ No newline at end of file diff --git a/tests/test_multi_threading.py b/tests/test_multi_threading.py index ca9303be..4dfa9ffa 100644 --- a/tests/test_multi_threading.py +++ b/tests/test_multi_threading.py @@ -2,7 +2,6 @@ import pytest from ezsnmp.session import Session from ezsnmp.exceptions import EzSNMPConnectionError -from time import sleep import concurrent.futures import multiprocessing