From f973b54a4b1fe8580078ad62f3699091acad55b7 Mon Sep 17 00:00:00 2001 From: utgwkk Date: Thu, 4 May 2023 19:25:58 +0900 Subject: [PATCH 1/5] use Python 3.11 for deploy --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7125462..d6435b3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -12,10 +12,10 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: Set up Python 3.7 + - name: Set up Python uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: '3.11' - name: Install dependencies for build run: pip install --upgrade setuptools wheel From 1559193fc64379450bc9a790a2d6631c886da352 Mon Sep 17 00:00:00 2001 From: utgwkk Date: Thu, 4 May 2023 19:32:07 +0900 Subject: [PATCH 2/5] install build --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d6435b3..4546aaa 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,7 +18,7 @@ jobs: python-version: '3.11' - name: Install dependencies for build - run: pip install --upgrade setuptools wheel + run: pip install --upgrade setuptools wheel build - name: Build run: python setup.py sdist bdist_wheel From 155c9c65d90a84ea4ea9a647ac655ba947d1d223 Mon Sep 17 00:00:00 2001 From: utgwkk Date: Thu, 4 May 2023 19:37:19 +0900 Subject: [PATCH 3/5] use build with build phase --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4546aaa..8275f76 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -21,7 +21,7 @@ jobs: run: pip install --upgrade setuptools wheel build - name: Build - run: python setup.py sdist bdist_wheel + run: python -m build - name: Publish package uses: pypa/gh-action-pypi-publish@master From e76494ed59146f7db07386f4ce0313f633d80016 Mon Sep 17 00:00:00 2001 From: utgwkk Date: Thu, 4 May 2023 19:38:01 +0900 Subject: [PATCH 4/5] use pypa/gh-action-pypi-publish@release/v1 --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8275f76..4be8c03 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -24,7 +24,7 @@ jobs: run: python -m build - name: Publish package - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.pypi_password }} From 9a0c2830eac83cb06b80d0ae1efb7a29e158d0aa Mon Sep 17 00:00:00 2001 From: utgwkk Date: Thu, 4 May 2023 19:40:13 +0900 Subject: [PATCH 5/5] remove wheel explicit dependency --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4be8c03..d7fc2a1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,7 +18,7 @@ jobs: python-version: '3.11' - name: Install dependencies for build - run: pip install --upgrade setuptools wheel build + run: pip install --upgrade setuptools build - name: Build run: python -m build