From 980b69ba4b05c2a40c8aaf9f1896d69e0b379142 Mon Sep 17 00:00:00 2001 From: Jean-Marie Burel Date: Wed, 20 Nov 2024 22:12:52 +0000 Subject: [PATCH 1/2] Use build instead of sdist --- .github/workflows/test_and_deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index a6829e6..498780e 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -86,8 +86,8 @@ jobs: python-version: "3.x" - name: Install dependencies run: | - python -m pip install --upgrade wheel setuptools setuptools_scm - python setup.py sdist bdist_wheel + python -mpip install build + python -m build - name: Publish to PyPI uses: pypa/gh-action-pypi-publish@v1.3.0 with: From 3d1f530f6c0200792568aa78fbf2509345784152 Mon Sep 17 00:00:00 2001 From: jean-marie burel Date: Thu, 21 Nov 2024 14:27:18 +0000 Subject: [PATCH 2/2] Update .github/workflows/test_and_deploy.yml Co-authored-by: Peter Sobolewski <76622105+psobolewskiPhD@users.noreply.github.com> --- .github/workflows/test_and_deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index 498780e..dabb67a 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -86,7 +86,7 @@ jobs: python-version: "3.x" - name: Install dependencies run: | - python -mpip install build + python -m pip install build python -m build - name: Publish to PyPI uses: pypa/gh-action-pypi-publish@v1.3.0