Revisions of python-hypothesis

buildservice-autocommit accepted request 1226532 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 203)
baserev update by copy to link target
Matej Cepl's avatar Matej Cepl (mcepl) committed (revision 202)
- Skip tests matching `test_adds_note_showing_which_strategy`
  (gh#HypothesisWorks/hypothesis#4185).
- Add missing BR: rich.
buildservice-autocommit accepted request 1224614 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 201)
baserev update by copy to link target
Matej Cepl's avatar Matej Cepl (mcepl) committed (revision 200)
- Require numpy >= 2.
Matej Cepl's avatar Matej Cepl (mcepl) committed (revision 199)
- 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).
buildservice-autocommit accepted request 1217398 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 198)
baserev update by copy to link target
Matej Cepl's avatar Matej Cepl (mcepl) accepted request 1217328 from John Paul Adrian Glaubitz's avatar John Paul Adrian Glaubitz (glaubitz) (revision 197)
- Update to 6.115.3
  * This patch fixes a regression from :ref:`version 6.115.2 <v6.115.2>` where
    generating values from :func:`~hypothesis.strategies.integers` with certain
    values for ``min_value`` and ``max_value`` would error.
- from version 6.115.2
  * This release improves integer shrinking by folding the endpoint upweighting
    for :func:`~hypothesis.strategies.integers` into the ``weights`` parameter
    of our IR.
    If you maintain an alternative backend as part of our (for now explicitly
    unstable) :ref:`alternative-backends`, this release changes the type of the
    ``weights`` parameter to ``draw_integer`` and may be a breaking change for you.
- from version 6.115.1
  * This patch improves the performance of :func:`~hypothesis.strategies.from_type`
    with `pydantic.types.condate
- from version 6.115.0
  * This improves the formatting of dataclasses and attrs classes when printing
    falsifying examples.
- from version 6.114.1
  * This patch upgrades remaining type annotations to Python 3.9 syntax.
- from version 6.114.0
  * This release drops support for Python 3.8, which reached end of life on
    2024-10-07.
- from version 6.113.0
  * This release adds ``hypothesis.errors.BackendCannotProceed``, an unstable API
    for use by :ref:`alternative-backends`.
- from version 6.112.5
  * This release fixes a regression where :class:`hypothesis.stateful.Bundle` did
    not work properly with :ref:`flatmap <flatmap>` functionality.
- from version 6.112.4
  * This patch tweaks the paths in ``@example(...)`` patches, so that
buildservice-autocommit accepted request 1206400 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 196)
baserev update by copy to link target
Matej Cepl's avatar Matej Cepl (mcepl) accepted request 1206354 from Markéta Machová's avatar Markéta Machová (mcalabkova) (revision 195)
- Update to 6.112.2
  * removes a now-incorrect internal assertion about numpy’s typing 
    after recent numpy changes
  * fixes an internal error when the __context__ attribute of a raised 
    exception leads to a cycle
buildservice-autocommit accepted request 1199124 from Daniel Garcia's avatar Daniel Garcia (dgarcia) (revision 194)
baserev update by copy to link target
Daniel Garcia's avatar Daniel Garcia (dgarcia) accepted request 1199122 from Benjamin Greiner's avatar Benjamin Greiner (bnavigator) (revision 193)
- Update to 6.112.0
  * This release adds support for variable-width bytes in our IR
    layer (issue #3921), which should mean improved performance
    anywhere you use binary(). If you maintain an alternative
    backend as part of our (for now explicitly unstable)
    Alternative backends for Hypothesis, this release changes the
    draw_* interface and may be a breaking change for you.
Markéta Machová's avatar Markéta Machová (mcalabkova) accepted request 1195137 from Nico Krapp's avatar Nico Krapp (nkrapp) (revision 192)
- Update to 6.111.1
  * This patch improves shrinking in cases involving 'slips' from one 
    strategy to another. Highly composite strategies are the most likely 
    to benefit from this change.
  * This patch also reduces the range of :class:`python:datetime.datetime` 
    generated by :func:`~hypothesis.extra.django.from_model` in order to 
    avoid https://code.djangoproject.com/ticket/35683.
- Drop 0001-Revert-Use-tmp_path-in-ghostwriter-test.patch
  * included upstream
Matej Cepl's avatar Matej Cepl (mcepl) accepted request 1191165 from Markéta Machová's avatar Markéta Machová (mcalabkova) (revision 191)
- Update to 6.108.5
  * The alphabet= argument to from_regex() now accepts unions of characters() 
    and sampled_from() strategies, in addition to accepting each individually.
  * Improves support for unions of numpy dtypes such as np.float64 | np.complex128 
    in from_type() and arrays()
  * Support for Django 5.0, drop support for end-of-life Django versions (< 4.2).
  * Migrate the shrinker to our new internal representation, called the IR layer.
    This improves the shrinker’s performance in the majority of cases. For example, 
    on the Hypothesis test suite, shrinking is a median of 1.38x faster.
  * The from_dtype() function no longer generates NaT (“not-a-time”) values for the 
    datetime64 or timedelta64 dtypes if passed allow_nan=False
  * Add the experimental and unstable backend setting. See documentation for details.
  * Many more minor changes, see the upstream changelog.
- Add 0001-Revert-Use-tmp_path-in-ghostwriter-tests.patch to fix tests
  * https://github.com/HypothesisWorks/hypothesis/issues/4062
buildservice-autocommit accepted request 1190234 from Daniel Garcia's avatar Daniel Garcia (dgarcia) (revision 190)
baserev update by copy to link target
Daniel Garcia's avatar Daniel Garcia (dgarcia) committed (revision 189)
- Disable complete tests for non-tumbleweed to avoid python-pandas
  requirement
buildservice-autocommit accepted request 1158311 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 188)
baserev update by copy to link target
Matej Cepl's avatar Matej Cepl (mcepl) committed (revision 187)
- Clean up the SPEC file
buildservice-autocommit accepted request 1152107 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 186)
baserev update by copy to link target
Matej Cepl's avatar Matej Cepl (mcepl) accepted request 1152084 from Markéta Machová's avatar Markéta Machová (mcalabkova) (revision 185)
- Update to 6.98.9
  * Avoid creating a .hypothesis directory when using register_type_strategy().
  * Add ability to pass any object to note().
  * Warn when constructing a repr that is overly long.
  * Change the distribution of sampled_from() when sampling from a Flag.
  * Deprecate use of the global random number generator while drawing from a strategy.
  * Improve our distribution of generated values for all strategies.
  * Improve the Ghostwriter for binary operators.
buildservice-autocommit accepted request 1141527 from Markéta Machová's avatar Markéta Machová (mcalabkova) (revision 184)
baserev update by copy to link target
Displaying revisions 1 - 20 of 203
openSUSE Build Service is sponsored by