Skip to content
Snippets Groups Projects
Commit 58a321e3 authored by tqtg's avatar tqtg
Browse files

support py39

parent 4f2f84e4
No related branches found
No related tags found
No related merge requests found
...@@ -25,7 +25,7 @@ install: ...@@ -25,7 +25,7 @@ install:
- set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH% - set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%
- conda config --set always_yes yes --set changeps1 no - conda config --set always_yes yes --set changeps1 no
- conda info -a - 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 - activate test-environment
- python -m pip install --upgrade pip - python -m pip install --upgrade pip
- pip install wheel twine pytest - pip install wheel twine pytest
......
...@@ -18,7 +18,7 @@ jobs: ...@@ -18,7 +18,7 @@ jobs:
no_output_timeout: 30m no_output_timeout: 30m
command: | command: |
sudo pip install --upgrade pip 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] sudo pip install -e .[tests]
- save_cache: - save_cache:
key: deps9-{{ .Branch }} key: deps9-{{ .Branch }}
......
...@@ -16,7 +16,7 @@ jobs: ...@@ -16,7 +16,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
python-version: [3.6, 3.7, 3.8] python-version: [3.6, 3.7, 3.8, 3.9]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
...@@ -29,7 +29,7 @@ jobs: ...@@ -29,7 +29,7 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip 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] python -m pip install -e .[tests]
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8 - name: Lint with flake8
......
...@@ -11,6 +11,8 @@ name: upload ...@@ -11,6 +11,8 @@ name: upload
on: on:
release: release:
types: [published] types: [published]
push:
branches: [ master ]
jobs: jobs:
build-wheels: build-wheels:
...@@ -19,7 +21,7 @@ jobs: ...@@ -19,7 +21,7 @@ jobs:
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest, macos-latest, windows-latest] 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: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
...@@ -42,7 +44,7 @@ jobs: ...@@ -42,7 +44,7 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip 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 - name: Build wheels
run: python setup.py bdist_wheel run: python setup.py bdist_wheel
...@@ -80,7 +82,7 @@ jobs: ...@@ -80,7 +82,7 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip 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 - name: Build source tar file
run: python setup.py sdist run: python setup.py sdist
......
...@@ -303,6 +303,7 @@ setup( ...@@ -303,6 +303,7 @@ setup(
"Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: Apache Software License", "License :: OSI Approved :: Apache Software License",
"Topic :: Software Development", "Topic :: Software Development",
"Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment