Skip to content

Commit f79c48f

Browse files
committed
Bump hypothesis-python version to 6.130.10 and update changelog
[skip ci]
1 parent 5447362 commit f79c48f

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

hypothesis-python/RELEASE.rst

-7
This file was deleted.

hypothesis-python/docs/changelog.rst

+12
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,18 @@ Hypothesis 6.x
1818

1919
.. include:: ../RELEASE.rst
2020

21+
.. _v6.130.10:
22+
23+
---------------------
24+
6.130.10 - 2025-04-07
25+
---------------------
26+
27+
This patch deprecates creating a database using the abstract ``ExampleDatabase()`` class. Use one of the following instead:
28+
29+
* Replace ``ExampleDatabase(":memory:")`` with |InMemoryExampleDatabase|.
30+
* Replace ``ExampleDatabase("/path/to/dir")`` with |DirectoryBasedExampleDatabase|.
31+
* Replace ``ExampleDatabase()`` with either |InMemoryExampleDatabase| or |DirectoryBasedExampleDatabase|, depending on your needs. Previously, Hypothesis interpreted ``ExampleDatabase()`` as a |DirectoryBasedExampleDatabase| in the default ``.hypothesis`` directory, with a fallback to |InMemoryExampleDatabase| if that location was not available.
32+
2133
.. _v6.130.9:
2234

2335
--------------------

hypothesis-python/src/hypothesis/database.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def __call__(self, *args: Any, **kwargs: Any) -> "ExampleDatabase":
119119
"InMemoryExampleDatabase() or DirectoryBasedExampleDatabase(path). "
120120
'In particular, the special string ExampleDatabase(":memory:") '
121121
"should be replaced by InMemoryExampleDatabase().",
122-
since="RELEASEDAY",
122+
since="2025-04-07",
123123
has_codemod=False,
124124
)
125125
return _db_for_path(*args, **kwargs)

hypothesis-python/src/hypothesis/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
99
# obtain one at https://mozilla.org/MPL/2.0/.
1010

11-
__version_info__ = (6, 130, 9)
11+
__version_info__ = (6, 130, 10)
1212
__version__ = ".".join(map(str, __version_info__))

0 commit comments

Comments
 (0)