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

update imports for qcodes >=0.42 #271

Merged
merged 1 commit into from
Nov 16, 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
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering",]
requires-python = ">=3.9"
dependencies = [ "qcodes>=0.37.0", "versioningit>=2.0.1", "packaging"]
dependencies = [ "qcodes>=0.42.0", "versioningit>=2.0.1", "packaging"]
dynamic = [ "version",]

[[project.maintainers]]
Expand Down
6 changes: 3 additions & 3 deletions qcodes_contrib_drivers/tests/test_Keysight_M3201A.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
try:
from qcodes.tests.driver_test_case import DriverTestCase
from qcodes.extensions import DriverTestCase
except ImportError:
# qcodes < 0.37
from qcodes.instrument_drivers.test import DriverTestCase # type: ignore[import-not-found,no-redef]
# qcodes < 0.42.0
from qcodes.tests.driver_test_case import DriverTestCase
import unittest

try:
Expand Down