From 50e3d96495903ef29539eaa5caaedb37fb05f70a Mon Sep 17 00:00:00 2001 From: Artur Shiriev Date: Sun, 27 Sep 2026 21:19:44 +0300 Subject: [PATCH] build: move the docs tooling out of the dev group (TL3) mkdocs and mkdocs-llmstxt were declared twice: in the dev group and in docs/requirements.txt, which is where the docs recipe already reads them from. TL3 reserves the dev group for test dependencies, and every other repo in the org runs mkdocs through uvx rather than installing it into the project env. Dropping them restores floors (3.14), which #253 had to leave out: watchdog ships no cp314 wheel, so under --no-build the resolver climbed to mkdocs 2.0.dev and pulled an httpx 1.0 prerelease the suite cannot import. --- .github/workflows/_checks.yml | 4 +--- justfile | 3 +-- pyproject.toml | 2 -- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/_checks.yml b/.github/workflows/_checks.yml index 891e6ac9..d0302368 100644 --- a/.github/workflows/_checks.yml +++ b/.github/workflows/_checks.yml @@ -52,9 +52,6 @@ jobs: # scheduled run does the same. Wheel coverage is per interpreter, so every matrix entry runs. # Skipped on the schedule: the floors do not move, and the scheduled `pytest` already covers # the newest releases, which are what users install. - # 3.14 is out: the dev group's mkdocs pulls watchdog, which ships no cp314 wheel, so under - # --no-build the resolver climbs to mkdocs 2.0.dev and this leg would measure upstream's gap - # rather than a floor. Moving the docs tooling out of the dev group (TL3) would restore it. if: github.event_name != 'schedule' runs-on: ubuntu-latest strategy: @@ -65,6 +62,7 @@ jobs: - "3.11" - "3.12" - "3.13" + - "3.14" steps: - uses: actions/checkout@v6 - uses: astral-sh/setup-uv@v7 diff --git a/justfile b/justfile index efea1a49..37ef3583 100644 --- a/justfile +++ b/justfile @@ -40,5 +40,4 @@ unhook: uv run pre-commit uninstall docs: - uv pip install -r docs/requirements.txt - uv run mkdocs serve + uvx --with-requirements docs/requirements.txt mkdocs serve diff --git a/pyproject.toml b/pyproject.toml index 4e46d78e..a37d3df9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,9 +49,7 @@ dev = [ "pre-commit", "litestar", "faststream[nats]", - "mkdocs>=1.6.1", "pytest-randomly", - "mkdocs-llmstxt>=0.4.0", "pyrefly>=0.61.1", ]