From af6bf43c6e226b177cad2f5fdaf0dbe77a9ab8b5 Mon Sep 17 00:00:00 2001 From: Leonardo Rossetti Date: Feb 28 2024 20:42:23 +0000 Subject: move to supported python versions --- diff --git a/resultsdb_listener/config.py b/resultsdb_listener/config.py index bf13e2d..1825721 100644 --- a/resultsdb_listener/config.py +++ b/resultsdb_listener/config.py @@ -1,5 +1,4 @@ import configparser -import io defaults = """ [sender] @@ -9,7 +8,7 @@ resultsdb_url = http://127.0.0.1:5001/api/v2.0/ """ config = configparser.ConfigParser() -config.readfp(io.StringIO(defaults)) +config.read_string(defaults) config.read(["/etc/ci-resultsdb-listener/listener.cfg", "./conf/listener.cfg"]) diff --git a/tox.ini b/tox.ini index d106c5a..97425cc 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,6 @@ # This is a common file where different test suites/linters can be configured. [tox] -envlist = py36,py37,lint -#,py38 does not work atm +envlist = py310,py311,py312,lint # If the user is missing an interpreter, don't fail skip_missing_interpreters = True