Skip to content

Commit

Permalink
Fix nightly PyPI upload test (pytorch#1610)
Browse files Browse the repository at this point in the history
Summary:
This was using the pinned version of GPyTorch & linear operator, leading to failures.

Pull Request resolved: pytorch#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
  • Loading branch information
saitcakmak authored and facebook-github-bot committed Jan 5, 2023
1 parent cbbbf11 commit 4661256
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4661256

Please sign in to comment.