From 28e084bcc17417eb0e9d8ec4e36d25aed5c52e73 Mon Sep 17 00:00:00 2001 From: Thierry Martinez Date: Mon, 20 Apr 2026 13:02:58 +0200 Subject: [PATCH] Instruct Dependabot to ignore Qiskit 2.4 Mypy currently fails when type-checking code against the latest Qiskit release (2.4.0; see #485 and python/mypy#21263). While #485 added an upperbound `qiskit<2.4` to `requirements-dev.txt`, it did not configure Dependabot to respect this limit, causing PR reverts (see commit bd9c491 in #486). This commit adds the necessary configuration to prevent those updates. --- .github/dependabot.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 6e8e05358..e1469ca79 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -8,3 +8,8 @@ updates: python-packages: patterns: - "*" + ignore: + - dependency-name: "qiskit" + # There is a bug with Mypy and Qiskit 2.4.0 + # See https://github.com/python/mypy/issues/21263 + versions: [ ">=2.4" ]