From 1ae307841c5eb173ffb5c7d6a2ccf81dd8a4772a Mon Sep 17 00:00:00 2001 From: Remi Lehe Date: Fri, 18 Sep 2026 08:13:11 -0700 Subject: [PATCH 1/3] Declare gest-api as a core dependency gest-api is imported unconditionally by optimas.generators.base, optimas.diagnostics.exploration_diagnostics, and every bundled generator, but it was never declared in the project metadata. As a result, `pip install optimas` produces an installation where importing any generator raises ModuleNotFoundError. CI masked this by installing gest-api explicitly after `pip install .[test]`. Co-Authored-By: Claude Opus 5 (1M context) --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 03a5db4f..7e88ee8f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,6 +21,7 @@ classifiers = [ 'Programming Language :: Python :: 3.12', ] dependencies = [ + 'gest-api >= 0.2', 'libensemble >= 1.6.0', 'numpy', 'jinja2', From 95becb0d704032fa6dab18abc6bf20ac627f17ae Mon Sep 17 00:00:00 2001 From: Remi Lehe Date: Fri, 18 Sep 2026 08:14:37 -0700 Subject: [PATCH 2/3] CI: drop redundant explicit gest-api install gest-api is now pulled in by `pip install .[test]`, so installing it separately is no longer needed. Removing it also lets CI exercise the declared project metadata rather than masking a missing dependency. Co-Authored-By: Claude Opus 5 (1M context) --- .github/workflows/unix-noax.yml | 1 - .github/workflows/unix-openmpi.yml | 1 - .github/workflows/unix.yml | 1 - 3 files changed, 3 deletions(-) diff --git a/.github/workflows/unix-noax.yml b/.github/workflows/unix-noax.yml index 7903c0d0..b5bdfab1 100644 --- a/.github/workflows/unix-noax.yml +++ b/.github/workflows/unix-noax.yml @@ -31,7 +31,6 @@ jobs: conda install -c conda-forge mpi4py mpich pip install torch --index-url https://download.pytorch.org/whl/cpu pip install .[test] - pip install gest-api pip install xopt pip uninstall --yes ax-platform # Run without Ax - shell: bash -l {0} diff --git a/.github/workflows/unix-openmpi.yml b/.github/workflows/unix-openmpi.yml index 053ac589..f5d05fda 100644 --- a/.github/workflows/unix-openmpi.yml +++ b/.github/workflows/unix-openmpi.yml @@ -31,7 +31,6 @@ jobs: conda install -c conda-forge mpi4py openmpi=5.* pip install torch --index-url https://download.pytorch.org/whl/cpu pip install .[test] - pip install gest-api pip install xopt - shell: bash -l {0} name: Run unit tests with openMPI diff --git a/.github/workflows/unix.yml b/.github/workflows/unix.yml index da2bcc35..c56d0819 100644 --- a/.github/workflows/unix.yml +++ b/.github/workflows/unix.yml @@ -31,7 +31,6 @@ jobs: conda install -c conda-forge mpi4py mpich pip install torch --index-url https://download.pytorch.org/whl/cpu pip install .[test] - pip install gest-api pip install xopt - shell: bash -l {0} name: Run unit tests with MPICH From 9090b444bd9c06c2db986fc6e06081417bc8911d Mon Sep 17 00:00:00 2001 From: Remi Lehe Date: Fri, 18 Sep 2026 08:21:47 -0700 Subject: [PATCH 3/3] Relax gest-api floor to 0.1 All names optimas imports from gest_api (VOCS, ContinuousVariable, DiscreteVariable, MinimizeObjective, ExploreObjective and Generator) are already present in gest-api 0.1, so requiring 0.2 would needlessly exclude a working version. Co-Authored-By: Claude Opus 5 (1M context) --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 7e88ee8f..75378e72 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,7 +21,7 @@ classifiers = [ 'Programming Language :: Python :: 3.12', ] dependencies = [ - 'gest-api >= 0.2', + 'gest-api >= 0.1', 'libensemble >= 1.6.0', 'numpy', 'jinja2',