Skip to content

Commit 4d4baca

Browse files
authored
Merge pull request #537 from splitio/async-release
Async release 10.0.0
2 parents a2bdea2 + bcceacc commit 4d4baca

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

CHANGES.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
10.0.0 (XXX XX, XXXX)
1+
10.0.0 (Jun 27, 2024)
22
- Added support for asyncio library
33
- BREAKING CHANGE: Minimum supported Python version is 3.7.16
44

setup.cfg

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
universal = 1
33

44
[metadata]
5-
description-file = README.md
5+
name = splitio_client
6+
description = This SDK is designed to work with Split, the platform for controlled rollouts, which serves features to your users via a Split feature flag to manage your complete customer experience.
7+
long_description = file: README.md
8+
long_description_content_type = text/markdown
69

710
[flake8]
811
max-line-length=100

splitio/storage/adapters/redis.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -765,6 +765,7 @@ async def _build_default_client_async(config): # pylint: disable=too-many-local
765765
host = config.get('redisHost', 'localhost')
766766
port = config.get('redisPort', 6379)
767767
database = config.get('redisDb', 0)
768+
username = config.get('redisUsername', None)
768769
password = config.get('redisPassword', None)
769770
socket_timeout = config.get('redisSocketTimeout', None)
770771
socket_connect_timeout = config.get('redisSocketConnectTimeout', None)
@@ -789,6 +790,7 @@ async def _build_default_client_async(config): # pylint: disable=too-many-local
789790
"redis://" + host + ":" + str(port),
790791
db=database,
791792
password=password,
793+
username=username,
792794
max_connections=max_connections,
793795
encoding=encoding,
794796
decode_responses=decode_responses,

tests/integration/test_streaming_e2e.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1952,7 +1952,6 @@ async def test_streaming_status_changes(self):
19521952

19531953
assert await factory.client().get_treatment('maldo', 'split1') == 'on'
19541954
assert task.running()
1955-
assert 'PushStatusHandler' not in [t.name for t in threading.enumerate()]
19561955

19571956
# Validate the SSE request
19581957
sse_request = sse_requests.get()
@@ -2385,7 +2384,6 @@ async def test_ably_errors_handling(self):
23852384

23862385
# Assert sync-task is running and the streaming status handler thread is over
23872386
assert task.running()
2388-
assert 'PushStatusHandler' not in [t.name for t in threading.enumerate()]
23892387

23902388
# Validate the SSE requests
23912389
sse_request = sse_requests.get()

0 commit comments

Comments
 (0)