mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-07-29 09:29:46 +03:00
Allow building on Appveyor with Python 3.9
This statement is going to be fun on Python 3.10...
This commit is contained in:
parent
b203be11a6
commit
14b1cfb446
|
@ -13,6 +13,8 @@ environment:
|
||||||
# https://www.appveyor.com/docs/windows-images-software/#python
|
# https://www.appveyor.com/docs/windows-images-software/#python
|
||||||
- {PY_VER: "27", PY_ARCH: "32"}
|
- {PY_VER: "27", PY_ARCH: "32"}
|
||||||
- {PY_VER: "27", PY_ARCH: "64"}
|
- {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: "32"}
|
||||||
- {PY_VER: "38", PY_ARCH: "64"}
|
- {PY_VER: "38", PY_ARCH: "64"}
|
||||||
- {PY_VER: "37", PY_ARCH: "32"}
|
- {PY_VER: "37", PY_ARCH: "32"}
|
||||||
|
|
|
@ -694,7 +694,7 @@ class Options:
|
||||||
def py_ver(self):
|
def py_ver(self):
|
||||||
"""The Python version to build as 2 digits string."""
|
"""The Python version to build as 2 digits string."""
|
||||||
rv = os.environ['PY_VER']
|
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
|
return rv
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
Loading…
Reference in New Issue
Block a user