зеркало из https://github.com/microsoft/MLOS.git
Add CI build for Python 3.12 (#829)
This PR enables Python 3.12 in Windows environment and does not restrict Python version in the default environments on Windows and Linux. Note that although `mlos-3.12.yml` exists, its usage is still commented out in `linux.yml`, because Python 3.12 is still not available on GitHub CI. Issue #832 opened to track it P.S. Also, we now use a lighter `matplotlib-base` instead of `matplotlib` proper ~To be merged after #802~ --------- Co-authored-by: Brian Kroth <bpkroth@microsoft.com>
This commit is contained in:
Родитель
45528cfaa0
Коммит
2e1eae30e3
|
@ -37,6 +37,7 @@ jobs:
|
|||
- "3.9"
|
||||
- "3.10"
|
||||
- "3.11"
|
||||
- "3.12"
|
||||
|
||||
env:
|
||||
cache_cur_date: unset
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
name: mlos-3.10
|
||||
channels:
|
||||
- defaults
|
||||
- conda-forge
|
||||
- defaults
|
||||
dependencies:
|
||||
# Basic dev environment packages.
|
||||
# All other dependencies for the mlos modules come from pip.
|
||||
|
@ -15,7 +15,7 @@ dependencies:
|
|||
- jupyter
|
||||
- ipykernel
|
||||
- nb_conda_kernels
|
||||
- matplotlib
|
||||
- matplotlib-base
|
||||
- seaborn
|
||||
- pandas
|
||||
- pyarrow
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
name: mlos-3.11
|
||||
channels:
|
||||
- defaults
|
||||
- conda-forge
|
||||
- defaults
|
||||
dependencies:
|
||||
# Basic dev environment packages.
|
||||
# All other dependencies for the mlos modules come from pip.
|
||||
|
@ -15,7 +15,7 @@ dependencies:
|
|||
- jupyter
|
||||
- ipykernel
|
||||
- nb_conda_kernels
|
||||
- matplotlib
|
||||
- matplotlib-base
|
||||
- seaborn
|
||||
- pandas
|
||||
- pyarrow
|
||||
|
|
|
@ -0,0 +1,48 @@
|
|||
name: mlos-3.12
|
||||
channels:
|
||||
# Use conda-forge to allow other packages to install with python 3.12.
|
||||
# See Also: https://github.com/microsoft/MLOS/issues/832
|
||||
- conda-forge
|
||||
- defaults
|
||||
dependencies:
|
||||
# Basic dev environment packages.
|
||||
# All other dependencies for the mlos modules come from pip.
|
||||
- pip
|
||||
- pylint
|
||||
- black
|
||||
- pycodestyle
|
||||
- pydocstyle
|
||||
- flake8
|
||||
- build
|
||||
- jupyter
|
||||
- ipykernel
|
||||
- nb_conda_kernels
|
||||
- matplotlib-base
|
||||
- seaborn
|
||||
- pandas
|
||||
- pyarrow
|
||||
- swig
|
||||
- libpq
|
||||
- python=3.12
|
||||
# See comments in mlos.yml.
|
||||
#- gcc_linux-64
|
||||
- pip:
|
||||
- bump2version
|
||||
- check-jsonschema
|
||||
- isort
|
||||
- docformatter
|
||||
- licenseheaders
|
||||
- mypy
|
||||
- pandas-stubs
|
||||
- types-beautifulsoup4
|
||||
- types-colorama
|
||||
- types-jsonschema
|
||||
- types-pygments
|
||||
- types-requests
|
||||
- types-setuptools
|
||||
# Workaround a pylance issue in vscode that prevents it finding the latest
|
||||
# method of pip installing editable modules.
|
||||
# https://github.com/microsoft/pylance-release/issues/3473
|
||||
- "--config-settings editable_mode=compat --editable ../mlos_core[full-tests]"
|
||||
- "--config-settings editable_mode=compat --editable ../mlos_bench[full-tests]"
|
||||
- "--config-settings editable_mode=compat --editable ../mlos_viz[full-tests]"
|
|
@ -1,7 +1,7 @@
|
|||
name: mlos-3.8
|
||||
channels:
|
||||
- defaults
|
||||
- conda-forge
|
||||
- defaults
|
||||
dependencies:
|
||||
# Basic dev environment packages.
|
||||
# All other dependencies for the mlos modules come from pip.
|
||||
|
@ -15,7 +15,7 @@ dependencies:
|
|||
- jupyter
|
||||
- ipykernel
|
||||
- nb_conda_kernels
|
||||
- matplotlib
|
||||
- matplotlib-base
|
||||
- seaborn
|
||||
- pandas
|
||||
- pyarrow
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
name: mlos-3.9
|
||||
channels:
|
||||
- defaults
|
||||
- conda-forge
|
||||
- defaults
|
||||
dependencies:
|
||||
# Basic dev environment packages.
|
||||
# All other dependencies for the mlos modules come from pip.
|
||||
|
@ -15,7 +15,7 @@ dependencies:
|
|||
- jupyter
|
||||
- ipykernel
|
||||
- nb_conda_kernels
|
||||
- matplotlib
|
||||
- matplotlib-base
|
||||
- seaborn
|
||||
- pandas
|
||||
- pyarrow
|
||||
|
|
|
@ -22,8 +22,7 @@ dependencies:
|
|||
- pyarrow
|
||||
- swig
|
||||
- libpq
|
||||
# FIXME: https://github.com/microsoft/MLOS/issues/727
|
||||
- python<3.12
|
||||
- python
|
||||
# Install an SMAC requirement pre-compiled from conda-forge.
|
||||
# This also requires a more recent vs2015_runtime from conda-forge.
|
||||
- pyrfr>=0.9.0
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
name: mlos
|
||||
channels:
|
||||
- defaults
|
||||
- conda-forge
|
||||
- defaults
|
||||
dependencies:
|
||||
# Basic dev environment packages.
|
||||
# All other dependencies for the mlos modules come from pip.
|
||||
|
@ -15,14 +15,13 @@ dependencies:
|
|||
- jupyter
|
||||
- ipykernel
|
||||
- nb_conda_kernels
|
||||
- matplotlib
|
||||
- matplotlib-base
|
||||
- seaborn
|
||||
- pandas
|
||||
- pyarrow
|
||||
- swig
|
||||
- libpq
|
||||
# FIXME: https://github.com/microsoft/MLOS/issues/727
|
||||
- python<3.12
|
||||
- python
|
||||
- pip:
|
||||
- bump2version
|
||||
- check-jsonschema
|
||||
|
|
|
@ -18,6 +18,11 @@ classifiers = [
|
|||
"License :: OSI Approved :: MIT License",
|
||||
"Operating System :: OS Independent",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
]
|
||||
license = { "text" = "MIT" }
|
||||
requires-python = ">=3.8"
|
||||
|
|
|
@ -16,6 +16,11 @@ classifiers = [
|
|||
"License :: OSI Approved :: MIT License",
|
||||
"Operating System :: OS Independent",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
]
|
||||
license = { "text" = "MIT" }
|
||||
requires-python = ">=3.8"
|
||||
|
|
|
@ -19,6 +19,11 @@ classifiers = [
|
|||
"License :: OSI Approved :: MIT License",
|
||||
"Operating System :: OS Independent",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
]
|
||||
license = { "text" = "MIT" }
|
||||
requires-python = ">=3.8"
|
||||
|
|
Загрузка…
Ссылка в новой задаче