From 77c6d3109bb6e8398adf187380e792c947438b01 Mon Sep 17 00:00:00 2001 From: Leonardo Fagundes Luz Serrano Date: Tue, 12 Nov 2024 18:30:10 -0300 Subject: [PATCH] Tox: Remove upper bound on hacking version This change is required in order to support testing on python 3.12 Test Plan: pass - Run tox -eflake8 in a ubuntu:noble container Change-Id: I427a7cab6c67905e0496cbbe07d4367d080dfb58 Signed-off-by: Leonardo Fagundes Luz Serrano --- libvirt/config.py | 2 +- requirements/test-requirements.txt | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/libvirt/config.py b/libvirt/config.py index 4d41a7d..2f78a62 100755 --- a/libvirt/config.py +++ b/libvirt/config.py @@ -105,7 +105,7 @@ def item_from_list(data, fields, num): except TypeError as e: print('Sanity: incorrect key type for list or dictionary read:' ' % s ' % e, file=sys.stderr) - return(item) + return item # Checks if the input is valid path diff --git a/requirements/test-requirements.txt b/requirements/test-requirements.txt index 3e0422d..58f0b84 100644 --- a/requirements/test-requirements.txt +++ b/requirements/test-requirements.txt @@ -1,5 +1,4 @@ -hacking>=1.1.0,<=2.0.0 # Apache-2.0 +hacking>=1.1.0 # Apache-2.0 yamllint === 1.32.0 bashate === 2.1.1 pylint === 2.13.9 -tox === 4.6.3