From a15663378dcad293ede2ad3e7386d6c3403a1488 Mon Sep 17 00:00:00 2001 From: Jason Date: Mon, 23 Mar 2026 16:53:45 +0200 Subject: [PATCH 1/2] Rename package from hypersync-temp back to hypersync for PyPI --- README.md | 1 - pyproject.toml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 96ae597..81b38a8 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # hypersync-client-python Python package for [Envio's](https://envio.dev/) HyperSync client written in Rust -> **Note:** This package is temporarily published to PyPI as **`hypersync-temp`** (`pip install hypersync-temp`). Main releases will return to **`hypersync`** once access is restored. The import name remains `import hypersync`. ## Setup diff --git a/pyproject.toml b/pyproject.toml index 29e7e6a..20374a6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ requires = ["maturin>=1.5,<2.0"] build-backend = "maturin" [project] -name = "hypersync-temp" +name = "hypersync" requires-python = ">=3.9" dependencies = ["strenum>=0.4.15"] classifiers = [ From 0ec710f5c3716e2b11d63e37b2b869e724404524 Mon Sep 17 00:00:00 2001 From: Jason Date: Mon, 23 Mar 2026 17:09:39 +0200 Subject: [PATCH 2/2] Switch to PyPI Trusted Publishing via OIDC, remove API token --- .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 1b17d0e..f75549e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,6 +18,7 @@ on: permissions: contents: read + id-token: write jobs: linux: @@ -137,8 +138,6 @@ jobs: - uses: actions/download-artifact@v7 - name: Publish to PyPI uses: PyO3/maturin-action@v1 - env: - MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }} with: command: upload args: --non-interactive --skip-existing wheels-*/*