Skip to content

Commit b29e068

Browse files
authored
VER: Release 0.43.0
2 parents 781ee43 + 971e224 commit b29e068

File tree

24 files changed

+596
-312
lines changed

24 files changed

+596
-312
lines changed

.github/workflows/build.yaml

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

1919
steps:
2020
- name: Checkout repository
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@v5
2222

2323
- name: Set up Rust
2424
run: rustup toolchain add --profile minimal stable --component clippy,rustfmt
@@ -63,13 +63,13 @@ jobs:
6363
strategy:
6464
fail-fast: false
6565
matrix:
66-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
66+
python-version: ["3.10", "3.11", "3.12", "3.13"]
6767
name: build - Python ${{ matrix.python-version }} (aarch64 linux)
6868
runs-on: ubuntu-latest
6969

7070
steps:
7171
- name: Checkout repository
72-
uses: actions/checkout@v4
72+
uses: actions/checkout@v5
7373

7474
- name: Set up Rust
7575
run: rustup toolchain add --profile minimal stable --component clippy,rustfmt
@@ -110,13 +110,13 @@ jobs:
110110
strategy:
111111
fail-fast: false
112112
matrix:
113-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
113+
python-version: ["3.10", "3.11", "3.12", "3.13"]
114114
name: build - Python ${{ matrix.python-version }} (macOS)
115115
runs-on: macos-latest
116116

117117
steps:
118118
- name: Checkout repository
119-
uses: actions/checkout@v4
119+
uses: actions/checkout@v5
120120

121121
- name: Set up Rust
122122
run: rustup toolchain add --profile minimal stable --component clippy,rustfmt

.github/workflows/release.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
steps:
2020
- name: Checkout repository
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@v5
2222
with:
2323
fetch-depth: 2
2424

@@ -47,11 +47,11 @@ jobs:
4747
strategy:
4848
fail-fast: false
4949
matrix:
50-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
50+
python-version: ["3.10", "3.11", "3.12", "3.13"]
5151
runs-on: macos-latest
5252
steps:
5353
- name: Checkout repository
54-
uses: actions/checkout@v4
54+
uses: actions/checkout@v5
5555

5656
- name: Set up Rust
5757
run: rustup toolchain add --profile minimal stable --component clippy,rustfmt
@@ -94,11 +94,11 @@ jobs:
9494
strategy:
9595
fail-fast: false
9696
matrix:
97-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
97+
python-version: ["3.10", "3.11", "3.12", "3.13"]
9898
runs-on: windows-latest
9999
steps:
100100
- name: Checkout repository
101-
uses: actions/checkout@v4
101+
uses: actions/checkout@v5
102102

103103
- name: Set up Rust
104104
run: rustup toolchain add --profile minimal stable --component clippy,rustfmt
@@ -137,12 +137,12 @@ jobs:
137137
strategy:
138138
fail-fast: false
139139
matrix:
140-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
140+
python-version: ["3.10", "3.11", "3.12", "3.13"]
141141
target: [x86_64, aarch64]
142142
runs-on: ubuntu-latest
143143
steps:
144144
- name: Checkout repository
145-
uses: actions/checkout@v4
145+
uses: actions/checkout@v5
146146

147147
- name: Set up Rust
148148
run: rustup toolchain add --profile minimal stable --component clippy,rustfmt
@@ -181,12 +181,12 @@ jobs:
181181
strategy:
182182
fail-fast: false
183183
matrix:
184-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
184+
python-version: ["3.10", "3.11", "3.12", "3.13"]
185185
target: [x86_64-unknown-linux-musl, aarch64-unknown-linux-musl]
186186
runs-on: ubuntu-latest
187187
steps:
188188
- name: Checkout repository
189-
uses: actions/checkout@v4
189+
uses: actions/checkout@v5
190190

191191
- name: Set up Rust
192192
run: rustup toolchain add --profile minimal stable --component clippy,rustfmt
@@ -259,7 +259,7 @@ jobs:
259259
]
260260
steps:
261261
- name: Checkout repository
262-
uses: actions/checkout@v4
262+
uses: actions/checkout@v5
263263

264264
- name: Set up Rust
265265
run: rustup toolchain add --profile minimal stable --component clippy,rustfmt
@@ -322,7 +322,7 @@ jobs:
322322

323323
steps:
324324
- name: Checkout repository
325-
uses: actions/checkout@v4
325+
uses: actions/checkout@v5
326326

