Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
9a513a4
codegen metadata
stainless-app[bot] Feb 5, 2026
8de81c0
chore(internal): bump dependencies
stainless-app[bot] Feb 10, 2026
ad9326f
chore(api): minor updates
stainless-app[bot] Feb 11, 2026
86b7765
chore(internal): fix lint error on Python 3.14
stainless-app[bot] Feb 12, 2026
f4314a5
chore: format all `api.md` files
stainless-app[bot] Feb 13, 2026
8459400
chore(internal): remove mock server code
stainless-app[bot] Feb 20, 2026
3383c79
chore: update mock server docs
stainless-app[bot] Feb 20, 2026
4df5e12
chore(internal): add request options to SSE classes
stainless-app[bot] Feb 24, 2026
61cd3a4
chore(internal): make `test_proxy_environment_variables` more resilient
stainless-app[bot] Feb 24, 2026
134719a
chore(internal): make `test_proxy_environment_variables` more resilie…
stainless-app[bot] Feb 25, 2026
204f9d5
chore(ci): bump uv version
stainless-app[bot] Feb 27, 2026
dc82876
chore(internal): codegen related update
stainless-app[bot] Mar 4, 2026
4fd2dd5
chore(ci): skip uploading artifacts on stainless-internal branches
stainless-app[bot] Mar 8, 2026
4cf041a
chore: update placeholder string
stainless-app[bot] Mar 8, 2026
220f3d2
codegen metadata
stainless-app[bot] Mar 16, 2026
9d8f537
codegen metadata
stainless-app[bot] Mar 16, 2026
0ad1c29
codegen metadata
stainless-app[bot] Mar 16, 2026
0e37c83
fix(pydantic): do not pass `by_alias` unless set
stainless-app[bot] Mar 17, 2026
2ff69c1
fix(deps): bump minimum typing-extensions version
stainless-app[bot] Mar 17, 2026
7043aad
chore(internal): tweak CI branches
stainless-app[bot] Mar 17, 2026
fe6a82c
release: 0.1.0-beta.4
stainless-app[bot] Mar 17, 2026
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
28 changes: 17 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: CI
on:
push:
branches-ignore:
- 'generated'
- 'codegen/**'
- 'integrated/**'
- 'stl-preview-head/**'
- 'stl-preview-base/**'
branches:
- '**'
- '!integrated/**'
- '!stl-preview-head/**'
- '!stl-preview-base/**'
- '!generated'
- '!codegen/**'
- 'codegen/stl/**'
pull_request:
branches-ignore:
- 'stl-preview-head/**'
Expand All @@ -24,7 +26,7 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: '0.9.13'
version: '0.10.2'

- name: Install dependencies
run: uv sync --all-extras
Expand All @@ -46,7 +48,7 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: '0.9.13'
version: '0.10.2'

- name: Install dependencies
run: uv sync --all-extras
Expand All @@ -55,14 +57,18 @@ jobs:
run: uv build

- name: Get GitHub OIDC Token
if: github.repository == 'stainless-sdks/deeptable-python'
if: |-
github.repository == 'stainless-sdks/deeptable-python' &&
!startsWith(github.ref, 'refs/heads/stl/')
id: github-oidc
uses: actions/github-script@v8
with:
script: core.setOutput('github_token', await core.getIDToken());

- name: Upload tarball
if: github.repository == 'stainless-sdks/deeptable-python'
if: |-
github.repository == 'stainless-sdks/deeptable-python' &&
!startsWith(github.ref, 'refs/heads/stl/')
env:
URL: https://pkg.stainless.com/s
AUTH: ${{ steps.github-oidc.outputs.github_token }}
Expand All @@ -80,7 +86,7 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: '0.9.13'
version: '0.10.2'

- name: Bootstrap
run: ./scripts/bootstrap
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.1.0-beta.3"
".": "0.1.0-beta.4"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 14
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/deeptable%2Fdeeptable-343b873548078db96bc49e2b21529dac4a96df1896d83b6d1dc0eb3d3686bfe0.yml
openapi_spec_hash: 66dd5d9c2dde1498493e6a7ecc5c4379
config_hash: fd671a4aa17bf0c1089de96b6f2841d8
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/deeptable%2Fdeeptable-acfb7545d19701827292fc4663c6852d423dd84e65639e5b7ed766dc2d01aff2.yml
openapi_spec_hash: 9f090892f01aa7afe4f22910c41b911b
config_hash: 56ee7b575c6a6e90046a0f807e5f3234
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# Changelog

