Skip to content

Commit

Permalink
[MRG] Deprecate python3.5 and build wheels for python3.9 and 3.10 (#373)
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Majchrak committed Dec 2, 2021
1 parent 5106253 commit 2c63714
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
pip install -U "cython"
- name: Install cibuildwheel
run: |
python -m pip install cibuildwheel==1.3.0
python -m pip install cibuildwheel~=2.3
- name: Build wheel
env:
CIBW_SKIP: "pp*-win* *cp27* *cp35* *pp*"
CIBW_SKIP: "pp*-win* *cp27* *pp*"
CIBW_BEFORE_BUILD: "pip install numpy cython"
run: |
python -m cibuildwheel --output-dir wheelhouse
Expand Down
18 changes: 3 additions & 15 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ jobs:
vmImage: 'ubuntu-latest'
strategy:
matrix:
Python35:
python.version: '3.5'
Python36:
python.version: '3.6'
Python37:
Expand Down Expand Up @@ -46,13 +44,8 @@ jobs:
- script: |
set -xe
python -m pip install pytest pytest-azurepipelines
if [[ "$(python.version)" == '3.5' ]];
then
python -m pytest -v tslearn/ --doctest-modules -k 'not test_all_estimators';
else
python -m pip install scikit-learn==0.23
python -m pytest -v tslearn/ --doctest-modules;
fi
python -m pip install scikit-learn==0.23
python -m pytest -v tslearn/ --doctest-modules;
displayName: 'Test'
Expand Down Expand Up @@ -104,11 +97,9 @@ jobs:
- job: 'macOS'
pool:
vmImage: 'macOS-latest'
vmImage: 'macOS-10.15'
strategy:
matrix:
Python35:
python.version: '3.5'
Python36:
python.version: '3.6'
Python37:
Expand Down Expand Up @@ -155,9 +146,6 @@ jobs:
vmImage: 'windows-latest'
strategy:
matrix:
Python35:
python_ver: '35'
python.version: '3.5'
Python36:
python_ver: '36'
python.version: '3.6'
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[build-system]
requires = ["setuptools", "wheel", "numpy<=1.19", "Cython"]
requires = ["setuptools", "wheel", "numpy", "Cython"]

0 comments on commit 2c63714

Please sign in to comment.