Commit Graph

169 Commits

Author SHA256 Message Date
Dominique Leuenberger
c9ea6ca60a Accepting request 1081890 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081890
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=64
2023-04-22 20:00:30 +00:00
8551ff793e Accepting request 1081445 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081445
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=164
2023-04-21 14:31:18 +00:00
Dominique Leuenberger
df2f4137d0 Accepting request 1066416 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1066416
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=63
2023-02-19 17:18:30 +00:00
7b8c12895a Accepting request 1066410 from home:dirkmueller:acdc
- Limit dependencies for tests on older distributions
  (particularly do not depend on Django, Pandas, and fakeredis
  and Redis).

OBS-URL: https://build.opensuse.org/request/show/1066410
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=162
2023-02-17 16:55:10 +00:00
Dominique Leuenberger
5ec0a77f78 Accepting request 1056961 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1056961
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=62
2023-01-10 13:58:58 +00:00
Steve Kowalik
d1e7af94d3 Accepting request 1056822 from home:bnavigator:branches:devel:languages:python
- Update to 6.61.2
  * This patch improves our pretty-printing of failing examples,
    including some refactoring to prepare for exciting future
    features.
- Release 6.61.1
  * This patch brings our domains() and emails() strategies into
    compliance with RFC 5890 §2.3.1: we no longer generate
    parts-of-domains where the third and fourth characters are --
    (“R-LDH labels”), though future versions may deliberately
    generate xn-- punycode labels. Thanks to python-email-validator
    for the report!
- Update dependencies
- Move to PEP517 build

OBS-URL: https://build.opensuse.org/request/show/1056822
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=160
2023-01-09 05:05:53 +00:00
Dominique Leuenberger
b91381a466 Accepting request 1043052 from devel:languages:python
- Update to 6.61.0
  - This release improves our treatment of database keys, which based on (among
    other things) the source code of your test function.  We now post-process
    this source to ignore decorators, comments, trailing whitespace, and blank
    lines - so that you can add :obj:`@example() <hypothesis.example>`\ s or
    make some small no-op edits to your code without preventing replay of any
    known failing or covering examples.
- 6.60.1 - 2022-12-11
  - This patch updates our vendored `list of top-level domains
    <https://www.iana.org/domains/root/db>`__,
    which is used by the provisional :func:`~hypothesis.provisional.domains`
    strategy.
- 6.60.0 - 2022-12-04
  - This release improves Hypothesis' ability to resolve forward references in
    type annotations. It fixes a bug that prevented
    :func:`~hypothesis.strategies.builds` from being used with `pydantic models
    that possess updated forward references
    <https://pydantic-docs.helpmanual.io/usage/postponed_annotations/>`__. See
    :issue:`3519`.
- 6.59.0 - 2022-12-02
  - The :obj:`@example(...) <hypothesis.example>` decorator now has a ``.via()``
    method, which future tools will use to track automatically-added covering
    examples (:issue:`3506`).
- 6.58.2 - 2022-11-30
  - This patch updates our vendored `list of top-level domains
    <https://www.iana.org/domains/root/db>`__, which is used by the provisional
    :func:`~hypothesis.provisional.domains` strategy.
- 6.58.1 - 2022-11-26
  - This patch shifts ``hypothesis[lark]`` from depending on the old
    :pypi:`lark-parser` package to the new :pypi:`lark` package.  There are no
    code changes in Hypothesis, it's just that Lark got a new name on PyPI for
    version 1.0 onwards.
- 6.58.0 - 2022-11-19
  - :func:`~hypothesis.register_random` has used :mod:`weakref` since
    :ref:`v6.27.1`, allowing the :class:`~random.Random`-compatible objects to
    be garbage-collected when there are no other references remaining in order
    to avoid memory leaks.  We now raise an error or emit a warning when this
    seems likely to happen immediately.
  - The type annotation of :func:`~hypothesis.register_random` was also widened
    so that structural subtypes of :class:`~random.Random` are accepted by
    static typecheckers.
- 6.57.1 - 2022-11-14
  - This patch updates some internal type annotations and fixes a formatting
    bug in the :obj:`~hypothesis.Phase.explain` phase reporting.
