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

Fix slow tests by upgrading MockDWaveSampler #301

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
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ minorminer==0.2.10; python_version<"3.12"
minorminer==0.2.13; python_version~="3.12.0"
minorminer==0.2.16; python_version~="3.13.0"

# >=1.15.1 required as older versions are too restricitve on dwave-preprocessing
dwave-system==1.15.1; python_version<"3.11"
# >=1.16.0 required as MockDWaveSampler is prohibitively slow in older versions
dwave-system==1.16.0; python_version<"3.11"
dwave-system==1.18.0; python_version~="3.11.0"
# >=1.23.0 required as older versions restrict networkx so it conflicts with dwave-samplers
dwave-system==1.23.0; python_version>="3.12"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# Package requirements, minimal pinning
install_requires = ['numpy>=1.19.1', 'networkx', 'click>5', 'plucky>=0.4.3',
'dimod>=0.12.2,<0.13', 'dwave-preprocessing>=0.5.4',
'minorminer>=0.1.7', 'dwave-networkx>=0.8.8', 'dwave-system>=1.15.1',
'minorminer>=0.1.7', 'dwave-networkx>=0.8.8', 'dwave-system>=1.16.0',
'dwave-cloud-client>=0.10.6', # avoid pydantic 2.0 backward compat break
'dwave-samplers>=1.0.0', # combines neal, greedy, tabu and orang
]
Expand Down