Skip to content

Commit 21bcb41

Browse files
authored
Merge pull request #43 from tower/develop
v0.3.12 Release
2 parents f29cdfd + d0c30a6 commit 21bcb41

19 files changed

Lines changed: 865 additions & 56 deletions

.github/workflows/release.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
# This file was autogenerated by dist: https://opensource.axo.dev/cargo-dist/
1+
# This file was autogenerated by dist: https://github.com/astral-sh/cargo-dist
22
#
33
# Copyright 2022-2024, axodotdev
4+
# Copyright 2025 Astral Software Inc.
45
# SPDX-License-Identifier: MIT or Apache-2.0
56
#
67
# CI that:
@@ -57,12 +58,13 @@ jobs:
5758
steps:
5859
- uses: actions/checkout@v4
5960
with:
61+
persist-credentials: false
6062
submodules: recursive
6163
- name: Install dist
6264
# we specify bash to get pipefail; it guards against the `curl` command
6365
# failing. otherwise `sh` won't catch that `curl` returned non-0
6466
shell: bash
65-
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.28.0/cargo-dist-installer.sh | sh"
67+
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/cargo-dist/releases/download/v0.28.5/cargo-dist-installer.sh | sh"
6668
- name: Cache dist
6769
uses: actions/upload-artifact@v4
6870
with:
@@ -116,6 +118,7 @@ jobs:
116118
git config --global core.longpaths true
117119
- uses: actions/checkout@v4
118120
with:
121+
persist-credentials: false
119122
submodules: recursive
120123
- name: Install Rust non-interactively if not already installed
121124
if: ${{ matrix.container }}
@@ -184,6 +187,7 @@ jobs:
184187
steps:
185188
- uses: actions/checkout@v4
186189
with:
190+
persist-credentials: false
187191
submodules: recursive
188192
- name: Install cached dist
189193
uses: actions/download-artifact@v4
@@ -234,6 +238,7 @@ jobs:
234238
steps:
235239
- uses: actions/checkout@v4
236240
with:
241+
persist-credentials: false
237242
submodules: recursive
238243
- name: Install cached dist
239244
uses: actions/download-artifact@v4
@@ -313,4 +318,5 @@ jobs:
313318
steps:
314319
- uses: actions/checkout@v4
315320
with:
321+
persist-credentials: false
316322
submodules: recursive

.github/workflows/test-python.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,22 @@ jobs:
2323
strategy:
2424
fail-fast: false
2525
matrix:
26-
os: [ubuntu-latest, windows-latest]
26+
os:
27+
- ubuntu-latest
2728

2829
steps:
2930
- uses: actions/checkout@v4
3031

31-
- name: Set up Python
32-
uses: actions/setup-python@v5
33-
3432
- name: Install the latest version of uv
3533
uses: astral-sh/setup-uv@v6
3634

37-
- name: Install dependencies
38-
if: github.ref_name != 'main'
39-
run: uv sync --all-extras
35+
- name: "Set up Python"
36+
uses: actions/setup-python@v5
37+
with:
38+
python-version-file: ".python-version"
39+
40+
- name: Install the project
41+
run: uv sync --locked --all-extras --dev
4042

4143
- name: Run tests
42-
if: github.ref_name != 'main'
43-
run: uv run -m pytest --tb=short --disable-warnings
44+
run: uv run pytest tests

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.12

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ resolver = "2"
44

55
[workspace.package]
66
edition = "2021"
7-
version = "0.3.11"
7+
version = "0.3.12"
8+
89
description = "Tower is the best way to host Python data apps in production"
910
rust-version = "1.77"
1011
authors = ["Brad Heller <brad@tower.dev>"]

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Tower supports several optional features that can be installed as needed:
5151
#### AI/LLM Support
5252

5353
```bash
54-
pip install tower[ai]
54+
pip install "tower[ai]"
5555
```
5656

5757
Provides integration with language models through:
@@ -61,7 +61,7 @@ Provides integration with language models through:
6161
#### Apache Iceberg Support
6262

6363
```bash
64-
pip install tower[iceberg]
64+
pip install "tower[iceberg]"
6565
```
6666

6767
Provides Apache Iceberg table support:
@@ -72,7 +72,7 @@ Provides Apache Iceberg table support:
7272
#### Install All Optional Features
7373

7474
```bash
75-
pip install tower[all]
75+
pip install "tower[all]"
7676
```
7777

7878
#### Check Available Features

dist-workspace.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ members = ["cargo:."]
44
# Config for 'dist'
55
[dist]
66
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
7-
cargo-dist-version = "0.28.0"
7+
cargo-dist-version = "0.28.5"
88
# CI backends to support
99
ci = "github"
1010
# The installers to generate for each app
1111
installers = ["shell", "homebrew", "msi"]
1212
# A GitHub repo to push Homebrew formulas to
1313
tap = "tower/tower-cli"
1414
# Target platforms to build apps for (Rust target-triple syntax)
15-
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"]
15+
targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl"]
1616
# Path that installers should place binaries in
1717
install-path = "CARGO_HOME"
1818
# Publish jobs to run in CI
@@ -25,6 +25,8 @@ create-release = true
2525
pr-run-mode = "skip"
2626
# Local artifacts jobs to run in CI
2727
local-artifacts-jobs = ["./build-binaries"]
28+
# Whether to publish prereleases to package managers
29+
publish-prereleases = true
2830

2931
[dist.github-custom-runners]
3032
global = "ubuntu-22.04"

pyproject.toml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,13 @@ build-backend = "maturin"
44

55
[project]
66
name = "tower"
7-
version = "0.3.11"
7+
version = "0.3.12"
8+
9+
10+
11+
12+
13+
814
description = "Tower CLI and runtime environment for Tower."
915
authors = [{ name = "Tower Computing Inc.", email = "brad@tower.dev" }]
1016
readme = "README.md"
@@ -45,11 +51,6 @@ dependencies = [
4551
ai = ["huggingface-hub>=0.30.2", "ollama>=0.4.7"]
4652
iceberg = ["polars>=1.27.1", "pyarrow>=19.0.1", "pyiceberg>=0.9.0"]
4753
all = ["tower[ai,iceberg]"]
48-
dev = [
49-
"openapi-python-client>=0.12.1",
50-
"pytest>=8.3.5",
51-
"pytest-httpx>=0.35.0",
52-
]
5354

5455
[tool.maturin]
5556
bindings = "bin"
@@ -62,3 +63,11 @@ include = ["rust-toolchain.toml"]
6263

6364
[tool.uv.sources]
6465
tower = { workspace = true }
66+
67+
[dependency-groups]
68+
dev = [
69+
"openapi-python-client>=0.12.1",
70+
"pytest>=8.3.5",
71+
"pytest-httpx>=0.35.0",
72+
"pyiceberg[sql-sqlite]>=0.9.0",
73+
]

0 commit comments

Comments
 (0)