- 6.57.0 - 2022-11-14
  - Hypothesis now raises an error if you passed a strategy as the
    ``alphabet=`` argument to :func:`~hypothesis.strategies.text`, and it
    generated something which was not a length-one string.  This has never been
    supported, we're just adding explicit validation to catch cases like `this
    StackOverflow question <https://stackoverflow.com/a/74336909/9297601>`__.
- 6.56.4 - 2022-10-28
  - This patch updates some docs, and depends on :pypi:`exceptiongroup` 1.0.0
    final to avoid a bug in the previous version.
- 6.56.3 - 2022-10-17
  - This patch teaches :func:`~hypothesis.strategies.text` to rewrite a few
    more filter predicates (:issue:`3134`).  You're unlikely to notice any
    change.

OBS-URL: https://build.opensuse.org/request/show/1043052
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=61
2023-01-06 16:04:37 +00:00
f2d24d2d30 - Update to 6.61.0
- This release improves our treatment of database keys, which based on (among
    other things) the source code of your test function.  We now post-process
    this source to ignore decorators, comments, trailing whitespace, and blank
    lines - so that you can add :obj:`@example() <hypothesis.example>`\ s or
    make some small no-op edits to your code without preventing replay of any
    known failing or covering examples.
- 6.60.1 - 2022-12-11
  - This patch updates our vendored `list of top-level domains
    <https://www.iana.org/domains/root/db>`__,
    which is used by the provisional :func:`~hypothesis.provisional.domains`
    strategy.
- 6.60.0 - 2022-12-04
  - This release improves Hypothesis' ability to resolve forward references in
    type annotations. It fixes a bug that prevented
    :func:`~hypothesis.strategies.builds` from being used with `pydantic models
    that possess updated forward references
    <https://pydantic-docs.helpmanual.io/usage/postponed_annotations/>`__. See
    :issue:`3519`.
- 6.59.0 - 2022-12-02
  - The :obj:`@example(...) <hypothesis.example>` decorator now has a ``.via()``
    method, which future tools will use to track automatically-added covering
    examples (:issue:`3506`).
- 6.58.2 - 2022-11-30
  - This patch updates our vendored `list of top-level domains
    <https://www.iana.org/domains/root/db>`__, which is used by the provisional
    :func:`~hypothesis.provisional.domains` strategy.
- 6.58.1 - 2022-11-26
  - This patch shifts ``hypothesis[lark]`` from depending on the old
    :pypi:`lark-parser` package to the new :pypi:`lark` package.  There are no

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=158
2022-12-15 06:51:57 +00:00
Dominique Leuenberger
9e17e45726 Accepting request 1011261 from devel:languages:python
- update to 6.56.2:
  * This patch updates our vendored `list of top-level domains
    <https://www.iana.org/domains/root/db>`__, which is used by the provisional
    :func:`~hypothesis.provisional.domains` strategy, and fixes some incorrect
    examples in the docs for
    :func:`~hypothesis.extra.numpy.mutually_broadcastable_shapes`.

OBS-URL: https://build.opensuse.org/request/show/1011261
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=60
2022-10-18 10:44:13 +00:00
ca44547f1e - update to 6.56.2:
* This patch updates our vendored `list of top-level domains
    <https://www.iana.org/domains/root/db>`__, which is used by the provisional
    :func:`~hypothesis.provisional.domains` strategy, and fixes some incorrect
    examples in the docs for
    :func:`~hypothesis.extra.numpy.mutually_broadcastable_shapes`.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=156
2022-10-16 17:45:36 +00:00
Dominique Leuenberger
d3204621ea Accepting request 1009218 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1009218
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=59
2022-10-12 16:22:53 +00:00
74f2435244 Accepting request 1009201 from home:bnavigator:branches:devel:languages:python
- Update to 6.56.1

OBS-URL: https://build.opensuse.org/request/show/1009201
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=154
2022-10-10 05:24:48 +00:00
Dominique Leuenberger
4c036cfea8 Accepting request 982569 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/982569
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=58
2022-06-17 19:18:17 +00:00
9675953a63 Accepting request 982468 from home:bnavigator:branches:devel:languages:python
- Update to 6.47.1
  * 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.
