diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index e1e6dc30bd..94e8213f55 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -9,6 +9,9 @@ * Allow better integration and installation support with CMake targeted binary builds. [(#403)](https://github.com/PennyLaneAI/pennylane-lightning/pull/403) +* Remove explicit Numpy and Scipy requirements. +[(#412)](https://github.com/PennyLaneAI/pennylane-lightning/pull/412) + ### Documentation ### Bug fixes @@ -16,9 +19,6 @@ * Fix Github shields in README. [(#402)](https://github.com/PennyLaneAI/pennylane-lightning/pull/402) -* Limit Numpy version to avoid conflicts with Autograd. -[(#410)](https://github.com/PennyLaneAI/pennylane-lightning/pull/410) - ### Contributors Amintor Dusko, Lee James O'Riordan, Chae-Yeun Park diff --git a/.github/workflows/wheel_linux_x86_64.yml b/.github/workflows/wheel_linux_x86_64.yml index 43bd602d97..b954e868ab 100644 --- a/.github/workflows/wheel_linux_x86_64.yml +++ b/.github/workflows/wheel_linux_x86_64.yml @@ -172,7 +172,7 @@ jobs: CIBW_ENVIRONMENT: PATH=/opt/rh/devtoolset-11/root/usr/bin:$PATH # Testing of built wheels - CIBW_TEST_REQUIRES: numpy<1.24 scipy pytest pytest-cov pytest-mock flaky + CIBW_TEST_REQUIRES: pytest pytest-cov pytest-mock flaky CIBW_BEFORE_TEST: | pip install git+https://github.com/PennyLaneAI/pennylane.git@master diff --git a/.github/workflows/wheel_macos_arm64.yml b/.github/workflows/wheel_macos_arm64.yml index d60d870041..4636ce1070 100644 --- a/.github/workflows/wheel_macos_arm64.yml +++ b/.github/workflows/wheel_macos_arm64.yml @@ -91,7 +91,7 @@ jobs: pip install pybind11 ninja cmake~=3.24.0 # Testing of built wheels - CIBW_TEST_REQUIRES: numpy<1.24 scipy pytest pytest-cov pytest-mock flaky + CIBW_TEST_REQUIRES: pytest pytest-cov pytest-mock flaky CIBW_BEFORE_TEST: pip install git+https://github.com/PennyLaneAI/pennylane.git@master diff --git a/.github/workflows/wheel_macos_x86_64.yml b/.github/workflows/wheel_macos_x86_64.yml index d55c9482b8..cc7bf443d8 100644 --- a/.github/workflows/wheel_macos_x86_64.yml +++ b/.github/workflows/wheel_macos_x86_64.yml @@ -163,7 +163,7 @@ jobs: pip install pybind11 ninja cmake~=3.24.0 # Testing of built wheels - CIBW_TEST_REQUIRES: numpy<1.24 scipy pytest pytest-cov pytest-mock flaky + CIBW_TEST_REQUIRES: pytest pytest-cov pytest-mock flaky CIBW_BEFORE_TEST: pip install git+https://github.com/PennyLaneAI/pennylane.git@master diff --git a/.github/workflows/wheel_win_x86_64.yml b/.github/workflows/wheel_win_x86_64.yml index eb07ae52d2..3fffecf379 100644 --- a/.github/workflows/wheel_win_x86_64.yml +++ b/.github/workflows/wheel_win_x86_64.yml @@ -148,7 +148,7 @@ jobs: pip install pybind11 cmake~=3.24.0 build # Testing of built wheels - CIBW_TEST_REQUIRES: numpy~=1.23 scipy pytest pytest-cov pytest-mock flaky + CIBW_TEST_REQUIRES: pytest pytest-cov pytest-mock flaky CIBW_BEFORE_TEST: | pip install git+https://github.com/PennyLaneAI/pennylane.git@master diff --git a/pennylane_lightning/_version.py b/pennylane_lightning/_version.py index 10477be179..6052145646 100644 --- a/pennylane_lightning/_version.py +++ b/pennylane_lightning/_version.py @@ -16,4 +16,4 @@ Version number (major.minor.patch[-label]) """ -__version__ = "0.29.0-dev4" +__version__ = "0.29.0-dev5" diff --git a/requirements-dev.txt b/requirements-dev.txt index 94978354e4..ff98261faa 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,6 +1,5 @@ ninja flaky -numpy<1.24 git+https://github.com/PennyLaneAI/pennylane.git@master pybind11 pytest diff --git a/requirements.txt b/requirements.txt index 35419543de..2bf8605fa4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,6 @@ ninja flaky -numpy<1.24 -pennylane~=0.26 +pennylane~=0.28 pybind11 pytest pytest-cov diff --git a/setup.py b/setup.py index 368b6d7e1a..be99550330 100644 --- a/setup.py +++ b/setup.py @@ -115,7 +115,6 @@ def build_extension(self, ext: CMakeExtension): requirements = [ "ninja", - "numpy<1.24", "pennylane>=0.28", ]