Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hypothesis for openSUSE:Factory checked in at 2023-05-19 11:55:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-hypothesis (Old) and /work/SRC/openSUSE:Factory/.python-hypothesis.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-hypothesis" Fri May 19 11:55:16 2023 rev:65 rq:1087109 version:6.75.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-hypothesis/python-hypothesis.changes 2023-04-22 22:01:24.837558494 +0200 +++ /work/SRC/openSUSE:Factory/.python-hypothesis.new.1533/python-hypothesis.changes 2023-05-19 11:55:45.227342973 +0200 @@ -1,0 +2,156 @@ +Sun May 14 15:30:18 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- 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 + +------------------------------------------------------------------- +Wed May 10 16:11:33 UTC 2023 - Daniel Garcia <daniel.gar...@suse.com> + +- 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). +- 6.72.2 + * This patch refactors our internals to facilitate an upcoming feature. +- 6.72.1 + * This patch fixes some documentation and prepares for future features. +- 6.72.0 + * This release deprecates Healthcheck.all(), and adds a codemod to + automatically replace it with list(Healthcheck) (issue #3596). +- 6.71.0 + * This release adds GitHubArtifactDatabase, a new database backend + that allows developers to access the examples found by a Github + Actions CI job. This is particularly useful for workflows that + involve continuous fuzzing, like HypoFuzz. +- 6.70.2 + * This patch clarifies the reporting of time spent generating data. + A simple arithmetic mean of the percentage of time spent can be + misleading; reporting the actual time spent avoids + misunderstandings. +- 6.70.1 + * This patch updates our vendored list of top-level domains, which + is used by the provisional domains() strategy. +- 6.70.0 + * This release adds an optional domains= parameter to the emails() + strategy, and excludes the special-use .arpa domain from the + default strategy (issue #3567). +- 6.69.0 + * This release turns HealthCheck.return_value and + HealthCheck.not_a_test_method into unconditional errors. Passing + them to suppress_health_check= is therefore a deprecated no-op. + (issue #3568). + * Separately, GraalPy can now run and pass most of the hypothesis + test suite (issue #3587). +- 6.68.3 + * This patch updates our vendored list of top-level domains, which + is used by the provisional domains() strategy. +- 6.68.2 + * This patch fixes missing imports of the re module, when + ghostwriting tests which include compiled patterns or regex flags. + Thanks to Jens Heinrich for reporting and promptly fixing this + bug! +- 6.68.1 + * This patch adds some private hooks for use in research on + Schemathesis (see our preprint here). +- 6.68.0 + * This release adds support for the Array APIâs 2022.12 release via + the api_version argument in make_strategies_namespace(). + Concretely this involves complex support in its existing + strategies, plus an introduced xps.complex_dtypes() strategy. + * Additionally this release now treats hypothesis.extra.array_api as + stable, meaning breaking changes should only happen with major + releases of Hypothesis. +- 6.67.1 + * This patch updates our autoformatting tools, improving our code + style without any API changes. +- 6.67.0 + * This release allows for more precise generation of complex numbers + using from_dtype(), by supporting the width, min_magnitude, and + min_magnitude arguments (issue #3468). +- 6.66.2 + * This patch fixes a rare RecursionError when pretty-printing a + multi-line object without type-specific printer, which was passed + to a function which returned the same object by .map() or + builds() and thus recursed due to the new pretty reprs in + Hypothesis 6.65.0 - 2023-01-24 (issue #3560). Apologies to all + those affected. +- 6.66.1 + * This makes from_dtype() pass through the parameter allow_subnormal + for complex dtypes. +- 6.66.0 + * This release adds a width parameter to complex_numbers(), + analogously to floats(). +- 6.65.2 + * This patch fixes invalid annotations detected for the tests + generated by Ghostwritter. It will now correctly generate Optional + types with just one type argument and handle union expressions + inside of type arguments correctly. Additionally, it now supports + code with the from __future__ import annotations marker for Python + 3.10 and newer. +- 6.65.1 + * This release improves the pretty-printing of enums in falsifying + examples, so that they print as their full identifier rather than + their repr. +- 6.65.0 + * Hypothesis now reports some failing inputs by showing the call + which constructed an object, rather than the repr of the object. + This can be helpful when the default repr does not include all + relevant details, and will unlock further improvements in a future + version. + * For now, we capture calls made via builds(), and via + SearchStrategy.map(). +- 6.64.0 + * The Ghostwritter will now include type annotations on tests for + type-annotated code. If you want to force this to happen (or not + happen), pass a boolean to the new annotate= argument to the + Python functions, or the --[no-]annotate CLI flag. +- 6.63.0 + * range_indexes() now accepts a name= argument, to generate named + pandas.RangeIndex objects. +- 6.62.1 + * This patch tweaks xps.arrays() internals to improve PyTorch + compatibility. Specifically, torch.full() does not accept integers + as the shape argument (n.b. technically âsizeâ in torch), but such + behaviour is expected in internal code, so we copy the torch + module and patch in a working full() function. +- 6.62.0 + * A classic error when testing is to write a test function that can + never fail, even on inputs that arenât allowed or manually + provided. +- 6.61.3 + * This patch teaches our enhanced get_type_hints() function to âsee + throughâ partial application, allowing inference from type hints + to work in a few more cases which arenât (yet!) supported by the + standard-library version. + +------------------------------------------------------------------- Old: ---- hypothesis-python-6.61.2.tar.gz New: ---- hypothesis-python-6.75.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-hypothesis.spec ++++++ --- /var/tmp/diff_new_pack.HN2IeG/_old 2023-05-19 11:55:46.131348146 +0200 +++ /var/tmp/diff_new_pack.HN2IeG/_new 2023-05-19 11:55:46.139348192 +0200 @@ -37,7 +37,7 @@ %endif %{?sle15_python_module_pythons} Name: python-hypothesis%{psuffix} -Version: 6.61.2 +Version: 6.75.3 Release: 0 Summary: A library for property based testing License: MPL-2.0 @@ -66,8 +66,8 @@ Recommends: python-dpcontracts >= 0.4 Recommends: python-lark >= 0.10.1 Recommends: python-libcst >= 0.3.16 -Recommends: python-numpy >= 1.9.0 -Recommends: python-pandas >= 1.0 +Recommends: python-numpy >= 1.16.0 +Recommends: python-pandas >= 1.1 Recommends: python-pytest >= 4.6 Recommends: python-python-dateutil >= 1.4 Recommends: python-pytz >= 2014.1 @@ -82,7 +82,7 @@ %if %{with complete_tests} BuildRequires: %{python_module Django >= 3.2} BuildRequires: %{python_module fakeredis} -BuildRequires: %{python_module pandas >= 1.0} +BuildRequires: %{python_module pandas >= 1.1} %endif BuildRequires: %{python_module backports.zoneinfo >= 0.2.1 if %python-base < 3.9} BuildRequires: %{python_module black >= 19.10} @@ -91,7 +91,7 @@ BuildRequires: %{python_module flaky} BuildRequires: %{python_module lark >= 0.10.1} BuildRequires: %{python_module libcst >= 0.3.16} -BuildRequires: %{python_module numpy >= 1.9.0} +BuildRequires: %{python_module numpy >= 1.16.0} BuildRequires: %{python_module pexpect} BuildRequires: %{python_module pytest >= 4.6} BuildRequires: %{python_module pytest-xdist} @@ -147,6 +147,8 @@ # https://github.com/HypothesisWorks/hypothesis/issues/2546 donttest="test_updating_the_file_include_new_shrinkers" donttest+=" or test_can_learn_to_normalize_the_unnormalized" +# Fail because typing comparison +donttest+=" or test_ghostwriter_on_hypothesis" # adapted from pytest.ini in github repo toplevel dir (above hypothesis-python) echo '[pytest] addopts= ++++++ _service ++++++ --- /var/tmp/diff_new_pack.HN2IeG/_old 2023-05-19 11:55:46.207348581 +0200 +++ /var/tmp/diff_new_pack.HN2IeG/_new 2023-05-19 11:55:46.207348581 +0200 @@ -2,7 +2,7 @@ <service name="tar_scm" mode="disabled"> <param name="url">https://github.com/HypothesisWorks/hypothesis.git</param> <param name="scm">git</param> - <param name="revision">hypothesis-python-6.61.2</param> + <param name="revision">hypothesis-python-6.75.3</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">hypothesis-python-(.*)</param> <param name="subdir">hypothesis-python</param> ++++++ hypothesis-python-6.61.2.tar.gz -> hypothesis-python-6.75.3.tar.gz ++++++ ++++ 8516 lines of diff (skipped)