Skip to content

Commit 941c3a8

Browse files
committed
resolve conflicts
2 parents 6ea7abb + 0a925a7 commit 941c3a8

28 files changed

Lines changed: 4020 additions & 3264 deletions

.github/workflows/build_docs.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ jobs:
3434
run: |
3535
uv sync --extra docs --frozen
3636
37+
# TEMPORARY: sphinx-click cannot introspect typer's vendored click (typer
38+
# >= 0.26), which breaks the CLI reference pages. Pin to the last real-click
39+
# typer for the docs build only (does not affect the shipped package) until
40+
# we settle on a long-term docs fix. See the docs CLI reference pages.
41+
- name: Pin typer < 0.26 for docs build (sphinx-click compatibility)
42+
run: uv pip install 'typer<0.26'
43+
3744
- name: Build docs
3845
working-directory: docs
3946
run: |

.github/workflows/run_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
--cov-branch
6969
7070
- name: Upload coverage reports to Codecov
71-
uses: codecov/codecov-action@v6.0.0
71+
uses: codecov/codecov-action@v7.0.0
7272
with:
7373
token: ${{ secrets.CODECOV_TOKEN }}
7474
slug: pasteurlabs/tesseract-core
@@ -236,7 +236,7 @@ jobs:
236236
fi
237237
238238
- name: Upload coverage reports to Codecov
239-
uses: codecov/codecov-action@v6.0.0
239+
uses: codecov/codecov-action@v7.0.0
240240
with:
241241
token: ${{ secrets.CODECOV_TOKEN }}
242242
slug: pasteurlabs/tesseract-core

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ repos:
2929

3030
- repo: https://github.com/astral-sh/ruff-pre-commit
3131
# Ruff version.
32-
rev: v0.15.12
32+
rev: v0.15.17
3333
hooks:
3434
# Run the linter.
3535
- id: ruff

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,31 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [1.9.0] - 2026-05-27
6+
7+
### Features
8+
9+
- Add `env:` section to `tesseract_config.yaml` to allow setting environment variables in built Tesseracts (#591)
10+
- Add `timeout` parameter to Python API functions (#597)
11+
- Add `tesseract serve --skip-health-check` argument (#596)
12+
- Add `Tesseract.container_info` to expose information about running containers in Python API (#601)
13+
- Explicitly export IO schema field order (#595)
14+
15+
### Bug Fixes
16+
17+
- Better support for foreign arrays (like torch tensors) in Python API (#587)
18+
- Always become root at the start of docker builds (#598)
19+
- Add `click` to base install dependencies (#610)
20+
21+
### Documentation
22+
23+
- Add new landing page for Tesseract ecosystem (#562)
24+
- Add Tesseract Blog (#549)
25+
26+
### Testing
27+
28+
- Rewrite stale-keepalive retry test without real socket dependence (#611)
29+
530
## [1.8.2] - 2026-05-06
631

732
### Bug Fixes

demo/_showcase/ansys-shapeopt/jax_fem/tesseract_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ description: |
1010
build_config:
1111
target_platform: "native"
1212
# conda-forge has binaries for gmsh and friends, even on ARM64
13-
base_image: "condaforge/miniforge3:latest"
13+
base_image: "condaforge/miniforge3:26.1.1-3"
1414
requirements:
1515
provider: conda
1616
extra_packages:

demo/fem-shape-optimization/fem_tess/tesseract_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ description: |
1010
build_config:
1111
target_platform: "native"
1212
# conda-forge has binaries for gmsh and friends, even on ARM64
13-
base_image: "condaforge/miniforge3:latest"
13+
base_image: "condaforge/miniforge3:26.1.1-3"
1414
requirements:
1515
provider: conda
1616
extra_packages:

docs/content/creating-tesseracts/advanced.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,19 @@ you can make your ssh agent available to `tesseract build` with the option
135135
`--forward-ssh-agent`. Alternatively you can use `pip download` to download a dependency
136136
to the machine that builds the Tesseract.
137137

138+
## Setting environment variables
139+
140+
Use the top-level `env` field in `tesseract_config.yaml` to set environment variables in the container. These are baked into the Docker image as `ENV` directives and available at both build time (during `RUN` steps after injection) and runtime.
141+
142+
```yaml
143+
# tesseract_config.yaml
144+
env:
145+
XLA_PYTHON_CLIENT_PREALLOCATE: "false"
146+
OMP_NUM_THREADS: "4"
147+
```
148+
149+
This is useful for tuning framework behavior (e.g., JAX memory allocation, OpenMP thread counts) without modifying your code. You can also override or extend these at runtime with `tesseract serve --env` or `tesseract run --env`.
150+
138151
## Customizing the build process
139152

140153
The `build_config` section of [`tesseract_config.yaml`](../api/config.md) controls how the Tesseract image is built. Common reasons to customize it:

examples/conda/tesseract_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ version: "1.0.0"
33
description: "Custom venv creation."
44

55
build_config:
6-
base_image: "condaforge/miniforge3:latest"
6+
base_image: "condaforge/miniforge3:26.1.1-3"
77
requirements:
88
provider: conda
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: "py310"
22
version: "0.1.0"
33
description: |
4-
Empty Tesseract that requires Python 3.10 (set through a custom Docker image).
4+
Empty Tesseract that requires Python 3.10 (set through build_config.python_version).
55
66
build_config:
7-
base_image: "python:3.10-slim-bookworm"
7+
python_version: "3.10"

production.uv.lock

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

0 commit comments

Comments
 (0)