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

Commit bf9c380

Browse files
authored
Merge pull request #116 from tylerjereddy/treddy_anaconda_client_pin
MAINT: pin anaconda-client and add pythran build dependency
2 parents 72cb8ab + d229005 commit bf9c380

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ env:
55
- BUILD_COMMIT=master
66
- PLAT=x86_64
77
- CYTHON_BUILD_DEP="Cython==0.29.18"
8+
- PYTHRAN_BUILD_DEP="pythran"
89
- PYBIND11_BUILD_DEP="pybind11==2.4.3"
910
- UNICODE_WIDTH=32
1011
- MANYLINUX_URL="https://5cf40426d9f06eb7461d-6fe47d9331aba7cd62fc36c7196769e4.ssl.cf2.rackcdn.com"
@@ -140,7 +141,7 @@ before_install:
140141
CONTAINER=wheels;
141142
UPLOAD_ARGS="--no-update-index";
142143
fi
143-
- BUILD_DEPENDS="wheel oldest-supported-numpy $CYTHON_BUILD_DEP $PYBIND11_BUILD_DEP"
144+
- BUILD_DEPENDS="wheel oldest-supported-numpy $CYTHON_BUILD_DEP $PYTHRAN_BUILD_DEP $PYBIND11_BUILD_DEP"
144145
- TEST_DEPENDS="oldest-supported-numpy pytest pytest-xdist pytest-faulthandler pytest-env"
145146
- source multibuild/common_utils.sh
146147
- source multibuild/travis_steps.sh
@@ -167,7 +168,7 @@ after_success:
167168
source extra_functions.sh;
168169
for f in wheelhouse/*.whl; do rename_wheel $f; done;
169170
ANACONDA_ORG="scipy-wheels-nightly";
170-
pip install git+https://github.com/Anaconda-Server/anaconda-client;
171+
pip install git+https://github.com/Anaconda-Platform/anaconda-client.git@ce89e4351eef;
171172
anaconda -t ${SCIPY_WHEELS_NIGHTLY} upload --force -u ${ANACONDA_ORG} ${TRAVIS_BUILD_DIR}/wheelhouse/*.whl;
172173
fi
173174
# for merges (push events) we use the staging area instead;
@@ -176,6 +177,6 @@ after_success:
176177
# multibuild-wheels-staging
177178
- if [ "$TRAVIS_EVENT_TYPE" == "push" ]; then
178179
ANACONDA_ORG="multibuild-wheels-staging";
179-
pip install git+https://github.com/Anaconda-Server/anaconda-client;
180+
pip install git+https://github.com/Anaconda-Platform/anaconda-client.git@ce89e4351eef;
180181
anaconda -t ${SCIPY_STAGING_UPLOAD_TOKEN} upload --force -u ${ANACONDA_ORG} ${TRAVIS_BUILD_DIR}/wheelhouse/*.whl;
181182
fi

appveyor.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ environment:
1313
MINGW_32: C:\mingw-w64\i686-6.3.0-posix-dwarf-rt_v5-rev1\mingw32\bin
1414
MINGW_64: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin
1515
CYTHON_BUILD_DEP: Cython==0.29.18
16+
PYTHRAN_BUILD_DEP: pythran
1617
NUMPY_TEST_DEP: numpy==1.16.5
1718
PYBIND11_BUILD_DEP: pybind11==2.4.3
1819
TEST_MODE: fast
@@ -125,7 +126,7 @@ install:
125126
- python -m pip install -U pip setuptools wheel
126127

127128
# Install build requirements.
128-
- pip install "%CYTHON_BUILD_DEP%" "%NUMPY_BUILD_DEP%" "%PYBIND11_BUILD_DEP%"
129+
- pip install "%CYTHON_BUILD_DEP%" "%PYTHRAN_BUILD_DEP%" "%NUMPY_BUILD_DEP%" "%PYBIND11_BUILD_DEP%"
129130

130131
# Replace numpy distutils with a version that can build with msvc + mingw-gfortran,
131132
# and writes __config__.py suitable for Python 3.8. (Requires Numpy >= 1.18.0)
@@ -221,5 +222,5 @@ on_success:
221222
# multibuild-wheels-staging site
222223
- cd ..\scipy
223224
- cmd: set ANACONDA_ORG="multibuild-wheels-staging"
224-
- pip install git+https://github.com/Anaconda-Server/anaconda-client
225+
- pip install git+https://github.com/Anaconda-Platform/anaconda-client.git@ce89e4351eef
225226
- IF NOT "%SCIPY_STAGING_UPLOAD_TOKEN%" == "" anaconda -t %SCIPY_STAGING_UPLOAD_TOKEN% upload --force -u %ANACONDA_ORG% "dist\*.whl"

azure-posix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
set -e
6060
echo building for commit "$BUILD_COMMIT"
6161
pip install --upgrade virtualenv wheel setuptools
62-
BUILD_DEPENDS="wheel oldest-supported-numpy Cython>=0.29.18 pybind11>=2.4.3"
62+
BUILD_DEPENDS="wheel oldest-supported-numpy Cython>=0.29.18 pybind11>=2.4.3 pythran"
6363
6464
source multibuild/common_utils.sh
6565
source multibuild/travis_steps.sh

0 commit comments

Comments
 (0)