From 280ccc442275a2a460925827519e8cec3969ac14 Mon Sep 17 00:00:00 2001 From: Pey Lian Lim <2090236+pllim@users.noreply.github.com> Date: Thu, 24 Dec 2020 10:57:05 -0500 Subject: [PATCH 1/3] MNT: Use --strict in twine check --- .github/workflows/publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b4441e4..058d3ed 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -26,8 +26,9 @@ jobs: - name: List result run: ls -l dist + # Only twine>=3.3 has --strict - name: Check long_description - run: python -m twine check dist/* + run: python -m twine check --strict dist/* - name: Test package run: | From a296154dfca14b6f8cf2739f977862d966272aea Mon Sep 17 00:00:00 2001 From: Pey Lian Lim <2090236+pllim@users.noreply.github.com> Date: Mon, 28 Dec 2020 11:42:09 -0500 Subject: [PATCH 2/3] Pin twine version in workflow. Co-authored-by: Brigitta Sipocz --- .github/workflows/publish.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 058d3ed..33b820f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,7 +18,7 @@ jobs: python-version: 3.8 - name: Install python-build and twine - run: python -m pip install build twine + run: python -m pip install build twine>=3.3 - name: Build package run: python -m build --sdist --wheel . @@ -26,7 +26,6 @@ jobs: - name: List result run: ls -l dist - # Only twine>=3.3 has --strict - name: Check long_description run: python -m twine check --strict dist/* From 4292dcc7eb014a85e45e0a8f84b7188b4cd0d654 Mon Sep 17 00:00:00 2001 From: "P. L. Lim" <2090236+pllim@users.noreply.github.com> Date: Thu, 31 Dec 2020 14:02:12 -0500 Subject: [PATCH 3/3] Put quotes around pip pinning --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 33b820f..de4ab96 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,7 +18,7 @@ jobs: python-version: 3.8 - name: Install python-build and twine - run: python -m pip install build twine>=3.3 + run: python -m pip install build "twine>=3.3" - name: Build package run: python -m build --sdist --wheel .