Skip to content
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

Remove explicit Numpy and Scipy requirements #412

Merged
merged 6 commits into from
Feb 2, 2023
Merged
Show file tree
Hide file tree
Changes from all 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
6 changes: 3 additions & 3 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
* 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

* 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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheel_linux_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheel_macos_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheel_macos_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheel_win_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pennylane_lightning/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
Version number (major.minor.patch[-label])
"""

__version__ = "0.29.0-dev4"
__version__ = "0.29.0-dev5"
1 change: 0 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
ninja
flaky
numpy<1.24
git+https://github.com/PennyLaneAI/pennylane.git@master
pybind11
pytest
Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
ninja
flaky
numpy<1.24
pennylane~=0.26
pennylane~=0.28
pybind11
pytest
pytest-cov
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ def build_extension(self, ext: CMakeExtension):

requirements = [
"ninja",
"numpy<1.24",
"pennylane>=0.28",
]

Expand Down