Skip to content

Commit a23cc2f

Browse files
committed
ADD: Python client support for Python 3.12
1 parent 3acf1bd commit a23cc2f

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
os: [ubuntu-latest, macos-latest, windows-latest]
13-
python-version: ["3.8", "3.9", "3.10", "3.11"]
13+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1414
name: build - Python ${{ matrix.python-version }} (${{ matrix.os }})
1515
runs-on: ${{ matrix.os }}
1616

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
## 0.24.0 - TBD
44

5-
This release adds support for DBN v2.
5+
This release adds support for DBN v2 as well as Python v3.12.
66

77
#### Enhancements
8+
- Added support for Python 3.12
89
- Improved the performance for stream writes in the `Live` client
910
- Upgraded `databento-dbn` to 0.14.2
1011
- Added `databento.common.types` module to hold common type annotations

pyproject.toml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,15 @@ repository = "https://github.com/databento/databento-python"
2828

2929
[tool.poetry.dependencies]
3030
python = "^3.8"
31-
aiohttp = "^3.8.3"
31+
aiohttp = [
32+
{version = "^3.8.3", python = "<3.12"},
33+
{version = "^3.9.0", python = "^3.12"}
34+
]
3235
databento-dbn = "0.14.2"
33-
numpy = ">=1.23.5"
36+
numpy = [
37+
{version = ">=1.23.5", python = "<3.12"},
38+
{version = "^1.26.0", python = "^3.12"}
39+
]
3440
pandas = ">=1.5.3"
3541
requests = ">=2.24.0"
3642
zstandard = ">=0.21.0"

tests/conftest.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -215,11 +215,6 @@ async def fixture_mock_live_server(
215215

216216
yield mock_live_server
217217

218-
asyncio.run_coroutine_threadsafe(
219-
coro=mock_live_server.stop(),
220-
loop=loop,
221-
).result()
222-
223218
loop.run_in_executor(
224219
None,
225220
loop.stop,

0 commit comments

Comments
 (0)