From dffd3c3d43e668cd92570501a52eda973b24f2d9 Mon Sep 17 00:00:00 2001 From: "Jens H. Nielsen" Date: Wed, 5 Nov 2025 09:08:12 +0100 Subject: [PATCH 1/2] Enable pyright with min dependencies --- .github/workflows/pytest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index b29bb99717d..d6185796c8d 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -101,7 +101,7 @@ jobs: uses: jakebailey/pyright-action@6cabc0f01c4994be48fd45cd9dbacdd6e1ee6e5e # v2.3.3 with: version: ${{ steps.pyright-version.outputs.version }} - if: ${{ !matrix.min-version && always() }} + if: ${{ always() }} id: pyright - name: Run Mypy run: mypy -p qcodes From ebb622f35a2f5b4387ee0b9fac3e3991c0f1fbc5 Mon Sep 17 00:00:00 2001 From: "Jens H. Nielsen" Date: Wed, 5 Nov 2025 09:14:42 +0100 Subject: [PATCH 2/2] Bump dependencies --- pyproject.toml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 53e3fe9eff6..754e4167d4f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ dependencies = [ "ipywidgets>=8.0.0,<9.0.0", "ipykernel>=6.12.0", # implicitly required by ipywidgets >=8.0.5 "jsonschema>=4.9.0", - "matplotlib>=3.6.0", + "matplotlib>=3.8.0", "networkx>=3.1", "numpy>=1.22.4", "packaging>=20.0", @@ -42,10 +42,10 @@ dependencies = [ "tqdm>=4.59.0", "uncertainties>=3.2.0", "versioningit>=2.2.1", - "websockets>=11.0", + "websockets>=13.0", "xarray>=2023.08.0", "cf_xarray>=0.8.4", - "opentelemetry-api>=1.17.0", + "opentelemetry-api>=1.25.0", "pillow>=9.2.0", "dask>=2022.1.0", # we are making use of xarray features that requires dask implicitly ] @@ -60,7 +60,7 @@ Tracker = "https://github.com/microsoft/Qcodes/issues" Changelog = "https://microsoft.github.io/Qcodes/changes/index.html" [project.optional-dependencies] -zurichinstruments = ["zhinst-qcodes>=0.3"] +zurichinstruments = ["zhinst-qcodes>=0.5"] loop = ["qcodes_loop>=0.1.2"] test = [ "coverage[toml]>=7.10.5", @@ -79,13 +79,13 @@ test = [ "PyVisa-sim>=0.6.0", "sphinx>=4.5.0", # sphinx extension tests "types-jsonschema>=4.16.0", - "types-networkx >= 3.1", # Version should match the networkx requirment + "types-networkx >= 3.5.0.20251104", "types_requests>=0.1.8", "types-tabulate>=0.1.0", "types-tqdm>=4.64.6", "types_pywin32>=305.0.0.7", "qcodes_loop>=0.1.1", - "zhinst.qcodes>=0.5", # typecheck zhinst driver alias + "zhinst-qcodes>=0.5", # typecheck zhinst driver alias "libcst>=1.2.0", # refactor tests ] docs = [