Skip to content

Commit 024b20b

Browse files
authored
VER: Release 0.45.0
2 parents 7232f59 + c7f452f commit 024b20b

File tree

11 files changed

+63
-43
lines changed

11 files changed

+63
-43
lines changed

.github/workflows/build.yaml

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

@@ -63,7 +63,7 @@ jobs:
6363
strategy:
6464
fail-fast: false
6565
matrix:
66-
python-version: ["3.10", "3.11", "3.12", "3.13"]
66+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
6767
name: build - Python ${{ matrix.python-version }} (aarch64 linux)
6868
runs-on: ubuntu-latest
6969

@@ -110,7 +110,7 @@ jobs:
110110
strategy:
111111
fail-fast: false
112112
matrix:
113-
python-version: ["3.10", "3.11", "3.12", "3.13"]
113+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
114114
name: build - Python ${{ matrix.python-version }} (macOS)
115115
runs-on: macos-latest
116116

.github/workflows/release.yaml

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
strategy:
4848
fail-fast: false
4949
matrix:
50-
python-version: ["3.10", "3.11", "3.12", "3.13"]
50+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
5151
runs-on: macos-latest
5252
steps:
5353
- name: Checkout repository
@@ -94,7 +94,7 @@ jobs:
9494
strategy:
9595
fail-fast: false
9696
matrix:
97-
python-version: ["3.10", "3.11", "3.12", "3.13"]
97+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
9898
runs-on: windows-latest
9999
steps:
100100
- name: Checkout repository
@@ -137,7 +137,7 @@ jobs:
137137
strategy:
138138
fail-fast: false
139139
matrix:
140-
python-version: ["3.10", "3.11", "3.12", "3.13"]
140+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
141141
target: [x86_64, aarch64]
142142
runs-on: ubuntu-latest
143143
steps:
@@ -181,7 +181,7 @@ jobs:
181181
strategy:
182182
fail-fast: false
183183
matrix:
184-
python-version: ["3.10", "3.11", "3.12", "3.13"]
184+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
185185
target: [x86_64-unknown-linux-musl, aarch64-unknown-linux-musl]
186186
runs-on: ubuntu-latest
187187
steps:
@@ -286,7 +286,6 @@ jobs:
286286
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
287287

288288
build-cli-artifacts:
289-
name: build-release
290289
needs: [tag-release]
291290
runs-on: ${{ matrix.os }}
292291
env:
@@ -312,9 +311,7 @@ jobs:
312311
- os: windows-latest
313312
target: aarch64-pc-windows-msvc
314313
- os: windows-latest
315-
target: x86_64-pc-windows-gnu
316-
- os: windows-latest
317-
target: x86_64-pc-windows-gnu
314+
target: x86_64-pc-windows-msvc
318315

319316
steps:
320317
- name: Checkout repository
@@ -323,43 +320,44 @@ jobs:
323320
- name: Set up Rust
324321
run: rustup toolchain add --profile minimal --target ${{ matrix.target }} stable
325322

323+
- name: Install cross
324+
run: cargo install cross
325+
326326
- name: Set target variables
327327
shell: bash
328328
run: |
329329
echo "TARGET_FLAGS=--target ${{ matrix.target }}" >> $GITHUB_ENV
330330
echo "TARGET_DIR=./target/${{ matrix.target }}" >> $GITHUB_ENV
331331
332-
- name: Show command used for Cargo
333-
shell: bash
334-
run: |
335-
echo "cargo command is: ${{ env.CARGO }}"
336-
echo "target flag is: ${{ env.TARGET_FLAGS }}"
337-
echo "target dir is: ${{ env.TARGET_DIR }}"
338-
339332
- name: Build release binary
340333
shell: bash
334+
# cd ensures we only pull in CLI dependencies
341335
run: |
342-
cargo build --verbose --release --bin dbn ${{ env.TARGET_FLAGS }}
336+
cd rust/dbn-cli
337+
cross build --release --bin dbn ${{ env.TARGET_FLAGS }}
343338
if [ "${{ matrix.os }}" = "windows-latest" ]; then
344339
bin="target/${{ matrix.target }}/release/dbn.exe"
345340
else
346341
bin="target/${{ matrix.target }}/release/dbn"
347342
fi
343+
cd -
344+
stat $bin
348345
echo "BIN=$bin" >> $GITHUB_ENV
349346
350347
- name: Determine archive name
351348
shell: bash
352349
run: |
353-
version="${{ needs.create-release.outputs.version }}"
354-
echo "ARCHIVE=ripgrep-$version-${{ matrix.target }}" >> $GITHUB_ENV
350+
version="$(scripts/get_version.sh)"
351+
echo "ARCHIVE=dbn-$version-${{ matrix.target }}" >> $GITHUB_ENV
352+
echo "VERSION=$version" >> $GITHUB_ENV
355353
356354
- name: Creating directory for archive
357355
shell: bash
358356
run: |
359-
mkdir -p "$ARCHIVE"/{complete,doc}
357+
mkdir -p "$ARCHIVE"/doc
360358
cp "$BIN" "$ARCHIVE"/
361-
cp {rust/src/dbn-cli/README.md,LICENSE} "$ARCHIVE"/
362-
cp {CHANGELOG.md} "$ARCHIVE"/doc/
359+
cp {rust/dbn-cli/README.md,LICENSE} "$ARCHIVE"/
360+
cp CHANGELOG.md "$ARCHIVE"/doc/
363361
364362
- name: Build archive (Windows)
365363
shell: bash
@@ -383,6 +381,6 @@ jobs:
383381
env:
384382
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
385383
shell: bash
384+
# clobber to overwrite if we have to rerun the release
386385
run: |
387-
version="$(scripts/get_version.sh)"
388-
gh release upload "$version" ${{ env.ASSET }} ${{ env.ASSET_SUM }}
386+
gh release upload v${{ env.VERSION }} ${{ env.ASSET }} ${{ env.ASSET_SUM }} --clobber

