From ee1def3241fd60585629be3bb7d9739d2b95edc4 Mon Sep 17 00:00:00 2001 From: David Ong Tat-Wee Date: Thu, 18 Aug 2022 14:21:02 +0800 Subject: [PATCH] Update publish_pypi.yml - remove '--no-dependencies' from 'pip install peekingduck' - remove separate 'pip install' above it, to avoid future maintenance overheads --- .github/workflows/publish_pypi.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish_pypi.yml b/.github/workflows/publish_pypi.yml index b95f7f95a..cdd600380 100644 --- a/.github/workflows/publish_pypi.yml +++ b/.github/workflows/publish_pypi.yml @@ -54,8 +54,7 @@ jobs: - name: Test installation from Test PyPI run: | sleep 300 - pip install click pyyaml colorama typeguard - pip install -i https://test.pypi.org/simple/ peekingduck==$VERSION --no-dependencies # no tensorflow + pip install -i https://test.pypi.org/simple/ peekingduck==$VERSION peekingduck - name: Publish distribution 📦 to PyPI # only pushes to actual PyPI if its a tag (i.e. on release: published) @@ -76,6 +75,5 @@ jobs: - name: Test installation from PyPI run: | sleep 300 - pip install click pyyaml colorama typeguard - pip install peekingduck==$VERSION --no-dependencies # no tensorflow + pip install peekingduck==$VERSION peekingduck