summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2021-10-05 00:44:09 +0200
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2021-10-11 23:32:30 +0200
commit4a46aa39a5842887f100ad1fafad55d207497f40 (patch)
tree213f594d53b49ec5da956f2ab44eed290e20e444 /scripts
parentb241def64bdc9ac350ecae4b665d9eec11a48229 (diff)
downloadpsycopg2-4a46aa39a5842887f100ad1fafad55d207497f40.tar.gz
Build Python 3.10 packages of relase 2.9.12_9_1-Python_3.10
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/appveyor.py3
-rwxr-xr-xscripts/build/build_manylinux_2_24.sh2
2 files changed, 3 insertions, 2 deletions
diff --git a/scripts/build/appveyor.py b/scripts/build/appveyor.py
index 39b3ebe..bd65007 100755
--- a/scripts/build/appveyor.py
+++ b/scripts/build/appveyor.py
@@ -661,7 +661,7 @@ class Options:
def py_ver(self):
"""The Python version to build as 2 digits string."""
rv = os.environ['PY_VER']
- assert rv in ('36', '37', '38', '39'), rv
+ assert rv in ('36', '37', '38', '39', '310'), rv
return rv
@property
@@ -747,6 +747,7 @@ class Options:
'37': '14.0',
'38': '14.0',
'39': '16.0',
+ '310': '16.0',
}
return vsvers[self.py_ver]
diff --git a/scripts/build/build_manylinux_2_24.sh b/scripts/build/build_manylinux_2_24.sh
index d83c841..6a9e992 100755
--- a/scripts/build/build_manylinux_2_24.sh
+++ b/scripts/build/build_manylinux_2_24.sh
@@ -27,7 +27,7 @@ if [[ "${PACKAGE_NAME:-}" ]]; then
fi
# Install prerequisite libraries
-curl -s https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
+curl -k -s https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
echo "deb http://apt.postgresql.org/pub/repos/apt stretch-pgdg main" \
> /etc/apt/sources.list.d/pgdg.list
apt-get -y update