15
0

- 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
This commit is contained in:
2023-12-18 12:22:04 +00:00
committed by Git OBS Bridge
parent 82575aea90
commit 62f764ca5e
4 changed files with 20 additions and 12 deletions

View File

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