Skip to content

Commit 34d4a29

Browse files
committed
Bump CI dependencies
1 parent 616976f commit 34d4a29

2 files changed

Lines changed: 18 additions & 12 deletions

File tree

.github/workflows/build.yml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,15 @@ on:
66
py_doc_deps:
77
type: string
88
required: true
9-
default: build==1.3.0 setuptools==80.9.0 sphinx==8.2.3 sphinx-multiversion==0.2.4 sphinx-rtd-theme==3.0.2 sphinx-inline-tabs==2023.4.21 sphinx-c-autodoc==1.5.0 clang==18.1.8
9+
default: build==1.4.2 setuptools==82.0.1 sphinx==9.1.0 sphinx-multiversion==0.2.4 sphinx-rtd-theme==3.1.0 sphinx-inline-tabs==2025.12.21.14 sphinx-c-autodoc==1.6.0 clang==18.1.8
1010
py_cibw_deps:
1111
type: string
1212
required: true
13-
default: cibuildwheel==3.2.0
13+
default: cibuildwheel==3.4.0
14+
rust_version:
15+
type: string
16+
required: true
17+
default: 'stable'
1418

1519
jobs:
1620
rust:
@@ -55,8 +59,8 @@ jobs:
5559
- name: Install Rust
5660
run: |
5761
rustup set profile minimal
58-
rustup update stable
59-
rustup default stable
62+
rustup update ${{ inputs.rust_version }}
63+
rustup default ${{ inputs.rust_version }}
6064
rustup target add wasm32-wasip1
6165
- uses: actions/checkout@v4
6266

@@ -76,8 +80,8 @@ jobs:
7680
- name: Install Rust
7781
run: |
7882
rustup set profile minimal
79-
rustup update stable
80-
rustup default stable
83+
rustup update ${{ inputs.rust_version }}
84+
rustup default ${{ inputs.rust_version }}
8185
8286
- name: Install Python
8387
uses: actions/setup-python@v5
@@ -166,8 +170,8 @@ jobs:
166170

167171
- name: Prepare environment
168172
run: |
173+
pip install --constraint=tests/pip-constraints.txt --only-binary=numpy pytest numpy
169174
pip install --only-binary=qblaze --no-index --find-links=dist qblaze
170-
pip install --only-binary=numpy pytest numpy==2.3.4
171175
172176
- name: Run tests
173177
run: pytest --ignore tests/test_qiskit.py --ignore python/qblaze/qiskit.py
@@ -178,10 +182,9 @@ jobs:
178182
strategy:
179183
matrix:
180184
os: [ubuntu-24.04, ubuntu-24.04-arm, windows-2025, macos-13, macos-14]
181-
# Qiskit binaries are not available for Windows on ARM
182-
# Qiskit Aer binaries are not available for Python 3.14
183-
python: ['3.11', '3.13']
184-
qiskit: ['1.4.5', '2.2.1']
185+
# Qiskit and Qiskit Aer binaries are not available for Windows on ARM
186+
python: ['3.11', '3.14']
187+
qiskit: ['1.4.5', '2.3.1']
185188
runs-on: ${{ matrix.os }}
186189
steps:
187190
- uses: actions/setup-python@v5
@@ -197,8 +200,8 @@ jobs:
197200

198201
- name: Prepare environment
199202
run: |
203+
pip install --constraint=tests/pip-constraints.txt --only-binary=numpy,scipy,qiskit,qiskit-aer pytest numpy qiskit==${{ matrix.qiskit }} qiskit-aer==0.17.2
200204
pip install --only-binary=qblaze --no-index --find-links=dist qblaze
201-
pip install --only-binary=numpy,scipy,qiskit,qiskit-aer pytest numpy==2.3.4 scipy==1.16.2 qiskit==${{ matrix.qiskit }} qiskit-aer==0.17.2
202205
203206
- name: Run tests
204207
run: pytest

tests/pip-constraints.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
qblaze===0
2+
numpy==2.3.4
3+
scipy==1.17.1

0 commit comments

Comments
 (0)