Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
76d7631
chore: Add quotes around installable optional features (#41)
sankroh May 5, 2025
ee58e60
chore: Add new methods to the Table function
bradhe May 5, 2025
3a68311
chore: Minor cleanup thanks to @datancoffee's feedback
bradhe May 5, 2025
161e7c8
chore: Add a basic test for tables
bradhe May 6, 2025
3ea5d6b
chore: Updated implementation and code for Tower tables
bradhe May 6, 2025
b4f1bad
chore: Re-export imported modules to make access easier.
bradhe May 6, 2025
35c90f6
chore: Fix setup for test enviros in GitHub Actions
bradhe May 6, 2025
43bbf5f
Update src/tower/_tables.py
bradhe May 6, 2025
71ef0d6
chore: Add .python-version file
bradhe May 6, 2025
4796836
chore: Don't test our Python SDK on Windows
bradhe May 6, 2025
e7ff695
Merge pull request #42 from tower/feature/tow-382-add-new-operations-…
bradhe May 6, 2025
ef048b3
Version bump to 0.3.12
bradhe May 6, 2025
4ffce21
chore: Fix workflow file
bradhe May 6, 2025
5a5ebd7
chore: Fix uv.lock
bradhe May 6, 2025
5b07df8
chore: Updated semver script
bradhe May 7, 2025
c7aa1e2
chore: Downgrade to release candidate
bradhe May 7, 2025
3b03375
chore: Updates to better support versioning
bradhe May 7, 2025
a7d4d99
chore: Try different -rc specifier
bradhe May 7, 2025
a0b9b28
chore: Add a tool for removing prerelease designation
bradhe May 7, 2025
1d0d619
chore: Make sure we publish prerelease versions
bradhe May 7, 2025
3437d51
chore: Bump version to v0.3.12-rc.2
bradhe May 7, 2025
254cd03
chore: Update `cargo dist` to allow releasing prereleases
bradhe May 8, 2025
a10372d
chore: Semver bug
bradhe May 8, 2025
2153a3f
chore: Bump to version v0.3.12-rc.3
bradhe May 8, 2025
3bd7323
chore: Remove Windows targets for now
bradhe May 8, 2025
d0c30a6
chore: Bump version to v0.3.12
bradhe May 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# This file was autogenerated by dist: https://opensource.axo.dev/cargo-dist/
# This file was autogenerated by dist: https://github.com/astral-sh/cargo-dist
#
# Copyright 2022-2024, axodotdev
# Copyright 2025 Astral Software Inc.
# SPDX-License-Identifier: MIT or Apache-2.0
#
# CI that:
Expand Down Expand Up @@ -57,12 +58,13 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
submodules: recursive
- name: Install dist
# we specify bash to get pipefail; it guards against the `curl` command
# failing. otherwise `sh` won't catch that `curl` returned non-0
shell: bash
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.28.0/cargo-dist-installer.sh | sh"
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/cargo-dist/releases/download/v0.28.5/cargo-dist-installer.sh | sh"
- name: Cache dist
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -116,6 +118,7 @@ jobs:
git config --global core.longpaths true
- uses: actions/checkout@v4
with:
persist-credentials: false
submodules: recursive
- name: Install Rust non-interactively if not already installed
if: ${{ matrix.container }}
Expand Down Expand Up @@ -184,6 +187,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
submodules: recursive
- name: Install cached dist
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -234,6 +238,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
submodules: recursive
- name: Install cached dist
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -313,4 +318,5 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
submodules: recursive
19 changes: 10 additions & 9 deletions .github/workflows/test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,22 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
os:
- ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5

- name: Install the latest version of uv
uses: astral-sh/setup-uv@v6

- name: Install dependencies
if: github.ref_name != 'main'
run: uv sync --all-extras
- name: "Set up Python"
uses: actions/setup-python@v5
with:
python-version-file: ".python-version"

- name: Install the project
run: uv sync --locked --all-extras --dev

- name: Run tests
if: github.ref_name != 'main'
run: uv run -m pytest --tb=short --disable-warnings
run: uv run pytest tests
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.12
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ resolver = "2"

[workspace.package]
edition = "2021"
version = "0.3.11"
version = "0.3.12"

description = "Tower is the best way to host Python data apps in production"
rust-version = "1.77"
authors = ["Brad Heller <brad@tower.dev>"]
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Tower supports several optional features that can be installed as needed:
#### AI/LLM Support

```bash
pip install tower[ai]
pip install "tower[ai]"
```

Provides integration with language models through:
Expand All @@ -61,7 +61,7 @@ Provides integration with language models through:
#### Apache Iceberg Support

```bash
pip install tower[iceberg]
pip install "tower[iceberg]"
```

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

```bash
pip install tower[all]
pip install "tower[all]"
```

#### Check Available Features
Expand Down
6 changes: 4 additions & 2 deletions dist-workspace.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ members = ["cargo:."]
# Config for 'dist'
[dist]
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.28.0"
cargo-dist-version = "0.28.5"
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = ["shell", "homebrew", "msi"]
# A GitHub repo to push Homebrew formulas to
tap = "tower/tower-cli"
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"]
targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl"]
# Path that installers should place binaries in
install-path = "CARGO_HOME"
# Publish jobs to run in CI
Expand All @@ -25,6 +25,8 @@ create-release = true
pr-run-mode = "skip"
# Local artifacts jobs to run in CI
local-artifacts-jobs = ["./build-binaries"]
# Whether to publish prereleases to package managers
publish-prereleases = true

[dist.github-custom-runners]
global = "ubuntu-22.04"
Expand Down
21 changes: 15 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ build-backend = "maturin"

[project]
name = "tower"
version = "0.3.11"
version = "0.3.12"






description = "Tower CLI and runtime environment for Tower."
authors = [{ name = "Tower Computing Inc.", email = "brad@tower.dev" }]
readme = "README.md"
Expand Down Expand Up @@ -45,11 +51,6 @@ dependencies = [
ai = ["huggingface-hub>=0.30.2", "ollama>=0.4.7"]
iceberg = ["polars>=1.27.1", "pyarrow>=19.0.1", "pyiceberg>=0.9.0"]
all = ["tower[ai,iceberg]"]
dev = [
"openapi-python-client>=0.12.1",
"pytest>=8.3.5",
"pytest-httpx>=0.35.0",
]

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

[tool.uv.sources]
tower = { workspace = true }

[dependency-groups]
dev = [
"openapi-python-client>=0.12.1",
"pytest>=8.3.5",
"pytest-httpx>=0.35.0",
"pyiceberg[sql-sqlite]>=0.9.0",
]
Loading
Loading