Compare commits

...

206 Commits

Author SHA256 Message Date
Ana Guerrero
87065e839f Accepting request 1226532 from devel:languages:python
- Skip tests matching `test_adds_note_showing_which_strategy`
  (gh#HypothesisWorks/hypothesis#4185).
- Add missing BR: rich.

OBS-URL: https://build.opensuse.org/request/show/1226532
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=80
2024-11-27 21:05:22 +00:00
Ana Guerrero
f743d379ef 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
2024-11-18 18:57:08 +00:00
6a8a1d1f45 - Require numpy >= 2.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=200
2024-11-16 17:28:51 +00:00
e82d270d35 - 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).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=199
2024-11-16 16:49:30 +00:00
Ana Guerrero
ae52eb828f Accepting request 1217398 from devel:languages:python
Forwarded request #1217328 from glaubitz

- 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

OBS-URL: https://build.opensuse.org/request/show/1217398
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=78
2024-10-25 17:19:16 +00:00
105e31b62f - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=197
2024-10-23 16:58:01 +00:00
Ana Guerrero
dcef448332 Accepting request 1206400 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1206400
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=77
2024-10-09 20:03:21 +00:00
76ef9e2ad9 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=195
2024-10-08 21:15:17 +00:00
Ana Guerrero
36a1254cc4 Accepting request 1199124 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1199124
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=76
2024-09-09 12:43:21 +00:00
f7b0653032 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=193
2024-09-06 07:04:37 +00:00
1a12f01f9a Accepting request 1195137 from home:nkrapp:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1195137
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=192
2024-08-30 10:46:59 +00:00
26f5c201a1 Accepting request 1191165 from home:mcalabkova:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1191165
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=191
2024-08-02 15:49:41 +00:00
Dominique Leuenberger
ac0410bcf3 Accepting request 1190234 from devel:languages:python
- Disable complete tests for non-tumbleweed to avoid python-pandas
  requirement

OBS-URL: https://build.opensuse.org/request/show/1190234
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=75
2024-07-30 09:53:48 +00:00
ec21781abf - Disable complete tests for non-tumbleweed to avoid python-pandas
requirement

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=189
2024-07-29 11:17:29 +00:00
Ana Guerrero
6ad4d3784b Accepting request 1158311 from devel:languages:python
- Clean up the SPEC file

OBS-URL: https://build.opensuse.org/request/show/1158311
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=74
2024-03-18 15:43:56 +00:00
c42e29d24a - Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=187
2024-03-15 17:18:02 +00:00
Ana Guerrero
945b1bb219 Accepting request 1152107 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1152107
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=73
2024-02-28 18:45:01 +00:00
fc0f03b461 Accepting request 1152084 from home:mcalabkova:branches:devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1152084
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=185
2024-02-27 10:18:11 +00:00
Ana Guerrero
54d97a6d05 Accepting request 1141527 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1141527
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=72
2024-01-29 21:25:52 +00:00
b5769c4ca6 Accepting request 1141260 from home:ecsos:python
- 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).

OBS-URL: https://build.opensuse.org/request/show/1141260
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=183
2024-01-25 13:56:53 +00:00
Dominique Leuenberger
54263abfa8 Accepting request 1137295 from devel:languages:python
- update to 6.92.2:
  * updates vendored list of top-level domains

OBS-URL: https://build.opensuse.org/request/show/1137295
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=71
2024-01-07 20:38:50 +00:00
94fb987a24 - update to 6.92.2:
* updates vendored list of top-level domains

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=181
2024-01-06 20:29:36 +00:00
Ana Guerrero
29dd215142 Accepting request 1135262 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1135262
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=70
2023-12-28 21:54:39 +00:00
0c289f0595 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=179
2023-12-27 10:15:20 +00:00
Ana Guerrero
5902cebfdf Accepting request 1121637 from devel:languages:python
- 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])

OBS-URL: https://build.opensuse.org/request/show/1121637
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=69
2023-11-02 19:20:47 +00:00
a53eb8ad40 - 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])

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=177
2023-11-01 15:22:24 +00:00
Ana Guerrero
449a9d2187 Accepting request 1118121 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1118121
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=68
2023-10-19 20:47:09 +00:00
4b04aefafb Accepting request 1118040 from home:mimi_vx:branches:devel:languages:python
- 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.)

OBS-URL: https://build.opensuse.org/request/show/1118040
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=175
2023-10-16 22:19:23 +00:00
6c15f432a1 Accepting request 1116915 from home:mimi_vx:branches:devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1116915
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=174
2023-10-11 12:12:14 +00:00
Ana Guerrero
b8b128b4a5 Accepting request 1108256 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1108256
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=67
2023-09-01 12:18:49 +00:00
465d9067f4 Accepting request 1108226 from home:bnavigator:branches:devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1108226
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=172
2023-08-31 10:17:27 +00:00
Ana Guerrero
6b659dc6a8 Accepting request 1105013 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1105013
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=66
2023-08-22 06:55:21 +00:00
d2464b3130 ------------------------------------------------------------------
- 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=170
2023-08-14 07:08:47 +00:00
Dominique Leuenberger
8f1765f0f7 Accepting request 1087109 from devel:languages:python
- update to 6.75.3:
  * This patch fixes ~hypothesis.strategies.complex_numbers accidentally
    invalidating itself when passed magnitude arguments for 32
    and 64-bit widths, i.e. 16- and 32-bit floats, due to not
    internally down-casting numbers

- Update to 6.75.2:
  * Improved the documentation regarding how to use
    GitHubArtifactDatabase and fixed a bug that occurred in
    repositories with no existing artifacts.
- 6.75.1
  * hypothesis.errors will now raise AttributeError when attempting to
    access an undefined attribute, rather than returning None.
- 6.75.0
  * Sick of adding @example()s by hand? Our Pytest plugin now writes
    .patch files to insert them for you, making this workflow easier
    than ever before.
  * Note that you’ll need LibCST (via hypothesis[codemods]), and that
    @example().via() requires PEP 614 (Python 3.9 or later).
