Skip to content

Bump bidict from 0.23.1 to 0.24.0 - #1684

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/bidict-0.24.0
Open

Bump bidict from 0.23.1 to 0.24.0#1684
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/bidict-0.24.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 28, 2026

Copy link
Copy Markdown
Contributor

Bumps bidict from 0.23.1 to 0.24.0.

Release notes

Sourced from bidict's releases.

v0.24.0

Bidict is the bidirectional mapping library for Python.

If you or your organization depends on bidict, please consider sponsoring.

Please see https://bidict.readthedocs.io/en/v0.24.0/changelog.html for the notable changes in this release.

Changelog

Sourced from bidict's changelog.

0.24.0 (2026-08-24)

  • Remove bidict.metadata and associated metadata from the :mod:bidict module (e.g. bidict.__version__). Use e.g. :func:importlib.metadata.metadata("bidict")["Version"] <importlib.metadata.metadata> instead.

  • Fix a bug where pickling or :func:~copy.deepcopy\ing an instance of a dynamically-generated inverse class (see :ref:extending:Dynamic Inverse Class Generation) could change the order of its items. :issue:398

    Pickles written by bidict 0.23.1 and earlier can no longer be read. They call the private BidictBase._from_other() with an argument it no longer accepts, which was retained for no other purpose. Pickle compatibility across versions has never been guaranteed <https://docs.python.org/3/library/pickle.html#comparison-with-json>__, and dropping it here keeps :meth:~bidict.BidictBase.__reduce__ free of special cases.

  • Fix a bug where a non-ordered bidict's :meth:~bidict.BidictBase.values view could yield its values in a different order than :meth:~bidict.BidictBase.keys yields the corresponding keys, so that e.g. zip(b.keys(), b.values()) silently paired up the wrong keys and values.

  • Fix a bug where :meth:~bidict.MutableBidict.putall and :meth:~bidict.MutableBidict.update could leave earlier items inserted when a later item in a bulk update raised a non-duplication exception, rather than failing clean. :issue:389

  • Fix a bug where a bulk update did not fail clean at all when the :class:~bidict.OnDup in effect contained no :attr:~bidict.RAISE action – as with :meth:~bidict.MutableBidict.forceupdate, :meth:~bidict.MutableBidict.putall passed :attr:~bidict.ON_DUP_DROP_OLD, or :meth:~bidict.MutableBidict.update on a subclass that overrides :attr:~bidict.BidictBase.on_dup (e.g. the YoloBidict recipe in :doc:extending). Rollback was previously enabled only when a duplication error was possible, but a bulk update can also fail while unpacking an item, hashing a key or value, or writing to a backing mapping. Rollback is now always enabled for these methods.

... (truncated)

Commits
  • a4b3e2d Prepare for 0.24.0 release.
  • b6ba9b6 Record why, where the config's choices are not self-explaining
  • f79ee83 Fail on a ruff older than the one pinned, rather than under-linting
  • 71d068c Take each lint suppression at the scope it belongs at
  • 6da30c7 Update the lint hooks, and select and ignore ruff rules by name
  • 16ac75e Batch the single-item write benchmarks so they clear the measurement floor
  • b1da298 Undo the removal already applied when the other one is refused
  • c69f364 Correct the release's performance claims against 0.23.1
  • 84cffeb Stop gating benchmarks on wall-clock timings measured under Cachegrind
  • e530d3f Undo the writes already applied when a later one is refused
  • Additional commits viewable in compare view

Dependabot compatibility score

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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [bidict](https://github.com/jab/bidict) from 0.23.1 to 0.24.0.
- [Release notes](https://github.com/jab/bidict/releases)
- [Changelog](https://github.com/jab/bidict/blob/main/CHANGELOG.rst)
- [Commits](jab/bidict@v0.23.1...v0.24.0)

---
updated-dependencies:
- dependency-name: bidict
  dependency-version: 0.24.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Aug 28, 2026
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:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants