From 95e43a1df8c92d8796f8ac5410b73bf031b87639 Mon Sep 17 00:00:00 2001 From: Cody Fincher Date: Sun, 15 Dec 2024 02:20:08 +0000 Subject: [PATCH 1/4] chore(ci): updates for latest upload-artifact changes --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0074aa02..1204fa6a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -108,7 +108,7 @@ jobs: uses: actions/upload-artifact@v4 if: github.event_name == 'release' && github.event.action == 'published' with: - name: artifact-wheels + name: artifact-wheels-${{ matrix.os }} path: ./wheelhouse/*.whl build_sdist: From efbb4063f1a76807079d69608daa4cca513e2a1f Mon Sep 17 00:00:00 2001 From: Cody Fincher Date: Sun, 15 Dec 2024 02:55:36 +0000 Subject: [PATCH 2/4] chore(build): updated pypi release --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1204fa6a..29158aa6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -136,6 +136,8 @@ jobs: upload_pypi: needs: [build_wheels, build_sdist] runs-on: ubuntu-latest + permissions: + id-token: write if: github.event_name == 'release' && github.event.action == 'published' steps: - uses: actions/download-artifact@v4 @@ -144,7 +146,5 @@ jobs: path: dist pattern: artifact-* - - uses: pypa/gh-action-pypi-publish@master - with: - user: __token__ - password: ${{ secrets.PYPI_API_TOKEN }} + - name: Publish package distributions to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 From 66af414e890e9fe232709eaafb6cf54859ba2d20 Mon Sep 17 00:00:00 2001 From: Cody Fincher Date: Sun, 15 Dec 2024 04:10:28 +0000 Subject: [PATCH 3/4] chore(build): rename top level package --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 887191e1..3433164f 100644 --- a/setup.py +++ b/setup.py @@ -63,7 +63,7 @@ } setup( - name="msgspec", + name="litestar-msgspec", version=versioneer.get_version(), cmdclass=versioneer.get_cmdclass(), maintainer="Jim Crist-Harif", From 2c908cf019ba693f2bdb802e3846f29b206376cd Mon Sep 17 00:00:00 2001 From: Cody Fincher Date: Thu, 19 Dec 2024 22:51:24 +0000 Subject: [PATCH 4/4] fix: remove up upstream PR --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 3433164f..887191e1 100644 --- a/setup.py +++ b/setup.py @@ -63,7 +63,7 @@ } setup( - name="litestar-msgspec", + name="msgspec", version=versioneer.get_version(), cmdclass=versioneer.get_cmdclass(), maintainer="Jim Crist-Harif",