From 3cfc7431fc4b299c973dccf0b6c4727fe29f5dfa22c52c26a1bee9eb73face75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Wed, 25 Sep 2024 17:14:31 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main python-hypothesmith revision f9bc4db37cfb1f6f904bd48203ea32c0 --- hypothesmith-0.2.3.tar.gz | 3 --- hypothesmith-0.3.3.tar.gz | 3 +++ python-hypothesmith.changes | 40 +++++++++++++++++++++++++++++++------ python-hypothesmith.spec | 13 ++++++------ 4 files changed, 43 insertions(+), 16 deletions(-) delete mode 100644 hypothesmith-0.2.3.tar.gz create mode 100644 hypothesmith-0.3.3.tar.gz diff --git a/hypothesmith-0.2.3.tar.gz b/hypothesmith-0.2.3.tar.gz deleted file mode 100644 index d3a4cba..0000000 --- a/hypothesmith-0.2.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bdce845ec984e6e3fed21e65d2e82b8ebc6de5ca5eb93649dfd76034c5906a46 -size 25722 diff --git a/hypothesmith-0.3.3.tar.gz b/hypothesmith-0.3.3.tar.gz new file mode 100644 index 0000000..991ce8f --- /dev/null +++ b/hypothesmith-0.3.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:96c14802d6c8e85d8975264176878db54b28d2ed921fdbfedc2e6b8ce3c81716 +size 25529 diff --git a/python-hypothesmith.changes b/python-hypothesmith.changes index a2145e0..4b0446e 100644 --- a/python-hypothesmith.changes +++ b/python-hypothesmith.changes @@ -1,3 +1,31 @@ +------------------------------------------------------------------- +Tue Mar 19 07:02:34 UTC 2024 - Dirk Müller + +- update to 0.3.3: + * Add Python 3.12 and 3.13 to CI + * Can now be imported on Python 3.13 + +------------------------------------------------------------------- +Mon Jan 22 23:31:11 UTC 2024 - Dirk Müller + +- update to 0.3.2: + * Performance improvements based on Hypothesis 6.93.0 + +------------------------------------------------------------------- +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 + +- update to 0.3.0 + * Even more efficient generation of Python identifiers, using Hypothesis 6.84.1 + * Dropped support for Python 3.7 + ------------------------------------------------------------------- Fri Apr 21 12:26:38 UTC 2023 - Dirk Müller @@ -16,12 +44,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 @@ -29,7 +57,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 @@ -48,7 +76,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 @@ -76,7 +104,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 ------------------------------------------------------------------- @@ -95,7 +123,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 3c0e4a2..fb1f7dd 100644 --- a/python-hypothesmith.spec +++ b/python-hypothesmith.spec @@ -1,7 +1,7 @@ # -# spec file +# spec file for package python-hypothesmith # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,6 @@ %{?sle15_python_module_pythons} -%define skip_python2 1 %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -test @@ -27,24 +26,24 @@ %bcond_with test %endif Name: python-hypothesmith%{psuffix} -Version: 0.2.3 +Version: 0.3.3 Release: 0 Summary: Hypothesis strategies for generating Python programs, something like CSmith License: MPL-2.0 URL: https://github.com/Zac-HD/hypothesmith Source: https://files.pythonhosted.org/packages/source/h/hypothesmith/hypothesmith-%{version}.tar.gz -BuildRequires: %{python_module base >= 3.6} +BuildRequires: %{python_module base >= 3.8} 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.93.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.58.1} +BuildRequires: %{python_module hypothesis >= 6.93.0} BuildRequires: %{python_module lark >= 0.10.1} BuildRequires: %{python_module libcst >= 0.4.0} BuildRequires: %{python_module parso}