Skip to content

Commit a2398c9

Browse files
adam-rlsid-rl
authored andcommitted
Remove some unneccessary changes to reduce the diff from Stainless
These diffs were reported by Stainless as custom code patches, which we are not interested in maintaining.
1 parent 6928652 commit a2398c9

5 files changed

Lines changed: 370 additions & 173 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,4 @@ jobs:
8686
run: ./scripts/bootstrap
8787

8888
- name: Run tests
89-
run: ./scripts/test --ignore=tests/smoketests
89+
run: ./scripts/test

pyproject.toml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ dependencies = [
1616
"sniffio",
1717
"uuid-utils>=0.11.0",
1818
]
19-
2019
requires-python = ">= 3.9"
2120
classifiers = [
2221
"Typing :: Typed",
@@ -45,6 +44,12 @@ aiohttp = ["aiohttp", "httpx_aiohttp>=0.1.9"]
4544
[tool.uv]
4645
managed = true
4746
required-version = ">=0.5.0"
47+
conflicts = [
48+
[
49+
{ group = "pydantic-v1" },
50+
{ group = "pydantic-v2" },
51+
],
52+
]
4853

4954
[dependency-groups]
5055
# version pins are in uv.lock
@@ -71,7 +76,10 @@ docs = [
7176
"sphinx-toolbox>=4.0.0",
7277
]
7378
pydantic-v1 = [
74-
"pydantic>=1.9.0, <2",
79+
"pydantic>=1.9.0,<2",
80+
]
81+
pydantic-v2 = [
82+
"pydantic>=2,<3",
7583
]
7684

7785
[tool.rye.scripts]

scripts/bootstrap

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,3 @@ uv python install
2525
echo "==> Installing Python dependencies…"
2626
uv sync --all-extras
2727

28-
uv sync --all-extras --all-groups

scripts/format

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ set -e
44

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

7-
echo "==> Running formatters"
7+
echo "==> Running ruff"
88
uv run ruff format
9-
uv run python scripts/utils/ruffen-docs.py README.md api.md
109
uv run ruff check --fix .
1110
# run formatting again to fix any inconsistencies when imports are stripped
1211
uv run ruff format
12+
13+
echo "==> Formatting docs"
14+
uv run python scripts/utils/ruffen-docs.py README.md api.md

0 commit comments

Comments
 (0)