Skip to content
Merged
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
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
version: "0.4.12"
version: "0.4.30"
enable-cache: true

- name: Set up Python 3.12
Expand All @@ -42,13 +42,13 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
version: "0.4.12"
version: "0.4.30"
enable-cache: true

- name: Set up Python 3.12
run: uv python install 3.12

- run: uv sync --python 3.12 --frozen
- run: uv sync --python 3.12 --frozen --group docs
- run: uv pip install --upgrade mkdocs-material mkdocstrings-python griffe==0.48.0
env:
UV_EXTRA_INDEX_URL: ${{ secrets.UV_EXTRA_INDEX_URL }}
Expand Down Expand Up @@ -97,13 +97,13 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
version: "0.4.12"
version: "0.4.30"
enable-cache: true

- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}

- run: uv sync --python ${{ matrix.python-version }} --upgrade
- run: uv sync --python ${{ matrix.python-version }}

- name: Install pydantic ${{ matrix.pydantic-version }}
if: matrix.pydantic-version != 'main'
Expand All @@ -130,7 +130,7 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
version: "0.4.12"
version: "0.4.30"
enable-cache: true

- name: Set up Python 3.12
Expand Down Expand Up @@ -181,7 +181,7 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
version: "0.4.12"
version: "0.4.30"
enable-cache: true

- name: Set up Python 3.12
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ all: format lint test

.PHONY: cf-pages-build # Build the docs for GitHub Pages
cf-pages-build:
curl -LsSf https://astral.sh/uv/0.4.12/install.sh | sh
curl -LsSf https://astral.sh/uv/0.4.30/install.sh | sh
${HOME}/.cargo/bin/uv python install 3.12
${HOME}/.cargo/bin/uv sync --python 3.12 --frozen
${HOME}/.cargo/bin/uv sync --python 3.12 --frozen --group docs
${HOME}/.cargo/bin/uv pip install --upgrade --extra-index-url $(PPPR_URL) mkdocs-material mkdocstrings-python griffe==0.48.0
${HOME}/.cargo/bin/uv run --no-sync mkdocs build
16 changes: 8 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,8 @@ logfire-plugin = "logfire.integrations.pydantic:plugin"
[project.entry-points."pytest11"]
logfire = "logfire.testing"

[tool.uv]
managed = true
dev-dependencies = [
[dependency-groups]
dev = [
"anyio < 4.4.0",
"httpx >= 0.27.2",
"aiohttp >= 3.10.9",
Expand Down Expand Up @@ -148,16 +147,17 @@ dev-dependencies = [
"numpy<1.24.4; python_version < '3.9'",
"pytest-recording>=0.13.2",
"uvicorn>=0.30.6",
# Documentation
# Logfire API
"logfire-api",
"requests",
]
docs = [
"mkdocs>=1.5.0",
"mkdocs-material>=9.5.17",
"mkdocs-glightbox>=0.3.7",
"mkdocs-glightbox>=0.4.0",
"mkdocstrings-python>=1.8.0",
"mkdocs-redirects>=1.2.1",
"griffe",
# Logfire API
"logfire-api",
"requests",
]

[tool.uv.sources]
Expand Down
33 changes: 21 additions & 12 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.