File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 109109 "source" : [
110110 " try:\n " ,
111111 " import cirq\n " ,
112+ " import cirq_rigetti\n " ,
112113 " except ImportError:\n " ,
113- " print(\" installing cirq...\" )\n " ,
114- " !pip install --quiet cirq\n " ,
115- " print(\" installed cirq.\" )\n " ,
116- " import cirq"
114+ " print(\" installing cirq-rigetti...\" )\n " ,
115+ " !pip install --quiet cirq-rigetti\n " ,
116+ " print(\" installed cirq-rigetti.\" )\n " ,
117+ " import cirq\n " ,
118+ " import cirq_rigetti"
117119 ]
118120 },
119121 {
Original file line number Diff line number Diff line change 5656# This is a pure metapackage that installs all our packages
5757requirements = [f'{ p .name } =={ p .version } ' for p in modules .list_modules ()]
5858
59+ # Exclude cirq-rigetti so that cirq can be installed with numpy-2
60+ requirements = [r for r in requirements if not r .startswith ("cirq-rigetti" )]
61+
5962dev_requirements = explode ('dev_tools/requirements/deps/dev-tools.txt' )
6063
6164# filter out direct urls (https://github.com/pypa/pip/issues/6301)
You can’t perform that action at this time.
0 commit comments