Skip to content

Commit a35f21f

Browse files
authored
VER: Release 0.44.0
See release notes.
2 parents fd8276b + 0ca4bc3 commit a35f21f

File tree

8 files changed

+15
-10
lines changed

8 files changed

+15
-10
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## 0.44.0 - 2024-10-22
4+
5+
#### Enhancements
6+
- Removed deprecated `databento.from_dbn`; `databento.read_dbn` can be used instead
7+
- Upgraded `databento-dbn` to 0.23.0
8+
9+
#### Bug fixes
10+
- Fixed an issue where `DBNStore.request_symbology` could request the wrong end date
11+
312
## 0.43.1 - 2024-10-15
413

514
#### Enhancements

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The library is fully compatible with the latest distribution of Anaconda 3.9 and
3232
The minimum dependencies as found in the `pyproject.toml` are also listed below:
3333
- python = "^3.9"
3434
- aiohttp = "^3.8.3"
35-
- databento-dbn = "0.22.1"
35+
- databento-dbn = "0.23.0"
3636
- numpy= ">=1.23.5"
3737
- pandas = ">=1.5.3"
3838
- pip-system-certs = ">=4.0" (Windows only)

databento/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
from databento.common.publishers import Venue
4545
from databento.common.symbology import InstrumentMap
4646
from databento.common.types import DBNRecord
47-
from databento.common.validation import deprecated
4847
from databento.historical.client import Historical
4948
from databento.live.client import Live
5049
from databento.reference.client import Reference
@@ -110,7 +109,6 @@
110109

111110
# Convenience imports
112111
enable_logging = bentologging.enable_logging
113-
from_dbn = deprecated("databento.from_dbn")(DBNStore.from_file)
114112
read_dbn = DBNStore.from_file
115113
map_symbols_csv = symbology.map_symbols_csv
116114
map_symbols_json = symbology.map_symbols_json

databento/common/dbnstore.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -771,10 +771,8 @@ def request_symbology(self, client: Historical) -> dict[str, Any]:
771771
"""
772772
if self.end is None:
773773
end_date = None
774-
elif self.start.date() == self.end.date():
775-
end_date = (self.start + pd.Timedelta(days=1)).date()
776774
else:
777-
end_date = self.end
775+
end_date = self.end.ceil(freq="D").date()
778776

779777
return client.symbology.resolve(
780778
dataset=self.dataset,

databento/version.py

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

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "databento"
3-
version = "0.43.1"
3+
version = "0.44.0"
44
description = "Official Python client library for Databento"
55
authors = [
66
"Databento <[email protected]>",
@@ -27,12 +27,12 @@ repository = "https://github.com/databento/databento-python"
2727
"Bug Tracker" = "https://github.com/databento/databento-python/issues"
2828

2929
[tool.poetry.dependencies]
30-
python = "^3.9"
30+
python = ">=3.9,<3.13"
3131
aiohttp = [
3232
{version = "^3.8.3", python = "<3.12"},
3333
{version = "^3.9.0", python = "^3.12"}
3434
]
35-
databento-dbn = "0.22.1"
35+
databento-dbn = "0.23.0"
3636
numpy = [
3737
{version = ">=1.23.5", python = "<3.12"},
3838
{version = ">=1.26.0", python = "^3.12"}
297 Bytes
Binary file not shown.
261 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)