Accepting request 1224614 from devel:languages:python

- 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.
- Require numpy >= 2.

OBS-URL: https://build.opensuse.org/request/show/1224614
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=79
This commit is contained in:
Ana Guerrero 2024-11-18 18:57:08 +00:00 committed by Git OBS Bridge
commit f743d379ef
5 changed files with 95 additions and 7 deletions

View File

@ -2,7 +2,7 @@
<service name="tar_scm" mode="manual"> <service name="tar_scm" mode="manual">
<param name="url">https://github.com/HypothesisWorks/hypothesis.git</param> <param name="url">https://github.com/HypothesisWorks/hypothesis.git</param>
<param name="scm">git</param> <param name="scm">git</param>
<param name="revision">hypothesis-python-6.115.2</param> <param name="revision">hypothesis-python-6.119.1</param>
<param name="versionformat">@PARENT_TAG@</param> <param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">hypothesis-python-(.*)</param> <param name="versionrewrite-pattern">hypothesis-python-(.*)</param>
<param name="subdir">hypothesis-python</param> <param name="subdir">hypothesis-python</param>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bb56678220800289c6415877cc10727b796a564ebe6721dfb85f44d2b997f735
size 935162

BIN
hypothesis-python-6.119.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,91 @@
-------------------------------------------------------------------
Sat Nov 16 16:45:50 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- 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
- its now able to detect marker detections if theyre 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
wont 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 its 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.
- Require numpy >= 2.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Oct 23 11:11:01 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> Wed Oct 23 11:11:01 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -38,7 +38,7 @@ ExclusiveArch: do_not_build
%endif %endif
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-hypothesis%{psuffix} Name: python-hypothesis%{psuffix}
Version: 6.115.2 Version: 6.119.1
Release: 0 Release: 0
Summary: A library for property based testing Summary: A library for property based testing
License: MPL-2.0 License: MPL-2.0
@ -69,7 +69,7 @@ Recommends: python-click >= 7.0
Recommends: python-dpcontracts >= 0.4 Recommends: python-dpcontracts >= 0.4
Recommends: python-lark >= 0.10.1 Recommends: python-lark >= 0.10.1
Recommends: python-libcst >= 0.3.16 Recommends: python-libcst >= 0.3.16
Recommends: python-numpy >= 1.19.3 Recommends: python-numpy >= 2
Recommends: python-pandas >= 1.1 Recommends: python-pandas >= 1.1
Recommends: python-pytest >= 4.6 Recommends: python-pytest >= 4.6
Recommends: python-python-dateutil >= 1.4 Recommends: python-python-dateutil >= 1.4
@ -87,7 +87,7 @@ BuildRequires: %{python_module dpcontracts >= 0.4}
BuildRequires: %{python_module flaky} BuildRequires: %{python_module flaky}
BuildRequires: %{python_module lark >= 0.10.1} BuildRequires: %{python_module lark >= 0.10.1}
BuildRequires: %{python_module libcst >= 0.3.16} BuildRequires: %{python_module libcst >= 0.3.16}
BuildRequires: %{python_module numpy >= 1.19.3} BuildRequires: %{python_module numpy >= 2}
BuildRequires: %{python_module pexpect} BuildRequires: %{python_module pexpect}
BuildRequires: %{python_module pytest >= 4.6} BuildRequires: %{python_module pytest >= 4.6}
BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest-xdist}