Skip to content

Commit 2d95350

Browse files
committed
BLD: Drop support for Python 3.9 in databento
1 parent 3d1def2 commit 2d95350

File tree

5 files changed

+40
-37
lines changed

5 files changed

+40
-37
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v5
1717
- uses: actions/setup-python@v5
1818
with:
19-
python-version: "3.10"
19+
python-version: "3.12"
2020
- uses: snok/install-poetry@v1
2121
with:
2222
virtualenvs-create: true
@@ -32,7 +32,7 @@ jobs:
3232
sed -n '/^## /{n; :a; /^## /q; p; n; ba}' CHANGELOG.md >> NOTES.md
3333
3434
- name: Release
35-
uses: softprops/action-gh-release@v1
35+
uses: softprops/action-gh-release@v2
3636
with:
3737
fail_on_unmatched_files: true
3838
append_body: true

.github/workflows/test.yml

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

1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@v5
1919
- uses: actions/setup-python@v5
2020
with:
2121
python-version: ${{ matrix.python-version }}

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
#### Enhancements
99
- Added export of `CBBOMsg` and `BBOMsg` from `databento_dbn` to the root `databento` package
1010

11+
#### Breaking changes
12+
- Removed support for Python 3.9 due to end of life
13+
1114
## 0.64.0 - 2025-09-30
1215

1316
#### Enhancements

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ You can find our full client API reference on the [Historical Reference](https:/
2828
[Examples](https://databento.com/docs/examples?historical=python&live=python) section for various tutorials and code samples.
2929

3030
## Requirements
31-
The library is fully compatible with the latest distribution of Anaconda 3.9 and above.
31+
The library is fully compatible with distributions of Anaconda 2023.x and above.
3232
The minimum dependencies as found in the `pyproject.toml` are also listed below:
33-
- python = "^3.9"
33+
- python = "^3.10"
3434
- aiohttp = "^3.8.3"
3535
- databento-dbn = "~0.42.0"
3636
- numpy = ">=1.23.5"

pyproject.toml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
1-
[tool.poetry]
1+
[project]
22
name = "databento"
33
version = "0.64.0"
44
description = "Official Python client library for Databento"
5-
authors = [
6-
"Databento <[email protected]>",
7-
]
8-
license = "Apache License 2.0"
9-
packages = [
10-
{include = "databento"},
11-
{include = "databento/py.typed"},
12-
]
5+
readme = "README.md"
6+
requires-python = ">=3.10"
7+
license = "Apache-2.0"
8+
authors = [{ name = "Databento", email = "[email protected]" }]
139
classifiers = [
1410
"Development Status :: 4 - Beta",
1511
"Operating System :: OS Independent",
@@ -18,30 +14,34 @@ classifiers = [
1814
"Topic :: Office/Business :: Financial",
1915
"Topic :: Office/Business :: Financial :: Investment",
2016
]
21-
readme = "README.md"
22-
documentation = "https://databento.com/docs"
23-
homepage = "https://databento.com"
24-
repository = "https://github.com/databento/databento-python"
17+
dependencies = [
18+
"aiohttp>=3.8.3,<4.0.0; python_version < '3.12'",
19+
"aiohttp>=3.9.0,<4.0.0; python_version >= '3.12'",
20+
"databento-dbn~=0.42.0",
21+
"numpy>=1.23.5; python_version < '3.12'",
22+
"numpy>=1.26.0; python_version >= '3.12'",
23+
"pandas>=1.5.3",
24+
"pip-system-certs>=4.0; platform_system == 'Windows'",
25+
"pyarrow>=13.0.0",
26+
"requests>=2.27.0",
27+
"zstandard>=0.21.0",
28+
]
2529

26-
[tool.poetry.urls]
30+
[project.urls]
31+
Homepage = "https://databento.com"
32+
Documentation = "https://databento.com/docs"
33+
Repository = "https://github.com/databento/databento-python"
2734
"Bug Tracker" = "https://github.com/databento/databento-python/issues"
2835

29-
[tool.poetry.dependencies]
30-
python = "^3.9"
31-
aiohttp = [
32-
{version = "^3.8.3", python = "<3.12"},
33-
{version = "^3.9.0", python = "^3.12"}
34-
]
35-
databento-dbn = "~=0.42.0"
36-
numpy = [
37-
{version = ">=1.23.5", python = "<3.12"},
38-
{version = ">=1.26.0", python = "^3.12"}
36+
[tool.poetry]
37+
requires-poetry = ">=2.0"
38+
packages = [
39+
{ include = "databento" },
40+
{ include = "databento/py.typed" },
3941
]
40-
pandas = ">=1.5.3"
41-
pip-system-certs = {version=">=4.0", markers="platform_system == 'Windows'"}
42-
pyarrow = ">=13.0.0"
43-
requests = ">=2.27.0"
44-
zstandard = ">=0.21.0"
42+
43+
[tool.poetry.dependencies]
44+
requires-python = ">=3.10,<3.14"
4545

4646
[tool.poetry.group.dev.dependencies]
4747
black = "^23.9.1"
@@ -63,7 +63,7 @@ build-backend = "poetry.core.masonry.api"
6363
line_length = 100
6464

6565
[tool.mypy]
66-
python_version = 3.9
66+
python_version = "3.10"
6767
disallow_untyped_defs = true
6868
disallow_any_generics = true
6969
disallow_subclassing_any = true

0 commit comments

Comments
 (0)