From 37ae9ba0e9646b8e37e728b48f29246456ec67a3 Mon Sep 17 00:00:00 2001 From: Victor Chudnovsky Date: Mon, 12 Aug 2024 15:42:26 -0700 Subject: [PATCH 1/2] chore: use python3.10 for tests --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index ca14c8c0..b036b0a7 100644 --- a/tox.ini +++ b/tox.ini @@ -12,10 +12,10 @@ commands = deps = {[testenv]deps} commands = - python3 -m pytest tests + python3.10 -m pytest tests [testenv:update_goldens] deps = {[testenv]deps} commands = - python3 -m pytest --update-goldens True tests/test_goldens.py + python3.10 -m pytest --update-goldens True tests/test_goldens.py From bd50c9895e97a6bbb73890009c110730ed8f929c Mon Sep 17 00:00:00 2001 From: Victor Chudnovsky Date: Mon, 12 Aug 2024 15:49:22 -0700 Subject: [PATCH 2/2] Specify python3.10 centrally --- tox.ini | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index b036b0a7..db618676 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,7 @@ [tox] -envlist = tests +envlist = + tests + py310 [testenv] setenv = @@ -12,10 +14,10 @@ commands = deps = {[testenv]deps} commands = - python3.10 -m pytest tests + python3 -m pytest tests [testenv:update_goldens] deps = {[testenv]deps} commands = - python3.10 -m pytest --update-goldens True tests/test_goldens.py + python3 -m pytest --update-goldens True tests/test_goldens.py