Sync from SUSE:SLFO:Main python-hypothesmith revision f9bc4db37cfb1f6f904bd48203ea32c0

This commit is contained in:
Adrian Schröter 2024-09-25 17:14:31 +02:00
parent 7d8cc6c163
commit 3cfc7431fc
4 changed files with 43 additions and 16 deletions

BIN
hypothesmith-0.2.3.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
hypothesmith-0.3.3.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,31 @@
-------------------------------------------------------------------
Tue Mar 19 07:02:34 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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 <dmueller@suse.com>
- update to 0.3.2:
* Performance improvements based on Hypothesis 6.93.0
-------------------------------------------------------------------
Mon Dec 18 12:21:38 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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 <mimi.vx@gmail.com>
- 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 <dmueller@suse.com>
@ -16,12 +44,12 @@ Thu Dec 15 06:26:48 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
-------------------------------------------------------------------
Tue Dec 13 15:35:43 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- 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 <yarunachalam@suse.com>
@ -29,7 +57,7 @@ Tue Dec 6 03:35:17 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- 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 <simmphonie@opensuse.org>
@ -48,7 +76,7 @@ Thu Sep 29 02:26:11 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
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 <code@bnavigator.de>
@ -76,7 +104,7 @@ Wed Aug 19 15:46:37 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- 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 <code@bnavigator.de>
* 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

View File

@ -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}