## 0.1.0-beta.4 (2026-03-17)

Full Changelog: [v0.1.0-beta.3...v0.1.0-beta.4](https://github.com/deeptable-com/deeptable-python/compare/v0.1.0-beta.3...v0.1.0-beta.4)

### Bug Fixes

* **deps:** bump minimum typing-extensions version ([2ff69c1](https://github.com/deeptable-com/deeptable-python/commit/2ff69c1d377cbef6bf4a9641277dde8c24b2a69b))
* **pydantic:** do not pass `by_alias` unless set ([0e37c83](https://github.com/deeptable-com/deeptable-python/commit/0e37c835b61b29e912c106790e00997b4be9e0a8))


### Chores

* **api:** minor updates ([ad9326f](https://github.com/deeptable-com/deeptable-python/commit/ad9326f69976fc60b578298ceb833932cf586dd0))
* **ci:** bump uv version ([204f9d5](https://github.com/deeptable-com/deeptable-python/commit/204f9d5ee8e55b4377247b665790c0b5b8338e57))
* **ci:** skip uploading artifacts on stainless-internal branches ([4fd2dd5](https://github.com/deeptable-com/deeptable-python/commit/4fd2dd5ffd08a07b4605fea550ecc0d64a7d84ec))
* format all `api.md` files ([f4314a5](https://github.com/deeptable-com/deeptable-python/commit/f4314a5175a16b8427c1ee0376b4c7561a97d12b))
* **internal:** add request options to SSE classes ([4df5e12](https://github.com/deeptable-com/deeptable-python/commit/4df5e129245688ca89abc8b21bb8ece2f5315e94))
* **internal:** bump dependencies ([8de81c0](https://github.com/deeptable-com/deeptable-python/commit/8de81c067d8afa18f079419c4bff16986654b4b0))
* **internal:** codegen related update ([dc82876](https://github.com/deeptable-com/deeptable-python/commit/dc8287698edfb2d8d94221e173f15dd20087f1fb))
* **internal:** fix lint error on Python 3.14 ([86b7765](https://github.com/deeptable-com/deeptable-python/commit/86b7765ca61d862c9e8d3199beb17acbee2556bb))
* **internal:** make `test_proxy_environment_variables` more resilient ([61cd3a4](https://github.com/deeptable-com/deeptable-python/commit/61cd3a41d5f28295972b79fc4d343574abe588ff))
* **internal:** make `test_proxy_environment_variables` more resilient to env ([134719a](https://github.com/deeptable-com/deeptable-python/commit/134719a29b9dd7f4b0a47711aae70cd13299b052))
* **internal:** remove mock server code ([8459400](https://github.com/deeptable-com/deeptable-python/commit/8459400cfe8426bbe32eb3081b9f400ab016655e))
* **internal:** tweak CI branches ([7043aad](https://github.com/deeptable-com/deeptable-python/commit/7043aad90e9503825527ed5a6b8a2d45478448ed))
* update mock server docs ([3383c79](https://github.com/deeptable-com/deeptable-python/commit/3383c7931f23aa4e445ccd1b6a8f4fc29e4de621))
* update placeholder string ([4cf041a](https://github.com/deeptable-com/deeptable-python/commit/4cf041ab16ff82196562cd656959be70703eddad))

## 0.1.0-beta.3 (2026-01-30)

Full Changelog: [v0.1.0-beta.2...v0.1.0-beta.3](https://github.com/deeptable-com/deeptable-python/compare/v0.1.0-beta.2...v0.1.0-beta.3)
Expand Down
7 changes: 0 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,6 @@ $ pip install ./path-to-wheel-file.whl

## Running tests

Most tests require you to [set up a mock server](https://github.com/stoplightio/prism) against the OpenAPI spec to run the tests.

```sh
# you will need npm installed
$ npx prism mock path/to/your/openapi.yml
```

```sh
$ ./scripts/test
```
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "deeptable"
version = "0.1.0-beta.3"
version = "0.1.0-beta.4"
description = "The official Python library for the deeptable API"
dynamic = ["readme"]
license = "MIT"
Expand All @@ -11,7 +11,7 @@ authors = [
dependencies = [
"httpx>=0.23.0, <1",
"pydantic>=1.9.0, <3",
"typing-extensions>=4.10, <5",
"typing-extensions>=4.14, <5",
"anyio>=3.5.0, <5",
"distro>=1.7.0, <2",
"sniffio",
Expand Down
18 changes: 9 additions & 9 deletions requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
-e .
annotated-types==0.7.0
# via pydantic
anyio==4.12.0
anyio==4.12.1
# via
# deeptable
# httpx
backports-asyncio-runner==1.2.0 ; python_full_version < '3.11'
# via pytest-asyncio
certifi==2025.11.12
certifi==2026.1.4
# via
# httpcore
# httpx
Expand All @@ -36,7 +36,7 @@ idna==3.11
# via
# anyio
# httpx
importlib-metadata==8.7.0
importlib-metadata==8.7.1
iniconfig==2.1.0 ; python_full_version < '3.10'
# via pytest
iniconfig==2.3.0 ; python_full_version >= '3.10'
Expand All @@ -50,11 +50,11 @@ mdurl==0.1.2
mypy==1.17.0
mypy-extensions==1.1.0
# via mypy
nodeenv==1.9.1
nodeenv==1.10.0
# via pyright
packaging==25.0
# via pytest
pathspec==0.12.1
pathspec==1.0.3
# via mypy
pluggy==1.6.0
# via pytest
Expand All @@ -71,7 +71,7 @@ pytest==8.4.2 ; python_full_version < '3.10'
# via
# pytest-asyncio
# pytest-xdist
pytest==9.0.1 ; python_full_version >= '3.10'
pytest==9.0.2 ; python_full_version >= '3.10'
# via
# pytest-asyncio
# pytest-xdist
Expand All @@ -82,14 +82,14 @@ python-dateutil==2.9.0.post0 ; python_full_version < '3.10'
# via time-machine
respx==0.22.0
rich==14.2.0
ruff==0.14.7
ruff==0.14.13
six==1.17.0 ; python_full_version < '3.10'
# via python-dateutil
sniffio==1.3.1
# via deeptable
time-machine==2.19.0 ; python_full_version < '3.10'
time-machine==3.1.0 ; python_full_version >= '3.10'
tomli==2.3.0 ; python_full_version < '3.11'
time-machine==3.2.0 ; python_full_version >= '3.10'
tomli==2.4.0 ; python_full_version < '3.11'
# via
# mypy
# pytest
Expand Down
2 changes: 1 addition & 1 deletion scripts/format
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ uv run ruff check --fix .
uv run ruff format

echo "==> Formatting docs"
uv run python scripts/utils/ruffen-docs.py README.md api.md
uv run python scripts/utils/ruffen-docs.py README.md $(find . -type f -name api.md)
41 changes: 0 additions & 41 deletions scripts/mock

This file was deleted.

46 changes: 0 additions & 46 deletions scripts/test
Original file line number Diff line number Diff line change
Expand Up @@ -4,53 +4,7 @@ set -e

cd "$(dirname "$0")/.."

RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[0;33m'
NC='\033[0m' # No Color

function prism_is_running() {
curl --silent "http://localhost:4010" >/dev/null 2>&1
}

kill_server_on_port() {
pids=$(lsof -t -i tcp:"$1" || echo "")
if [ "$pids" != "" ]; then
kill "$pids"
echo "Stopped $pids."
fi
}

function is_overriding_api_base_url() {
[ -n "$TEST_API_BASE_URL" ]
}

if ! is_overriding_api_base_url && ! prism_is_running ; then
# When we exit this script, make sure to kill the background mock server process
trap 'kill_server_on_port 4010' EXIT

# Start the dev server
./scripts/mock --daemon
fi

if is_overriding_api_base_url ; then
echo -e "${GREEN}✔ Running tests against ${TEST_API_BASE_URL}${NC}"
echo
elif ! prism_is_running ; then
echo -e "${RED}ERROR:${NC} The test suite will not run without a mock Prism server"
echo -e "running against your OpenAPI spec."
echo
echo -e "To run the server, pass in the path or url of your OpenAPI"
echo -e "spec to the prism command:"
echo
echo -e " \$ ${YELLOW}npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism mock path/to/your.openapi.yml${NC}"
echo

exit 1
else
echo -e "${GREEN}✔ Mock prism server is running with your OpenAPI spec${NC}"
echo
fi

export DEFER_PYDANTIC_BUILD=false

Expand Down
Loading
Loading