CHANGELOG.md

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

3+
## 0.45.0 - 2025-12-09
4+
5+
#### Enhancements
6+
- Added new venue, dataset, and publisher for Cboe Futures Exchange (`XCBF.PITCH`)
7+
- Added support for Python 3.14 to `databento_dbn`
8+
39
## 0.44.0 - 2025-11-18
410

511
### 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.44.0"
14+
version = "0.45.0"
1515
documentation = "https://databento.com/docs"
1616
repository = "https://github.com/databento/dbn"
1717
license = "Apache-2.0"

python/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "databento-dbn"
3-
version = "0.44.0"
3+
version = "0.45.0"
44
description = "Python bindings for encoding and decoding Databento Binary Encoding (DBN)"
55
readme = "README.md"
66
requires-python = ">=3.10"
@@ -22,7 +22,7 @@ Repository = "https://github.com/databento/dbn"
2222
requires-poetry = ">=2.0"
2323

2424
[tool.poetry.dependencies]
25-
python = ">=3.10,<3.14"
25+
python = ">=3.10,<3.15"
2626

2727
[tool.poetry.group.dev.dependencies]
2828
maturin = ">=1.0"

rust/dbn-cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ name = "dbn"
1616
path = "src/main.rs"
1717

1818
[dependencies]
19-
dbn = { path = "../dbn", version = "=0.44.0", default-features = false }
19+
dbn = { path = "../dbn", version = "=0.45.0", default-features = false }
2020

2121
anyhow = { workspace = true }
2222
clap = { version = "4.5", features = ["derive", "wrap_help"] }

rust/dbn-cli/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ pub enum OutputEncoding {
2929
}
3030

3131
#[derive(Debug, Parser)]
32-
#[clap(version, about)]
32+
#[clap(name = "dbn", version, about)]
3333
#[cfg_attr(test, derive(Default))]
3434
pub struct Args {
3535
#[clap(

rust/dbn-cli/tests/integration_tests.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use std::{
44
process,
55
};
66

7-
use assert_cmd::Command;
7+
use assert_cmd::{cargo::cargo_bin_cmd, Command};
88
use dbn::Schema;
99
use predicates::{
1010
boolean::PredicateBooleanExt,
@@ -15,7 +15,7 @@ use rstest::*;
1515
use tempfile::{tempdir, NamedTempFile, TempDir};
1616

1717
fn cmd() -> Command {
18-
Command::cargo_bin("dbn").unwrap()
18+
cargo_bin_cmd!("dbn")
1919
}
2020

2121
const TEST_DATA_PATH: &str = concat!(env!("CARGO_MANIFEST_DIR"), "/../../tests/data");
@@ -577,7 +577,7 @@ fn broken_pipe_is_silent(
577577
#[case] output_flag: &str,
578578
#[case] fragment_flag: &str,
579579
) {
580-
let mut dbn_cmd = process::Command::new(assert_cmd::cargo::cargo_bin("dbn"));
580+
let mut dbn_cmd = process::Command::new(assert_cmd::cargo::cargo_bin!("dbn"));
581581
dbn_cmd.args([&format!("{TEST_DATA_PATH}/{file_name}"), output_flag]);
582582
if !fragment_flag.is_empty() {
583583
dbn_cmd.arg(fragment_flag);

rust/dbn/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ serde = ["dep:serde", "time/parsing", "time/serde"]
2525
trivial_copy = []
2626

2727
[dependencies]
28-
dbn-macros = { version = "=0.44.0", path = "../dbn-macros" }
28+
dbn-macros = { version = "=0.45.0", path = "../dbn-macros" }
2929

3030
async-compression = { version = "0.4.33", features = ["tokio", "zstd"], optional = true }
3131
csv = { workspace = true }

0 commit comments

Comments
 (0)