Skip to content
This repository was archived by the owner on May 3, 2023. It is now read-only.

Commit 6a8f509

Browse files
Add Py39 build (#107)
* Add Py39 build * fixups * update multibuild * set pip_cmd * set pip_cmd in test_venv
1 parent 5311c30 commit 6a8f509

File tree

3 files changed

+31
-1
lines changed

3 files changed

+31
-1
lines changed

azure-pipelines.yml

+24
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,16 @@ jobs:
4747
PYTHON_ARCH: "x64"
4848
NP_BUILD_DEP: "1.17.3"
4949
NIGHTLY_BUILD: "true"
50+
py_3.9_32:
51+
PYTHON_VERSION: "3.9"
52+
PYTHON_ARCH: "x86"
53+
NP_BUILD_DEP: "1.19.3"
54+
NIGHTLY_BUILD: "true"
55+
py_3.9_64:
56+
PYTHON_VERSION: "3.9"
57+
PYTHON_ARCH: "x64"
58+
NP_BUILD_DEP: "1.19.3"
59+
NIGHTLY_BUILD: "true"
5060

5161
- template: azure/posix.yml
5262
parameters:
@@ -76,6 +86,16 @@ jobs:
7686
MB_PYTHON_VERSION: "3.8"
7787
NP_BUILD_DEP: "numpy==1.17.3"
7888
NIGHTLY_BUILD: "true"
89+
py_3.9_32:
90+
MB_PYTHON_VERSION: "3.9"
91+
PLAT: "i686"
92+
NP_BUILD_DEP: "numpy==1.19.3"
93+
NIGHTLY_BUILD: "true"
94+
py_3.9_64:
95+
MB_PYTHON_VERSION: "3.9"
96+
NP_BUILD_DEP: "numpy==1.19.3"
97+
NIGHTLY_BUILD: "true"
98+
7999

80100
- template: azure/posix.yml
81101
parameters:
@@ -93,3 +113,7 @@ jobs:
93113
MB_PYTHON_VERSION: "3.8"
94114
NP_BUILD_DEP: "numpy==1.17.3"
95115
NIGHTLY_BUILD: "true"
116+
py_3.9_64:
117+
MB_PYTHON_VERSION: "3.9"
118+
NP_BUILD_DEP: "numpy==1.19.3"
119+
NIGHTLY_BUILD: "true"

extra_functions.sh

+6
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ function setup_test_venv {
1212
# Note: the idiom "python -m pip install ..." is necessary to upgrade
1313
# pip itself on Windows. Otherwise one would get a permission error on
1414
# pip.exe.
15+
PYTHON_EXE=python
16+
PIP_CMD="$PYTHON_EXE -m pip"
1517
python -m pip install --upgrade pip wheel
1618
if [ "$TEST_DEPENDS" != "" ]; then
1719
pip install $TEST_DEPENDS
@@ -27,3 +29,7 @@ function teardown_test_venv {
2729
fi
2830
fi
2931
}
32+
33+
# Work around bug in multibuild. This is copied from NumPy-wheels
34+
# https://github.com/MacPython/numpy-wheels/blob/34c2cdaca98d020081f5d03983d1c78b3b2a828c/extra_functions.sh#L50
35+
if [ ! -o PIP_CMD ]; then PIP_CMD="$PYTHON_EXE -m pip"; fi

0 commit comments

Comments
 (0)