Skip to content

Commit 3b4fbc0

Browse files
chore(apollo_infra_utils): explicit instructions in verify_cairo0_compiler_deps
1 parent b4e7f9f commit 3b4fbc0

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ target
1818
*/.vscode/*
1919
*.DS_Store
2020
tmp_venv/*
21+
sequencer_venv/*
2122
.vscode/settings.json
2223
/data
2324
/logs

crates/apollo_infra_utils/src/cairo0_compiler.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ pub fn verify_cairo0_compiler_deps() {
3737
assert_eq!(
3838
expected_cairo_lang_version, cairo_lang_version,
3939
"cairo-lang version {expected_cairo_lang_version} not found (installed version: \
40-
{cairo_lang_version}). Please run:\npip3.9 install -r {:?}\nthen rerun the test.",
40+
{cairo_lang_version}). Run the following commands (enter a python venv and install \
41+
dependencies) and retry:\npython3.9 -m venv sequencer_venv\n. \
42+
sequencer_venv/bin/activate\npip install -r {:?}",
4143
*PIP_REQUIREMENTS_FILE
4244
);
4345
}

0 commit comments

Comments
 (0)