From f0de936286b1c8862143b2896f6afdfa439d1773 Mon Sep 17 00:00:00 2001 From: bbopen Date: Mon, 19 Jan 2026 16:01:07 -0800 Subject: [PATCH] fix(ci): run Python API test from /tmp to avoid namespace conflict The test was finding tywrap_ir as a namespace package from the repo root instead of the installed package. Co-Authored-By: Claude Opus 4.5 --- .github/workflows/publish-pypi.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index 0d45b08..69087e7 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -80,6 +80,7 @@ jobs: python -c "import json; data = json.load(open('/tmp/math_ir.json')); print(f'Extracted {len(data.get(\"functions\", []))} functions from math module')" - name: Test Python API + working-directory: /tmp run: | python -c "from tywrap_ir import extract_module_ir, IR_VERSION, __version__; print(f'IR_VERSION: {IR_VERSION}, __version__: {__version__}')"