- 6.74.1
  * This patch provides better error messages for datetime- and
    timedelta-related invalid dtypes in our Pandas extra (issue
    #3518).
- 6.74.0
  * This release adds support for nullable pandas dtypes in pandas()
    (issue #3604).
- 6.73.1
  * This patch updates our minimum Numpy version to 1.16, and restores
    compatibility with versions before 1.20, which were broken by a
    mistake in Hypothesis 6.72.4 (issue #3625).

OBS-URL: https://build.opensuse.org/request/show/1087109
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=65
2023-05-19 09:55:16 +00:00
3be375c5b1 - update to 6.75.3:
* This patch fixes ~hypothesis.strategies.complex_numbers accidentally
    invalidating itself when passed magnitude arguments for 32
    and 64-bit widths, i.e. 16- and 32-bit floats, due to not
    internally down-casting numbers

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=168
2023-05-14 15:30:47 +00:00
adc9271da2 - Complete comment in spec
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=167
2023-05-10 16:37:20 +00:00
bb19a4f556 - Update to 6.75.2:
* Improved the documentation regarding how to use
    GitHubArtifactDatabase and fixed a bug that occurred in
    repositories with no existing artifacts.
- 6.75.1
  * hypothesis.errors will now raise AttributeError when attempting to
    access an undefined attribute, rather than returning None.
- 6.75.0
  * Sick of adding @example()s by hand? Our Pytest plugin now writes
    .patch files to insert them for you, making this workflow easier
    than ever before.
  * Note that you’ll need LibCST (via hypothesis[codemods]), and that
    @example().via() requires PEP 614 (Python 3.9 or later).
- 6.74.1
  * This patch provides better error messages for datetime- and
    timedelta-related invalid dtypes in our Pandas extra (issue
    #3518).
- 6.74.0
  * This release adds support for nullable pandas dtypes in pandas()
    (issue #3604).
- 6.73.1
  * This patch updates our minimum Numpy version to 1.16, and restores
    compatibility with versions before 1.20, which were broken by a
    mistake in Hypothesis 6.72.4 (issue #3625).
- 6.73.0
  * This release upgrades the explain phase (issue #3411).
- 6.72.4
  * This patch fixes type annotations for the arrays() strategy.
- 6.72.3
  * This patch fixes a bug with from_type() with dict[tuple[int, int], str] (issue #3527).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=166
2023-05-10 16:33:33 +00:00
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
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
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
Dominique Leuenberger
5ac49fd4a2 Accepting request 751830 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/751830
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=42
2019-12-07 14:19:15 +00:00
Tomáš Chvátal
a9e250960b Accepting request 750595 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/750595
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=118
2019-11-29 09:43:48 +00:00
Dominique Leuenberger
507a90c5c3 Accepting request 743987 from devel:languages:python
- update to version 4.40.2
  * Type hints improved
  * Performance improved
  * Array indexing improved
  * **experimental** support for targeted property-based testing

OBS-URL: https://build.opensuse.org/request/show/743987
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=41
2019-11-04 16:10:36 +00:00
Tomáš Chvátal
3fef0d7bad Accepting request 738905 from home:mcalabkova:branches:devel:languages:python
- update to version 4.40.2
  * Type hints improved
  * Performance improved
  * Array indexing improved
  * **experimental** support for targeted property-based testing

OBS-URL: https://build.opensuse.org/request/show/738905
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=116
2019-10-16 15:28:26 +00:00
Dominique Leuenberger
b66dacb5f4 Accepting request 725982 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/725982
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=40
2019-08-27 08:11:41 +00:00
Tomáš Chvátal
715694d8f6 Accepting request 725971 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/725971
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=114
2019-08-25 23:05:18 +00:00
Dominique Leuenberger
52c103be36 Accepting request 720895 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/720895
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=39
2019-08-15 10:23:50 +00:00
Tomáš Chvátal
436d57d445 Accepting request 720887 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/720887
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=112
2019-08-04 17:01:28 +00:00
Dominique Leuenberger
408be7c3ee Accepting request 719519 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/719519
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=38
2019-07-30 11:06:49 +00:00
Tomáš Chvátal
507e2757e3 Accepting request 719415 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/719415
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=110
2019-07-29 08:41:40 +00:00
Tomáš Chvátal
5558dbf786 - Update to 4.28.2:
* Various bugfixes and deprecations all around

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=109
2019-07-22 13:12:41 +00:00
Dominique Leuenberger
2bf6964a0f Accepting request 708933 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/708933
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=37
2019-06-13 20:38:29 +00:00
Tomáš Chvátal
812634a3d3 Accepting request 708789 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/708789
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=107
2019-06-10 08:15:30 +00:00
fe3e38ad36 - update to 4.24.2
* Deprecation messages for functions in hypothesis.extra.django.models
   now explicitly name the deprecated function to make it easier to track down usages. 
 * a spurious bug raised when a @st.composite function was passed a keyword-only argument.
 * deprecates GenericStateMachine, in favor of RuleBasedStateMachine.
 * This patch clarifies some error messages when the test function signature
   is incompatible with the arguments to @given, especially when the @settings()
   decorator is also used
 * ixes a minor formatting issue the docstring of from_type()

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=106
2019-06-06 09:04:16 +00:00
Dominique Leuenberger
66c1f49494 Accepting request 702824 from devel:languages:python
- update to 4.23.4
  * Adds a recipe to the docstring of :func:`~hypothesis.strategies.from_type`
  * implements the :func:`~hypothesis.strategies.slices` strategy,
     to generate slices of a length-size sequence.

OBS-URL: https://build.opensuse.org/request/show/702824
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=36
2019-05-17 21:37:18 +00:00
37dcb7c657 - update to 4.23.4
* Adds a recipe to the docstring of :func:`~hypothesis.strategies.from_type`
  * implements the :func:`~hypothesis.strategies.slices` strategy,
     to generate slices of a length-size sequence.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=104
2019-05-14 11:06:57 +00:00
Dominique Leuenberger
8550db1947 Accepting request 701259 from devel:languages:python
- Remove pandas dependency to make ring1 more happy
- Update to 4.22.0:
  * Various small tweaks only

- More love for the tests to make sure we execute and run them
  + skip/remove the obvious failures that are irelevant

- Update to 4.18.2:
  * This patch makes Hypothesis compatible with the Python 3.8 alpha
  * This release adds the functions() strategy
  * This release refactors stateful rule selection
  * This patch allows Hypothesis to try a few more examples after finding the first bug
  * This release adds the strategy broadcastable_shapes()
- Make sure the tests are executed (and fail at the moment, needs
  bit more love)

OBS-URL: https://build.opensuse.org/request/show/701259
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=35
2019-05-07 21:13:01 +00:00
Tomáš Chvátal
83084aa143 - Remove pandas dependency to make ring1 more happy
- Update to 4.22.0:
  * Various small tweaks only

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=102
2019-05-07 08:59:27 +00:00
Tomáš Chvátal
23746c0d78 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=101 2019-05-06 10:02:51 +00:00
Tomáš Chvátal
d0682e8a4a - More love for the tests to make sure we execute and run them
+ skip/remove the obvious failures that are irelevant

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=100
2019-05-06 09:40:58 +00:00
Tomáš Chvátal
f13aef4af8 - Update to 4.18.2:
* This patch makes Hypothesis compatible with the Python 3.8 alpha
  * This release adds the functions() strategy
  * This release refactors stateful rule selection
  * This patch allows Hypothesis to try a few more examples after finding the first bug
  * This release adds the strategy broadcastable_shapes()
- Make sure the tests are executed (and fail at the moment, needs
  bit more love)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=99
2019-04-30 13:27:39 +00:00
Dominique Leuenberger
5e6cb52a62 Accepting request 694207 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/694207
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=34
2019-04-19 16:37:01 +00:00
Tomáš Chvátal
990a28ed8a Accepting request 693827 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/693827
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=97
2019-04-15 09:42:32 +00:00
Dominique Leuenberger
e23fa8b036 Accepting request 690686 from devel:languages:python
- Add changes.rst to %doc
- Update to v4.13.0
 * for changes please see doc/changes.rst or
   https://github.com/HypothesisWorks/hypothesis/blob/master/hypothesis-python/docs/changes.rst
- update to 4.11.7
 * for changes please see doc/changes.rst or
 - https://github.com/HypothesisWorks/hypothesis/blob/master/hypothesis-python/docs/changes.rst

OBS-URL: https://build.opensuse.org/request/show/690686
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=33
2019-04-04 10:05:18 +00:00
Tomáš Chvátal
7840f298a5 Accepting request 688117 from home:jayvdb:branches:devel:languages:python
- Add changes.rst to %doc
- Update to v4.13.0
 * for changes please see doc/changes.rst or
   https://github.com/HypothesisWorks/hypothesis/blob/master/hypothesis-python/docs/changes.rst

OBS-URL: https://build.opensuse.org/request/show/688117
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=95
2019-03-25 08:42:00 +00:00
444694d0d2 - update to 4.11.7
* for changes please see doc/changes.rst or
 - https://github.com/HypothesisWorks/hypothesis/blob/master/hypothesis-python/docs/changes.rst

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=94
2019-03-18 08:14:01 +00:00
Dominique Leuenberger
c05880cbe2 Accepting request 662305 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/662305
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=32
2019-01-08 11:16:33 +00:00
Tomáš Chvátal
aaa2775d8e Accepting request 661776 from devel:languages:python:avocado
- Move name ahead of version in spec file to resolve build issues
  on older distributions

OBS-URL: https://build.opensuse.org/request/show/661776
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=92
2019-01-01 15:14:01 +00:00
Dominique Leuenberger
c4b0f0b913 Accepting request 656754 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/656754
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=31
2018-12-14 19:47:53 +00:00
Tomáš Chvátal
fb717de23a Accepting request 656422 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/656422
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=90
2018-12-10 08:47:24 +00:00
Dominique Leuenberger
a4e53d760b Accepting request 646018 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/646018
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=30
2018-11-06 13:00:55 +00:00
Tomáš Chvátal
b8cc98c744 Accepting request 645955 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/645955
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=88
2018-11-02 08:17:50 +00:00
Tomáš Chvátal
e5ea557acc Accepting request 643507 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/643507
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=87
2018-10-21 18:21:09 +00:00
Dominique Leuenberger
df2c2169a9 Accepting request 641951 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/641951
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=29
2018-10-18 13:29:17 +00:00
Tomáš Chvátal
46c9b6d0bd Accepting request 641934 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/641934
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=85
2018-10-14 19:59:53 +00:00
Dominique Leuenberger
f11541762c Accepting request 637683 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/637683
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=28
2018-10-01 07:06:53 +00:00
Tomáš Chvátal
746fb60f0c OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=83 2018-09-17 13:03:22 +00:00
2c4ee61954 Accepting request 635548 from home:mcepl:work
Add multibuild to allow running tests.

OBS-URL: https://build.opensuse.org/request/show/635548
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=82
2018-09-13 14:27:57 +00:00
Tomáš Chvátal
e3bb9a4555 Accepting request 634494 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/634494
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=81
2018-09-08 19:49:29 +00:00
Dominique Leuenberger
d6cade422b Accepting request 633460 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/633460
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=27
2018-09-07 13:35:03 +00:00
Tomáš Chvátal
be9600f6bb Accepting request 633315 from home:mcepl:work
- Clean up SPEC
- Add %check section, but make it disabled per default (circular
  dependency on pytest)
- Precompile Python files to avoid troubles with mtime and magic values.

OBS-URL: https://build.opensuse.org/request/show/633315
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=79
2018-09-05 11:17:34 +00:00
Dominique Leuenberger
5130904ef2 Accepting request 632628 from devel:languages:python
- Drop the pytest-xdist dependency to build on Leap 42.3, as it
  does not run tests it was quite pointless

OBS-URL: https://build.opensuse.org/request/show/632628
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=26
2018-09-04 20:49:26 +00:00
Tomáš Chvátal
adf1da9930 - Drop the pytest-xdist dependency to build on Leap 42.3, as it
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=77
2018-09-01 07:59:01 +00:00
Tomáš Chvátal
433aafc77e - Drop the ptest-xdist dependency to build on Leap 42.3, as it
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=76
2018-08-31 12:59:23 +00:00
Tomáš Chvátal
cca3e7728d - Drop the xtest dependency to build on Leap 42.3, as it
does not run tests it was quite pointless

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=75
2018-08-31 11:55:52 +00:00
Dominique Leuenberger
8f7a6e6200 Accepting request 624649 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/624649
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=25
2018-07-27 08:52:07 +00:00
Tomáš Chvátal
d3b09d5b35 Accepting request 624619 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/624619
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=73
2018-07-23 06:36:20 +00:00
Dominique Leuenberger
990b82da1b Accepting request 624329 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/624329
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=24
2018-07-21 08:09:37 +00:00
Tomáš Chvátal
484ccee670 Accepting request 624304 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/624304
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=71
2018-07-20 18:18:26 +00:00
Dominique Leuenberger
3602f5ae0b Accepting request 622327 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/622327
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=23
2018-07-13 08:17:53 +00:00
Tomáš Chvátal
bf76b6325f Accepting request 622326 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/622326
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=69
2018-07-12 17:07:05 +00:00
Tomáš Chvátal
d1419e6407 Accepting request 621456 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/621456
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=68
2018-07-08 16:38:58 +00:00
487889e109 - remove redundant pythons buildrequire
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=67
2018-07-06 11:59:02 +00:00
Dominique Leuenberger
4db38463db Accepting request 620082 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/620082
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=22
2018-07-02 21:29:03 +00:00
77e57b8ec9 Accepting request 620077 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/620077
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=65
2018-07-01 21:23:01 +00:00
Dominique Leuenberger
33be74ece5 Accepting request 618930 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/618930
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=21
2018-06-27 08:17:19 +00:00
Tomáš Chvátal
65044c82ac Accepting request 618822 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/618822
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=63
2018-06-25 11:02:02 +00:00
Yuchen Lin
fc64898c84 Accepting request 615037 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/615037
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=20
2018-06-15 12:32:41 +00:00
Tomáš Chvátal
815e3e08ce Accepting request 615030 from home:TheBlackCat:branches:devel:languages:python
- Use github source archive as recommended by upstream.
- Remove unneeded python-hypothesis-build.patch

OBS-URL: https://build.opensuse.org/request/show/615030
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=61
2018-06-07 18:15:11 +00:00
Dominique Leuenberger
79168d8ffa Accepting request 613244 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/613244
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=19
2018-06-05 10:49:00 +00:00
Tomáš Chvátal
d1654ba2fa Accepting request 613144 from home:TheBlackCat:branches:devel:languages:python
- Update to 3.57.0
  * Using an unordered collection with the :func:`~hypothesis.strategies.permutations`
    strategy has been deprecated because the order in which e.g. a set shrinks is
    arbitrary. This may cause different results between runs.
- Update to 3.56.10 - 2018-05-16
  * This release makes :obj:`~hypothesis.settings.define_setting`
    aprivate method, which has the effect of hiding it from the
    documentation.
- Update to 3.56.9
  * This is another release with no functionality changes as part of changes to
    Hypothesis's new release tagging scheme.
- Update to 3.56.8
  * This is a release with no functionality changes that moves Hypothesis over to
    anew release tagging scheme.
- Update to 3.56.7
  * This release provides a performance improvement for most tests, but in
    particular users of ``sampled_from`` who don't have numpy installed should see
    asignificant performance improvement.
- Update to 3.56.6
  * This patch contains further internal work to support Mypy.
    There are no user-visible changes... yet.
- Update to 3.56.5
  * This patch contains some internal refactoring to run :pypi:`mypy` in CI.
    There are no user-visible changes.
- Update to 3.56.4
  * This release involves some very minor internal clean up and should have no
    user visible effect at all.
- Update to 3.56.3
  * This release fixes a problem introduced in :ref:`3.56.0 <v3.56.0>` where
    setting the hypothesis home directory (through currently undocumented
    means) would no longer result in the default database location living
    in the new home directory.
- Update to 3.56.2
  * This release fixes a problem introduced in :ref:`3.56.0 <v3.56.0>` where
    setting :obj:`~hypothesis.settings.max_examples` to ``1`` would result in tests
    failing with ``Unsatisfiable``. This problem could also occur in other harder
    to trigger circumstances (e.g. by setting it to a low value, having a hard to
    satisfy assumption, and disabling health checks).
- Update to 3.56.1
  * This release fixes a problem that was introduced in :ref:`3.56.0 <v3.56.0>`:
    Use of the :envvar:`HYPOTHESIS_VERBOSITY_LEVEL` environment variable was, rather
    than deprecated, actually broken due to being read before various setup
    the deprecation path needed was done. It now works correctly (and emits a
    deprecation warning).
- Update to 3.56.0
  * This release deprecates several redundant or internally oriented
    :class:`~hypothesis.settings`, working towards an orthogonal set of
    configuration options that are widely useful *without* requiring any
    knowledge of our internals (:issue:`535`).
    + Deprecated settings that no longer have any effect are no longer
      shown in the ``__repr__`` unless set to a non-default value.
    + :obj:`~hypothesis.settings.perform_health_check` is deprecated, as it
      duplicates :obj:`~hypothesis.settings.suppress_health_check`.
    + :obj:`~hypothesis.settings.max_iterations` is deprecated and disabled,
      because we can usually get better behaviour from an internal heuristic
      than a user-controlled setting.
    + :obj:`~hypothesis.settings.min_satisfying_examples` is deprecated and
      disabled, due to overlap with the
      :obj:`~hypothesis.settings.HealthCheck.filter_too_much` healthcheck
      and poor interaction with :obj:`~hypothesis.settings.max_examples`.
    + :envvar:`HYPOTHESIS_VERBOSITY_LEVEL` is now deprecated.  Set
      :obj:`~hypothesis.settings.verbosity` through the profile system instead.
    + Examples tried by :func:`~hypothesis.find` are now reported at ``debug``
      verbosity level (as well as ``verbose`` level).
- Update to 3.55.6
  * This release fixes a somewhat obscure condition (:issue:`1230`) under which you
    could occasionally see a failing test trigger an assertion error inside
    Hypothesis instead of failing normally.
- Update to 3.55.5
  * This patch fixes one possible cause of :issue:`966`.  When running
    Python 2 with hash randomisation, passing a :obj:`python:bytes` object
    to :func:`python:random.seed` would use ``version=1``, which broke
    :obj:`~hypothesis.settings.derandomize` (because the seed depended on
    arandomised hash).  If :obj:`~hypothesis.settings.derandomize` is
    *still* nondeterministic for you, please open an issue.
- Update to 3.55.4
  * This patch makes a variety of minor improvements to the documentation,
    and improves a few validation messages for invalid inputs.
- Update to 3.55.3
  * This release updates the URL metadata associated with the PyPI package (again).
    It has no other user visible effects.
- Update to 3.55.2
  * This release updates the URL metadata associated with the PyPI package.
    It has no other user visible effects.
- Update to 3.55.1
  * This patch relaxes constraints on the expected values returned
    by the standard library function :func:`hypot` and the internal
    helper function :func:`~hypotheses.internal.cathetus`, this to
    fix near-exact test-failures on some 32-bit systems.
- Update to 3.55.0
  * This release includes several improvements to the handling of the
    :obj:`~hypothesis.settings.database` setting.
    + The :obj:`~hypothesis.settings.database_file` setting was a historical
      artefact, and you should just use :obj:`~hypothesis.settings.database`
      directly.
    + The :envvar:`HYPOTHESIS_DATABASE_FILE` environment variable is
      deprecated, in favor of :meth:`~hypothesis.settings.load_profile` and
      the :obj:`~hypothesis.settings.database` setting.
    + If you have not configured the example database at all and the default
      location is not usable (due to e.g. permissions issues), Hypothesis
      will fall back to an in-memory database.  This is not persisted between
      sessions, but means that the defaults work on read-only filesystems.
- Update to 3.54.0
  * This release improves the :func:`~hypotheses.strategies.complex_numbers`
    strategy, which now supports ``min_magnitude`` and ``max_magnitude``
    arguments, along with ``allow_nan`` and ``allow_infinity`` like for
    :func:`~hypotheses.strategies.floats`.
    Thanks to J.J. Green for this feature.
- Update to 3.53.0
  * This release removes support for Django 1.8, which reached end of life on
    2018-04-01.  You can see Django's release and support schedule
    `on the Django Project website <https://www.djangoproject.com/download/#supported-versions>`_.
- Update to 3.52.3
  * This patch fixes the :obj:`~hypothesis.settings.min_satisfying_examples` settings
    documentation, by explaining that example shrinking is tracked at the level
    of the underlying bytestream rather than the output value.
  * The output from :func:`~hypothesis.find` in verbose mode has also been
    adjusted - see :ref:`the example session <verbose-output>` - to avoid
    duplicating lines when the example repr is constant, even if the underlying
    representation has been shrunken.
- Update to 3.52.2
  * This release improves the output of failures with
    :ref:`rule based stateful testing <rulebasedstateful>` in two ways:
     The output from it is now usually valid Python code.
     When the same value has two different names because it belongs to two different
     bundles, it will now display with the name associated with the correct bundle
     for a rule argument where it is used.
- Update to 3.52.1
  * This release improves the behaviour of  :doc:`stateful testing <stateful>`
    in two ways:
    Previously some runs would run no steps (:issue:`376`). This should no longer
    happen.
    RuleBasedStateMachine tests which used bundles extensively would often shrink
    terribly. This should now be significantly improved, though there is likely
    a lot more room for improvement.
  * This release also involves a low level change to how ranges of integers are
    handles which may result in other improvements to shrink quality in some cases.
- Update to 3.52.0
  * This release deprecates use of :func:`@settings(...) <hypothesis.settings>`
    as a decorator, on functions or methods that are not also decorated with
    :func:`@given <hypothesis.given>`.  You can still apply these decorators
    in any order, though you should only do so once each.
  * Applying :func:`@given <hypothesis.given>` twice was already deprecated, and
    applying :func:`@settings(...) <hypothesis.settings>` twice is deprecated in
    this release and will become an error in a future version. Neither could ever
    be used twice to good effect.
  * Using :func:`@settings(...) <hypothesis.settings>` as the sole decorator on
    atest is completely pointless, so this common usage error will become an
    error in a future version of Hypothesis.
- Update to 3.51.0
  * This release deprecates the ``average_size`` argument to
    :func:`~hypothesis.strategies.lists` and other collection strategies.
    You should simply delete it wherever it was used in your tests, as it
    no longer has any effect.
    In early versions of Hypothesis, the ``average_size`` argument was treated
    as a hint about the distribution of examples from a strategy.  Subsequent
    improvements to the conceptual model and the engine for generating and
    shrinking examples mean it is more effective to simply describe what
    constitutes a valid example, and let our internals handle the distribution.
- Update to 3.50.3
  * This patch contains some internal refactoring so that we can run
    with warnings as errors in CI.
- Update to 3.50.2
  * This has no user-visible changes except one slight formatting change to one docstring, to avoid a deprecation warning.
- Update to 3.50.1
  * This patch fixes an internal error introduced in :ref:`3.48.0 <v3.48.0>`, where a check
    for the Django test runner would expose import-time errors in Django
    configuration (:issue:`1167`).
- Update to 3.50.0
  * This release improves validation of numeric bounds for some strategies.
    + :func:`~hypothesis.strategies.integers` and :func:`~hypothesis.strategies.floats`
      now raise ``InvalidArgument`` if passed a ``min_value`` or ``max_value``
      which is not an instance of :class:`~python:numbers.Real`, instead of
      various internal errors.
    + :func:`~hypothesis.strategies.floats` now converts its bounding values to
      the nearest float above or below the min or max bound respectively, instead
      of just casting to float.  The old behaviour was incorrect in that you could
      generate ``float(min_value)``, even when this was less than ``min_value``
      itself (possible with eg. fractions).
    + When both bounds are provided to :func:`~hypothesis.strategies.floats` but
      there are no floats in the interval, such as ``[(2**54)+1 .. (2**55)-1]``,
      InvalidArgument is raised.
    + :func:`~hypothesis.strategies.decimals` gives a more useful error message
      if passed a string that cannot be converted to :class:`~python:decimal.Decimal`
      in a context where this error is not trapped.
     Code that previously **seemed** to work may be explicitly broken if there
     were no floats between ``min_value`` and ``max_value`` (only possible with
     non-float bounds), or if a bound was not a :class:`~python:numbers.Real`
     number but still allowed in :obj:`python:math.isnan` (some custom classes
     with a ``__float__`` method).
- Update to 3.49.1
  * This patch fixes our tests for Numpy dtype strategies on big-endian platforms,
    where the strategy behaved correctly but the test assumed that the native byte
    order was little-endian.
    There is no user impact unless you are running our test suite on big-endian
    platforms.  Thanks to Graham Inggs for reporting :issue:`1164`.
- Update to 3.49.0
  * This release deprecates passing ``elements=None`` to collection strategies,
    such as :func:`~hypothesis.strategies.lists`.
    Requiring ``lists(nothing())`` or ``builds(list)`` instead of ``lists()``
    means slightly more typing, but also improves the consistency and
    discoverability of our API - as well as showing how to compose or
    construct strategies in ways that still work in more complex situations.
    Passing a nonzero max_size to a collection strategy where the elements
    strategy contains no values is now deprecated, and will be an error in a
    future version.  The equivalent with ``elements=None`` is already an error.
- Update to 3.48.1
  * This patch will minimize examples that would come out non-minimal in previous versions. Thanks to Kyle Reeve for this patch.
- Update to 3.48.0
  * This release improves some "unhappy paths" when using Hypothesis
    with the standard library :mod:`python:unittest` module:
    + Applying :func:`@given <hypothesis.given>` to a non-test method which is
      overridden from :class:`python:unittest.TestCase`, such as ``setUp``,
      raises :attr:`a new health check <hypothesis.settings.not_a_test_method>`.
      (:issue:`991`)
    + Using :meth:`~python:unittest.TestCase.subTest` within a test decorated
      with :func:`@given <hypothesis.given>` would leak intermediate results
      when tests were run under the :mod:`python:unittest` test runner.
      Individual reporting of failing subtests is now disabled during a test
      using :func:`@given <hypothesis.given>`.  (:issue:`1071`)
    + :func:`@given <hypothesis.given>` is still not a class decorator, but the
      error message if you try using it on a class has been improved.
     As a related improvement, using :class:`django:django.test.TestCase` with
     :func:`@given <hypothesis.given>` instead of
     :class:`hypothesis.extra.django.TestCase` raises an explicit error instead
     of running all examples in a single database transaction.
- Update to 3.47.0
  * :obj:`~hypothesis.settings.register_profile` now accepts keyword arguments
    for specific settings, and the parent settings object is now optional.
    Using a ``name`` for a registered profile which is not a string was never
    suggested, but it is now also deprecated and will eventually be an error.
- Update to 3.46.2
  * This release removes an unnecessary branch from the code, and has no user-visible impact.
- Update to 3.46.1
  * This changes only the formatting of our docstrings and should have no user-visible effects.
- Update to 3.46.0
  * :func:`~hypothesis.strategies.characters` has improved docs about
    what arguments are valid, and additional validation logic to raise a
    clear error early (instead of e.g. silently ignoring a bad argument).
    Categories may be specified as the Unicode 'general category'
    (eg ``u'Nd'``), or as the 'major category' (eg ``[u'N', u'Lu']``
    is equivalent to ``[u'Nd', u'Nl', u'No', u'Lu']``).
  * In previous versions, general categories were supported and all other
    input was silently ignored.  Now, major categories are supported in
    addition to general categories (which may change the behaviour of some
    existing code), and all other input is deprecated.
- Update to 3.45.5
  * This patch improves strategy inference in :mod:`hypothesis.extra.django`
    to account for some validators in addition to field type - see
    :issue:`1116` for ongoing work in this space.
    Specifically, if a :class:`~django:django.db.models.CharField` or
    :class:`~django:django.db.models.TextField` has an attached
    :class:`~django:django.core.validators.RegexValidator`, we now use
    :func:`~hypothesis.strategies.from_regex` instead of
    :func:`~hypothesis.strategies.text` as the underlying strategy.
    This allows us to generate examples of the default
    :class:`~django:django.contrib.auth.models.User` model, closing :issue:`1112`.
- Update to 3.45.4
  * This patch improves some internal debugging information, fixes
    atypo in a validation error message, and expands the documentation
    for new contributors.
- Add license file

OBS-URL: https://build.opensuse.org/request/show/613144
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=59
2018-05-31 10:40:51 +00:00
Dominique Leuenberger
63b35f0c13 Accepting request 583699 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/583699
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=18
2018-03-09 09:34:27 +00:00
Tomáš Chvátal
7c995357e3 Accepting request 583463 from home:aplanas:branches:devel:languages:python
Allows Recommends and Suggest in Fedora

OBS-URL: https://build.opensuse.org/request/show/583463
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=57
2018-03-06 20:51:11 +00:00
Dominique Leuenberger
6c6f138d8a Accepting request 581961 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/581961
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=17
2018-03-05 12:34:52 +00:00
Tomáš Chvátal
3194b745ce Accepting request 581943 from home:computersalat:devel:python
fix deps for setuptools

OBS-URL: https://build.opensuse.org/request/show/581943
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=55
2018-03-02 11:19:22 +00:00
92c8fb4a84 Accepting request 580738 from home:aplanas:branches:devel:languages:python
- Recommends only for SUSE

OBS-URL: https://build.opensuse.org/request/show/580738
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=54
2018-02-27 21:51:29 +00:00
Dominique Leuenberger
f5e4fc3128 Accepting request 579946 from devel:languages:python
update to version 3.45.3
  * Bump version to 3.44.26 and update changelog
  * That doesn't need to be conditional in the shrinker
  * Add release notes
  * Wrong backticks
  * Response to review
  * Switch over to an adaptive greedy algorithm
  * Clarify dependencies on enum34, Django
  * don't try to assign to *args
  * Don't split expression over multiple lines needlessly
  * define labels in top-level constants since they're expensive-ish to compute
  * Change how we track whether a block is shrinking
  * Add tests for zig zagging behaviour
  * Update isort from 4.2.15 to 4.3.2
  * Add a section about deferring errors
  * specify target and args for build() together as *target_and_args
  * Fix typo
  * Bump version to 3.44.17 and update changelog
  * Add flaky annotation to test_can_generate_interval_endpoints
  * Add notion of labels to strategies
  * Bump version to 3.44.25 and update changelog
  * Update pytest from 3.3.2 to 3.4.0
  * address more code review comments
  * Bump version to 3.44.19 and update changelog
  * Remove just and of course
  * Bump version to 3.45.2 and update changelog
  * don't refer to hypothesis_internal_target from bad implementation
  * Add a release note for the source changes
  * Add quality tests on Python 2
  * Update safety from 1.6.1 to 1.7.0

OBS-URL: https://build.opensuse.org/request/show/579946
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=16
2018-02-26 22:23:44 +00:00
Thomas Bechtold
1a28e58d3c update to version 3.45.3
* Bump version to 3.44.26 and update changelog
  * That doesn't need to be conditional in the shrinker
  * Add release notes
  * Wrong backticks
  * Response to review
  * Switch over to an adaptive greedy algorithm
  * Clarify dependencies on enum34, Django
  * don't try to assign to *args
  * Don't split expression over multiple lines needlessly
  * define labels in top-level constants since they're expensive-ish to compute
  * Change how we track whether a block is shrinking
  * Add tests for zig zagging behaviour
  * Update isort from 4.2.15 to 4.3.2
  * Add a section about deferring errors
  * specify target and args for build() together as *target_and_args
  * Fix typo
  * Bump version to 3.44.17 and update changelog
  * Add flaky annotation to test_can_generate_interval_endpoints
  * Add notion of labels to strategies
  * Bump version to 3.44.25 and update changelog
  * Update pytest from 3.3.2 to 3.4.0
  * address more code review comments
  * Bump version to 3.44.19 and update changelog
  * Remove just and of course
  * Bump version to 3.45.2 and update changelog
  * don't refer to hypothesis_internal_target from bad implementation
  * Add a release note for the source changes
  * Add quality tests on Python 2
  * Update safety from 1.6.1 to 1.7.0

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=52
2018-02-25 14:47:59 +00:00
Dominique Leuenberger
15f4305cea Accepting request 566981 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/566981
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=15
2018-01-19 10:49:09 +00:00
Tomáš Chvátal
1d89872046 Accepting request 566974 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/566974
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=50
2018-01-17 19:20:00 +00:00
Tomáš Chvátal
69496ab3ef - Condition py2 only dependencies so we do not pull them on py3
only scenario

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=49
2018-01-17 15:47:04 +00:00
Dominique Leuenberger
463bb31589 Accepting request 562296 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/562296
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=14
2018-01-09 13:36:28 +00:00
Tomáš Chvátal
3729e431e2 Accepting request 562205 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/562205
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=47
2018-01-07 09:36:16 +00:00
Tomáš Chvátal
c01e3c8077 Accepting request 561708 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/561708
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=46
2018-01-04 19:33:33 +00:00
Tomáš Chvátal
3033dd6df5 - Disable the tests as it is too flaky to be reliable
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=45
2018-01-03 10:00:34 +00:00
Tomáš Chvátal
e3ca124482 Accepting request 560855 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/560855
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=44
2017-12-31 09:40:34 +00:00
Tomáš Chvátal
1d20597d73 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=43 2017-12-15 12:12:14 +00:00
Tomáš Chvátal
212aae7f3f OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=42 2017-12-15 12:12:06 +00:00
Tomáš Chvátal
130da9dc8d - Add sqlite3 python module as it is needed for tests too
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=41
2017-12-15 12:03:40 +00:00
Tomáš Chvátal
b39ac3767c Accepting request 557295 from home:ecsos
- Add patch python-hypothesis-build.patch 
  to fix Factory build error

OBS-URL: https://build.opensuse.org/request/show/557295
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=40
2017-12-15 10:35:26 +00:00
Tomáš Chvátal
7dc25f55da - Update to 3.42.2:
* Few tiny fixes
- Switch to github tarball to contain tests
- Make sure to state all buildtime dependencies

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=39
2017-12-14 15:18:09 +00:00
Tomáš Chvátal
615516b926 Accepting request 556338 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/556338
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=38
2017-12-12 08:24:34 +00:00
752d7357ad Accepting request 555562 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/555562
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=37
2017-12-10 18:57:12 +00:00
Dominique Leuenberger
8be0e6603f Accepting request 554735 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/554735
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=13
2017-12-08 20:47:50 +00:00
f757385d44 Accepting request 554671 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/554671
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=35
2017-12-06 09:29:22 +00:00
Thomas Bechtold
124e167687 Accepting request 547879 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/547879
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=34
2017-12-04 06:55:06 +00:00
Dominique Leuenberger
59bba06ee8 Accepting request 545893 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/545893
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=12
2017-11-30 11:38:19 +00:00
e57ffbc89b Accepting request 545771 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/545771
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=32
2017-11-27 09:39:33 +00:00
492547d1ee Accepting request 544482 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/544482
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=31
2017-11-22 22:36:42 +00:00
Dominique Leuenberger
958543a771 Accepting request 542943 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/542943
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=11
2017-11-21 14:28:39 +00:00
463cfece72 Accepting request 542870 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/542870
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=29
2017-11-19 14:46:24 +00:00
Dominique Leuenberger
5d34ab0037 Accepting request 541883 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/541883
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=10
2017-11-17 09:37:15 +00:00
Jan Matejek
c38e382671 Accepting request 541872 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/541872
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=27
2017-11-14 17:01:18 +00:00
86e1a7fdb4 Accepting request 540764 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/540764
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=26
2017-11-13 09:18:24 +00:00
Dominique Leuenberger
9ff7102136 Accepting request 539900 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/539900
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=9
2017-11-10 13:38:18 +00:00
Jan Matejek
f7327ceaff Accepting request 539744 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/539744
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=24
2017-11-08 15:34:07 +00:00
Jan Matejek
25b6774b1d Accepting request 538966 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/538966
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=23
2017-11-06 15:39:07 +00:00
Jan Matejek
ee301b8bc1 Accepting request 538563 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/538563
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=22
2017-11-03 14:36:35 +00:00
Dominique Leuenberger
fbba7c8f54 Accepting request 534391 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/534391
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=8
2017-10-18 08:44:28 +00:00
5a11e311dc Accepting request 534323 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/534323
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=20
2017-10-17 10:08:04 +00:00
Thomas Bechtold
840516b163 Accepting request 533201 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/533201
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=19
2017-10-11 07:01:06 +00:00
Dominique Leuenberger
4a4a1357cf Accepting request 532615 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/532615
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=7
2017-10-10 09:38:16 +00:00
Todd R
f34d25aa2b Accepting request 532341 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/532341
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=17
2017-10-09 00:59:21 +00:00
Todd R
27842f7d12 Accepting request 531685 from home:dimstar:Factory
- Add python-attrs and python-coverage requires, matching the info
  of setup.py.

-hypothesis, as is currently in Staging, breaks -datrie

OBS-URL: https://build.opensuse.org/request/show/531685
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=16
2017-10-05 14:42:47 +00:00
Jan Matejek
fc3661e848 Accepting request 530627 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/530627
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=15
2017-10-03 11:54:28 +00:00
Dominique Leuenberger
66168d7c87 Accepting request 509186 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/509186
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=6
2017-07-21 20:37:09 +00:00
Thomas Bechtold
e1b3a8d4f3 Accepting request 509168 from home:jengelh:branches:devel:languages:python
- Ensure neutrality of description.

OBS-URL: https://build.opensuse.org/request/show/509168
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=13
2017-07-10 12:34:16 +00:00
Dominique Leuenberger
b4c1f83475 Accepting request 507233 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/507233
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=5
2017-07-04 09:56:27 +00:00
644c4fc637 Accepting request 507214 from home:alois:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/507214
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=11
2017-06-30 07:30:34 +00:00
Dominique Leuenberger
1dde5aadb9 Accepting request 460260 from devel:languages:python
first batch of singlespec packages

OBS-URL: https://build.opensuse.org/request/show/460260
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=4
2017-02-27 17:35:21 +00:00
Jan Matejek
6dabaefcb1 Accepting request 460231 from devel:languages:python:singlespec
- update for singlespec
- test requirements are now conditional --with=test, to shorten build loop
  for new submission
  (this will be reverted soon)
- update to 3.6.1
  * better thread safety
  * support for --hypothesis-show-statistics in pytest
  * better python 3.4 support
  * renamed fake-factory dependency to Faker

OBS-URL: https://build.opensuse.org/request/show/460231
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=9
2017-02-24 14:34:42 +00:00
Dominique Leuenberger
b75d28c7dc Accepting request 395080 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/395080
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=3
2016-05-19 10:03:39 +00:00
Todd R
68d98f3499 Accepting request 395079 from home:TheBlackCat:branches:devel:languages:python
Fix download URL.

OBS-URL: https://build.opensuse.org/request/show/395079
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=7
2016-05-12 16:38:06 +00:00
Todd R
dad3795860 Accepting request 394510 from home:TheBlackCat:branches:devel:languages:python
Update to 3.1.3

OBS-URL: https://build.opensuse.org/request/show/394510
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=6
2016-05-09 18:23:46 +00:00
Dominique Leuenberger
93dcf4e04a Accepting request 349123 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/349123
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=2
2015-12-18 20:50:21 +00:00
540e3bc16c - update to 1.16.0:
* Functions from hypothesis.strategies will no longer raise InvalidArgument on bad arguments
  * Errors caused by accidentally invoking the legacy API are now much less confusing
  * hypothesis.extra.django is 1.9 compatible.
  * When tests are run with max_shrinks=0 this will now still rerun the test on failure

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=4
2015-12-09 10:08:24 +00:00
Dominique Leuenberger
2958d79913 Accepting request 346043 from devel:languages:python
Required by python-cryptography, which is already in openSUSE:Factory.

This version fixes the license naming issue.

OBS-URL: https://build.opensuse.org/request/show/346043
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=1
2015-11-28 14:19:02 +00:00
Todd R
1816689ca5 Accepting request 346042 from home:TheBlackCat:branches:devel:languages:python
Fix license naming.

OBS-URL: https://build.opensuse.org/request/show/346042
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=2
2015-11-24 12:51:33 +00:00
Todd R
3c0365032e Accepting request 343319 from home:tbechtold:branches:devel:languages:python
Initial packaging (needed for running tests of python-cryptography)

OBS-URL: https://build.opensuse.org/request/show/343319
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=1
2015-11-11 10:36:03 +00:00
4 changed files with 0 additions and 12 deletions

View File

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

View File

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

View File

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

BIN
hypothesis-python-6.98.9.tar.gz (Stored with Git LFS)

Binary file not shown.