From 5c0283615aed88251f9d17a80356afff40c490ac Mon Sep 17 00:00:00 2001 From: lb1107039128 Date: Tue, 26 Dec 2023 15:41:31 +0800 Subject: [PATCH] Shorter patch notes Signed-off-by: lb1107039128 --- 0001-Shorter-patch-notes.patch | 30 ++++++++++++++++++++++++++++++ python-hypothesis.spec | 7 ++++++- 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 0001-Shorter-patch-notes.patch diff --git a/0001-Shorter-patch-notes.patch b/0001-Shorter-patch-notes.patch new file mode 100644 index 0000000..566e824 --- /dev/null +++ b/0001-Shorter-patch-notes.patch @@ -0,0 +1,30 @@ +From fe8913f0a5f3a83790306747c5e58c572a0d0852 Mon Sep 17 00:00:00 2001 +From: Zac Hatfield-Dodds +Date: Fri, 10 Jun 2022 09:34:40 -0700 +Subject: [PATCH] Shorter patch notes + +--- + hypothesis-python/RELEASE.rst | 10 ++++------ + 1 file changed, 4 insertions(+), 6 deletions(-) + +diff --git a/hypothesis-python/RELEASE.rst b/hypothesis-python/RELEASE.rst +index 9be88b5ad..28d3bcefd 100644 +--- a/hypothesis-python/RELEASE.rst ++++ b/hypothesis-python/RELEASE.rst +@@ -1,8 +1,6 @@ + RELEASE_TYPE: patch + +- +-Order of dictionaries is now enforced in Python 3.7 and higher. This means that the original order of dictionaries matters for falsifying examples. +- +-This PR closes #3370. +- +-This PR was kindly supported by Ordina Pythoneers. +\ No newline at end of file ++Our pretty-printer no longer sorts dictionary keys, since iteration order is ++stable in Python 3.7+ and this can affect reproducing examples (:issue:`3370`). ++This PR was kindly supported by `Ordina Pythoneers ++`__. +-- +2.42.0.windows.2 + diff --git a/python-hypothesis.spec b/python-hypothesis.spec index 50472fd..c413a3f 100644 --- a/python-hypothesis.spec +++ b/python-hypothesis.spec @@ -1,7 +1,7 @@ %{?python_enable_dependency_generator} Name: python-hypothesis Version: 6.47.0 -Release: 1 +Release: 2 Summary: based testing for python code License: MPLv2.0 URL: https://github.com/HypothesisWorks/hypothesis-python @@ -9,6 +9,8 @@ Source0: https://github.com/HypothesisWorks/hypothesis/archive/hypothesis BuildRequires: python-sphinx BuildArch: noarch +Patch0001: 0001-Shorter-patch-notes.patch + %description This package provides a library called hypothesis for testing Python code, which has more examples and is based on the Haskell library, Quickcheck, @@ -55,6 +57,9 @@ sed -i -e '/sphinx.ext.intersphinx/d' docs/conf.py %{python3_sitelib}/hypothesis/ %changelog +* Tue Dec 26 2023 liubo - 6.47.0-2 +- Shorter patch notes + * Thu Oct 27 2022 Ge Wang - 6.47.0-1 - Upgrade to 6.47.0 -- Gitee