Skip to content

Commit 617d006

Browse files
authored
VER: Release 0.18.1
See release notes.
2 parents 5b7d43a + a062a43 commit 617d006

File tree

5 files changed

+15
-16
lines changed

5 files changed

+15
-16
lines changed

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
# Changelog
22

3+
## 0.18.1 - 2023-08-16
4+
5+
#### Bug fixes
6+
- Fixed issue where extra `python` key was sent by the `Live` client
7+
38
## 0.18.0 - 2023-08-14
49

510
#### Breaking changes
611
- Renamed the `TimeSeriesHttpAPI` class to `TimeseriesHttpAPI`
712

8-
#### Bug Fixes
9-
- Fixed an issue where `DBNStore.to_csv()`, `DBNStore.to_df()`, `DBNStore.to_json()`, and `DBNStore.to_ndarray()` would consume large amounts of memory.
13+
#### Bug fixes
14+
- Fixed an issue where `DBNStore.to_csv()`, `DBNStore.to_df()`, `DBNStore.to_json()`, and `DBNStore.to_ndarray()` would consume large amounts of memory
1015

1116
## 0.17.0 - 2023-08-10
1217

databento/live/gateway.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
from databento_dbn import SType
1313

1414
from databento.common.enums import Dataset
15-
from databento.version import __version__
1615

1716

1817
logger = logging.getLogger(__name__)
@@ -109,7 +108,6 @@ class AuthenticationRequest(GatewayControl):
109108
encoding: Encoding = Encoding.DBN
110109
details: str | None = None
111110
ts_out: str = "0"
112-
client: str = f"Python {__version__}"
113111

114112

115113
@dataclasses.dataclass

databento/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.18.0"
1+
__version__ = "0.18.1"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "databento"
3-
version = "0.18.0"
3+
version = "0.18.1"
44
description = "Official Python client library for Databento"
55
authors = [
66
"Databento <[email protected]>",

tests/test_live_gateway_messages.py

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
from databento.live.gateway import Greeting
1010
from databento.live.gateway import SessionStart
1111
from databento.live.gateway import SubscriptionRequest
12-
from databento.version import __version__
1312
from databento_dbn import Encoding
1413
from databento_dbn import Schema
1514
from databento_dbn import SType
@@ -30,29 +29,27 @@
3029
"line, expected",
3130
[
3231
pytest.param(
33-
f"auth=abcd1234|dataset=GLBX.MDP3|encoding=json|client=Python {__version__}\n",
34-
("abcd1234", "GLBX.MDP3", "json", None, "0", f"Python {__version__}"),
32+
"auth=abcd1234|dataset=GLBX.MDP3|encoding=json\n",
33+
("abcd1234", "GLBX.MDP3", "json", None, "0"),
3534
),
3635
pytest.param(
37-
f"auth=abcd1234|dataset=GLBX.MDP3|ts_out=1|client=Python {__version__}\n",
36+
"auth=abcd1234|dataset=GLBX.MDP3|ts_out=1\n",
3837
(
3938
"abcd1234",
4039
"GLBX.MDP3",
4140
str(Encoding.DBN),
4241
None,
4342
"1",
44-
f"Python {__version__}",
4543
),
4644
),
4745
pytest.param(
48-
f"auth=abcd1234|dataset=XNAS.ITCH|client=Python {__version__}\n",
46+
"auth=abcd1234|dataset=XNAS.ITCH\n",
4947
(
5048
"abcd1234",
5149
"XNAS.ITCH",
5250
str(Encoding.DBN),
5351
None,
5452
"0",
55-
f"Python {__version__}",
5653
),
5754
),
5855
pytest.param(
@@ -76,7 +73,6 @@ def test_parse_authentication_request(
7673
msg.encoding,
7774
msg.details,
7875
msg.ts_out,
79-
msg.client,
8076
) == expected
8177
else:
8278
with pytest.raises(expected):
@@ -91,15 +87,15 @@ def test_parse_authentication_request(
9187
auth="abcd1234",
9288
dataset=Dataset.GLBX_MDP3,
9389
),
94-
f"auth=abcd1234|dataset=GLBX.MDP3|encoding=dbn|ts_out=0|client=Python {__version__}\n".encode(),
90+
b"auth=abcd1234|dataset=GLBX.MDP3|encoding=dbn|ts_out=0\n",
9591
),
9692
pytest.param(
9793
AuthenticationRequest(
9894
auth="abcd1234",
9995
dataset=Dataset.XNAS_ITCH,
10096
ts_out="1",
10197
),
102-
f"auth=abcd1234|dataset=XNAS.ITCH|encoding=dbn|ts_out=1|client=Python {__version__}\n".encode(),
98+
b"auth=abcd1234|dataset=XNAS.ITCH|encoding=dbn|ts_out=1\n",
10399
),
104100
],
105101
)

0 commit comments

Comments
 (0)