AppDaemon / appdaemon

:page_facing_up: Python Apps for Home Automation
Other
840 stars 417 forks source link

Bump bidict from 0.22.1 to 0.23.1 #1968

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 7 months ago

Bumps bidict from 0.22.1 to 0.23.1.

Release notes

Sourced from bidict's releases.

v0.23.1

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.23.1/changelog.html for the notable changes in this release.

v0.23.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.23.0/changelog.html for the notable changes in this release.

Changelog

Sourced from bidict's changelog.

0.23.1 (2024-02-18)

Fix a regression in 0.23.0 that could defeat type inference of a bidict's key type and value type when running in Python 3.8 or 3.9. :issue:310

0.23.0 (2024-02-14)

Primarily, this release simplifies bidict by removing minor features that are no longer necessary or that have little to no apparent usage, and it also includes some performance optimizations.

Specifically, initializing or updating a bidict is now up to 70% faster in microbenchmarks.

The changes in this release will also make it easier to maintain and improve bidict in the future, including further potential performance optimizations.

It also contains several other improvements.

  • Drop support for Python 3.7, which reached end of life on 2023-06-27, and take advantage of features available in Python 3.8+.

  • Remove FrozenOrderedBidict now that Python 3.7 is no longer supported. :class:~bidict.frozenbidict now provides everything that FrozenOrderedBidict provided (including :class:reversibility <collections.abc.Reversible>) on all supported Python versions, but with less space overhead.

  • Remove namedbidict due to low usage.

  • Remove the kv field of :class:~bidict.OnDup which specified the :class:~bidict.OnDupAction to take in the case of :ref:basic-usage:key and value duplication. The :attr:~bidict.OnDup.val field now specifies the action to take in the case of :ref:basic-usage:key and value duplication as well as :ref:just value duplication <basic-usage:values must be unique>.

  • Improve type hints for the :attr:~bidict.BidictBase.inv shortcut alias for :attr:~bidict.BidictBase.inverse.

... (truncated)

Commits
  • 636f5a6 Prepare for 0.23.1 release.
  • 886187a Minor improvements to hypothesis tests.
  • 0761d21 Drop use of typing.TypeAlias in type hints (fix #310).
  • 43ea51f Switch to uv for development + update dev deps
  • 1fc03ca Minor refactor for simplicity and potential speedup.
  • e2402c0 ditch --benchmark-compare-fail in CI
  • 9822192 rm refs to gitter
  • d6303e7 Update actions and dev deps every 3 months.
  • ebd26d1 Update .github/FUNDING.yml
  • 1b56a06 Bump version post-release.
  • 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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show 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)
dependabot[bot] commented 1 month ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.