Commit Graph

  • ae52eb828f Accepting request 1217398 from devel:languages:python factory Ana Guerrero 2024-10-25 17:19:16 +0000
  • 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 devel Matej Cepl 2024-10-23 16:58:01 +0000
  • dcef448332 Accepting request 1206400 from devel:languages:python Ana Guerrero 2024-10-09 20:03:21 +0000
  • 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 Matej Cepl 2024-10-08 21:15:17 +0000
  • 36a1254cc4 Accepting request 1199124 from devel:languages:python Ana Guerrero 2024-09-09 12:43:21 +0000
  • 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. Daniel Garcia 2024-09-06 07:04:37 +0000
  • 1a12f01f9a Accepting request 1195137 from home:nkrapp:branches:devel:languages:python Markéta Machová 2024-08-30 10:46:59 +0000
  • 26f5c201a1 Accepting request 1191165 from home:mcalabkova:branches:devel:languages:python Matej Cepl 2024-08-02 15:49:41 +0000
  • ac0410bcf3 Accepting request 1190234 from devel:languages:python Dominique Leuenberger 2024-07-30 09:53:48 +0000
  • ec21781abf - Disable complete tests for non-tumbleweed to avoid python-pandas requirement Daniel Garcia 2024-07-29 11:17:29 +0000
  • 6ad4d3784b Accepting request 1158311 from devel:languages:python Ana Guerrero 2024-03-18 15:43:56 +0000
  • c42e29d24a - Clean up the SPEC file Matej Cepl 2024-03-15 17:18:02 +0000
  • 945b1bb219 Accepting request 1152107 from devel:languages:python Ana Guerrero 2024-02-28 18:45:01 +0000
  • fc0f03b461 Accepting request 1152084 from home:mcalabkova:branches:devel:languages:python Matej Cepl 2024-02-27 10:18:11 +0000
  • 54d97a6d05 Accepting request 1141527 from devel:languages:python Ana Guerrero 2024-01-29 21:25:52 +0000
  • b5769c4ca6 Accepting request 1141260 from home:ecsos:python Markéta Machová 2024-01-25 13:56:53 +0000
  • 54263abfa8 Accepting request 1137295 from devel:languages:python Dominique Leuenberger 2024-01-07 20:38:50 +0000
  • 94fb987a24 - update to 6.92.2: * updates vendored list of top-level domains Dirk Mueller 2024-01-06 20:29:36 +0000
  • 29dd215142 Accepting request 1135262 from devel:languages:python Ana Guerrero 2023-12-28 21:54:39 +0000
  • 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 Dirk Mueller 2023-12-27 10:15:20 +0000
  • 5902cebfdf Accepting request 1121637 from devel:languages:python Ana Guerrero 2023-11-02 19:20:47 +0000
  • 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]) Ondřej Súkup 2023-11-01 15:22:24 +0000
  • 449a9d2187 Accepting request 1118121 from devel:languages:python Ana Guerrero 2023-10-19 20:47:09 +0000
  • 4b04aefafb Accepting request 1118040 from home:mimi_vx:branches:devel:languages:python Dirk Mueller 2023-10-16 22:19:23 +0000
  • 6c15f432a1 Accepting request 1116915 from home:mimi_vx:branches:devel:languages:python Markéta Machová 2023-10-11 12:12:14 +0000
  • b8b128b4a5 Accepting request 1108256 from devel:languages:python Ana Guerrero 2023-09-01 12:18:49 +0000
  • 465d9067f4 Accepting request 1108226 from home:bnavigator:branches:devel:languages:python Markéta Machová 2023-08-31 10:17:27 +0000
  • 6b659dc6a8 Accepting request 1105013 from devel:languages:python Ana Guerrero 2023-08-22 06:55:21 +0000
  • 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. Dirk Mueller 2023-08-14 07:08:47 +0000
  • 8f1765f0f7 Accepting request 1087109 from devel:languages:python Dominique Leuenberger 2023-05-19 09:55:16 +0000
  • 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 Dirk Mueller 2023-05-14 15:30:47 +0000
  • adc9271da2 - Complete comment in spec Daniel Garcia 2023-05-10 16:37:20 +0000
  • 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). Daniel Garcia 2023-05-10 16:33:33 +0000
  • c9ea6ca60a Accepting request 1081890 from devel:languages:python Dominique Leuenberger 2023-04-22 20:00:30 +0000
  • 8551ff793e Accepting request 1081445 from home:dirkmueller:acdc:as_python3_module Dirk Mueller 2023-04-21 14:31:18 +0000
  • df2f4137d0 Accepting request 1066416 from devel:languages:python Dominique Leuenberger 2023-02-19 17:18:30 +0000
  • 7b8c12895a Accepting request 1066410 from home:dirkmueller:acdc Matej Cepl 2023-02-17 16:55:10 +0000
  • 5ec0a77f78 Accepting request 1056961 from devel:languages:python Dominique Leuenberger 2023-01-10 13:58:58 +0000
  • d1e7af94d3 Accepting request 1056822 from home:bnavigator:branches:devel:languages:python Steve Kowalik 2023-01-09 05:05:53 +0000
  • b91381a466 Accepting request 1043052 from devel:languages:python Dominique Leuenberger 2023-01-06 16:04:37 +0000
  • 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 Daniel Garcia 2022-12-15 06:51:57 +0000
  • 9e17e45726 Accepting request 1011261 from devel:languages:python Dominique Leuenberger 2022-10-18 10:44:13 +0000
  • 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. Dirk Mueller 2022-10-16 17:45:36 +0000
  • d3204621ea Accepting request 1009218 from devel:languages:python Dominique Leuenberger 2022-10-12 16:22:53 +0000
  • 74f2435244 Accepting request 1009201 from home:bnavigator:branches:devel:languages:python Daniel Garcia 2022-10-10 05:24:48 +0000
  • 4c036cfea8 Accepting request 982569 from devel:languages:python Dominique Leuenberger 2022-06-17 19:18:17 +0000
  • 9675953a63 Accepting request 982468 from home:bnavigator:branches:devel:languages:python Dirk Mueller 2022-06-14 07:39:05 +0000
  • 10af2cfb71 Accepting request 963099 from devel:languages:python Dominique Leuenberger 2022-03-22 18:36:10 +0000
  • 3ff13d41cd Accepting request 963086 from home:bnavigator:branches:devel:languages:python Matej Cepl 2022-03-19 23:02:39 +0000
  • 14a6b1cfdf Accepting request 947747 from devel:languages:python Dominique Leuenberger 2022-01-23 11:15:02 +0000
  • 483959e724 - Correct exclusion of test_recursion_error_is_not_flaky for 3.10. Matej Cepl 2022-01-20 16:04:53 +0000
  • b9a8e1e5cf Accepting request 947060 from devel:languages:python Dominique Leuenberger 2022-01-19 23:12:08 +0000
  • e66867f8b5 - Skip also test_recursion_error_is_not_flaky (gh#HypothesisWorks/hypothesis#3035) Matej Cepl 2022-01-10 20:38:11 +0000
  • 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. Matej Cepl 2022-01-10 20:28:02 +0000
  • 1187142ce4 Accepting request 940474 from devel:languages:python Dominique Leuenberger 2021-12-16 20:19:32 +0000
  • 568edb6fe5 Accepting request 940071 from home:bnavigator:branches:devel:languages:python Matej Cepl 2021-12-14 13:03:46 +0000
  • 32f4615057 - fix requires Dirk Mueller 2021-12-06 18:10:44 +0000
  • b9e49095d5 - Fix filelist Matej Cepl 2021-12-06 09:35:57 +0000
  • 1623c6095a Accepting request 935844 from home:DocB:branches:devel:languages:python Matej Cepl 2021-12-06 09:30:18 +0000
  • fa11581e41 Accepting request 904587 from devel:languages:python Dominique Leuenberger 2021-07-10 20:54:03 +0000
  • 52b8bc4f27 Accepting request 904558 from home:alarrosa:branches:devel:languages:python Markéta Machová 2021-07-07 12:40:30 +0000
  • ef1c8070bd Accepting request 881273 from devel:languages:python Richard Brown 2021-04-01 12:15:53 +0000
  • 9c901a6b73 Accepting request 880417 from home:bnavigator:branches:devel:languages:python Matej Cepl 2021-03-25 07:53:05 +0000
  • 1d7ce7e0cc Accepting request 849393 from devel:languages:python Dominique Leuenberger 2020-11-21 11:41:17 +0000
  • 92dd3f33b7 Accepting request 849146 from home:wicked:qubes-build Markéta Machová 2020-11-19 11:58:51 +0000
  • 47e38dcd39 Accepting request 847790 from devel:languages:python Dominique Leuenberger 2020-11-12 21:33:15 +0000
  • fd384a458d - update to 5.41.2: * long list of changes and improvements, see https://hypothesis.readthedocs.io/en/latest/changes.html#v5-41-2 Dirk Mueller 2020-11-11 12:23:09 +0000
  • 00f79c468f Accepting request 826724 from devel:languages:python Dominique Leuenberger 2020-08-25 10:36:13 +0000
  • 55a827aaae Accepting request 826112 from home:bnavigator:branches:devel:languages:python Matej Cepl 2020-08-14 21:42:04 +0000
  • cc190c1b51 Accepting request 818623 from devel:languages:python Dominique Leuenberger 2020-07-06 14:19:03 +0000
  • 57405b4e11 Accepting request 818622 from home:alarrosa:branches:devel:languages:python Antonio Larrosa 2020-07-03 16:35:41 +0000
  • 871ef1725c Accepting request 818385 from home:alarrosa:branches:devel:languages:python Tomáš Chvátal 2020-07-03 09:39:07 +0000
  • d27fd6bd58 Accepting request 808025 from devel:languages:python Yuchen Lin 2020-05-29 19:19:59 +0000
  • a1bae1b53b - Add failing-test_array_values_are_unique_high_collision.patch to avoid failing test on i586 (gh#HypothesisWorks/hypothesis#2447) Matej Cepl 2020-05-21 14:56:46 +0000
  • b3de46ad16 Accepting request 802287 from devel:languages:python Dominique Leuenberger 2020-05-11 11:26:15 +0000
  • 7a7fdd8a5e Accepting request 802269 from home:apersaud:branches:devel:languages:python Tomáš Chvátal 2020-05-09 17:32:16 +0000
  • 25206f76dc Accepting request 797702 from devel:languages:python Dominique Leuenberger 2020-05-01 09:04:50 +0000
  • 508f1f5a93 Accepting request 797684 from home:apersaud:branches:devel:languages:python Tomáš Chvátal 2020-04-25 17:00:42 +0000
  • a2621d7dbb Accepting request 794613 from devel:languages:python Dominique Leuenberger 2020-04-19 19:49:47 +0000
  • 3cacc65039 Accepting request 792740 from home:mcalabkova:branches:devel:languages:python Tomáš Chvátal 2020-04-09 13:45:48 +0000
  • 68da69e617 Accepting request 756672 from home:apersaud:branches:devel:languages:python Tomáš Chvátal 2019-12-13 08:25:59 +0000
  • bb005777ae Accepting request 755169 from devel:languages:python Dominique Leuenberger 2019-12-11 11:11:11 +0000
  • 05ab55b24a Accepting request 754981 from home:apersaud:branches:devel:languages:python Tomáš Chvátal 2019-12-09 09:18:56 +0000
  • 5ac49fd4a2 Accepting request 751830 from devel:languages:python Dominique Leuenberger 2019-12-07 14:19:15 +0000
  • a9e250960b Accepting request 750595 from home:apersaud:branches:devel:languages:python Tomáš Chvátal 2019-11-29 09:43:48 +0000
  • 507a90c5c3 Accepting request 743987 from devel:languages:python Dominique Leuenberger 2019-11-04 16:10:36 +0000
  • 3fef0d7bad Accepting request 738905 from home:mcalabkova:branches:devel:languages:python Tomáš Chvátal 2019-10-16 15:28:26 +0000
  • b66dacb5f4 Accepting request 725982 from devel:languages:python Dominique Leuenberger 2019-08-27 08:11:41 +0000
  • 715694d8f6 Accepting request 725971 from home:apersaud:branches:devel:languages:python Tomáš Chvátal 2019-08-25 23:05:18 +0000
  • 52c103be36 Accepting request 720895 from devel:languages:python Dominique Leuenberger 2019-08-15 10:23:50 +0000
  • 436d57d445 Accepting request 720887 from home:apersaud:branches:devel:languages:python Tomáš Chvátal 2019-08-04 17:01:28 +0000
  • 408be7c3ee Accepting request 719519 from devel:languages:python Dominique Leuenberger 2019-07-30 11:06:49 +0000
  • 507e2757e3 Accepting request 719415 from home:apersaud:branches:devel:languages:python Tomáš Chvátal 2019-07-29 08:41:40 +0000
  • 5558dbf786 - Update to 4.28.2: * Various bugfixes and deprecations all around Tomáš Chvátal 2019-07-22 13:12:41 +0000
  • 2bf6964a0f Accepting request 708933 from devel:languages:python Dominique Leuenberger 2019-06-13 20:38:29 +0000
  • 812634a3d3 Accepting request 708789 from home:apersaud:branches:devel:languages:python Tomáš Chvátal 2019-06-10 08:15:30 +0000
  • 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() Ondřej Súkup 2019-06-06 09:04:16 +0000
  • 66c1f49494 Accepting request 702824 from devel:languages:python Dominique Leuenberger 2019-05-17 21:37:18 +0000
  • 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. Ondřej Súkup 2019-05-14 11:06:57 +0000
  • 8550db1947 Accepting request 701259 from devel:languages:python Dominique Leuenberger 2019-05-07 21:13:01 +0000