Skip to content

Commit 58a321e

Browse files
committed
support py39
1 parent 4f2f84e commit 58a321e

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ install:
2525
- set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%
2626
- conda config --set always_yes yes --set changeps1 no
2727
- conda info -a
28-
- conda create -q -n test-environment python=%PYTHON_VERSION% numpy scipy
28+
- conda create -q -n test-environment python=%PYTHON_VERSION% numpy scipy Cython
2929
- activate test-environment
3030
- python -m pip install --upgrade pip
3131
- pip install wheel twine pytest

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
no_output_timeout: 30m
1919
command: |
2020
sudo pip install --upgrade pip
21-
sudo pip install --only-binary=numpy,scipy numpy scipy pytest pytest-cov codecov
21+
sudo pip install --only-binary=numpy,scipy numpy scipy Cython pytest pytest-cov codecov
2222
sudo pip install -e .[tests]
2323
- save_cache:
2424
key: deps9-{{ .Branch }}

.github/workflows/python-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
python-version: [3.6, 3.7, 3.8]
19+
python-version: [3.6, 3.7, 3.8, 3.9]
2020

2121
steps:
2222
- uses: actions/checkout@v2
@@ -29,7 +29,7 @@ jobs:
2929
- name: Install dependencies
3030
run: |
3131
python -m pip install --upgrade pip
32-
python -m pip install --only-binary=numpy,scipy numpy scipy pytest pytest-cov codecov flake8
32+
python -m pip install --only-binary=numpy,scipy numpy scipy Cython pytest pytest-cov codecov flake8
3333
python -m pip install -e .[tests]
3434
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
3535
- name: Lint with flake8

.github/workflows/python-publish.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ name: upload
1111
on:
1212
release:
1313
types: [published]
14+
push:
15+
branches: [ master ]
1416

1517
jobs:
1618
build-wheels:
@@ -19,7 +21,7 @@ jobs:
1921
strategy:
2022
matrix:
2123
os: [ubuntu-latest, macos-latest, windows-latest]
22-
python-version: [3.6, 3.7, 3.8]
24+
python-version: [3.6, 3.7, 3.8, 3.9]
2325

2426
steps:
2527
- uses: actions/checkout@v2
@@ -42,7 +44,7 @@ jobs:
4244
- name: Install dependencies
4345
run: |
4446
python -m pip install --upgrade pip
45-
python -m pip install --only-binary=numpy,scipy numpy scipy wheel
47+
python -m pip install --only-binary=numpy,scipy numpy scipy Cython wheel
4648
4749
- name: Build wheels
4850
run: python setup.py bdist_wheel
@@ -80,7 +82,7 @@ jobs:
8082
- name: Install dependencies
8183
run: |
8284
python -m pip install --upgrade pip
83-
python -m pip install --only-binary=numpy,scipy numpy scipy wheel
85+
python -m pip install --only-binary=numpy,scipy numpy scipy Cython wheel
8486
8587
- name: Build source tar file
8688
run: python setup.py sdist

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@ def extract_gcc_binaries():
303303
"Programming Language :: Python :: 3.6",
304304
"Programming Language :: Python :: 3.7",
305305
"Programming Language :: Python :: 3.8",
306+
"Programming Language :: Python :: 3.9",
306307
"License :: OSI Approved :: Apache Software License",
307308
"Topic :: Software Development",
308309
"Topic :: Scientific/Engineering",

0 commit comments

Comments
 (0)