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

MAINT: init file and mpl updates #70

Merged
merged 15 commits into from
Apr 30, 2020
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 11 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ env:
# Also see DAILY_COMMIT below
- BUILD_COMMIT=master
- PLAT=x86_64
- NP_BUILD_DEP="numpy==1.13.3"
- NP_BUILD_DEP="numpy==1.14.5"
- CYTHON_BUILD_DEP="Cython==0.29.14"
- PYBIND11_BUILD_DEP="pybind11==2.4.3"
- NP_TEST_DEP="numpy==1.13.3"
- NP_TEST_DEP="numpy==1.14.5"
- UNICODE_WIDTH=32
- MANYLINUX_URL="https://5cf40426d9f06eb7461d-6fe47d9331aba7cd62fc36c7196769e4.ssl.cf2.rackcdn.com"
- WHEELHOUSE_UPLOADER_USERNAME=travis-worker
Expand All @@ -19,28 +19,26 @@ env:
- DAILY_COMMIT=master

language: python
# Default Python version is usually 2.7
python: 3.5
sudo: required
dist: trusty
dist: bionic
services: docker
os: linux

matrix:
jobs:
exclude:
# Exclude the default Python 3.5 build
- python: 3.5
include:
- os: linux
env:
- MB_PYTHON_VERSION=3.6
- NP_BUILD_DEP=numpy==1.13.3
- NP_TEST_DEP=numpy==1.13.3
- NP_BUILD_DEP=numpy==1.14.5
- NP_TEST_DEP=numpy==1.14.5
- os: linux
env:
- MB_PYTHON_VERSION=3.6
- PLAT=i686
- NP_BUILD_DEP=numpy==1.13.3
- NP_TEST_DEP=numpy==1.13.3
- NP_BUILD_DEP=numpy==1.14.5
- NP_TEST_DEP=numpy==1.14.5
- os: linux
env:
- MB_PYTHON_VERSION=3.7
Expand Down Expand Up @@ -71,8 +69,8 @@ matrix:
language: generic
env:
- MB_PYTHON_VERSION=3.6
- NP_BUILD_DEP=numpy==1.13.3
- NP_TEST_DEP=numpy==1.13.3
- NP_BUILD_DEP=numpy==1.14.5
- NP_TEST_DEP=numpy==1.14.5
- os: osx
language: generic
env:
Expand Down
29 changes: 11 additions & 18 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ environment:
OPENBLAS_32_SHA256: 06e3d38f01119afe5d6630d7ad310a873f8bede52fe71f2d0e2ebf3476194892
OPENBLAS_64_SHA256: 4d496081543c61bfb8069c1a12dfc2c0371cf9c59f9a4488e2e416dd4026357e
CYTHON_BUILD_DEP: Cython==0.29.14
NUMPY_TEST_DEP: numpy==1.13.3
NUMPY_TEST_DEP: numpy==1.14.5
PYBIND11_BUILD_DEP: pybind11==2.4.3
TEST_MODE: fast
APPVEYOR_SAVE_CACHE_ON_ERROR: true
Expand Down Expand Up @@ -47,26 +47,26 @@ environment:
- PYTHON: C:\Python37
PYTHON_VERSION: 3.7
PYTHON_ARCH: 32
NUMPY_BUILD_DEP: numpy==1.14.5
NUMPY_TEST_DEP: numpy==1.14.5
NUMPY_BUILD_DEP: numpy==1.17.3
NUMPY_TEST_DEP: numpy==1.17.3
CYTHON_BUILD_DEP: Cython

- PYTHON: C:\Python37-x64
PYTHON_VERSION: 3.7
PYTHON_ARCH: 64
NUMPY_BUILD_DEP: numpy==1.14.5
NUMPY_TEST_DEP: numpy==1.14.5
NUMPY_BUILD_DEP: numpy==1.17.3
NUMPY_TEST_DEP: numpy==1.17.3
rgommers marked this conversation as resolved.
Show resolved Hide resolved
CYTHON_BUILD_DEP: Cython

- PYTHON: C:\Python36
PYTHON_VERSION: 3.6
PYTHON_ARCH: 32
NUMPY_BUILD_DEP: numpy==1.13.3
NUMPY_BUILD_DEP: numpy==1.14.5

- PYTHON: C:\Python36-x64
PYTHON_VERSION: 3.6
PYTHON_ARCH: 64
NUMPY_BUILD_DEP: numpy==1.13.3
NUMPY_BUILD_DEP: numpy==1.14.5

init:
- "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%"
Expand Down Expand Up @@ -154,7 +154,7 @@ install:
# Replace numpy distutils with a version that can build with msvc + mingw-gfortran.
- ps: |
$PYTHON_VERSION = $env:PYTHON_VERSION
If ($PYTHON_VERSION -ne 3.8) {
If ([System.Version]"$PYTHON_VERSION" -lt [System.Version]"3.7") {
$NumpyDir = $((python -c 'import os; import numpy; print(os.path.dirname(numpy.__file__))') | Out-String).Trim()
rm -r -Force "$NumpyDir\distutils"
mv numpy-distutils\numpy\distutils $NumpyDir
Expand All @@ -166,10 +166,10 @@ build_script:
- cd scipy
- git checkout %BUILD_COMMIT%
# we use a distribution file to assist in loading
# DLLs with recent Python versions (>= 3.8)
# DLLs with recent Python versions (>= 3.7)
- ps: |
$PYTHON_VERSION = $env:PYTHON_VERSION
If ($PYTHON_VERSION -eq 3.8) {
If ([System.Version]"$PYTHON_VERSION" -ge [System.Version]"3.7") {
cd ..
$cwd = Get-Location
ls $cwd
Expand Down Expand Up @@ -209,14 +209,7 @@ build_script:

before_test:
# Install test requirements.
- python -m pip install pytest pytest-xdist pytest-faulthandler pytest-env Pillow mpmath
- ps: |
$PYTHON_VERSION = $env:PYTHON_VERSION
If ($PYTHON_VERSION -eq 3.8) {
python -m pip install matplotlib==3.2.0rc1
} Else {
python -m pip install matplotlib
}
- python -m pip install pytest pytest-xdist pytest-faulthandler pytest-env Pillow mpmath matplotlib

# Upgrade numpy to the version used for testing
- python -m pip install "%NUMPY_TEST_DEP%"
Expand Down