From e68384b5f1233cf22f730132c8e98d114b22d953 Mon Sep 17 00:00:00 2001 From: Kurt McKee Date: Mon, 23 Jun 2025 16:01:24 -0500 Subject: [PATCH] Fix tox so that it can run The following changes are introduced: * Update the list of Python versions to test (3.9+) * Remove the now-unused `default` and `simplejson` factors * Switch to Poetry for dependency installation * Switch to running pytest to execute the test suite --- tox.ini | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index ad31b6a..af594b1 100644 --- a/tox.ini +++ b/tox.ini @@ -1,12 +1,15 @@ [tox] -envlist = {py37,py38,py39,py310}-{default,simplejson} +envlist = + py{3.9,3.10,3.11,3.12,3.13} [testenv] +skip_install = true deps = - -rrequirements.txt - -rrequirements_dev.txt + poetry +commands_pre = + poetry install --with dev commands = - python setup.py test + pytest [flake8] max-line-length = 79