Skip to content

Conversation

@mhucka
Copy link
Member

@mhucka mhucka commented Dec 14, 2025

The previous version of scripts/test_tutorials.py did not handle !pip commands inside if-then conditionals, and also didn't handle % magics. This changes it to look for and handle those cases.

This script is called from CI via scripts/ci_validate_tutorials.sh. Currently, CI tests for the updated notebooks for 0.7.4 fail because the existing script does not handle the !pip and %env instructions used in the notebooks.

The previous version failed to handle `!pip` commands inside if-then
conditionals, and also didn't handle `%` magics. This fixes the script
to handle those cases.
@mhucka mhucka marked this pull request as ready for review December 14, 2025 03:47
@mhucka mhucka marked this pull request as draft December 15, 2025 06:20
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.

1 participant