Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0afb549

Browse filesBrowse files
committed
MNT Support and test Python 3.9
The following were used as references when updating pyproject.toml: - scipy/scipy#12940 - scikit-image/scikit-image#4920 - scikit-image/scikit-image#4920 (comment)
1 parent 7db70d5 commit 0afb549
Copy full SHA for 0afb549

File tree

Expand file treeCollapse file tree

6 files changed

+15
-11
lines changed
Filter options
Expand file treeCollapse file tree

6 files changed

+15
-11
lines changed

‎.circleci/config.yml

Copy file name to clipboardExpand all lines: .circleci/config.yml
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444

4545
doc:
4646
docker:
47-
- image: circleci/python:3.7.3-stretch
47+
- image: circleci/python:3.9
4848
environment:
4949
- OMP_NUM_THREADS: 2
5050
- MKL_NUM_THREADS: 2
@@ -90,7 +90,7 @@ jobs:
9090

9191
lint:
9292
docker:
93-
- image: circleci/python:3.6
93+
- image: circleci/python:3.9
9494
steps:
9595
- checkout
9696
- run: ./build_tools/circle/checkout_merge_commit.sh
@@ -103,7 +103,7 @@ jobs:
103103

104104
pypy3:
105105
docker:
106-
- image: pypy:3.6-7.2.0
106+
- image: pypy:3
107107
steps:
108108
- restore_cache:
109109
keys:
@@ -119,7 +119,7 @@ jobs:
119119

120120
deploy:
121121
docker:
122-
- image: circleci/python:3.6
122+
- image: circleci/python:3.9
123123
steps:
124124
- checkout
125125
- run: ./build_tools/circle/checkout_merge_commit.sh

‎.github/workflows/check-manifest.yml

Copy file name to clipboardExpand all lines: .github/workflows/check-manifest.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v2
1212
- uses: actions/setup-python@v2
1313
with:
14-
python-version: '3.8'
14+
python-version: '3.9'
1515
- name: Install dependencies
1616
# scipy and cython are required to build sdist
1717
run: |

‎azure-pipelines.yml

Copy file name to clipboardExpand all lines: azure-pipelines.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
- task: UsePythonVersion@0
1717
inputs:
18-
versionSpec: '3.8'
18+
versionSpec: '3.9'
1919
- bash: |
2020
pip install flake8 mypy==0.782
2121
displayName: Install linters
@@ -129,7 +129,7 @@ jobs:
129129
# It runs tests requiring lightgbm, pandas and PyAMG.
130130
pylatest_pip_openblas_pandas:
131131
DISTRIB: 'conda-pip-latest'
132-
PYTHON_VERSION: '3.8'
132+
PYTHON_VERSION: '3.9'
133133
PANDAS_VERSION: 'none'
134134
CHECK_PYTEST_SOFT_DEPENDENCY: 'true'
135135
TEST_DOCSTRINGS: 'true'

‎build_tools/azure/install.sh

Copy file name to clipboardExpand all lines: build_tools/azure/install.sh
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,10 @@ elif [[ "$DISTRIB" == "conda-pip-latest" ]]; then
8484
setup_ccache
8585
python -m pip install -U pip
8686

87-
python -m pip install pandas matplotlib pyamg scikit-image
87+
# optionally install scikit-image
88+
python -m pip install --only-binary :all: sckit-image || true
89+
90+
python -m pip install pandas matplotlib pyamg
8891
# do not install dependencies for lightgbm since it requires scikit-learn
8992
# and install a version less than 3.0.0 until the issue #18316 is solved.
9093
python -m pip install "lightgbm<3.0.0" --no-deps

‎pyproject.toml

Copy file name to clipboardExpand all lines: pyproject.toml
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ requires = [
66
"Cython>=0.28.5",
77
"numpy==1.13.3; python_version=='3.6' and platform_system!='AIX' and platform_python_implementation == 'CPython'",
88
"numpy==1.14.0; python_version=='3.6' and platform_system!='AIX' and platform_python_implementation != 'CPython'",
9-
"numpy==1.14.5; python_version=='3.7' and platform_system!='AIX'",
10-
"numpy==1.17.3; python_version>='3.8' and platform_system!='AIX'",
119
"numpy==1.16.0; python_version=='3.6' and platform_system=='AIX'",
10+
"numpy==1.14.5; python_version=='3.7' and platform_system!='AIX'",
1211
"numpy==1.16.0; python_version=='3.7' and platform_system=='AIX'",
13-
"numpy==1.17.3; python_version>='3.8' and platform_system=='AIX'",
12+
"numpy==1.17.3; python_version=='3.8'",
13+
"numpy==1.19.3; python_version=='3.9'",
1414
"scipy>=0.19.1",
1515
]

‎setup.py

Copy file name to clipboardExpand all lines: setup.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ def setup_package():
240240
'Programming Language :: Python :: 3.6',
241241
'Programming Language :: Python :: 3.7',
242242
'Programming Language :: Python :: 3.8',
243+
'Programming Language :: Python :: 3.9',
243244
('Programming Language :: Python :: '
244245
'Implementation :: CPython'),
245246
('Programming Language :: Python :: '

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.