Skip to content

update pyproject.toml to use latest PL ecosystem dependencies #1441

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jul 16, 2025
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ environment:
$$PYTHON_VENV_PATH/bin/python -m pip install --upgrade git+https://github.com/PennyLaneAI/pennylane-qulacs.git#egg=pennylane-qulacs;\
$$PYTHON_VENV_PATH/bin/python -m pip install --extra-index-url https://test.pypi.org/simple/ PennyLane-Catalyst --pre --upgrade;\
$$PYTHON_VENV_PATH/bin/python -m pip install --extra-index-url https://test.pypi.org/simple/ PennyLane-Lightning --pre --upgrade;\
$$PYTHON_VENV_PATH/bin/python -m pip install --upgrade git+https://github.com/PennyLaneAI/pennylane.git@v0.42.0-rc0#egg=pennylane;\
$$PYTHON_VENV_PATH/bin/python -m pip install --upgrade git+https://github.com/PennyLaneAI/pennylane.git#egg=pennylane;\
$$PYTHON_VENV_PATH/bin/python -m pip install --upgrade git+https://github.com/XanaduAI/iqpopt.git#egg=iqpopt;\
$$PYTHON_VENV_PATH/bin/python -m pip install 'numpy<2';\
$$PYTHON_VENV_PATH/bin/python -m pip install jax==0.6.0 jaxlib==0.6.0 flax==0.10.6;\
Expand Down
24 changes: 10 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ markupsafe = "2.1.1"
pyyaml = "^6.0.1"
pennylane-sphinx-theme = { git = "https://github.com/PennyLaneAI/pennylane-sphinx-theme.git", branch = "sphinx-update" }
pypandoc = "1.5"
pennylane = "0.41.0"
pennylane = "0.42.0"
uv = "^0.5.25"


Expand All @@ -61,19 +61,19 @@ uv = "^0.5.25"
# These pinned versions of PL are NOT used for Dev builds #
# The latest commit from GitHub is used instead #
###########################################################
pennylane = "0.41.0"
pennylane-cirq = "0.41.0"
pennylane-qiskit = "0.41.0"
pennylane-qulacs = "0.41.0"
pennylane-catalyst = "0.11.0"
pennylane = "0.42.0"
pennylane-cirq = "0.42.0"
pennylane-qiskit = "0.42.0"
pennylane-qulacs = "0.42.0"
pennylane-catalyst = "0.12.0"
##########################################################

scipy = ">=1.12"
numpy = "~1.26.4"
numpyro = "~0.17.0"
matplotlib = "3.7.2"
jax = "0.4.28"
jaxlib = "0.4.28"
jax = "0.6.0"
jaxlib = "0.6.0"
jaxopt = "0.8.5"
seaborn = "0.13.2"
kahypar = "1.1.7"
Expand All @@ -87,7 +87,7 @@ plotly = ">=4.5.0"
pydantic = "^2.8.2"
ply = "3.11"
optax = "0.2.4"
flax = "0.9.0"
flax = "0.10.6"
qutip = "5.1.0"
mitiq = "0.43.0"
pennylane-qrack = "0.11.1"
Expand All @@ -107,7 +107,7 @@ sphinxcontrib-applehelp = "1.0.8"
sphinx-gallery = "0.17.1"
qrisp = ">=0.6.1"
iqpopt = { git = "https://github.com/XanaduAI/iqpopt.git" }

tensorflow = "2.18.1"

# Install a difference version of torch from PyPI as the one from PyTorch repo is not compatible with MacOS
torch = [
Expand All @@ -121,13 +121,9 @@ torchvision = [

# The following packages are platform locked to not install on MacOS as the installation breaks
scikit-learn = { version = "1.3.0", markers = "platform_machine == 'x86_64'" }
tensorflow = { version = "2.16.2", markers = "platform_machine == 'x86_64'" }
flamingpy = { version = ">=0.10.1b1", markers = "platform_machine == 'x86_64'" }
qulacs = { version = "0.6.1", markers = "platform_machine == 'x86_64'" }

# The following packages are only installed on MacOS for compatibility
tensorflow-macos = { version = "2.16.2", markers = "sys_platform == 'darwin' and platform_machine == 'arm64'" }

[tool.poetry.group.metadata-validation]
optional = true

Expand Down
Loading