Skip to content

Commit 03ef0f0

Browse files
weinbe58david-pl
authored andcommitted
Removing platform specific dependencies for pyqrack (#509)
As of this fix: unitaryfoundation/pyqrack#38 wee can remove the platform-specific tags on `pyqrack` and only use `pyqrack-cpu` by default! Thanks @WrathfulSpatula
1 parent 399e9e3 commit 03ef0f0

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Set up Python ${{ matrix.python-version }}
3131
run: uv python install ${{ matrix.python-version }}
3232
- name: Install the project
33-
run: uv sync --dev --all-extras --no-extra pyqrack-cuda
33+
run: uv sync --dev --all-extras --no-extra pyqrack-cuda --no-extra pyqrack-opencl
3434
- name: Run tests
3535
# For example, using `pytest`
3636
run: uv run just coverage

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ dependencies = [
1717
"rich>=13.9.4",
1818
"pydantic>=1.3.0,<2.11.0",
1919
"pandas>=2.2.3",
20-
"pyqrack>=1.69.0; sys_platform == 'darwin-arm64'",
21-
"pyqrack-cpu>=1.69.0; sys_platform != 'darwin-arm64'",
20+
"pyqrack-cpu>=1.69.1",
2221
]
2322

2423
[project.optional-dependencies]
@@ -41,10 +40,10 @@ cirq = [
4140
"qpsolvers[clarabel]>=4.7.0",
4241
]
4342
pyqrack-opencl = [
44-
"pyqrack>=1.69.0; sys_platform == 'darwin-arm64'",
43+
"pyqrack>=1.69.1",
4544
]
4645
pyqrack-cuda = [
47-
"pyqrack-cuda>=1.69.0",
46+
"pyqrack-cuda>=1.69.1",
4847
]
4948
stim = [
5049
"stim>=1.15.0",

0 commit comments

Comments
 (0)