- Release 6.47.0
  * The Ghostwritter can now write tests for @classmethod or
    @staticmethod methods, in addition to the existing support for
    functions and other callables (issue #3318). Thanks to Cheuk
    Ting Ho for the patch.
- Release 6.46.11
  * Mention hypothesis.strategies.timezones() in the documentation
    of hypothesis.strategies.datetimes() for completeness.
  * Thanks to George Macon for this addition.
- Release 6.46.10
  * This release contains some small improvements to our
    documentation. Thanks to Felix Divo for his contribution!
- Release 6.46.9
  * This patch by Adrian Garcia Badaracco adds type annotations to
    some private internals (issue #3074).
- Release 6.46.8
  * This patch by Phillip Schanely makes changes to the floats()
    strategy when min_value or max_value is present. Hypothesis
    will now be capable of generating every representable value in
    the bounds. You may notice that hypothesis is more likely to
    test values near boundaries, and values that are very close to
    zero.
  * These changes also support future integrations with symbolic
    execution tools and fuzzers (issue #3086).
- Release 6.46.7

OBS-URL: https://build.opensuse.org/request/show/982468
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=152
2022-06-14 07:39:05 +00:00
Dominique Leuenberger
10af2cfb71 Accepting request 963099 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/963099
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=57
2022-03-22 18:36:10 +00:00
3ff13d41cd Accepting request 963086 from home:bnavigator:branches:devel:languages:python
- Update to 6.39.4
  * This patch tweaks some internal formatting. There is no
    user-visible change.
- Release 6.39.3
  * If the shrink phase is disabled, we now stop the generate phase
    as soon as an error is found regardless of the value of the
    report_multiple_examples setting, since that’s probably what
    you wanted (issue #3244).
- Release 6.39.2
  * This patch clarifies rare error messages in builds() (issue
    #3225) and floats() (issue #3207).
- Release 6.39.1
  * This patch fixes a regression where the bound inner function
    (your_test.hypothesis.inner_test) would be invoked with
    positional arguments rather than passing them by name, which
    broke pytest-asyncio (issue #3245).
- 6.39.0
  * This release improves Hypothesis’ handling of positional-only
    arguments, which are now allowed @st.composite strategies.
  * On Python 3.8 and later, the first arguments to builds() and
    from_model() are now natively positional-only. In cases which
    were already errors, the TypeError from incorrect usage will
    therefore be raises immediately when the function is called,
    rather than when the strategy object is used.
- Release 6.38.0
  * This release makes floats() error consistently when your
    floating-point hardware has been configured to violate IEEE-754
    for subnormal numbers, instead of only when an internal
    assertion was tripped (issue #3092).
  * If this happens to you, passing allow_subnormal=False will
    suppress the explicit error. However, we strongly recommend
    fixing the root cause by disabling global-effect unsafe-math
    compiler options instead, or at least consulting e.g. Simon
    Byrne’s Beware of fast-math explainer first.
- Release 6.37.2
  * This patch fixes a bug in stateful testing, where returning a
    single value wrapped in multiple() would be printed such that
    the assigned variable was a tuple rather than the single
    element (issue #3236).
- Release 6.37.1
  * This patch fixes a warning under pytest 7 relating to our rich
    traceback display logic (issue #3223).
- Release 6.37.0
  * When distinguishing multiple errors, Hypothesis now looks at
    the inner exceptions of PEP 654 ExceptionGroups.
- Release 6.36.2
  * This patch updates our vendored list of top-level domains,
    which is used by the provisional domains() strategy.
- Release 6.36.1
  * This patch fixes some deprecation warnings from pytest 7.0,
    along with some code formatting and docs updates.
- Release 6.36.0
  * This release disallows using typing.Final with from_type() and
    register_type_strategy().
  * Why? Because Final can only be used during class definition. We
    don’t generate class attributes.
  * It also does not make sense as a runtime type on its own.
- Release 6.35.1
  * This patch fixes hypothesis write output highlighting with rich
    version 12.0 and later.
- Drop importorskip-numpy-pandas.patch

OBS-URL: https://build.opensuse.org/request/show/963086
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=150
2022-03-19 23:02:39 +00:00
Dominique Leuenberger
14a6b1cfdf Accepting request 947747 from devel:languages:python
- Correct exclusion of test_recursion_error_is_not_flaky for 3.10.

OBS-URL: https://build.opensuse.org/request/show/947747
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=56
2022-01-23 11:15:02 +00:00
483959e724 - Correct exclusion of test_recursion_error_is_not_flaky for 3.10.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=149
2022-01-20 16:04:53 +00:00
Dominique Leuenberger
b9a8e1e5cf Accepting request 947060 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/947060
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=55
2022-01-19 23:12:08 +00:00
e66867f8b5 - Skip also test_recursion_error_is_not_flaky
(gh#HypothesisWorks/hypothesis#3035)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=148
2022-01-10 20:38:11 +00:00
7fc90e2b21 - Upgrade to 6.35.0:
- This release disallows using "typing.ClassVar" with
    "from_type()" and "register_type_strategy()". Why? Because
    "ClassVar" can only be used during "class" definition. We
    don't generate class attributes. It also does not make sense
    as a runtime type on its own.
  - Updates our vendored list of top-level domains, which is used
    by the provisional "domains()" strategy.
  - Fixes issue #3169, an extremely rare bug which would trigger
    if an internal least-recently-reused cache dropped a newly
    added entry immediately after it was added.
  - Fixes issue #3133 and issue #3144, where attempting to
    generate Pandas series of lists or sets would fail with
    confusing errors if you did not specify "dtype=object".
  - Disallows using "typing.TypeAlias" with "from_type()" and
    "register_type_strategy()". Why? Because "TypeAlias" is not
    really a type, it is a tag for type checkers that some
    expression is a type alias, not something else. It does not
    make sense for Hypothesis to resolve it as a strategy.
  - Updates our autoformatting tools, improving our code style
    without any API changes.
  - Drops support for Python 3.6, which reached end of life
    upstream on 2021-12-23.
  - Adds a temporary hook for a downstream tool, which is not
    part of the public API.
  - Updates our copyright headers to use a general authorship
    statement and omit the year.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=147
2022-01-10 20:28:02 +00:00
Dominique Leuenberger
1187142ce4 Accepting request 940474 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/940474
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=54
2021-12-16 20:19:32 +00:00
568edb6fe5 Accepting request 940071 from home:bnavigator:branches:devel:languages:python
- Update to 6.31.4
  * This patch makes the .example() method more representative of
    test-time data generation, albeit often at a substantial cost
    to readability (issue #3182).
- Release 6.31.3
  * This patch improves annotations on some of Hypothesis’ internal
    functions, in order to deobfuscate the signatures of some
    strategies. In particular, strategies shared between
    hypothesis.extra.numpy and the hypothesis.extra.array_api extra
    will benefit from this patch.
- Release 6.31.2
  * This patch fix invariants display in stateful falsifying
    examples (issue #3185).
- Release 6.31.1
  * This patch updates xps.indices() so no flat indices are
    generated, i.e. generated indices will now always explicitly
    cover each axes of an array if no ellipsis is present. This is
    to be consistent with a specification change that dropped
    support for flat indexing (#272).
- Release 6.31.0
  * This release makes us compatible with Django 4.0, in particular
    by adding support for use of zoneinfo timezones (though we
    respect the new USE_DEPRECATED_PYTZ setting if you need it).
- Revert last mandatory requires update. Optional dependencies need
  to be declared by consuming packages (see hypothesis packaging
  doc)

OBS-URL: https://build.opensuse.org/request/show/940071
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=146
2021-12-14 13:03:46 +00:00
32f4615057 - fix requires
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=145
2021-12-06 18:10:44 +00:00
b9e49095d5 - Fix filelist
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=144
2021-12-06 09:35:57 +00:00
1623c6095a Accepting request 935844 from home:DocB:branches:devel:languages:python
build issues for test fixed now

OBS-URL: https://build.opensuse.org/request/show/935844
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=143
2021-12-06 09:30:18 +00:00
Dominique Leuenberger
fa11581e41 Accepting request 904587 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/904587
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=53
2021-07-10 20:54:03 +00:00
Markéta Machová
52b8bc4f27 Accepting request 904558 from home:alarrosa:branches:devel:languages:python
- Update to 6.14.1
  * Full changelog since 6.8.1:
    https://hypothesis.readthedocs.io/en/latest/changes.html

OBS-URL: https://build.opensuse.org/request/show/904558
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=142
2021-07-07 12:40:30 +00:00
Richard Brown
ef1c8070bd Accepting request 881273 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/881273
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=52
2021-04-01 12:15:53 +00:00
9c901a6b73 Accepting request 880417 from home:bnavigator:branches:devel:languages:python
- Update to 6.8.1
  * Full changelog since 5.41.2:
    https://hypothesis.readthedocs.io/en/latest/changes.html
- Changes in major version 6:
  * Many functions now use PEP 3102 keyword-only arguments where
    passing positional arguments was deprecated since 5.5.
  * hypothesis.extra.django.from_model() no longer accepts model
    as a keyword argument, where it could conflict with fields
    named “model”.
  * randoms() now defaults to use_true_random=False.
  * complex_numbers() no longer accepts min_magnitude=None; either
    use min_magnitude=0 or just omit the argument.
  * hypothesis.provisional.ip4_addr_strings and ip6_addr_strings
    are removed in favor of ip_addresses(v=...).map(str).
  * register_type_strategy() no longer accepts generic types with
    type arguments, which were always pretty badly broken.
  * Using function-scoped pytest fixtures is now a health-check
    error, instead of a warning.
- Don't test numpy and pandas for python36 (NEP29)
  * add distro specific importorskip-numpy-pandas.patch

OBS-URL: https://build.opensuse.org/request/show/880417
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=140
2021-03-25 07:53:05 +00:00
Dominique Leuenberger
1d7ce7e0cc Accepting request 849393 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/849393
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=51
2020-11-21 11:41:17 +00:00
Markéta Machová
92dd3f33b7 Accepting request 849146 from home:wicked:qubes-build
Fix failing tests

OBS-URL: https://build.opensuse.org/request/show/849146
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=138
2020-11-19 11:58:51 +00:00
Dominique Leuenberger
47e38dcd39 Accepting request 847790 from devel:languages:python
- update to 5.41.2:
  * long list of changes and improvements, see
  https://hypothesis.readthedocs.io/en/latest/changes.html#v5-41-2

OBS-URL: https://build.opensuse.org/request/show/847790
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=50
2020-11-12 21:33:15 +00:00
fd384a458d - update to 5.41.2:
* long list of changes and improvements, see
  https://hypothesis.readthedocs.io/en/latest/changes.html#v5-41-2

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=136
2020-11-11 12:23:09 +00:00
Dominique Leuenberger
00f79c468f Accepting request 826724 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/826724
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=49
2020-08-25 10:36:13 +00:00
55a827aaae Accepting request 826112 from home:bnavigator:branches:devel:languages:python
- Update to version 5.24.2
- add comment about source archive
- use only github source repository (python subdir) in obscpio
- Reenable django and pandas tests
- With ringdisabled, do not run test flavor at all
- Require and use pytest-xdist in tests
  * Reenables the one skipped test
  * Trims total build time by a large factor despite now running
    pandas and django tests too!
- Drop failing-test_array_values_are_unique_high_collision.patch
  * Fix the test instead gh#HypothesisWorks/hypothesis#2447    
- Sync requirements versions to setup.py 
  * newer versions probably came from wrong interpretation of
    upstream's version pinning

OBS-URL: https://build.opensuse.org/request/show/826112
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=134
2020-08-14 21:42:04 +00:00
Dominique Leuenberger
cc190c1b51 Accepting request 818623 from devel:languages:python
- Update to version 5.19.0:
  * This release improves the randoms() strategy by adding support
    for Random instances where Hypothesis generates the random
    values rather than having them be “truly” random.
- Update to version 5.18.3:
  * This patch adds some internal functions to support a new feature
    we’re working on. There is no user-visible change… yet.
- Update to version 5.18.2:
  * This patch improves our docs for the derandomize setting.
- Update to version 5.18.1:
  * This release consists of some internal refactoring to the shrinker
    in preparation for future work. It has no user visible impact.
- Update to version 5.18.0:
  * This release teaches Hypothesis to shorten tracebacks for explicit
    examples, as we already do for generated examples, so that you can
    focus on your code rather than ours.
  * If you have multiple failing explicit examples, they will now all
    be reported. To report only the first failure, you can use the
    report_multiple_bugs=False setting as for generated examples.
- Update to version 5.17.0:
  * This patch adds strategy inference for the Literal, NewType, Type,
    DefaultDict, and TypedDict types from the typing_extensions
    backport on PyPI.
- Update to version 5.16.3:
  * This patch precomputes some of the setup logic for our
    experimental external fuzzer integration and sets deadline=None
    in fuzzing mode, saving around 150us on each iteration.
  * This is around two-thirds the runtime to fuzz an empty test with
    @given(st.none()), and nice to have even as a much smaller
    fraction of the runtime for non-trivial tests.

OBS-URL: https://build.opensuse.org/request/show/818623
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=48
2020-07-06 14:19:03 +00:00
57405b4e11 Accepting request 818622 from home:alarrosa:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/818622
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=132
2020-07-03 16:35:41 +00:00
Tomáš Chvátal
871ef1725c Accepting request 818385 from home:alarrosa:branches:devel:languages:python
- Update to version 5.19.0:
  * This release improves the randoms() strategy by adding support
    for Random instances where Hypothesis generates the random
    values rather than having them be “truly” random.
- Update to version 5.18.3:
  * This patch adds some internal functions to support a new feature
    we’re working on. There is no user-visible change… yet.
- Update to version 5.18.2:
  * This patch improves our docs for the derandomize setting.
- Update to version 5.18.1:
  * This release consists of some internal refactoring to the shrinker
    in preparation for future work. It has no user visible impact.
- Update to version 5.18.0:
  * This release teaches Hypothesis to shorten tracebacks for explicit
    examples, as we already do for generated examples, so that you can
    focus on your code rather than ours.
  * If you have multiple failing explicit examples, they will now all
    be reported. To report only the first failure, you can use the
    report_multiple_bugs=False setting as for generated examples.
- Update to version 5.17.0:
  * This patch adds strategy inference for the Literal, NewType, Type,
    DefaultDict, and TypedDict types from the typing_extensions
    backport on PyPI.
- Update to version 5.16.3:
  * This patch precomputes some of the setup logic for our
    experimental external fuzzer integration and sets deadline=None
    in fuzzing mode, saving around 150us on each iteration.
  * This is around two-thirds the runtime to fuzz an empty test with
    @given(st.none()), and nice to have even as a much smaller
    fraction of the runtime for non-trivial tests.

OBS-URL: https://build.opensuse.org/request/show/818385
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=131
2020-07-03 09:39:07 +00:00
Yuchen Lin
d27fd6bd58 Accepting request 808025 from devel:languages:python
- Add failing-test_array_values_are_unique_high_collision.patch
  to avoid failing test on i586 (gh#HypothesisWorks/hypothesis#2447)

OBS-URL: https://build.opensuse.org/request/show/808025
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=47
2020-05-29 19:19:59 +00:00
a1bae1b53b - Add failing-test_array_values_are_unique_high_collision.patch
to avoid failing test on i586 (gh#HypothesisWorks/hypothesis#2447)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=129
2020-05-21 14:56:46 +00:00
Dominique Leuenberger
b3de46ad16 Accepting request 802287 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/802287
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=46
2020-05-11 11:26:15 +00:00
Tomáš Chvátal
7a7fdd8a5e Accepting request 802269 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/802269
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=127
2020-05-09 17:32:16 +00:00
Dominique Leuenberger
25206f76dc Accepting request 797702 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/797702
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=45
2020-05-01 09:04:50 +00:00
Tomáš Chvátal
508f1f5a93 Accepting request 797684 from home:apersaud:branches:devel:languages:python
- specfile:
  * updated Django version number in requirements
- update to version 5.10.4:
  * This patch improves the internals of builds() type inference, to
    handle recursive forward references in certain dataclasses. This
    is useful for e.g. hypothesmith’s forthcoming LibCST mode.
- changes from version 5.10.3:
  * This release reverses the order in which some operations are tried
    during shrinking. This should generally be a slight performance
    improvement, but most tests are unlikely to notice much
    difference.
- changes from version 5.10.2:
  * This patch fixes issue #2406, where use of pandas.Timestamp
    objects as bounds for the datetimes() strategy caused an internal
    error. This bug was introduced in version 5.8.1.
- changes from version 5.10.1:
  * This release is a small internal refactoring to how shrinking
    interacts with targeted property-based testing that should have no
    user user visible impact.
- changes from version 5.10.0:
  * This release improves our support for datetimes and times around
    DST transitions.
  * times() and datetimes() are now sometimes generated with fold=1,
    indicating that they represent the second occurrence of a given
    wall-time when clocks are set backwards. This may be set even when
    there is no transition, in which case the fold value should be
    ignored.
    For consistency, timezones provided by the pytz package can now
    generate imaginary times (such as the hour skipped over when
    clocks ‘spring forward’ to daylight saving time, or during some
    historical timezone transitions). All other timezones have always
    supported generation of imaginary times.
    If you prefer the previous behaviour, datetimes() now takes an
    argument allow_imaginary which defaults to True but can be set to
    False for any timezones strategy.
- changes from version 5.9.1 :
  * This patch fixes the rendering of binary() docstring by using the
    proper backticks syntax.
- changes from version 5.9.0 :
  * Failing tests which use target() now report the highest score
    observed for each target alongside the failing example(s), even
    without explicitly showing test statistics.
  * This improves the debugging workflow for tests of accuracy, which
    assert that the total imprecision is within some error budget -
    for example, abs(a - b) < 0.5. Previously, shrinking to a minimal
    failing example could often make errors seem smaller or more
    subtle than they really are (see the threshold problem, and issue
    #2180).
- changes from version 5.8.6 :
  * This patch improves the docstring of binary(), the repr() of
    sampled_from() on an enum.Enum subclass, and a warning in our
    pytest plugin. There is no change in runtime behaviour.
- changes from version 5.8.5 :
  * This release (potentially very significantly) improves the
    performance of failing tests in some rare cases, mostly only
    relevant when using targeted property-based testing, by stopping
    further optimisation of unrelated test cases once a failing
    example is found.
- changes from version 5.8.4 :
  * This release fixes issue #2395, where under some circumstances
    targeted property-based testing could cause Hypothesis to get
    caught in an infinite loop.
- changes from version 5.8.3 :
  * This patch teaches builds() and from_type() to use the
    __signature__ attribute of classes where it has been set,
    improving our support for Pydantic models (in pydantic >= 1.5).
- changes from version 5.8.2 :
  * This release improves the performance of the part of the core
    engine that deliberately generates duplicate values.
- changes from version 5.8.1 :
  * This patch improves dates() shrinking, to simplify year, month,
    and day like datetimes() rather than minimizing the number of days
    since 2000-01-01.

OBS-URL: https://build.opensuse.org/request/show/797684
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=125
2020-04-25 17:00:42 +00:00
Dominique Leuenberger
a2621d7dbb Accepting request 794613 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/794613
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=44
2020-04-19 19:49:47 +00:00
Tomáš Chvátal
3cacc65039 Accepting request 792740 from home:mcalabkova:branches:devel:languages:python
- update to version 5.8.0
  * Python2 finally dropped!
  * Many code fixups, removals, refactorings and so on.
  * No need for python-pytz
  * Drop support for Python 3.5
  * Just see hypothesis-python/docs/changes.rst

OBS-URL: https://build.opensuse.org/request/show/792740
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=123
2020-04-09 13:45:48 +00:00
Tomáš Chvátal
68da69e617 Accepting request 756672 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/756672
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=122
2019-12-13 08:25:59 +00:00
Dominique Leuenberger
bb005777ae Accepting request 755169 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/755169
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=43
2019-12-11 11:11:11 +00:00
Tomáš Chvátal
05ab55b24a Accepting request 754981 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/754981
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=120
2019-12-09 09:18:56 +00:00