diff options
| author | robot-piglet <[email protected]> | 2026-01-07 23:21:54 +0300 |
|---|---|---|
| committer | robot-piglet <[email protected]> | 2026-01-07 23:34:20 +0300 |
| commit | 8a9f8870de4a24d01176e7d2a5cabb53bb17549b (patch) | |
| tree | 9dbfc543e1104ba46ada42559c12ad4b358b5a5a /contrib/python/hypothesis | |
| parent | 8c0625cc1b386ce8f8b9b60909b97fddf07b87f2 (diff) | |
Intermediate changes
commit_hash:5a67727c407f7fff03bad8348c4c1a4925c8b57f
Diffstat (limited to 'contrib/python/hypothesis')
5 files changed, 20 insertions, 10 deletions
diff --git a/contrib/python/hypothesis/py3/.dist-info/METADATA b/contrib/python/hypothesis/py3/.dist-info/METADATA index 7d3b5befe37..3cd9414ccc7 100644 --- a/contrib/python/hypothesis/py3/.dist-info/METADATA +++ b/contrib/python/hypothesis/py3/.dist-info/METADATA @@ -1,6 +1,6 @@ Metadata-Version: 2.4 Name: hypothesis -Version: 6.148.7 +Version: 6.148.8 Summary: The property-based testing library for Python Author-email: "David R. MacIver and Zac Hatfield-Dodds" <[email protected]> License-Expression: MPL-2.0 @@ -60,10 +60,10 @@ Requires-Dist: dpcontracts>=0.4; extra == "dpcontracts" Provides-Extra: redis Requires-Dist: redis>=3.0.0; extra == "redis" Provides-Extra: crosshair -Requires-Dist: hypothesis-crosshair>=0.0.26; extra == "crosshair" -Requires-Dist: crosshair-tool>=0.0.99; extra == "crosshair" +Requires-Dist: hypothesis-crosshair>=0.0.27; extra == "crosshair" +Requires-Dist: crosshair-tool>=0.0.101; extra == "crosshair" Provides-Extra: zoneinfo -Requires-Dist: tzdata>=2025.2; (sys_platform == "win32" or sys_platform == "emscripten") and extra == "zoneinfo" +Requires-Dist: tzdata>=2025.3; (sys_platform == "win32" or sys_platform == "emscripten") and extra == "zoneinfo" Provides-Extra: django Requires-Dist: django>=4.2; extra == "django" Provides-Extra: watchdog @@ -71,10 +71,10 @@ Requires-Dist: watchdog>=4.0.0; extra == "watchdog" Provides-Extra: all Requires-Dist: black>=20.8b0; extra == "all" Requires-Dist: click>=7.0; extra == "all" -Requires-Dist: crosshair-tool>=0.0.99; extra == "all" +Requires-Dist: crosshair-tool>=0.0.101; extra == "all" Requires-Dist: django>=4.2; extra == "all" Requires-Dist: dpcontracts>=0.4; extra == "all" -Requires-Dist: hypothesis-crosshair>=0.0.26; extra == "all" +Requires-Dist: hypothesis-crosshair>=0.0.27; extra == "all" Requires-Dist: lark>=0.10.1; extra == "all" Requires-Dist: libcst>=0.3.16; extra == "all" Requires-Dist: numpy>=1.21.6; extra == "all" @@ -84,7 +84,7 @@ Requires-Dist: python-dateutil>=1.4; extra == "all" Requires-Dist: pytz>=2014.1; extra == "all" Requires-Dist: redis>=3.0.0; extra == "all" Requires-Dist: rich>=9.0.0; extra == "all" -Requires-Dist: tzdata>=2025.2; (sys_platform == "win32" or sys_platform == "emscripten") and extra == "all" +Requires-Dist: tzdata>=2025.3; (sys_platform == "win32" or sys_platform == "emscripten") and extra == "all" Requires-Dist: watchdog>=4.0.0; extra == "all" Dynamic: license-file diff --git a/contrib/python/hypothesis/py3/hypothesis/internal/conjecture/providers.py b/contrib/python/hypothesis/py3/hypothesis/internal/conjecture/providers.py index a88e39997bd..f1feae0f5f3 100644 --- a/contrib/python/hypothesis/py3/hypothesis/internal/conjecture/providers.py +++ b/contrib/python/hypothesis/py3/hypothesis/internal/conjecture/providers.py @@ -170,6 +170,8 @@ _constant_strings = { "if", "then", "else", + "__dict__", + "__proto__", # javascript # strings which can be interpreted as a number "0", "1e100", diff --git a/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/datetime.py b/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/datetime.py index 7fbbdd0cf90..62d97b91fee 100644 --- a/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/datetime.py +++ b/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/datetime.py @@ -10,6 +10,7 @@ import datetime as dt import operator as op +import warnings import zoneinfo from calendar import monthrange from functools import cache, partial @@ -420,7 +421,14 @@ def timezone_keys( # check_type(bool, allow_deprecated, "allow_deprecated") check_type(bool, allow_prefix, "allow_prefix") - available_timezones = ("UTC", *sorted(zoneinfo.available_timezones())) + with warnings.catch_warnings(): + try: + warnings.simplefilter("ignore", EncodingWarning) + except NameError: # pragma: no cover + pass + # On Python 3.12 (and others?), `available_timezones()` opens files + # without specifying an encoding - which our selftests make an error. + available_timezones = ("UTC", *sorted(zoneinfo.available_timezones())) # TODO: filter out alias and deprecated names if disallowed diff --git a/contrib/python/hypothesis/py3/hypothesis/version.py b/contrib/python/hypothesis/py3/hypothesis/version.py index 742d0039769..755ea0d3057 100644 --- a/contrib/python/hypothesis/py3/hypothesis/version.py +++ b/contrib/python/hypothesis/py3/hypothesis/version.py @@ -8,5 +8,5 @@ # v. 2.0. If a copy of the MPL was not distributed with this file, You can # obtain one at https://mozilla.org/MPL/2.0/. -__version_info__ = (6, 148, 7) +__version_info__ = (6, 148, 8) __version__ = ".".join(map(str, __version_info__)) diff --git a/contrib/python/hypothesis/py3/ya.make b/contrib/python/hypothesis/py3/ya.make index b11caef1717..a895ac419fa 100644 --- a/contrib/python/hypothesis/py3/ya.make +++ b/contrib/python/hypothesis/py3/ya.make @@ -2,7 +2,7 @@ PY3_LIBRARY() -VERSION(6.148.7) +VERSION(6.148.8) LICENSE(MPL-2.0) |
