Skip to content

Commit

Permalink
support py39
Browse files Browse the repository at this point in the history
  • Loading branch information
tqtg committed Jul 11, 2021
1 parent 4f2f84e commit 58a321e
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ install:
- set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%
- conda config --set always_yes yes --set changeps1 no
- conda info -a
- conda create -q -n test-environment python=%PYTHON_VERSION% numpy scipy
- conda create -q -n test-environment python=%PYTHON_VERSION% numpy scipy Cython
- activate test-environment
- python -m pip install --upgrade pip
- pip install wheel twine pytest
Expand Down
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
no_output_timeout: 30m
command: |
sudo pip install --upgrade pip
sudo pip install --only-binary=numpy,scipy numpy scipy pytest pytest-cov codecov
sudo pip install --only-binary=numpy,scipy numpy scipy Cython pytest pytest-cov codecov
sudo pip install -e .[tests]
- save_cache:
key: deps9-{{ .Branch }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.6, 3.7, 3.8]
python-version: [3.6, 3.7, 3.8, 3.9]

steps:
- uses: actions/checkout@v2
Expand All @@ -29,7 +29,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --only-binary=numpy,scipy numpy scipy pytest pytest-cov codecov flake8
python -m pip install --only-binary=numpy,scipy numpy scipy Cython pytest pytest-cov codecov flake8
python -m pip install -e .[tests]
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ name: upload
on:
release:
types: [published]
push:
branches: [ master ]

jobs:
build-wheels:
Expand All @@ -19,7 +21,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.6, 3.7, 3.8]
python-version: [3.6, 3.7, 3.8, 3.9]

steps:
- uses: actions/checkout@v2
Expand All @@ -42,7 +44,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --only-binary=numpy,scipy numpy scipy wheel
python -m pip install --only-binary=numpy,scipy numpy scipy Cython wheel
- name: Build wheels
run: python setup.py bdist_wheel
Expand Down Expand Up @@ -80,7 +82,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --only-binary=numpy,scipy numpy scipy wheel
python -m pip install --only-binary=numpy,scipy numpy scipy Cython wheel
- name: Build source tar file
run: python setup.py sdist
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ def extract_gcc_binaries():
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: Apache Software License",
"Topic :: Software Development",
"Topic :: Scientific/Engineering",
Expand Down

0 comments on commit 58a321e

Please sign in to comment.