Skip to content

Fix: migrate excluded simpler.* imports to simpler_setup and update docs#546

Merged
ChaoWao merged 1 commit into
hw-native-sys:mainfrom
hw-native-sys-bot:docs/update-scene-test-example
Apr 14, 2026
Merged

Fix: migrate excluded simpler.* imports to simpler_setup and update docs#546
ChaoWao merged 1 commit into
hw-native-sys:mainfrom
hw-native-sys-bot:docs/update-scene-test-example

Conversation

@hw-native-sys-bot

@hw-native-sys-bot hw-native-sys-bot commented Apr 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Migrate from simpler.{runtime_compiler,kernel_compiler,elf_parser} imports to simpler_setup.* in post-install code (ci.py, tests/ut, tests/lint) — these 4 modules are excluded from the simpler wheel
  • Build-time scripts (runtime_builder.py, code_runner.py) keep simpler.* imports since they run during pip install . before simpler_setup is available
  • Fix self-hosted CI jobs to use per-run venv with pip install --upgrade pip, preventing package conflicts on shared runners and pip 21.x/Python 3.9 build failures
  • Update docs/testing.md: fix stale scene test example to current CALLABLE/TaskArgsBuilder/CASES API and add migration guide section
  • Update docs/getting-started.md import table to clarify simpler.kernel_compiler is transitional

Files changed

Import migration (simpler → simpler_setup, post-install only):

  • ci.py
  • tests/ut/py/test_runtime_builder.py
  • tests/lint/clang_tidy.py

CI venv isolation:

  • .github/workflows/ci.yml — all 4 self-hosted jobs

Docs:

  • docs/testing.md — scene test example + migration guide
  • docs/getting-started.md — import table clarification

Testing

  • All pre-commit hooks pass
  • CI passes (waiting for re-run)

@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@hw-native-sys-bot hw-native-sys-bot force-pushed the docs/update-scene-test-example branch from abcc5d4 to a6b6129 Compare April 14, 2026 03:33
@hw-native-sys-bot hw-native-sys-bot changed the title Docs: update scene test example to current CALLABLE/TaskArgsBuilder API Docs: update scene test docs and add migration guide Apr 14, 2026
@hw-native-sys-bot hw-native-sys-bot force-pushed the docs/update-scene-test-example branch 4 times, most recently from 2dbd1d1 to b14fff9 Compare April 14, 2026 04:42
@hw-native-sys-bot hw-native-sys-bot changed the title Docs: update scene test docs and add migration guide Fix: migrate excluded simpler.* imports to simpler_setup and update docs Apr 14, 2026
@hw-native-sys-bot hw-native-sys-bot force-pushed the docs/update-scene-test-example branch 3 times, most recently from 68ce7dc to af136cc Compare April 14, 2026 06:52
The 4 build-time modules (runtime_compiler, kernel_compiler, elf_parser,
toolchain) are excluded from the simpler wheel — simpler_setup is the
authoritative source. Migrate all imports to simpler_setup.

Update testing.md: fix stale scene test example to current
CALLABLE/TaskArgsBuilder API and add migration guide section.

Fix self-hosted CI jobs to use per-run venv with pip upgrade, preventing
package conflicts on shared runners and old pip failures.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@hw-native-sys-bot hw-native-sys-bot force-pushed the docs/update-scene-test-example branch from af136cc to 4af994d Compare April 14, 2026 06:56
@ChaoWao ChaoWao merged commit d077346 into hw-native-sys:main Apr 14, 2026
13 checks passed
@ChaoWao ChaoWao deleted the docs/update-scene-test-example branch April 14, 2026 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants