Revisions of python-hypothesis

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
Markéta Machová's avatar Markéta Machová (mcalabkova) accepted request 1141260 from Eric Schirra's avatar Eric Schirra (ecsos) (revision 183)
- Update to 6.93.2:
  * This patch improves observability reports by moving timing
  information from metadata to a new timing key, and supporting
  conversion of additional argument types to json rather than 
  string reprs via a .to_json() method
  (including e.g. Pandas dataframes).
buildservice-autocommit accepted request 1137295 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 182)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 181)
- update to 6.92.2:
  * updates vendored list of top-level domains
buildservice-autocommit accepted request 1135262 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 180)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 179)
- update to 6.92.1:
  * This release adds an experimental :wikipedia:`observability
  * This patch fixes an issue where
    :func:`~hypothesis.strategies.builds` could not be used with
    :pypi:`attrs` objects that defined private attributes (i.e.
    attributes with a leading underscore). See also
  * This release adds an optional ``payload`` argument to
    :func:`hypothesis.event`, so that you can clearly express
    the difference between the label and the value of an
    observation.
  * This patch supports assigning ``settings = settings(...)`` as
    a class attribute on a subclass of a ``.TestCase`` attribute
    of a :class:`~hypothesis.stateful.RuleBasedStateMachine`.
  * This release makes it an error to assign ``settings =
    settings(...)`` as a class attribute on a
    :class:`~hypothesis.stateful.RuleBasedStateMachine`.
  * This patch refactors some internals.  There is no user-
    visible change, but we hope to improve performance and unlock
    support for alternative backends such as :pypi:`symbolic
    execution with crosshair in future (:issue:`3086`).
  * This release teaches :func:`~hypothesis.strategies.from_type`
    to handle constraints implied by the :pypi:`annotated-types`
    package - as used by e.g. :pypi:`Pydantic`.
  * This patch adds a warning when :func:`@st.composite
    wraps a function annotated as returning a
    :class:`~hypothesis.strategies.SearchStrategy`,
    since this is usually an error (:issue:`3786`).
  * This patch refactors ``from_type(typing.Tuple)``, allowing
    :func:`~hypothesis.strategies.register_type_strategy` to take
    effect for tuples instead of being silently ignored
buildservice-autocommit accepted request 1121637 from Ondřej Súkup's avatar Ondřej Súkup (mimi_vx) (revision 178)
baserev update by copy to link target
Ondřej Súkup's avatar Ondřej Súkup (mimi_vx) committed (revision 177)
- Update to 6.88.1
 * improves :func:`~hypothesis.strategies.register_type_strategy` when
     used with tuple subclasses, by preventing them from being interpreted
     as generic and provided to strategies like st.from_type(Sequence[int])
buildservice-autocommit accepted request 1118121 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 176)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) accepted request 1118040 from Ondřej Súkup's avatar Ondřej Súkup (mimi_vx) (revision 175)
- Update to 6.88.0
- disable flaky test
 * This release allows strategy-generating functions registered
     with register_type_strategy() to conditionally not return
     a strategy, by returning NotImplemented
 * When randoms( was called with use_true_randoms=False, 
     calling sample on it with an empty sequence and 0 elements
     would result in an error, when it should have returned
     an empty sequence to agree with the normal behaviour of
     random.Random. This fixes that discrepancy.)
Markéta Machová's avatar Markéta Machová (mcalabkova) accepted request 1116915 from Ondřej Súkup's avatar Ondřej Súkup (mimi_vx) (revision 174)
- Update to 6.87.3
 * This patch ensures that the :ref:`hypothesis codemod <codemods>`
 CLI will print a warning instead of stopping with an internal error
 if one of your files contains invalid syntax (:issue:`3759`).
 * This patch makes some small changes to our NumPy integration
 to ensure forward compatibility.
 * Fixes :issue:`3755`, where an internal condition turns out to be
 reachable after all.
 * This release deprecates use of :func:`~hypothesis.assume`
 and reject() outside of property-based tests, because these functions
 work by raising a special exception (:issue:`3743`).
 It also fixes some type annotations (:issue:`3753`).
 * Hotfix for :issue:`3747`, a bug in explain mode which is so rare
 that we missed it in six months of dogfooding. Thanks to :pypi:`mygrad`
 for discovering and promptly reporting this!
 * This patch improves the documentation of 
 :obj:`@example(...).xfail() <hypothesis.example.xfail>` by adding a note
 about PEP 614, similar to :obj:`@example(...).via() <hypothesis.example.via>`,
 and adds a warning when a strategy generates a test case which
 seems identical to one provided by an xfailed example.
 * This release enables the :obj:`~hypothesis.Phase.explain`
 :ref:`phase <phases>` by default. We hope it helps you to understand
 why your failing tests have failed!
 * This patch switches some of our type annotations to use
 :obj:`typing.Literal` when only a few specific values are allowed,
 such as UUID or IP address versions.
 * This release deprecates the old whitelist/blacklist arguments to
 :func:`~hypothesis.strategies.characters`, in favor of include/exclude
 arguments which more clearly describe their effects on the set
 of characters which can be generated.
buildservice-autocommit accepted request 1108256 from Markéta Machová's avatar Markéta Machová (mcalabkova) (revision 173)
baserev update by copy to link target
Markéta Machová's avatar Markéta Machová (mcalabkova) accepted request 1108226 from Benjamin Greiner's avatar Benjamin Greiner (bnavigator) (revision 172)
- Update to 6.82.7
  * This patch updates our autoformatting tools, improving our code
    style without any API changes.
- Release 6.82.6
  * This patch enables and fixes many more of ruff‘s lint rules.
- Release 6.82.5
  * Fixes the error message for missing [cli] extra.
- Use slow 'obs' profile for testing and disable healthcheck
  tests because of it.
buildservice-autocommit accepted request 1105013 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 171)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 170)
------------------------------------------------------------------
- update to 6.82.4:
  * This patch ensures that we always close the download
    connection in :class:`~hypothesis.database.GitHubArtifactDatabase`.
  * We can now pretty-print combinations of *zero*
    :class:`enum.Flag` values, like ``SomeFlag(0)``,
    which has never worked before.
  * This patch fixes pretty-printing of combinations of
    :class:`enum.Flag` values, which was previously an error
    (:issue:`3709`).
  * Improve shrinking of floats in narrow regions that don't
    cross an integer boundary. Closes :issue:`3357`.
  * :func:`~hypothesis.strategies.from_regex` now supports the
    atomic grouping (``(?>...)``) and possessive quantifier
    (``*+``, ``++``, ``?+``, ``{m,n}+``) syntax `added in Python 3.11
  * If the :envvar:`HYPOTHESIS_NO_PLUGINS` environment variable
    is set, we'll avoid :ref:`loading plugins <entry-points>`
    such as `the old Pydantic integration
  * Fixes some lingering issues with inference of recursive types
  * in `~hypothesis.strategies.from_type`. Closes :issue:`3525`.
  * This release drops support for Python 3.7, `which reached end
    of life on 2023-06-27
  * Fixes occasional recursion-limit-exceeded errors when
    validating deeply nested strategies. Closes: :issue:`3671`
  * Improve the type rendered in
    :func:`~hypothesis.strategies.from_type`, which improves the
    coverage of Ghostwriter.
  * This patch improves Ghostwriter's use of qualified names for
    re-exported functions and classes, and avoids importing useless
    :obj:`~typing.TypeVar`\ s.
buildservice-autocommit accepted request 1087109 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 169)
baserev update by copy to link target
Displaying revisions 1 - 20 of 188
openSUSE Build Service is sponsored by