diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 568c286..1126ddd 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: - python-version: ["3.8", "3.9", "3.10"] + python-version: ["3.9", "3.10"] steps: - uses: actions/checkout@v3 diff --git a/netprobify/protocol/tcpsyn.py b/netprobify/protocol/tcpsyn.py index 44c37a0..b568aea 100644 --- a/netprobify/protocol/tcpsyn.py +++ b/netprobify/protocol/tcpsyn.py @@ -335,7 +335,7 @@ def send_packets(self, res, logging_level, all_groups, verbose=0, force_raw_sock packets[seq_acked][1] = pkt[1] # results analysis - for pkt_id in packets: + for pkt_id, _ in packets.items(): sent_pkt = packets[pkt_id][0] # for each responses diff --git a/requirements/netprobify.txt b/requirements/netprobify.txt index 5c91a4a..0207964 100644 --- a/requirements/netprobify.txt +++ b/requirements/netprobify.txt @@ -18,6 +18,8 @@ flask-httpauth==4.8.0 # via -r requirements/netprobify.in idna==3.10 # via requests +importlib-metadata==8.5.0 + # via flask ipaddress==1.0.23 # via ipam-client ipam-client==0.6.2 @@ -62,3 +64,5 @@ waitress==3.0.0 # via -r requirements/netprobify.in werkzeug==3.0.4 # via flask +zipp==3.21.0 + # via importlib-metadata diff --git a/requirements/tests.in b/requirements/tests.in index af84c64..3c367f7 100644 --- a/requirements/tests.in +++ b/requirements/tests.in @@ -3,4 +3,5 @@ pykwalify pylama pytest requests-mock +ruff setuptools diff --git a/requirements/tests.txt b/requirements/tests.txt index 4ed39cf..b01e42e 100644 --- a/requirements/tests.txt +++ b/requirements/tests.txt @@ -42,6 +42,8 @@ ruamel-yaml==0.18.6 # via pykwalify ruamel-yaml-clib==0.2.8 # via ruamel-yaml +ruff==0.8.3 + # via -r requirements/tests.in setuptools==75.1.0 # via -r requirements/tests.in six==1.16.0