diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index 31df7c6a624..770f66bd988 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - botorch: ['stable', 'minimum'] + botorch: ['stable', 'pinned'] fail-fast: false steps: @@ -29,12 +29,12 @@ jobs: # will automatically install latest stable Botorch pip install -q -e .[dev,mysql,notebook] if: matrix.botorch == 'stable' - - name: Install dependencies (minimum Botorch) + - name: Install dependencies (pinned Botorch) run: | - # TODO: read minimum supported Botorch version from a shared source - pip install botorch==0.3.3 + # TODO: read pinned Botorch version from a shared source + pip install botorch==0.4.0 pip install -q -e .[dev,mysql,notebook] - if: matrix.botorch == 'minimum' + if: matrix.botorch == 'pinned' - name: Import Ax run: | python scripts/import_ax.py diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index fbe43d7541e..f03ba731fbb 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - botorch: ['stable', 'minimum'] + botorch: ['stable', 'pinned'] steps: - uses: actions/checkout@v2 @@ -26,12 +26,12 @@ jobs: # will automatically install latest stable Botorch pip install -q -e .[dev,mysql,notebook] if: matrix.botorch == 'stable' - - name: Install dependencies (minimum Botorch) + - name: Install dependencies (pinned Botorch) run: | - # TODO: read minimum supported Botorch version from a shared source - pip install botorch==0.3.3 + # TODO: read pinned Botorch version from a shared source + pip install botorch==0.4.0 pip install -q -e .[dev,mysql,notebook] - if: matrix.botorch == 'minimum' + if: matrix.botorch == 'pinned' - name: Import Ax run: | python scripts/import_ax.py diff --git a/setup.py b/setup.py index aab770c1a87..2b5b9b34444 100644 --- a/setup.py +++ b/setup.py @@ -3,11 +3,11 @@ from setuptools import find_packages, setup - -MIN_BOTORCH_VERSION = "0.3.3" +# TODO: read pinned Botorch version from a shared source +PINNED_BOTORCH_VERSION = "0.4.0" REQUIRES = [ - f"botorch>={MIN_BOTORCH_VERSION}", + f"botorch=={PINNED_BOTORCH_VERSION}", "jinja2", # also a Plotly dep "pandas", "scipy",