From 62f764ca5ee8a952203a1118ce3dacbe438e71627178ff88ef57c2c7283a7527 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 18 Dec 2023 12:22:04 +0000 Subject: [PATCH] - update to 0.3.1: * Hypothesis >= 6.89.0 made some internal changes which broke our `from_grammar()`. This patch restores compatibility, and requires the new Hypothesis. - Update to version 0.2.3 * Use importlib.resources to load the Python grammar (zip-safe) * Drop support for Python 3.6, add 3.10 and 3.11 to CI Fixed rare internal error when from_node() generated misplaced except: clauses * Fix internal error in `from_grammar("single_input") * Emit more debug info to diagnose a compile() issue in CPython OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesmith?expand=0&rev=20 --- hypothesmith-0.3.0.tar.gz | 3 --- hypothesmith-0.3.1.tar.gz | 3 +++ python-hypothesmith.changes | 20 ++++++++++++++------ python-hypothesmith.spec | 6 +++--- 4 files changed, 20 insertions(+), 12 deletions(-) delete mode 100644 hypothesmith-0.3.0.tar.gz create mode 100644 hypothesmith-0.3.1.tar.gz diff --git a/hypothesmith-0.3.0.tar.gz b/hypothesmith-0.3.0.tar.gz deleted file mode 100644 index f21b76a..0000000 --- a/hypothesmith-0.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:523da04c063b873928d6c28ef16506cf64bf31777039837e17e6bbdc6e2cccdb -size 25508 diff --git a/hypothesmith-0.3.1.tar.gz b/hypothesmith-0.3.1.tar.gz new file mode 100644 index 0000000..00f6914 --- /dev/null +++ b/hypothesmith-0.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8799177a6493e832c81746842a8686752b3b1bb9530d6e832bae1758410daf3a +size 25600 diff --git a/python-hypothesmith.changes b/python-hypothesmith.changes index d1be752..2a2bda9 100644 --- a/python-hypothesmith.changes +++ b/python-hypothesmith.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Dec 18 12:21:38 UTC 2023 - Dirk Müller + +- update to 0.3.1: + * Hypothesis >= 6.89.0 made some internal changes which broke + our `from_grammar()`. This patch restores compatibility, and + requires the new Hypothesis. + ------------------------------------------------------------------- Thu Oct 12 13:53:09 UTC 2023 - Ondřej Súkup @@ -23,12 +31,12 @@ Thu Dec 15 06:26:48 UTC 2022 - Daniel Garcia ------------------------------------------------------------------- Tue Dec 13 15:35:43 UTC 2022 - Yogalakshmi Arunachalam -- Update to version 0.2.3 +- Update to version 0.2.3 * Actually package up the renamed grammar file this time. - Update to 0.2.2 - 2022-11-29 * Correct the minimum required version of LibCST - * Use importlib.resources to load the Python grammar (zip-safe) + * Use importlib.resources to load the Python grammar (zip-safe) ------------------------------------------------------------------- Tue Dec 6 03:35:17 UTC 2022 - Yogalakshmi Arunachalam @@ -36,7 +44,7 @@ Tue Dec 6 03:35:17 UTC 2022 - Yogalakshmi Arunachalam - Update to version 0.2.1 - 2022-11-25 * Use the lark package on PyPI, for Lark version 1.0+ (requires recent Hypothesis) * Use updated Python grammar for from_grammar(), thanks to Lark updates - * Drop support for Python 3.6, add 3.10 and 3.11 to CI + * Drop support for Python 3.6, add 3.10 and 3.11 to CI ------------------------------------------------------------------- Thu Oct 20 13:24:58 UTC 2022 - Torsten Gruner @@ -55,7 +63,7 @@ Thu Sep 29 02:26:11 UTC 2022 - Yogalakshmi Arunachalam More efficient generation of Python identifiers Workaround for CPython parser bug in 3.9.8 (#16) Yes, yet another one - still, that's why hypothesmith exists... - Update to 0.1.9 - 2021-08-19 - Fixed rare internal error when from_node() generated misplaced except: clauses + Fixed rare internal error when from_node() generated misplaced except: clauses ------------------------------------------------------------------- Sun Mar 21 20:41:41 UTC 2021 - Ben Greiner @@ -83,7 +91,7 @@ Wed Aug 19 15:46:37 UTC 2020 - Benjamin Greiner - Update to 0.1.4 * Improve handling of identifiers - * Fix internal error in `from_grammar("single_input") + * Fix internal error in `from_grammar("single_input") - do not install myself on multibuild test flavor ------------------------------------------------------------------- @@ -102,7 +110,7 @@ Thu Aug 6 13:31:26 UTC 2020 - Benjamin Greiner * Update to latest versions of LibCST and Hypothesis, for Python 3.9 support - 0.1.2 - 2020-05-17 - * Emit more debug info to diagnose a compile() issue in CPython + * Emit more debug info to diagnose a compile() issue in CPython nightly - 0.1.1 - 2020-05-17 * Emit some debug info to help diagnose a possible upstream bug diff --git a/python-hypothesmith.spec b/python-hypothesmith.spec index 9ddd90d..347a85e 100644 --- a/python-hypothesmith.spec +++ b/python-hypothesmith.spec @@ -27,7 +27,7 @@ %bcond_with test %endif Name: python-hypothesmith%{psuffix} -Version: 0.3.0 +Version: 0.3.1 Release: 0 Summary: Hypothesis strategies for generating Python programs, something like CSmith License: MPL-2.0 @@ -38,13 +38,13 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-base >= 3.7 -Requires: python-hypothesis >= 6.58.1 +Requires: python-hypothesis >= 6.89.0 Requires: python-lark >= 0.10.1 Requires: python-libcst >= 0.4.0 %if %{with test} BuildRequires: %{python_module black} BuildRequires: %{python_module exceptiongroup} -BuildRequires: %{python_module hypothesis >= 6.84.1} +BuildRequires: %{python_module hypothesis >= 6.89.0} BuildRequires: %{python_module lark >= 0.10.1} BuildRequires: %{python_module libcst >= 0.4.0} BuildRequires: %{python_module parso}