File tree 5 files changed +18
-10
lines changed
Filter options
5 files changed +18
-10
lines changed
Original file line number Diff line number Diff line change 11
11
- uses : actions/checkout@v2
12
12
- uses : actions/setup-python@v2
13
13
with :
14
- python-version : ' 3.8 '
14
+ python-version : ' 3.9 '
15
15
- name : Install dependencies
16
16
# scipy and cython are required to build sdist
17
17
run : |
Original file line number Diff line number Diff line change 15
15
steps :
16
16
- task : UsePythonVersion@0
17
17
inputs :
18
- versionSpec : ' 3.8 '
18
+ versionSpec : ' 3.9 '
19
19
- bash : |
20
20
pip install flake8 mypy==0.782
21
21
displayName: Install linters
@@ -129,7 +129,7 @@ jobs:
129
129
# It runs tests requiring lightgbm, pandas and PyAMG.
130
130
pylatest_pip_openblas_pandas :
131
131
DISTRIB : ' conda-pip-latest'
132
- PYTHON_VERSION : ' 3.8 '
132
+ PYTHON_VERSION : ' 3.9 '
133
133
PANDAS_VERSION : ' none'
134
134
CHECK_PYTEST_SOFT_DEPENDENCY : ' true'
135
135
TEST_DOCSTRINGS : ' true'
Original file line number Diff line number Diff line change @@ -84,6 +84,13 @@ elif [[ "$DISTRIB" == "conda-pip-latest" ]]; then
84
84
setup_ccache
85
85
python -m pip install -U pip
86
86
87
+ # NOTE(honles): scikit-image does not include pyproject.toml in it's
88
+ # current release and these are what it needs to build.
89
+ # This can be removed when
90
+ # https://github.com/scikit-image/scikit-image/pull/5016
91
+ # is released.
92
+ python -m pip install wheel setuptools Cython> =0.29.18 numpy
93
+
87
94
python -m pip install pandas matplotlib pyamg scikit-image
88
95
# do not install dependencies for lightgbm since it requires scikit-learn
89
96
# and install a version less than 3.0.0 until the issue #18316 is solved.
Original file line number Diff line number Diff line change @@ -4,12 +4,12 @@ requires = [
4
4
" setuptools" ,
5
5
" wheel" ,
6
6
" Cython>=0.28.5" ,
7
- " numpy==1.13.3; python_version=='3.6' and platform_system!='AIX' and platform_python_implementation == 'CPython' " ,
8
- " 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 '" ,
11
- " numpy==1.16.0 ; python_version=='3.6' and platform_system=='AIX '" ,
12
- " 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 '" ,
7
+ # We follow scipy for much of these pinnings
8
+ # https://github.com/scipy/scipy/blob/master/pyproject.toml
9
+ " numpy==1.16 .5; python_version=='3.6 '" ,
10
+ " numpy==1.16.5 ; python_version== '3.7 '" ,
11
+ " numpy==1.17.3 ; python_version=='3.8 '" ,
12
+ # do not pin numpy on future versions of python to avoid incompatible numpy and python versions
13
+ " numpy; python_version>='3.9 '" ,
14
14
" scipy>=0.19.1" ,
15
15
]
Original file line number Diff line number Diff line change @@ -240,6 +240,7 @@ def setup_package():
240
240
'Programming Language :: Python :: 3.6' ,
241
241
'Programming Language :: Python :: 3.7' ,
242
242
'Programming Language :: Python :: 3.8' ,
243
+ 'Programming Language :: Python :: 3.9' ,
243
244
('Programming Language :: Python :: '
244
245
'Implementation :: CPython' ),
245
246
('Programming Language :: Python :: '
You can’t perform that action at this time.
0 commit comments