"vscode:/vscode.git/clone" did not exist on "75e486a6fa2a02a76024b4622d7aba3e13084ad4"
Unverified Commit f47b34f8 authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

[python] Drop Python 3.6 support (#4891)

* Update .appveyor.yml

* Update .vsts-ci.yml

* Update python_package.yml

* Update setup.py

* Update test.sh
parent bd2e949e
......@@ -28,7 +28,6 @@ install:
- set CONDA_ENV="test-env"
- ps: |
switch ($env:PYTHON_VERSION) {
"3.6" {$env:MINICONDA = "C:\Miniconda36-x64"}
"3.7" {$env:MINICONDA = "C:\Miniconda37-x64"}
default {$env:MINICONDA = "C:\Miniconda37-x64"}
}
......
......@@ -114,14 +114,7 @@ if [[ $TASK == "swig" ]]; then
exit 0
fi
# temporary fix for https://github.com/microsoft/LightGBM/issues/4769
if [[ $PYTHON_VERSION == "3.6" ]]; then
DASK_DEPENDENCIES="dask distributed"
else
DASK_DEPENDENCIES="dask=2021.9.1 distributed=2021.9.1"
fi
conda install -q -y -n $CONDA_ENV cloudpickle ${DASK_DEPENDENCIES} joblib matplotlib numpy pandas psutil pytest scikit-learn scipy
conda install -q -y -n $CONDA_ENV cloudpickle "dask=2021.9.1" "distributed=2021.9.1" joblib matplotlib numpy pandas psutil pytest scikit-learn scipy
pip install graphviz # python-graphviz from Anaconda is not allowed to be installed with Python 3.9
if [[ $OS_NAME == "macos" ]] && [[ $COMPILER == "clang" ]]; then
......
......@@ -23,7 +23,7 @@ jobs:
include:
- os: macOS-latest
task: regular
python_version: 3.6
python_version: 3.8
- os: macOS-latest
task: sdist
python_version: 3.9
......@@ -40,7 +40,7 @@ jobs:
- os: macOS-latest
task: mpi
method: pip
python_version: 3.6
python_version: 3.9
- os: macOS-latest
task: mpi
method: wheel
......
......@@ -87,7 +87,6 @@ jobs:
matrix:
regular:
TASK: regular
PYTHON_VERSION: 3.6
sdist:
TASK: sdist
bdist:
......@@ -112,7 +111,6 @@ jobs:
gpu_pip:
TASK: gpu
METHOD: pip
PYTHON_VERSION: 3.6
gpu_wheel:
TASK: gpu
METHOD: wheel
......@@ -262,7 +260,6 @@ jobs:
matrix:
regular:
TASK: regular
PYTHON_VERSION: 3.6
sdist:
TASK: sdist
PYTHON_VERSION: 3.8
......
......@@ -376,7 +376,6 @@ if __name__ == "__main__":
'Operating System :: POSIX',
'Operating System :: Unix',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment