From f55d89c7489c5024e3d7165d8979f48a2b343530 Mon Sep 17 00:00:00 2001 From: lucidrains Date: Mon, 15 Jan 2024 07:36:46 -0800 Subject: [PATCH] try to fix again --- .github/workflows/python-package.yml | 1 + .github/workflows/python-publish.yml | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index c1c40bf..02482ac 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -26,6 +26,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip + python -m pip install setuptools python -m pip install pytest torch==2.0.1+cpu -f https://download.pytorch.org/whl/torch_stable.html - name: Test with pytest run: | diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index e17f95b..ba7e52e 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -24,7 +24,9 @@ jobs: with: python-version: '3.x' - name: Build package - run: python setup.py sdist + run: | + python -m pip install setuptools + python setup.py sdist - name: Publish package uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 with: