Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@ jobs:
run: ./scripts/bootstrap

- name: Run tests
run: ./scripts/test --ignore=tests/smoketests
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we sure this won't run the smoketests?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, we run with the default markers, which opt out of smoketest.

run: ./scripts/test
12 changes: 10 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ dependencies = [
"sniffio",
"uuid-utils>=0.11.0",
]

requires-python = ">= 3.9"
classifiers = [
"Typing :: Typed",
Expand Down Expand Up @@ -45,6 +44,12 @@ aiohttp = ["aiohttp", "httpx_aiohttp>=0.1.9"]
[tool.uv]
managed = true
required-version = ">=0.5.0"
conflicts = [
[
{ group = "pydantic-v1" },
{ group = "pydantic-v2" },
],
]

[dependency-groups]
# version pins are in uv.lock
Expand All @@ -64,7 +69,10 @@ dev = [
"uuid-utils>=0.11.0"
]
pydantic-v1 = [
"pydantic>=1.9.0, <2",
"pydantic>=1.9.0,<2",
]
pydantic-v2 = [
"pydantic>=2,<3",
]

[tool.rye.scripts]
Expand Down
1 change: 0 additions & 1 deletion scripts/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,3 @@ uv python install
echo "==> Installing Python dependencies…"
uv sync --all-extras

uv sync --all-extras --all-groups
6 changes: 4 additions & 2 deletions scripts/format
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ set -e

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

echo "==> Running formatters"
echo "==> Running ruff"
uv run ruff format
uv run python scripts/utils/ruffen-docs.py README.md api.md
uv run ruff check --fix .
# run formatting again to fix any inconsistencies when imports are stripped
uv run ruff format

echo "==> Formatting docs"
uv run python scripts/utils/ruffen-docs.py README.md api.md
Loading
Loading