Commit Graph

10 Commits

Author SHA256 Message Date
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
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
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
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
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
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
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
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
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
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