Skip to content

Commit

Permalink
[python] Start supporting Python 3.9 (#3693)
Browse files Browse the repository at this point in the history
* start supporting Python 3.9

* Update .vsts-ci.yml

* Update .vsts-ci.yml

* Update .appveyor.yml

* Update .vsts-ci.yml

* Update .appveyor.yml

* fixed conflicts

* continue
  • Loading branch information
StrikerRUS authored Jan 31, 2021
1 parent 0c42cb4 commit be2fe2f
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ jobs:
matrix:
include:
- method: source
python_version: 3.6
python_version: 3.7
cuda_version: "11.2.0"
- method: pip
python_version: 3.7
python_version: 3.8
cuda_version: "10.0"
- method: wheel
python_version: 3.8
python_version: 3.9
cuda_version: "9.0"
steps:
- name: Setup or update software on host machine
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 @@ -26,7 +26,7 @@ jobs:
python_version: 3.6
- os: macOS-latest
task: sdist
python_version: 3.8
python_version: 3.9
- os: macOS-latest
task: bdist
python_version: 3.8
Expand All @@ -36,7 +36,7 @@ jobs:
- os: macOS-latest
task: mpi
method: source
python_version: 3.8
python_version: 3.9
- os: macOS-latest
task: mpi
method: pip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:
CONDA_ENV: test-env
GITHUB_ACTIONS: 'true'
OS_NAME: 'linux'
PYTHON_VERSION: 3.8
PYTHON_VERSION: 3.9

jobs:
test:
Expand Down
10 changes: 7 additions & 3 deletions .vsts-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pr:
- master
variables:
AZURE: 'true'
PYTHON_VERSION: 3.8
PYTHON_VERSION: 3.9
CONDA_ENV: test-env
resources:
containers:
Expand All @@ -35,14 +35,15 @@ jobs:
TASK: regular
sdist:
TASK: sdist
PYTHON_VERSION: 3.7
bdist:
TASK: bdist
PYTHON_VERSION: 3.7
inference:
TASK: if-else
mpi_source:
TASK: mpi
METHOD: source
PYTHON_VERSION: 3.8
gpu_source:
TASK: gpu
METHOD: source
Expand Down Expand Up @@ -89,6 +90,7 @@ jobs:
TASK: sdist
bdist:
TASK: bdist
PYTHON_VERSION: 3.8
inference:
TASK: if-else
mpi_source:
Expand All @@ -97,7 +99,7 @@ jobs:
mpi_pip:
TASK: mpi
METHOD: pip
PYTHON_VERSION: 3.7
PYTHON_VERSION: 3.8
mpi_wheel:
TASK: mpi
METHOD: wheel
Expand Down Expand Up @@ -151,6 +153,7 @@ jobs:
PYTHON_VERSION: 3.7
sdist:
TASK: sdist
PYTHON_VERSION: 3.8
bdist:
TASK: bdist
swig:
Expand Down Expand Up @@ -187,6 +190,7 @@ jobs:
PYTHON_VERSION: 3.6
sdist:
TASK: sdist
PYTHON_VERSION: 3.8
bdist:
TASK: bdist
swig:
Expand Down
1 change: 1 addition & 0 deletions python-package/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,4 +374,5 @@ def run(self):
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Scientific/Engineering :: Artificial Intelligence'])

0 comments on commit be2fe2f

Please sign in to comment.