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:
Brian Kroth 2023-09-28 17:25:02 -05:00 коммит произвёл GitHub
Родитель 6629e88a53
Коммит 13c62caae7
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
8 изменённых файлов: 12 добавлений и 0 удалений

1
.github/workflows/build-dist-test.ps1 поставляемый
Просмотреть файл

@ -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) {

Просмотреть файл

@ -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