Skip to content

Commit 7d796f2

Browse files
authored
Mark the client version as 4.2.1 for the next development cycle (#438)
Set the client version to 4.2.1 and mark the minimum client version of the newly added test as 4.2.1.
1 parent 711f4a6 commit 7d796f2

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@
7272
# built documents.
7373
#
7474
# The short X.Y version.
75-
version = "4.2"
75+
version = "4.2.1"
7676
# The full version, including alpha/beta/rc tags.
77-
release = "4.2"
77+
release = "4.2.1"
7878

7979
autodoc_member_order = "bysource"
8080
autoclass_content = "both"

hazelcast/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "4.2"
1+
__version__ = "4.2.1"
22

33
# Set the default handler to "hazelcast" loggers
44
# to avoid "No handlers could be found" warnings.

tests/integration/backward_compatible/proxy/map_test.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
fill_map,
1818
is_server_version_older_than,
1919
get_current_timestamp,
20+
mark_client_version_at_least,
2021
)
2122
from hazelcast import six
2223
from hazelcast.six.moves import range
@@ -403,6 +404,10 @@ def test_put_get(self):
403404
self.assertEqual(self.map.get("key"), "value")
404405

405406
def test_put_get_large_payload(self):
407+
# The fix for reading large payloads is introduced in 4.2.1
408+
# See https://github.com/hazelcast/hazelcast-python-client/pull/436
409+
mark_client_version_at_least(self, "4.2.1")
410+
406411
payload = bytearray(os.urandom(16 * 1024 * 1024))
407412
start = get_current_timestamp()
408413
self.assertIsNone(self.map.put("key", payload))

0 commit comments

Comments
 (0)