summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-bidict_0.22.1.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-bidict: upgrade 0.22.1 -> 0.23.0Wang Mingyu2024-02-191-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* python3-bidict: upgrade 0.22.0 -> 0.22.1Wang Mingyu2023-01-061-0/+11
Changelog: ========== -Only include the source code in the source distribution. This reduces the size of the source distribution from 200kB to 30kB. -Fix the return type hint of bidict.inverted() to return an Iterator, rather than an Iterable. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>