From 32b101b39b0193deab0a835f4130003255f4abe006c7f22cf004c48717afcef4 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 22 Mar 2021 22:23:08 +0000 Subject: [PATCH] Accepting request 880420 from home:bnavigator:branches:devel:languages:python - Update to v0.1.8 * Now compatible with Hypothesis 5.46 and later * Increased diversity of examples generated by from_node() - Release v0.1.7 * Adds a workaround for BPO-42218 * Bumped Hypothesis requirement to version 5.41 or later (better internal error messages) * Added MANIFEST.in so the sdist includes license, tests, etc. OBS-URL: https://build.opensuse.org/request/show/880420 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesmith?expand=0&rev=7 --- hypothesmith-0.1.6.tar.gz | 3 --- hypothesmith-0.1.8.tar.gz | 3 +++ hypothesmith-gh-0.1.6.tar.gz | 3 --- python-hypothesmith.changes | 12 ++++++++++++ python-hypothesmith.spec | 19 ++++++++----------- 5 files changed, 23 insertions(+), 17 deletions(-) delete mode 100644 hypothesmith-0.1.6.tar.gz create mode 100644 hypothesmith-0.1.8.tar.gz delete mode 100644 hypothesmith-gh-0.1.6.tar.gz diff --git a/hypothesmith-0.1.6.tar.gz b/hypothesmith-0.1.6.tar.gz deleted file mode 100644 index 3eb5391..0000000 --- a/hypothesmith-0.1.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:54399e45a2d4be4b76198a4b50b5fc5d3acb3567a56d84cd9520c2df0ccb6f01 -size 11942 diff --git a/hypothesmith-0.1.8.tar.gz b/hypothesmith-0.1.8.tar.gz new file mode 100644 index 0000000..a6b32f1 --- /dev/null +++ b/hypothesmith-0.1.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f9ff047b15c4ed312ce3da57ea27570f86d6b53ce12af9f25e59e6576a00410a +size 24760 diff --git a/hypothesmith-gh-0.1.6.tar.gz b/hypothesmith-gh-0.1.6.tar.gz deleted file mode 100644 index 6750c96..0000000 --- a/hypothesmith-gh-0.1.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3e22a9f2410fb1f0d5109ca1491ef7fe60f04ceadc5b3a0e3a1698508e517ff4 -size 21590 diff --git a/python-hypothesmith.changes b/python-hypothesmith.changes index 58b159e..688ecdf 100644 --- a/python-hypothesmith.changes +++ b/python-hypothesmith.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sun Mar 21 20:41:41 UTC 2021 - Ben Greiner + +- Update to v0.1.8 + * Now compatible with Hypothesis 5.46 and later + * Increased diversity of examples generated by from_node() +- Release v0.1.7 + * Adds a workaround for BPO-42218 + * Bumped Hypothesis requirement to version 5.41 or later + (better internal error messages) + * Added MANIFEST.in so the sdist includes license, tests, etc. + ------------------------------------------------------------------- Sat Nov 14 05:23:01 UTC 2020 - John Vandenberg diff --git a/python-hypothesmith.spec b/python-hypothesmith.spec index b01d545..c3b974a 100644 --- a/python-hypothesmith.spec +++ b/python-hypothesmith.spec @@ -1,7 +1,7 @@ # -# spec file for package python-hypothesmith +# spec file for package python-hypothesmith-test # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,9 +18,6 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 -# no release tags in repository, but we need LICENSE and tests not -# packaged in PyPI source https://github.com/Zac-HD/hypothesmith/issues/5 -%define commithash 40947c2e590f06ea5f3b88c6e75d8a98e9443c63 %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -test @@ -30,24 +27,23 @@ %bcond_with test %endif Name: python-hypothesmith%{psuffix} -Version: 0.1.6 +Version: 0.1.8 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 -Source1: https://github.com/Zac-HD/hypothesmith/archive/%{commithash}.tar.gz#/hypothesmith-gh-%{version}.tar.gz BuildRequires: %{python_module base >= 3.6} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-base >= 3.6 -Requires: python-hypothesis >= 5.23.7 +Requires: python-hypothesis >= 5.46 Requires: python-lark-parser >= 0.7.2 Requires: python-libcst >= 0.3.8 %if %{with test} BuildRequires: %{python_module black} -BuildRequires: %{python_module hypothesis >= 5.23.7} +BuildRequires: %{python_module hypothesis >= 5.46} BuildRequires: %{python_module lark-parser >= 0.7.2} BuildRequires: %{python_module libcst >= 0.3.8} BuildRequires: %{python_module parso} @@ -61,8 +57,9 @@ BuildArch: noarch Hypothesis strategies for generating Python programs, something like CSmith. %prep -%setup -q -n hypothesmith-%{version} -b 1 -cp -r ../hypothesmith-%{commithash}/{LICENSE,CHANGELOG.md,tests} . +%setup -q -n hypothesmith-%{version} +# remove pytest coverage opts +rm tox.ini %build %if !%{with test}