From 896f853f9381827a5f9bc102f7e65fc0567c8890 Mon Sep 17 00:00:00 2001 From: Jayaram Kancherla Date: Mon, 5 May 2025 09:25:59 -0700 Subject: [PATCH 1/2] Switch to trusted publisher workflow to publish builds --- .github/workflows/publish-pypi.yml | 13 ++++++++----- CHANGELOG.md | 3 ++- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index 29657bb..796105b 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -10,6 +10,11 @@ on: jobs: build: runs-on: ubuntu-latest + permissions: + id-token: write + repository-projects: write + contents: write + pages: write steps: - uses: actions/checkout@v4 @@ -45,8 +50,6 @@ jobs: run: | python -m tox -e clean,build - - name: Publish package - uses: pypa/gh-action-pypi-publish@v1.12.2 - with: - user: __token__ - password: ${{ secrets.PYPI_PASSWORD }} + # This uses the trusted publisher workflow so no token is required. + - name: Publish to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f80182..0506f2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,10 @@ # Changelog -## Version 0.5.8 +## Version 0.5.8 - 0.5.9 - Rename `reduced_dims` to `reduced_dimensions`. Constructor accepts both these arguments for backwards compatibility. - Additionally, SCE's constructor takes kwargs for future proofing any additional attributes in the upstream classes. +- Fix an issue coercing objects to `to_anndata`, where it skips alternative experiments. ## Version 0.5.7 From de9dba25829b735b7511a3a328da47e91ac635fb Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 May 2025 16:28:16 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .github/workflows/publish-pypi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index 796105b..1760f1d 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -52,4 +52,4 @@ jobs: # This uses the trusted publisher workflow so no token is required. - name: Publish to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 \ No newline at end of file + uses: pypa/gh-action-pypi-publish@release/v1