From cae9babc379724e9c14021ffe581eb9bd34d2ef1 Mon Sep 17 00:00:00 2001 From: "David M. Strickland" Date: Sun, 16 Oct 2022 14:04:57 -1000 Subject: [PATCH 1/2] Refresh automated tests - Update pinned Python versions to latest minor available for 3.6, 3.7, 3.8, 3.9, and 3.10 - Update Tox config to include 3.9 and 3.10 - Update Python packages inside of requirements-test.txt to latest versions that still support Python 3.6 - Update the Eel Test GitHub workflow --- .github/workflows/test.yml | 2 +- .python-version | 8 +++++--- requirements-test.txt | 6 +++--- tox.ini | 4 +++- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0179d82c..bcda748a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: os: [ubuntu-20.04, windows-latest, macos-latest] - python-version: [3.6, 3.7, 3.8] + python-version: [3.6, 3.7, 3.8, 3.9, 3.10] steps: - name: Checkout repository diff --git a/.python-version b/.python-version index 2b0944f5..551bdc68 100644 --- a/.python-version +++ b/.python-version @@ -1,3 +1,5 @@ -3.6.10 -3.7.7 -3.8.3 +3.6.15 +3.7.14 +3.8.14 +3.9.13 +3.10.8 \ No newline at end of file diff --git a/requirements-test.txt b/requirements-test.txt index e84dd700..a773aeb6 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,6 +1,6 @@ .[jinja2] -psutil==5.7.0 -pytest==5.4.3 -pytest-timeout==1.4.1 +psutil==5.9.2 +pytest==7.0.1 +pytest-timeout==2.1.0 selenium==3.141.0 diff --git a/tox.ini b/tox.ini index 55f3e5d8..fe783da7 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py36,py37,py38 +envlist = py36,py37,py38,py39,py310 [pytest] timeout = 5 @@ -9,6 +9,8 @@ python = 3.6: py36 3.7: py37 3.8: py38 + 3.9: py39 + 3.10: py310 [testenv] deps = -r requirements-test.txt From e205df33222e6df67f5862dab620e6d7517d062b Mon Sep 17 00:00:00 2001 From: "David M. Strickland" Date: Sun, 16 Oct 2022 14:11:25 -1000 Subject: [PATCH 2/2] Wrap 3.10 in quotes so that it is interpreted correctly --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bcda748a..f6c44255 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: os: [ubuntu-20.04, windows-latest, macos-latest] - python-version: [3.6, 3.7, 3.8, 3.9, 3.10] + python-version: [3.6, 3.7, 3.8, 3.9, "3.10"] steps: - name: Checkout repository