diff --git a/pyproject.toml b/pyproject.toml index 258c8d4c4..c1a2959fc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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]] diff --git a/qcodes_contrib_drivers/tests/test_Keysight_M3201A.py b/qcodes_contrib_drivers/tests/test_Keysight_M3201A.py index c33137d89..836f7b919 100644 --- a/qcodes_contrib_drivers/tests/test_Keysight_M3201A.py +++ b/qcodes_contrib_drivers/tests/test_Keysight_M3201A.py @@ -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: