Allow building on Appveyor with Python 3.9

This statement is going to be fun on Python 3.10...
This commit is contained in:
Daniele Varrazzo 2020-10-27 11:48:27 +01:00
parent b203be11a6
commit 14b1cfb446
2 changed files with 3 additions and 1 deletions

View File

@ -13,6 +13,8 @@ environment:
# https://www.appveyor.com/docs/windows-images-software/#python
- {PY_VER: "27", PY_ARCH: "32"}
- {PY_VER: "27", PY_ARCH: "64"}
- {PY_VER: "39", PY_ARCH: "32"}
- {PY_VER: "39", PY_ARCH: "64"}
- {PY_VER: "38", PY_ARCH: "32"}
- {PY_VER: "38", PY_ARCH: "64"}
- {PY_VER: "37", PY_ARCH: "32"}

View File

@ -694,7 +694,7 @@ class Options:
def py_ver(self):
"""The Python version to build as 2 digits string."""
rv = os.environ['PY_VER']
assert rv in ('27', '34', '35', '36', '37', '38'), rv
assert rv in ('27', '34', '35', '36', '37', '38', '39'), rv
return rv
@property