Skip to content

Commit

Permalink
put %pip commands all on one line to fix broken tests
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 705475202
Change-Id: I8171511fbaa4c01faea4f7182527657cea7d0068
  • Loading branch information
jagapiou authored and copybara-github committed Dec 12, 2024
1 parent 6c871c7 commit dd06a38
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 51 deletions.
4 changes: 1 addition & 3 deletions examples/brainstorm/brainstorm.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@
"except:\n",
" pass # Not running in colab.\n",
"else:\n",
" %pip install --ignore-requires-python \\\n",
" --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' \\\n",
" 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip install --ignore-requires-python --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip list"
]
},
Expand Down
4 changes: 1 addition & 3 deletions examples/cyberball/cyberball.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@
"except:\n",
" pass # Not running in colab.\n",
"else:\n",
" %pip install --ignore-requires-python \\\n",
" --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' \\\n",
" 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip install --ignore-requires-python --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip list"
]
},
Expand Down
4 changes: 1 addition & 3 deletions examples/example_with_scenes.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@
"except:\n",
" pass # Not running in colab.\n",
"else:\n",
" %pip install --ignore-requires-python \\\n",
" --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' \\\n",
" 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip install --ignore-requires-python --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip list"
]
},
Expand Down
4 changes: 1 addition & 3 deletions examples/magic_beans_for_sale.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@
"except:\n",
" pass # Not running in colab.\n",
"else:\n",
" %pip install --ignore-requires-python \\\n",
" --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' \\\n",
" 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip install --ignore-requires-python --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip list"
]
},
Expand Down
4 changes: 1 addition & 3 deletions examples/modular/notebook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@
"except:\n",
" pass # Not running in colab.\n",
"else:\n",
" %pip install --ignore-requires-python \\\n",
" --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' \\\n",
" 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip install --ignore-requires-python --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip list"
]
},
Expand Down
4 changes: 1 addition & 3 deletions examples/phone/calendar.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@
"except:\n",
" pass # Not running in colab.\n",
"else:\n",
" %pip install --ignore-requires-python \\\n",
" --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' \\\n",
" 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip install --ignore-requires-python --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip list"
]
},
Expand Down
4 changes: 1 addition & 3 deletions examples/pytorch_gemma_local.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@
"except:\n",
" pass # Not running in colab.\n",
"else:\n",
" %pip install --ignore-requires-python \\\n",
" --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' \\\n",
" 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip install --ignore-requires-python --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip list"
]
},
Expand Down
4 changes: 1 addition & 3 deletions examples/smoking_cessation_in_an_alchemical_world.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@
"except:\n",
" pass # Not running in colab.\n",
"else:\n",
" %pip install --ignore-requires-python \\\n",
" --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' \\\n",
" 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip install --ignore-requires-python --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip list"
]
},
Expand Down
4 changes: 1 addition & 3 deletions examples/three_key_questions.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@
"except:\n",
" pass # Not running in colab.\n",
"else:\n",
" %pip install --ignore-requires-python \\\n",
" --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' \\\n",
" 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip install --ignore-requires-python --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip list"
]
},
Expand Down
4 changes: 1 addition & 3 deletions examples/tutorials/agent_basic_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@
"except:\n",
" pass # Not running in colab.\n",
"else:\n",
" %pip install --ignore-requires-python \\\n",
" --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' \\\n",
" 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip install --ignore-requires-python --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip list"
]
},
Expand Down
4 changes: 1 addition & 3 deletions examples/tutorials/agent_components_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@
"except:\n",
" pass # Not running in colab.\n",
"else:\n",
" %pip install --ignore-requires-python \\\n",
" --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' \\\n",
" 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip install --ignore-requires-python --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip list"
]
},
Expand Down
4 changes: 1 addition & 3 deletions examples/tutorials/agent_development.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@
"except:\n",
" pass # Not running in colab.\n",
"else:\n",
" %pip install --ignore-requires-python \\\n",
" --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' \\\n",
" 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip install --ignore-requires-python --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip list"
]
},
Expand Down
4 changes: 1 addition & 3 deletions examples/tutorials/agent_development_GCP_Gemma2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@
"except:\n",
" pass # Not running in colab.\n",
"else:\n",
" %pip install --ignore-requires-python \\\n",
" --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' \\\n",
" 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip install --ignore-requires-python --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip list"
]
},
Expand Down
4 changes: 1 addition & 3 deletions examples/tutorials/deprecated_agent_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@
"except:\n",
" pass # Not running in colab.\n",
"else:\n",
" %pip install --ignore-requires-python \\\n",
" --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' \\\n",
" 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip install --ignore-requires-python --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip list"
]
},
Expand Down
4 changes: 1 addition & 3 deletions examples/village/day_in_riverbend.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@
"except:\n",
" pass # Not running in colab.\n",
"else:\n",
" %pip install --ignore-requires-python \\\n",
" --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' \\\n",
" 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip install --ignore-requires-python --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip list"
]
},
Expand Down
4 changes: 1 addition & 3 deletions examples/village/riverbend_elections.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@
"except:\n",
" pass # Not running in colab.\n",
"else:\n",
" %pip install --ignore-requires-python \\\n",
" --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' \\\n",
" 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip install --ignore-requires-python --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip list"
]
},
Expand Down
4 changes: 1 addition & 3 deletions examples/whodunnit.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@
"except:\n",
" pass # Not running in colab.\n",
"else:\n",
" %pip install --ignore-requires-python \\\n",
" --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' \\\n",
" 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip install --ignore-requires-python --requirement 'https://raw.githubusercontent.com/google-deepmind/concordia/main/examples/requirements.in' 'git+https://github.com/google-deepmind/concordia.git#egg=gdm-concordia'\n",
" %pip list"
]
},
Expand Down

0 comments on commit dd06a38

Please sign in to comment.