Skip to content

Commit

Permalink
Pin pytest version same as pennylane and pin for wheels too. (#577)
Browse files Browse the repository at this point in the history
  • Loading branch information
erick-xanadu authored Mar 4, 2024
1 parent ed3d7fa commit c9e7249
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-wheel-linux-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ jobs:

- name: Install Python dependencies
run: |
python${{ matrix.python_version }} -m pip install pytest pytest-xdist
python${{ matrix.python_version }} -m pip install pytest<8.1.0 pytest-xdist
- name: Install PennyLane Plugins
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-wheel-macos-arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ jobs:

- name: Install Python dependencies
run: |
python${{ matrix.python_version }} -m pip install pytest pytest-xdist
python${{ matrix.python_version }} -m pip install pytest<8.1.0 pytest-xdist
- name: Install PennyLane Plugins
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-wheel-macos-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ jobs:

- name: Install Python dependencies
run: |
python${{ matrix.python_version }} -m pip install pytest pytest-xdist
python${{ matrix.python_version }} -m pip install pytest<8.1.0 pytest-xdist
- name: Install PennyLane Plugins
run: |
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ isort

# testing
lit
pytest==8.0.2
pytest<8.1.0
pytest-xdist
pytest-cov
nbmake
Expand Down

0 comments on commit c9e7249

Please sign in to comment.