From 10bed5dc371fe3bc04d609bcb381306eec3dd3fc Mon Sep 17 00:00:00 2001 From: Agriya Khetarpal <74401230+agriyakhetarpal@users.noreply.github.com> Date: Fri, 29 May 2026 22:37:40 +0530 Subject: [PATCH 1/4] Try testing on macOS --- .github/workflows/test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9edcd67..3189b67 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,11 @@ concurrency: jobs: test: - runs-on: ubuntu-latest + name: Run tests on ${{ matrix.os }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest] permissions: contents: read steps: From 7adca5bd1145b7ee400553a09b33aec373c34591 Mon Sep 17 00:00:00 2001 From: Agriya Khetarpal <74401230+agriyakhetarpal@users.noreply.github.com> Date: Fri, 29 May 2026 22:37:51 +0530 Subject: [PATCH 2/4] Update all actions --- .github/workflows/deploy.yml | 12 ++++++------ .github/workflows/test.yml | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 258bc40..a6a70e7 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,11 +19,11 @@ jobs: permissions: contents: read steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false - - uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0 + - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 - name: Install requirements and build wheel shell: bash -l {0} @@ -32,7 +32,7 @@ jobs: python -m build . - name: Store the distribution packages - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: python-package-distributions path: dist/ @@ -53,14 +53,14 @@ jobs: attestations: write steps: - name: Download all the dists - uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: python-package-distributions path: dist/ merge-multiple: true - name: Generate artifact attestation(s) - uses: actions/attest-build-provenance@7668571508540a607bdfd90a87a560489fe372eb # v2.1.0 + uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4.1.0 with: subject-path: | dist/*.tar.gz @@ -68,4 +68,4 @@ jobs: - name: Publish distribution 📦 to PyPI if: github.event_name == 'release' && github.event.action == 'published' - uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4 + uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3189b67..4f9e4f1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,12 +22,12 @@ jobs: permissions: contents: read steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false fetch-depth: 0 - - uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0 + - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: python-version: "3.12" - name: Install dependencies From 427319ea3873455ff9b54580d96c7cc96502d848 Mon Sep 17 00:00:00 2001 From: Agriya Khetarpal <74401230+agriyakhetarpal@users.noreply.github.com> Date: Fri, 29 May 2026 22:37:56 +0530 Subject: [PATCH 3/4] Add Dependabot file --- .github/dependabot.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..bea4893 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,13 @@ +version: 2 +updates: + # Maintain dependencies for GitHub Actions + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + groups: + actions: + patterns: + - "*" + cooldown: + default-days: 7 From 75eb43492080056aa36764fc4c803ec5b95dd178 Mon Sep 17 00:00:00 2001 From: Agriya Khetarpal <74401230+agriyakhetarpal@users.noreply.github.com> Date: Fri, 29 May 2026 22:42:40 +0530 Subject: [PATCH 4/4] Bring in my fix from #55 --- auditwheel_emscripten/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auditwheel_emscripten/module.py b/auditwheel_emscripten/module.py index 9a04318..fa2dbad 100644 --- a/auditwheel_emscripten/module.py +++ b/auditwheel_emscripten/module.py @@ -129,7 +129,7 @@ def patch_needed_path(self, dep_map: dict[str, Path]) -> bytes: def patch_runtime_path(self, runtime_path: Path) -> bytes: curfile = Path(self.filename).resolve() - relpath = os.path.relpath(runtime_path, curfile.parent) + relpath = os.path.relpath(Path(runtime_path).resolve(), curfile.parent) if relpath == ".": realpath_with_prefix = "$ORIGIN" else: