From 11273edd46c8b7edceb0f54d760bf1a9cf22c7e3f1aa802e853d1a1c2a88491c Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 16 Nov 2024 16:49:30 +0000 Subject: [PATCH] =?UTF-8?q?-=20Update=20to=206.119.1=20=20=20-=20This=20pa?= =?UTF-8?q?tch=20migrates=20some=20more=20internals=20(around=20generating?= =?UTF-8?q?=20=20=20=20=20novel=20inputs)=20to=20the=20IR=20layer=20(issue?= =?UTF-8?q?=20#3921).=20-=20Update=20to=206.119.0=20=20=20-=20This=20relea?= =?UTF-8?q?se=20improves=20Hypothesis=E2=80=99=20handling=20of=20Exception?= =?UTF-8?q?Group=20=20=20=20=20-=20it=E2=80=99s=20now=20able=20to=20detect?= =?UTF-8?q?=20marker=20detections=20if=20they=E2=80=99re=20inside=20=20=20?= =?UTF-8?q?=20=20a=20group=20and=20attempts=20to=20resolve=20them.=20Note?= =?UTF-8?q?=20that=20this=20handling=20=20=20=20=20is=20still=20a=20work?= =?UTF-8?q?=20in=20progress=20and=20might=20not=20handle=20edge=20cases=20?= =?UTF-8?q?=20=20=20=20optimally.=20Please=20open=20issues=20if=20you=20en?= =?UTF-8?q?counter=20any=20problems=20=20=20=20=20or=20unexpected=20behavi?= =?UTF-8?q?or=20with=20it.=20-=20Update=20to=206.118.9=20=20=20-=20Interna?= =?UTF-8?q?l=20refactorings=20in=20preparation=20for=20upcoming=20changes.?= =?UTF-8?q?=20-=20Update=20to=206.118.8=20=20=20-=20Internal=20renamings.?= =?UTF-8?q?=20-=20Update=20to=206.118.7=20=20=20-=20This=20patch=20removes?= =?UTF-8?q?=20some=20#=20type:=20ignore=20comments=20following=20a=20=20?= =?UTF-8?q?=20=20=20mypy=20update.=20-=20Update=20to=206.118.6=20=20=20-?= =?UTF-8?q?=20When=20Hypothesis=20replays=20examples=20from=20its=20test?= =?UTF-8?q?=20database=20that=20=20=20=20=20it=20knows=20were=20previously?= =?UTF-8?q?=20fully=20shrunk=20it=20will=20no=20longer=20try=20=20=20=20?= =?UTF-8?q?=20to=20shrink=20them=20again.=20=20=20-=20This=20should=20sign?= =?UTF-8?q?ificantly=20speed=20up=20development=20workflows=20for=20=20=20?= =?UTF-8?q?=20=20slow=20tests,=20as=20the=20shrinking=20could=20contribute?= =?UTF-8?q?=20a=20significant=20=20=20=20=20delay=20when=20rerunning=20the?= =?UTF-8?q?=20tests.=20=20=20-=20In=20some=20rare=20cases=20this=20may=20c?= =?UTF-8?q?ause=20minor=20reductions=20in=20example=20=20=20=20=20quality.?= =?UTF-8?q?=20This=20was=20considered=20an=20acceptable=20tradeoff=20for?= =?UTF-8?q?=20the=20=20=20=20=20improved=20test=20runtime.=20-=20Update=20?= =?UTF-8?q?to=206.118.5=20=20=20-=20This=20patch=20avoids=20computing=20so?= =?UTF-8?q?me=20string=20representations=20we=20=20=20=20=20won=E2=80=99t?= =?UTF-8?q?=20need,=20giving=20a=20small=20speedup=20(part=20of=20issue=20?= =?UTF-8?q?#4139).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=199 --- _service | 2 +- hypothesis-python-6.115.2.tar.gz | 3 -- hypothesis-python-6.119.1.tar.gz | 3 ++ python-hypothesis.changes | 87 ++++++++++++++++++++++++++++++++ python-hypothesis.spec | 2 +- 5 files changed, 92 insertions(+), 5 deletions(-) delete mode 100644 hypothesis-python-6.115.2.tar.gz create mode 100644 hypothesis-python-6.119.1.tar.gz diff --git a/_service b/_service index 27b6d29..975d01b 100644 --- a/_service +++ b/_service @@ -2,7 +2,7 @@ https://github.com/HypothesisWorks/hypothesis.git git - hypothesis-python-6.115.2 + hypothesis-python-6.119.1 @PARENT_TAG@ hypothesis-python-(.*) hypothesis-python diff --git a/hypothesis-python-6.115.2.tar.gz b/hypothesis-python-6.115.2.tar.gz deleted file mode 100644 index 0d1aff1..0000000 --- a/hypothesis-python-6.115.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bb56678220800289c6415877cc10727b796a564ebe6721dfb85f44d2b997f735 -size 935162 diff --git a/hypothesis-python-6.119.1.tar.gz b/hypothesis-python-6.119.1.tar.gz new file mode 100644 index 0000000..792742c --- /dev/null +++ b/hypothesis-python-6.119.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fd838696d1099c062ef8105a9cc8ff4f7742fc2b4f8c40eef99cec037feedb67 +size 948069 diff --git a/python-hypothesis.changes b/python-hypothesis.changes index b510a5c..bc22f81 100644 --- a/python-hypothesis.changes +++ b/python-hypothesis.changes @@ -1,3 +1,90 @@ +------------------------------------------------------------------- +Sat Nov 16 16:45:50 UTC 2024 - Matej Cepl + +- Update to 6.119.1 + - This patch migrates some more internals (around generating + novel inputs) to the IR layer (issue #3921). +- Update to 6.119.0 + - This release improves Hypothesis’ handling of ExceptionGroup + - it’s now able to detect marker detections if they’re inside + a group and attempts to resolve them. Note that this handling + is still a work in progress and might not handle edge cases + optimally. Please open issues if you encounter any problems + or unexpected behavior with it. +- Update to 6.118.9 + - Internal refactorings in preparation for upcoming changes. +- Update to 6.118.8 + - Internal renamings. +- Update to 6.118.7 + - This patch removes some # type: ignore comments following a + mypy update. +- Update to 6.118.6 + - When Hypothesis replays examples from its test database that + it knows were previously fully shrunk it will no longer try + to shrink them again. + - This should significantly speed up development workflows for + slow tests, as the shrinking could contribute a significant + delay when rerunning the tests. + - In some rare cases this may cause minor reductions in example + quality. This was considered an acceptable tradeoff for the + improved test runtime. +- Update to 6.118.5 + - This patch avoids computing some string representations we + won’t need, giving a small speedup (part of issue #4139). +- Update to 6.118.4 + - This patch migrates the optimisation algorithm for + targeted property-based testing to our IR layer (issue + #3921). This should result in moderately different (and + hopefully improved) exploration behavior in tests which use + hypothesis.target(). +- Update to 6.118.3 + - This patch adds more type hints to internal Hypothesis code. +- Update to 6.118.2 + - This patch migrates the explain phase to our IR layer (issue + #3921). This should improve both its speed and precision. +- Update to 6.118.1 + - This patch updates some internals around how we determine an + input is too large to finish generating. +- Update to 6.118.0 + - The urls() strategy no longer generates URLs where the port + number is 0. + - This change is motivated by the idea that the generated URLs + should, at least in theory, be possible to fetch. The port + number 0 is special; if a server binds to port 0, the kernel + will allocate an unused, and non-zero, port instead. That + means that it’s not possible for a server to actually be + listening on port 0. This motivation is briefly described in + the documentation for urls(). + - Fixes issue #4157. + - Thanks to @gmacon for this contribution! +- Update to 6.117.0 + - This changes the behaviour of settings profiles so that + if you reregister the currently loaded profile it will + automatically reload it. Previously you would have had to + load it again. + - In particular this means that if you register a “ci” profile, + it will automatically be used when Hypothesis detects you are + running on CI. +- Update to 6.116.0 + - Hypothesis now detects if it is running on a CI server and + provides better default settings for running on CI in this + case. +- Update to 6.115.6 + - This patch changes the priority order of pretty printing + logic so that a user provided pretty printing method will + always be used in preference to e.g. printing it like a + dataclass. +- Update to 6.115.5 + - This patch restores diversity to the outputs of + from_type(type) (issue #4144). +- Update to 6.115.4 + - This release improves pretty printing of nested classes to + include the outer class name in their printed representation. +- Update to 6.115.3 + - This patch fixes a regression from version 6.115.2 where + generating values from integers() with certain values for + min_value and max_value would error. + ------------------------------------------------------------------- Wed Oct 23 11:11:01 UTC 2024 - John Paul Adrian Glaubitz diff --git a/python-hypothesis.spec b/python-hypothesis.spec index e995b62..9da887f 100644 --- a/python-hypothesis.spec +++ b/python-hypothesis.spec @@ -38,7 +38,7 @@ ExclusiveArch: do_not_build %endif %{?sle15_python_module_pythons} Name: python-hypothesis%{psuffix} -Version: 6.115.2 +Version: 6.119.1 Release: 0 Summary: A library for property based testing License: MPL-2.0