diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2022-11-07 22:07:56 +0100 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2022-11-07 22:32:56 +0100 |
commit | 57009707b1a628e026a0a805874f93a30d47eeee (patch) | |
tree | 729c76623d21d26ac3d12db58ebe1756583b330c | |
parent | 1bf8e77ea25608c4797a7e902cc02550096e5b40 (diff) | |
download | psycopg2-57009707b1a628e026a0a805874f93a30d47eeee.tar.gz |
ci: Test Python 3.11 on Appveyor
-rw-r--r-- | .appveyor/tests.yml | 4 | ||||
-rwxr-xr-x | scripts/build/appveyor.py | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/.appveyor/tests.yml b/.appveyor/tests.yml index 3e71aff..77d178e 100644 --- a/.appveyor/tests.yml +++ b/.appveyor/tests.yml @@ -6,8 +6,8 @@ environment: matrix: # For Python versions available on Appveyor, see # https://www.appveyor.com/docs/windows-images-software/#python - # - {PY_VER: "311", PY_ARCH: "32", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019} - # - {PY_VER: "311", PY_ARCH: "64", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019} + - {PY_VER: "311", PY_ARCH: "32", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019} + - {PY_VER: "311", PY_ARCH: "64", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019} - {PY_VER: "310", PY_ARCH: "32", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019} - {PY_VER: "310", PY_ARCH: "64", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019} - {PY_VER: "39", PY_ARCH: "32", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019} diff --git a/scripts/build/appveyor.py b/scripts/build/appveyor.py index 7acbbbe..1196c99 100755 --- a/scripts/build/appveyor.py +++ b/scripts/build/appveyor.py @@ -655,9 +655,12 @@ class Options: @property def py_ver(self): - """The Python version to build as 2 digits string.""" + """The Python version to build as 2 digits string. + + For large values of 2, occasionally. + """ rv = os.environ['PY_VER'] - assert rv in ('36', '37', '38', '39', '310'), rv + assert rv in ('36', '37', '38', '39', '310', '311'), rv return rv @property @@ -744,6 +747,7 @@ class Options: '38': '14.0', '39': '16.0', '310': '16.0', + '311': '16.0', } return vsvers[self.py_ver] |