Debian Patches

Status for python-taskflow/5.0.0-3

Patch Description Author Forwarded Bugs Origin Last update
reproducible_build.patch Make the build reproducible
===================================================================
Chris Lamb <lamby@debian.org> yes 2017-04-15
Adapt-to-new-jsonschema-versions.patch Adapt to new jsonschema versions This change provides fixes that were dectected by unit
test failures with new jsonschema (and py310).
.
The types argument has been removed in favor of providing a
type_checker to jsonschema.validators.extend:
https://github.com/python-jsonschema/jsonschema/issues/577

diff --git a/taskflow/utils/schema_utils.py b/taskflow/utils/schema_utils.py
index 8d7c216..758fa7b 100644
Corey Bryant <corey.bryant@canonical.com> no upstream, https://review.opendev.org/c/openstack/taskflow/+/851929 2022-08-02
py3.11_Fix-test_while_is_not.patch [PATCH] Fix test_while_is_not with python 3.11 The test_while_is_not function relied on strings and literals to test
the 'while_is_not' function. But the while_is_not function uses the 'is'
operator to test the equivalency of 2 objects.
This triggers a bug with python 3.11 where using 'is' with literals is
not advised (it is not recommended since python 3.8 [0]).
The test now uses objects from a specific class to evaluate the
while_is_not function.
.
[0] https://docs.python.org/3/whatsnew/3.8.html#changes-in-python-behavior

diff --git a/taskflow/tests/unit/test_utils_iter_utils.py b/taskflow/tests/unit/test_utils_iter_utils.py
index c4109d8..3a37717 100644
Gregory Thiemonge <gthiemon@redhat.com> no debian upstream, https://review.opendev.org/c/openstack/taskflow/+/866610 2022-12-09

All known versions for source package 'python-taskflow'

Links