pydantic: test dependencies on CPython 3.14 across three platforms¶
pydantic is a data validation library built on its own Rust core. This case study checks its locked test environment, not just its runtime dependencies, at revision 328b88b52694a64ecd05f3acc92f2b6a160bc2ee. The scan used wheelgap 0.13.0 and package files available on 19 November 2026 (US Eastern time).
The result is a test environment whose every registry package installs from a wheel on the three targets: 56 packages that wheelgap checks, plus a few that only the workspace member pydantic-core adds (see below). The only source builds are pydantic's own workspace packages, which CI builds from the checkout.
Targets and selection¶
The pinned CI test matrix runs the tests on ubuntu-latest, macos-latest and windows-latest for CPython 3.11 through 3.15, 3.15t and PyPy 3.11, plus macos-15-intel for 3.15 and 3.15t: make test (pytest under coverage) on CPython, plain pytest on PyPy. This study checks the CPython 3.14 jobs on:
linux-x86_64andwin-amd64, the x64 Linux and Windows runners.macos-arm64, the Apple-silicon runner. The workflow'smacos-latestlabel alone doesn't establish the runner's architecture; across GitHub-hosted images it is ARM today, and this study says so rather than assuming it for every reader.
Linux uses wheelgap's default glibc floor 2.36; it doesn't measure the runner's installed libc, and it makes no claim about other Linux distributions.
The CI job installs the workspace with uv sync --all-packages --group testing-extra --all-extras (ci.yml:894-895), so the wheelgap command selects the closest equivalent: every project extra, plus the testing-extra group (and the default dev group, as uv does). That includes the test tools and their Python dependencies, and should not be read as an audit of pydantic's runtime footprint.
It isn't quite the same set. pydantic is a rooted uv workspace, and --all-packages also installs the groups of the member pydantic-core, whose own dev and testing-extra groups add maturin. wheelgap has no --all-packages: with selection enabled it starts at the root project and reaches pydantic-core only as a dependency, without its groups. At this pin that leaves five packages CI installs outside the scan: hypothesis 6.147.0, inline-snapshot 0.32.2, maturin 1.16.0, pytest-timeout 2.4.0 and sortedcontainers 2.4.0. On Linux and macOS there is a sixth, tzdata 2025.1: the root project only takes it on Windows (through the timezone extra), while pydantic-core's testing-extra group installs it everywhere. All six have wheels for the three targets on PyPI (five are pure-Python none-any wheels; maturin has py3-none manylinux x86_64, universal2 macOS and win_amd64 wheels), so the conclusion holds, but for a workspace whose members have their own groups, a selected scan of the root alone can miss packages.
Reproduce the scan¶
In an empty folder, download the pinned lockfile and check it:
curl -fL https://raw.githubusercontent.com/pydantic/pydantic/328b88b52694a64ecd05f3acc92f2b6a160bc2ee/uv.lock -o uv.lock
uvx --from wheelgap==0.13.0 python -m wheelgap uv.lock \
-p 3.14 -t linux-x86_64,macos-arm64,win-amd64 \
--group testing-extra --all-extras \
--explain --suggest --no-cache
Output:
wheelgap 0.13.0 · uv.lock · 56 packages · Python 3.14
skipped 2 non-index packages: pydantic (editable), pydantic-core (editable)
✓ All 56 packages have a wheel for every one of 3 targets.
The command exits 0, since it reports no gaps. The two skipped packages are the workspace's own pydantic and pydantic-core, which the checkout builds from source; uv sync --all-packages does the same.
The runtime dependencies on their own¶
--no-dev narrows the check to what pydantic installs for a user, which is three registry packages:
uvx --from wheelgap==0.13.0 python -m wheelgap uv.lock \
-p 3.14 -t linux-x86_64,macos-arm64,win-amd64 --no-dev --explain --suggest --no-cache
wheelgap 0.13.0 · uv.lock · 3 packages · Python 3.14
skipped 2 non-index packages: pydantic (editable), pydantic-core (editable)
✓ All 3 packages have a wheel for every one of 3 targets.
Both runs exit 0, so there is nothing to fix in the lockfile: no gap here needs a newer release, a different package, a source build in CI, or a dropped platform.
What a whole-lockfile scan also reports¶
With no selection flags, wheelgap checks every extra and group of both workspace members: 156 packages apply on these targets, including the documentation toolchain. Checking all of it with the same targets reports two gaps, and they are worth naming because they show what the flags change:
uvx --from wheelgap==0.13.0 python -m wheelgap uv.lock \
-p 3.14 -t linux-x86_64,macos-arm64,win-amd64 --explain --suggest --no-cache
package version linux-x86_64 macos-arm64 win-amd64
mkdocs-exclude 1.0.2 ● source ● source ● source
watchdog 6.0.0 ✓ ● source ✓
154 packages with wheels for every target hidden (--all to show)
The output above is trimmed to the gap table; the full run also prints the --explain reasons, the --suggest lines and the skipped workspace and git packages. Because it reports gaps, this run exits 1.
mkdocs-exclude1.0.2 publishes an sdist only, so three targets reportsourcewithno wheels published for this version.--suggestnames 1.0.0 as the last release with a wheel.watchdog6.0.0 hascp311–cp313macOS wheels in the lockfile (cp39–cp313on PyPI) but nocp314one, somacos-arm64reportssource;--suggestnames 7.0.0 as the release that has it. Linux and Windows get wheels (py3-none-manylinux2014_x86_64,py3-none-win_amd64).
Neither package is in what the CI job installs: mkdocs-exclude is in the docs group and watchdog reaches the tree through mkdocs. That is why the --group testing-extra --all-extras run above is the one that answers "does the test environment install cleanly", and the whole-lockfile run answers a different question.
Independent pip checks¶
The two whole-lockfile gaps were checked against public PyPI with pip 26.2.1, --no-deps --only-binary=:all: --python-version 3.14 --implementation cp --abi cp314:
python -m pip --isolated download --no-deps --only-binary=:all: \
--python-version 3.14 --implementation cp --abi cp314 \
--platform macosx_14_0_arm64 --dest wheelhouse "watchdog==6.0.0"
python -m pip --isolated download --no-deps --only-binary=:all: \
--python-version 3.14 --implementation cp --abi cp314 \
--platform macosx_14_0_arm64 --dest wheelhouse "mkdocs-exclude==1.0.2"
Both returned No matching distribution found, which agrees with wheelgap. The Linux and Windows cells were checked the same way with --platform win_amd64 and with every manylinux_2_* tag from 2.36 down to 2.5 plus manylinux2014, manylinux2010 and manylinux1 for x86_64: watchdog==6.0.0 downloaded py3-none-manylinux2014_x86_64.whl and py3-none-win_amd64.whl, and mkdocs-exclude==1.0.2 found no distribution on either.
The releases --suggest names were checked too: watchdog==7.0.0 downloaded cp314-cp314-macosx_11_0_arm64.whl, and mkdocs-exclude==1.0.0 downloaded py3-none-any.whl.
None of this inspects or tests pydantic's own code: both checks read published package files, and neither runs a dependency's build.