summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-hypothesis_6.86.2.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-hypothesis: upgrade 6.86.2 -> 6.87.4Wang Mingyu2023-10-191-39/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ============ -When randoms() was called with use_true_randoms=False, calling sample on it with an empty sequence and 0 elements would result in an error, when it should have returned an empty sequence to agree with the normal behaviour of random.Random. This fixes that discrepancy. -This patch ensures that the hypothesis codemod CLI will print a warning instead of stopping with an internal error if one of your files contains invalid syntax (issue #3759). -This patch makes some small changes to our NumPy integration to ensure forward compatibility. Thanks to Mateusz Sokół for pull request #3761. -Fixes issue #3755, where an internal condition turns out to be reachable after all. -This release deprecates use of assume() and reject() outside of property-based tests, because these functions work by raising a special exceptioni. It also fixes some type annotations (issue #3753). (From OE-Core rev: 634f289c702e112964cc91eee02f9af7b6431bc5) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.84.3 -> 6.86.2Wang Mingyu2023-09-281-0/+39
Changelog: =========== -Hotfix for issue #3747, a bug in explain mode which is so rare that we missed it in six months of dogfooding. -This patch improves the documentation of @example(...).xfail() by adding a note about PEP 614, similar to @example(...).via(), and adds a warning when a strategy generates a test case which seems identical to one provided by an xfailed example. -This release enables the explain phase by default. -This patch switches some of our type annotations to use typing.Literal when only a few specific values are allowed, such as UUID or IP address versions. -This release deprecates the old whitelist/blacklist arguments to characters(), in favor of include/exclude arguments which more clearly describe their effects on the set of characters which can be generated. -You can use Hypothesis; codemods to automatically upgrade to the new argument names. (From OE-Core rev: e7302ee78e0b7f24740a665ba1a3d16987b08036) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>