summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-portion_2.3.0.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-portion: Upgrade 2.3.0 -> 2.3.1Wang Mingyu2023-02-111-16/+0
| | | | | | | | | | | | | | | Changed ======= Speed up lookups in IntervalDict for non-interval keys. Speed up iterate by no longer creating singleton instances under the hood. Drop official support for Python 3.6. Fixed ===== Infinite recursion when a subclass of an Interval is compared using > with an Interval instance (see #75). Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-portion: Upgrade 2.2.0 -> 2.3.0Leon Anavi2022-09-141-0/+16
Upgrade to release 2.3.0: - Support Python 3.10. - IntervalDict.as_dict has an optional atomic=False parameter that, if set to True, returns intervals that are atomic. - Experimental support for structural pattern matching (on left, lower, upper and right). - (breaking) For consistency, the empty interval is never <, >, <=, nor >= when compared to another interval. - Comparing an interval and a value is deprecated since it is ill-defined when the value is on the left of <= or >=. Convert values to singletons first. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>