File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ def pip_install(
6262 requirements: Path to a requirements file
6363 constraints: Path to a constriants file
6464 quiet: Whether to suppress output to stdout
65- pre: Include pre-release versions of pacakges
65+ pre: Include pre-release versions of packages
6666
6767
6868 Raises:
Original file line number Diff line number Diff line change @@ -272,6 +272,22 @@ def _build_demo(
272272 quiet = False ,
273273 pre = dev ,
274274 )
275+
276+ # We have compatibility issues in dev priori to the v0.42.0 release of
277+ # PennyLane. Dealing with this in a one-off way for now.
278+ if dev and execute :
279+ cmds .pip_install (
280+ build_venv .python ,
281+ "--upgrade" ,
282+ "--extra-index-url" ,
283+ "https://test.pypi.org/simple/" ,
284+ "PennyLane-Catalyst" ,
285+ "jax==0.6.0" ,
286+ "jaxlib==0.6.0" ,
287+ use_uv = False ,
288+ quiet = False ,
289+ pre = True ,
290+ )
275291
276292 stage_dir = ctx .build_dir / "demonstrations"
277293 fs .clean_dir (stage_dir )
You can’t perform that action at this time.
0 commit comments