зеркало из https://github.com/microsoft/MLOS.git
Add some additional conda dependencies to build wheels (#519)
Fixes some uncached rebuild issues that are holding up some other PRs.
This commit is contained in:
Родитель
6629e88a53
Коммит
13c62caae7
|
@ -57,6 +57,7 @@ if ($LASTEXITCODE -ne 0) {
|
|||
}
|
||||
# Add a few extras we have to pull in from conda-forge.
|
||||
# See Also: mlos-windows.yml
|
||||
conda install -y -v -n mlos-dist-test swig libpq
|
||||
# FIXME: conda on Windows doesn't appear to respect ">=0.9.0" as a version constraint despite various quoting tweaks.
|
||||
conda install -y -v -n mlos-dist-test -c conda-forge 'pyrfr=0.9'
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
|
|
2
Makefile
2
Makefile
|
@ -248,6 +248,8 @@ build/dist-test-env.$(PYTHON_VERSION).build-stamp: mlos_core/dist/tmp/mlos_core-
|
|||
# Create a clean test environment for checking the wheel files.
|
||||
$(MAKE) dist-test-env-clean
|
||||
conda create -y ${CONDA_INFO_LEVEL} -n mlos-dist-test-$(PYTHON_VERSION) python=$(PYTHON_VERS_REQ)
|
||||
# Install some additional dependencies necessary for clean building some of the wheels.
|
||||
conda install -y ${CONDA_INFO_LEVEL} -n mlos-dist-test-$(PYTHON_VERSION) swig libpq
|
||||
# Test a clean install of the mlos_core wheel.
|
||||
conda run -n mlos-dist-test-$(PYTHON_VERSION) pip install "mlos_core/dist/tmp/mlos_core-latest-py3-none-any.whl[full-tests]"
|
||||
# Test a clean install of the mlos_bench wheel.
|
||||
|
|
|
@ -16,6 +16,8 @@ dependencies:
|
|||
- nb_conda_kernels
|
||||
- matplotlib
|
||||
- seaborn
|
||||
- swig
|
||||
- libpq
|
||||
- python=3.10
|
||||
# See comments in mlos.yml.
|
||||
#- gcc_linux-64
|
||||
|
|
|
@ -17,6 +17,7 @@ dependencies:
|
|||
- matplotlib
|
||||
- seaborn
|
||||
- swig
|
||||
- libpq
|
||||
- python=3.11
|
||||
# See comments in mlos.yml.
|
||||
#- gcc_linux-64
|
||||
|
|
|
@ -16,6 +16,8 @@ dependencies:
|
|||
- nb_conda_kernels
|
||||
- matplotlib
|
||||
- seaborn
|
||||
- swig
|
||||
- libpq
|
||||
- python=3.8
|
||||
# See comments in mlos.yml.
|
||||
#- gcc_linux-64
|
||||
|
|
|
@ -16,6 +16,8 @@ dependencies:
|
|||
- nb_conda_kernels
|
||||
- matplotlib
|
||||
- seaborn
|
||||
- swig
|
||||
- libpq
|
||||
- python=3.9
|
||||
# See comments in mlos.yml.
|
||||
#- gcc_linux-64
|
||||
|
|
|
@ -20,6 +20,7 @@ dependencies:
|
|||
- matplotlib
|
||||
- seaborn
|
||||
- swig
|
||||
- libpq
|
||||
- python
|
||||
# Install an SMAC requirement pre-compiled from conda-forge.
|
||||
# This also requires a more recent vs2015_runtime from conda-forge.
|
||||
|
|
|
@ -17,6 +17,7 @@ dependencies:
|
|||
- matplotlib
|
||||
- seaborn
|
||||
- swig
|
||||
- libpq
|
||||
- python
|
||||
- pip:
|
||||
- autopep8>=1.7.0
|
||||
|
|
Загрузка…
Ссылка в новой задаче