diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2022-11-07 23:42:28 +0100 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2022-11-07 23:42:28 +0100 |
commit | e8d92b74fd4b219cb4725cb906c526f3f2dce31d (patch) | |
tree | 4a5ec0adaec7b467deef2b64b1341467b5a29d8e | |
parent | 3182ea2303f4c7fb52c0f17018ddf98aa03ab4c8 (diff) | |
parent | 026b5bf3abd32f678f7ab77c7b955c9fd1b2576e (diff) | |
download | psycopg2-e8d92b74fd4b219cb4725cb906c526f3f2dce31d.tar.gz |
Merge branch 'py311-win32'
-rw-r--r-- | .appveyor/packages.yml | 4 | ||||
-rw-r--r-- | .appveyor/tests.yml | 4 | ||||
-rwxr-xr-x | scripts/build/appveyor.py | 8 |
3 files changed, 10 insertions, 6 deletions
diff --git a/.appveyor/packages.yml b/.appveyor/packages.yml index 2cbe0ea..8b29630 100644 --- a/.appveyor/packages.yml +++ b/.appveyor/packages.yml @@ -11,8 +11,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: "310", 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/.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] |