From 4661256f60b9eeea809ed744595410939c2d6063 Mon Sep 17 00:00:00 2001 From: Sait Cakmak Date: Wed, 4 Jan 2023 16:25:58 -0800 Subject: [PATCH] Fix nightly PyPI upload test (#1610) Summary: This was using the pinned version of GPyTorch & linear operator, leading to failures. Pull Request resolved: https://github.com/pytorch/botorch/pull/1610 Test Plan: PyPI upload test now passes https://github.com/pytorch/botorch/actions/runs/3842548266/jobs/6543945107 Differential Revision: https://internalfb.com/D42353988 Pulled By: saitcakmak fbshipit-source-id: 7bebbb5ef08f487572f8865c90e119df791ca974 --- .github/workflows/nightly.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 271f061db2..4ef5e4c3ac 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -67,9 +67,13 @@ jobs: no_local_version=$(python -m setuptools_scm | cut -d "+" -f 1) echo "SETUPTOOLS_SCM_PRETEND_VERSION=${no_local_version}" >> $GITHUB_ENV - name: Build packages (wheel and source distribution) + env: + ALLOW_LATEST_GPYTORCH_LINOP: true run: | python -m build --sdist --wheel - name: Verify packages + env: + ALLOW_LATEST_GPYTORCH_LINOP: true run: | ./scripts/build_and_verify_py_packages.sh - name: Deploy to Test PyPI