Skip to content

Commit

Permalink
1.1.1
Browse files Browse the repository at this point in the history
1. Fix: Fix an incompatibility issue when `urllib3` is used in `Python==3.6`.
  • Loading branch information
cainmagi committed Feb 5, 2024
1 parent a1f6d7d commit 9e3f4d0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@

## CHANGELOG

### 1.1.1 @ 1/22/2024

#### :wrench: Fix

1. Fix: Fix an incompatibility issue when `urllib3` is used in `Python==3.6`.

### 1.1.0 @ 1/22/2024

#### :mega: New
Expand Down
2 changes: 1 addition & 1 deletion syncstream/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@

__all__ = ("__version__",)

__version__ = "1.1.0"
__version__ = "1.1.1"
5 changes: 4 additions & 1 deletion tests/test_host.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

import sys
import time
import json
import warnings
import threading
import multiprocessing
Expand Down Expand Up @@ -227,9 +228,11 @@ def verify_online(address: str, retries: int = 5) -> None:
with _http.request(
method="get",
url="{addr}/is-online".format(addr=address),
preload_content=False,
) as req:
if req.status < 400:
if req.json()["message"] == "success":
res = json.load(req)
if res["message"] == "success":
return
raise ConnectionError("test.connect: Fail to connect to the server.")

Expand Down

0 comments on commit 9e3f4d0

Please sign in to comment.