Skip to content

Bump the python-packages group with 2 updates#486

Merged
thierry-martinez merged 2 commits into
masterfrom
dependabot/pip/python-packages-239b7a443d
Apr 20, 2026
Merged

Bump the python-packages group with 2 updates#486
thierry-martinez merged 2 commits into
masterfrom
dependabot/pip/python-packages-239b7a443d

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 20, 2026

Updates the requirements on ruff and qiskit to permit the latest version.
Updates ruff from 0.15.10 to 0.15.11

Release notes

Sourced from ruff's releases.

0.15.11

Release Notes

Released on 2026-04-16.

Preview features

  • [ruff] Ignore RUF029 when function is decorated with asynccontextmanager (#24642)
  • [airflow] Implement airflow-xcom-pull-in-template-string (AIR201) (#23583)
  • [flake8-bandit] Fix S103 false positives and negatives in mask analysis (#24424)

Bug fixes

  • [flake8-async] Omit overridden methods for ASYNC109 (#24648)

Documentation

  • [flake8-async] Add override mention to ASYNC109 docs (#24666)
  • Update Neovim config examples to use vim.lsp.config (#24577)

Contributors

Install ruff 0.15.11

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/ruff/releases/download/0.15.11/ruff-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://releases.astral.sh/github/ruff/releases/download/0.15.11/ruff-installer.ps1 | iex"

Download ruff 0.15.11

File Platform Checksum
ruff-aarch64-apple-darwin.tar.gz Apple Silicon macOS checksum
ruff-x86_64-apple-darwin.tar.gz Intel macOS checksum
ruff-aarch64-pc-windows-msvc.zip ARM64 Windows checksum
ruff-i686-pc-windows-msvc.zip x86 Windows checksum

... (truncated)

Changelog

Sourced from ruff's changelog.

0.15.11

Released on 2026-04-16.

Preview features

  • [ruff] Ignore RUF029 when function is decorated with asynccontextmanager (#24642)
  • [airflow] Implement airflow-xcom-pull-in-template-string (AIR201) (#23583)
  • [flake8-bandit] Fix S103 false positives and negatives in mask analysis (#24424)

Bug fixes

  • [flake8-async] Omit overridden methods for ASYNC109 (#24648)

Documentation

  • [flake8-async] Add override mention to ASYNC109 docs (#24666)
  • Update Neovim config examples to use vim.lsp.config (#24577)

Contributors

Commits

Updates qiskit to 2.4.0

Release notes

Sourced from qiskit's releases.

Qiskit 2.4.0

Release notes: https://quantum.cloud.ibm.com/docs/en/api/qiskit/release-notes/2.4

Changelog

Added

  • Add safe Python-extension module C API headers (#15762)
  • Add qk_circuit_draw function to the C API (#15361)
  • New function to negate expressions (#15447)
  • Add runtime-version checking qk_api_version (#15831)
  • Add barrier_label_len option to circuit drawers (#15776)
  • Enable parameterized gates in C (#15106)
  • Implement SparseObservable.evolve (#15561)
  • Add C API vtable to pyext (#15761)
  • Introduce QkTranspileState in C transpile stages. (#15486)
  • Add C/Python interop for QuantumRegister and ClassicalRegister (#15768)
  • Add Python conversion to QkObs (#15821)
  • PBC transformations for C (#15756)
  • SynthesizeRZRotations pass (#15641)
  • Add QkCircuit C/Python interoperation via QuantumCircuit._data (#15767)
  • Separate type/constant declarations from functions in C headers (#15760)
  • Rust QPY version 13 compatibility (#15663)
  • Add C/Python interop for Target and DAGCircuit (#15337)
  • Expose Pauli-based computation gates to C (#15754)
  • Add qiskit.capi module (#15711)
  • Add qk_dag_substitute_node_with_unitary to the C API (#15757)
  • Transpiler pass that converts a generic circuit to PBC (#15502)
  • Use PauliProductRotationGate in LitinskiTransformation (#15753)
  • Add PauliProductRotationGate (#15720)
  • C API function for replacing a block of nodes with a unitary gate (#15682)
  • Add DAG-based variants of transpiler pass functions in C API (#15614)
  • Support adding a barrier in LitinskiTransformation (#15639)
  • Add Suzuki-Trotter to C API (#15459)
  • Fix linear dependency on base bit count in QuantumCircuit.compose (#15696)
  • RCCXGate is self-inverse (#15686)
  • feat: SparseObservable addition with scalar multiplication (#15599)
  • feat: in-place arithmetic for QkObs (#15598)
  • Extend SubstitutePi4Rotations to 2q gates (#15483)
  • Reducing the number of Clifford gates in OptimizeCliffordT (#15634)
  • Add PauliLindbladMap.generators() method (#15544)
  • Add RXX/RYY-based equivalence for XXMinusYYGate (#15604)
  • Rewrite default UnitarySynthesis to cache decomposers (#15492)
  • Add method to draw coupling map (#15114)
  • Allow null pointers for zero-length slices in QkObs (#15540)
  • Add SparseObservable support to evolved_operator_ansatz (#15442)
  • Add pauli() accessor to PauliProductMeasurement (#15469)
  • Add Clifford circuit optimization to BasicSimulator (#15159)
  • Expose IQP circuit generator via C bindings (#15396)

Fixed

  • Fixed commutation checking between two Pauli product measurements (backport #16023) (#16040)

... (truncated)

Changelog

Sourced from qiskit's changelog.

.. _release-notes:

============================== Qiskit |version| release notes

.. These release notes get converted into Markdown files via the infrastructure at https://github.com/Qiskit/documentation, which then gets deployed to https://quantum.cloud.ibm.com/docs/api/qiskit/release-notes. Changes to these release notes will update those release notes the next time the API docs are generated for this version.

You should set `earliest-version` to:
  • if on a stable branch, then the earliest tagged release of the minor series. For
    stable/2.1 this would be 2.1.0rc1. For stable/2.2 this would be 2.2.0b1. Typically
    you should update this as part of making the x.y.0 "final" release (e.g. when tagging
    2.2.0 or 2.3.0).
  • if on main: it doesn't matter all too much; it just affects how many old release notes
    are built and tested as part of the release. It still needs to be a tag reachable on main,
    though, which is typically rc1 tags.

.. release-notes:: :earliest-version: 2.4.0rc1

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Updates the requirements on [ruff](https://github.com/astral-sh/ruff) and [qiskit](https://github.com/Qiskit/qiskit) to permit the latest version.

Updates `ruff` from 0.15.10 to 0.15.11
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.15.10...0.15.11)

Updates `qiskit` to 2.4.0
- [Release notes](https://github.com/Qiskit/qiskit/releases)
- [Changelog](https://github.com/Qiskit/qiskit/blob/main/docs/release_notes.rst)
- [Commits](Qiskit/qiskit@1.0.0...2.4.0)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.15.11
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: qiskit
  dependency-version: 2.4.0
  dependency-type: direct:development
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Apr 20, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.75%. Comparing base (e5c957e) to head (bd9c491).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #486   +/-   ##
=======================================
  Coverage   88.75%   88.75%           
=======================================
  Files          46       46           
  Lines        6749     6749           
=======================================
  Hits         5990     5990           
  Misses        759      759           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@emlynsg emlynsg self-requested a review April 20, 2026 09:42
@thierry-martinez thierry-martinez merged commit 6aa16e9 into master Apr 20, 2026
25 checks passed
@thierry-martinez thierry-martinez deleted the dependabot/pip/python-packages-239b7a443d branch April 20, 2026 10:03
thierry-martinez added a commit to thierry-martinez/graphix that referenced this pull request Apr 20, 2026
Mypy currently fails when type-checking code against the latest Qiskit
release (2.4.0; see TeamGraphix#485 and python/mypy#21263).

While TeamGraphix#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 TeamGraphix#486).

This commit adds the necessary configuration to prevent those updates.
thierry-martinez added a commit that referenced this pull request Apr 20, 2026
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.
emlynsg pushed a commit that referenced this pull request Apr 20, 2026
* Bump the python-packages group with 2 updates

Updates the requirements on [ruff](https://github.com/astral-sh/ruff) and [qiskit](https://github.com/Qiskit/qiskit) to permit the latest version.

Updates `ruff` from 0.15.10 to 0.15.11
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.15.10...0.15.11)

Updates `qiskit` to 2.4.0
- [Release notes](https://github.com/Qiskit/qiskit/releases)
- [Changelog](https://github.com/Qiskit/qiskit/blob/main/docs/release_notes.rst)
- [Commits](Qiskit/qiskit@1.0.0...2.4.0)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.15.11
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: qiskit
  dependency-version: 2.4.0
  dependency-type: direct:development
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <support@github.com>

* reverting bump to qiskit max version

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Emlyn Graham <egraham@PTB-02009984.paris.inria.fr>
emlynsg pushed a commit that referenced this pull request Apr 20, 2026
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants