Skip to content

Commit

Permalink
TST: add Python 3.8 to supported and tested versions
Browse files Browse the repository at this point in the history
  • Loading branch information
qwhelan committed Nov 9, 2019
1 parent fd6a15a commit 01fef41
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 8 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ jobs:
strategy:
max-parallel: 12
matrix:
python-version: [2.7, 3.5, 3.6, 3.7]
python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
os: [ubuntu-latest, macOS-latest]
exclude:
- os: macOS-latest
python-version: 3.8

steps:
- uses: actions/checkout@v1
Expand Down
18 changes: 15 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,22 @@ matrix:
PYTHON_VERSION="3.6"
PYTHON_ARCH="64"

# python 3.7 conda numpy
# python 3.7
- os: linux
env: TEST_DEPS="numpy pytest"
PYTHON_VERSION="3.7"
PYTHON_ARCH="64"

# python 3.7 conda numpy + sdist
# python 3.8 conda numpy
- os: linux
env: TEST_DEPS="numpy pytest"
PYTHON_VERSION="3.7"
PYTHON_VERSION="3.8"
PYTHON_ARCH="64"

# python 3.8 conda numpy + sdist
- os: linux
env: TEST_DEPS="numpy pytest"
PYTHON_VERSION="3.8"
PYTHON_ARCH="64"
TEST_RUN="sdist"

Expand Down Expand Up @@ -85,6 +91,12 @@ matrix:
PYTHON_VERSION="3.7"
PYTHON_ARCH="64"

# python 3.8
- os: osx
env: TEST_DEPS="numpy pytest"
PYTHON_VERSION="3.8"
PYTHON_ARCH="64"

before_install:
- uname -a
- source "tools/travis/conda_setup.sh"
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Install
Requirements:

======================== ====================================================
Bottleneck Python 2.7, 3.5, 3.6, 3.7; NumPy 1.16.0+
Bottleneck Python 2.7, 3.5, 3.6, 3.7, 3.8; NumPy 1.16.0+
Compile gcc, clang, MinGW or MSVC
Unit tests pytest
Documentation sphinx, numpydoc
Expand Down
3 changes: 1 addition & 2 deletions RELEASE.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ Project Updates
- Bottleneck has a new maintainer, Christopher Whelan (``@qwhelan`` on GitHub).
- Documentation now hosted at https://bottleneck.readthedocs.io
- 1.3.x will be the last release to support Python 2.7
- Bottleneck now supports and is tested against Python 3.7. (:issue:`211`)
- It is believed to work on Python 3.8 but our testing infrastructure does not yet support 3.8.
- Bottleneck now supports and is tested against Python 3.7 and 3.8. (:issue:`211`, :issue:`268`)
- The ``LICENSE`` file has been restructured to only include the license for the Bottleneck project to aid license audit tools. There has been no change to the licensing of Bottleneck.

- Licenses for other projects incorporated by Bottleneck are now reproduced in full in separate files in the ``LICENSES/`` directory (eg, ``LICENSES/NUMPY_LICENSE``)
Expand Down
10 changes: 10 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,16 @@ environment:
platform: x64
CONDA_HOME: "C:\\Miniconda3-x64"

- PYTHON_VERSION: "3.8"
PYTHON_ARCH: "32"
platform: x86
CONDA_HOME: "C:\\Miniconda3"

- PYTHON_VERSION: "3.8"
PYTHON_ARCH: "64"
platform: x64
CONDA_HOME: "C:\\Miniconda3-x64"

install:
- "SET PATH=%CONDA_HOME%;%CONDA_HOME%\\Scripts;%PATH%"
# configures the Miniconda environment (Py2/Py3, 32/64 bit)
Expand Down
2 changes: 1 addition & 1 deletion tools/travis/conda_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export TEST_NAME
# split dependencies into separate packages
IFS=" " TEST_DEPS=(${TEST_DEPS})
echo "Creating environment '${TEST_NAME}'..."
conda create -q -n "${TEST_NAME}" "${TEST_DEPS[@]}" python="${PYTHON_VERSION}"
conda create -q -n "${TEST_NAME}" python="${PYTHON_VERSION}" "${TEST_DEPS[@]}"

set +v # we dont want to see commands in the conda script

Expand Down

0 comments on commit 01fef41

Please sign in to comment.