summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-bidict_0.23.0.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-bidict: upgrade 0.23.0 -> 0.23.1Wang Mingyu2024-06-111-11/+0
| | | | | | | | | Changelog: - 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. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-bidict: upgrade 0.22.1 -> 0.23.0Wang Mingyu2024-02-191-0/+11
License-Update: Copyright year updated to 2024 Changelog: ============ -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. -Remove namedbidict due to low usage. -Remove the kv field of OnDup which specified the OnDupAction to take in the case of Key and Value Duplication. -Improve type hints for the inv shortcut alias for inverse. -Fix a bug where calls like bidict(None), bi.update(False) -All __init__(), update(), and related methods now handle SupportsKeysAndGetItem objects that are not Mappings the same way that MutableMapping.update() does, before falling back to handling the provided object as an iterable of pairs. -The repr() of ordered bidicts now matches that of regular bidicts -This tracks with the change to collections.OrderedDict's repr() in Python 3.12. -Test with Python 3.12 in CI. -Drop use of Trove classifiers that declare support for specific Python versions in package metadata. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>