327327
- name: Set up Rust
328328
run: rustup toolchain add --profile minimal --target ${{ matrix.target }} stable
@@ -343,7 +343,7 @@ jobs:
343343
- name: Build release binary
344344
shell: bash
345345
run: |
346-
cargo build --verbose --release dbn-cli ${{ env.TARGET_FLAGS }}
346+
cargo build --verbose --release --bin dbn-cli ${{ env.TARGET_FLAGS }}
347347
if [ "${{ matrix.os }}" = "windows-latest" ]; then
348348
bin="target/${{ matrix.target }}/release/dbn.exe"
349349
else

CHANGELOG.md

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

3+
## 0.43.0 - 2025-10-22
4+
5+
### Enhancements
6+
- Added export of `F_PUBLISHER_SPECIFIC` constant to Python
7+
- Removed support for Python 3.9 in `databento-dbn` due to end of life
8+
- Added explicit `Unset` variant for `SystemCode` and `ErrorCode`
9+
- Changed Python getters for enum fields to return the underlying type when no known
10+
variant can be found. As a result, these getters no longer raise an exception
11+
- Added `Default` implementation for `SystemCode` and `ErrorCode`
12+
13+
### Bug fixes
14+
- Added missing Python type stubs for other flag constants
15+
316
## 0.42.0 - 2025-09-23
417

518
### Enhancements

Cargo.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ resolver = "2"
1111
[workspace.package]
1212
authors = ["Databento <[email protected]>"]
1313
edition = "2021"
14-
version = "0.42.0"
14+
version = "0.43.0"
1515
documentation = "https://databento.com/docs"
1616
repository = "https://github.com/databento/dbn"
1717
license = "Apache-2.0"

python/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# databento-dbn
22

33
[![build](https://github.com/databento/dbn/actions/workflows/build.yaml/badge.svg)](https://github.com/databento/dbn/actions/workflows/build.yaml)
4-
![python](https://img.shields.io/badge/python-3.9+-blue.svg)
4+
![python](https://img.shields.io/badge/python-3.10+-blue.svg)
55
![license](https://img.shields.io/github/license/databento/dbn?color=blue)
66
[![pypi-version](https://img.shields.io/pypi/v/databento_dbn)](https://pypi.org/project/databento-dbn)
77

python/pyproject.toml

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,36 @@
1-
[tool.poetry]
1+
[project]
22
name = "databento-dbn"
3-
version = "0.42.0"
3+
version = "0.43.0"
44
description = "Python bindings for encoding and decoding Databento Binary Encoding (DBN)"
5-
authors = ["Databento <[email protected]>"]
5+
readme = "README.md"
6+
requires-python = ">=3.10"
67
license = "Apache-2.0"
8+
authors = [{ name = "Databento", email = "[email protected]" }]
9+
classifiers = [
10+
"Programming Language :: Rust",
11+
"Programming Language :: Python :: Implementation :: CPython",
12+
]
13+
dependencies = []
14+
15+
[project.urls]
16+
Homepage = "https://databento.com"
17+
Documentation = "https://databento.com/docs"
18+
Repository = "https://github.com/databento/dbn"
19+
"Bug Tracker" = "https://github.com/databento/dbn/issues"
20+
21+
[tool.poetry]
22+
requires-poetry = ">=2.0"
723

824
[tool.poetry.dependencies]
9-
python = ">=3.9"
25+
python = ">=3.10,<3.14"
1026

11-
[tool.poetry.dev-dependencies]
27+
[tool.poetry.group.dev.dependencies]
1228
maturin = ">=1.0"
1329

1430
[build-system]
1531
requires = ["maturin>=1.0"]
1632
build-backend = "maturin"
1733

18-
[project]
19-
name = "databento-dbn"
20-
version = "0.42.0"
21-
authors = [
22-
{ name = "Databento", email = "[email protected]" }
23-
]
24-
description = "Python bindings for encoding and decoding Databento Binary Encoding (DBN)"
25-
readme = "README.md"
26-
license = "Apache-2.0"
27-
requires-python = ">=3.9"
28-
classifiers = [
29-
"Programming Language :: Rust",
30-
"Programming Language :: Python :: Implementation :: CPython",
31-
]
32-
3334
[tool.maturin]
3435
features = ["pyo3/extension-module"]
3536
python-source = "python"

0 commit comments

Comments
 (0)