From 94146d07dc9fa4f834de8620b7e8ab988c689949 Mon Sep 17 00:00:00 2001 From: Kalyan Sriram Date: Tue, 23 Nov 2021 22:29:33 -0800 Subject: [PATCH 1/5] nox: update to black == 21.4b2 black == 20.8b1 causes issues on appveyor due to an old version of typing_ast. --- noxfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index f291591..e4f77ff 100644 --- a/noxfile.py +++ b/noxfile.py @@ -84,7 +84,7 @@ def lint(session): }, ) if is_latest_python(session): - session.install("black == 20.8b1") + session.install("black == 21.4b2") session.run("black", "--check", ".") From 97477f19b0289b448be27de41d64189f96ec9319 Mon Sep 17 00:00:00 2001 From: Kalyan Sriram Date: Tue, 23 Nov 2021 22:44:10 -0800 Subject: [PATCH 2/5] update sphinx to 4.3.1 --- docs/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index b9cbbe7..1734fb6 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,3 +1,3 @@ -sphinx == 3.5.3 +sphinx == 4.3.1 sphinx_rtd_theme == 0.5.1 sphinx-computron >= 0.2, < 2.0 From ceadc5ad51b691d69e8935bd57703e05765a74a7 Mon Sep 17 00:00:00 2001 From: Kalyan Sriram Date: Tue, 23 Nov 2021 22:08:31 -0800 Subject: [PATCH 3/5] ci: test macos catalina --- appveyor.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 6dfdb45..25d4dc7 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -23,6 +23,10 @@ environment: APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004 PYTHON: "3.6" + - job_group: tests + APPVEYOR_BUILD_WORKER_IMAGE: macos + PYTHON: "3.9" + - job_name: deploy job_depends_on: tests APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004 @@ -53,7 +57,8 @@ for: test_script: # GNU/Linux test. - sh: nox --non-interactive --error-on-missing-interpreters --session test lint --python $PYTHON - - sh: nox --non-interactive --session docs + # skip macOS docs build + - sh: 'if [ "$APPVEYOR_BUILD_WORKER_IMAGE" != "macos" ]; then nox --non-interactive --session docs; fi' # MS Windows test. - cmd: nox --forcecolor --non-interactive --error-on-missing-interpreters --session test lint # Shared test for all platforms. From ed4baf83269a64bbbe9ce6bca93b92801d4cd178 Mon Sep 17 00:00:00 2001 From: Kalyan Sriram Date: Wed, 24 Nov 2021 09:54:02 -0800 Subject: [PATCH 4/5] ci: test 3.10 and modify deployment Adds python 3.10 testing to appveyor and switches deployment to 3.10 --- appveyor.yml | 7 ++++++- noxfile.py | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 25d4dc7..ea2137b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -7,6 +7,10 @@ environment: APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 PYTHON: "C:\\Python39-x64" + - job_group: tests + APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004 + PYTHON: "3.10" + - job_group: tests APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004 PYTHON: "3.9" @@ -30,7 +34,7 @@ environment: - job_name: deploy job_depends_on: tests APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004 - PYTHON: "3.9" + PYTHON: "3.10" GIT_TOKEN: secure: +jQhxLpePj6hdDryfET/XpLo7VL9fhDXVHlwLOPp/nRDYe97TJAfd0XCTuPz1qkT @@ -54,6 +58,7 @@ for: - cmd: 'echo %PATH%' # Shared config. - python -m pip install --upgrade pip setuptools nox + - python --version test_script: # GNU/Linux test. - sh: nox --non-interactive --error-on-missing-interpreters --session test lint --python $PYTHON diff --git a/noxfile.py b/noxfile.py index e4f77ff..3d77d0a 100644 --- a/noxfile.py +++ b/noxfile.py @@ -9,7 +9,7 @@ import nox -PYTHONS = ["3.6", "3.7", "3.8", "3.9"] +PYTHONS = ["3.6", "3.7", "3.8", "3.9", "3.10"] """The newest supported Python shall be listed LAST.""" nox.options.error_on_external_run = True From ae3519229e85167383748044c0462979e17c3308 Mon Sep 17 00:00:00 2001 From: Kalyan Sriram Date: Tue, 23 Nov 2021 22:44:10 -0800 Subject: [PATCH 5/5] update sphinx to 4.3.1 --- docs/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 1734fb6..3b0f1ff 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,3 +1,3 @@ sphinx == 4.3.1 -sphinx_rtd_theme == 0.5.1 +sphinx_rtd_theme == 1.0.0 sphinx-computron >= 0.2, < 2.0