Skip to content

Commit 84a9d4e

Browse files
committed
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 b7d7d1e commit 84a9d4e

File tree

5 files changed

+962
-854
lines changed

5 files changed

+962
-854
lines changed

.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
@@ -64,7 +69,10 @@ dev = [
6469
"uuid-utils>=0.11.0"
6570
]
6671
pydantic-v1 = [
67-
"pydantic>=1.9.0, <2",
72+
"pydantic>=1.9.0,<2",
73+
]
74+
pydantic-v2 = [
75+
"pydantic>=2,<3",
6876
]
6977

7078
[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)