Skip to content

Commit

Permalink
debugging test_tutorials
Browse files Browse the repository at this point in the history
  • Loading branch information
ZergLev committed Nov 29, 2024
1 parent 86ebad5 commit 09b1f62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/tutorials/test_tutorials.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def check_tutorial_dependencies(venv: "VirtualEnv", tutorial_source_code: str):
# re.sub(r"chatsky(\[(.*)\])?==\{chatsky\}", r".\1", f"python -m pip install {deps}")
versions_dict = InstallationCell.versions()
for deps in re.findall(InstallationCell.pattern, tutorial_source_code):
print(f"python -m pip install {deps}")
venv.run(
re.sub(r"chatsky\[(.*)\]==\{chatsky\}", r".[\1]", f"python -m pip install {deps}").format(**versions_dict),
check_rc=True,
Expand Down

0 comments on commit 09b1f62

Please sign in to comment.