Open
Description
We get intermittent failures in CI during the "pyright: Run test cases" step. The failure is always consistent between all three platform this test runs on, and also look consistent within a PR, but the packages it affects are different between PRs. The affected packages have no new releases.
Example from https://github.com/python/typeshed/actions/runs/15062531917/job/42340224286?pr=14078
Run DEPENDENCIES=$( python tests/get_external_stub_requirements.py )
DEPENDENCIES=$( python tests/get_external_stub_requirements.py )
if [ -n "$DEPENDENCIES" ]; then
printf "Installing packages:\n $(echo $DEPENDENCIES | sed 's/ /\n /g')\n"
uv pip install --python-version 3.14 $DEPENDENCIES
fi
shell: /usr/bin/bash -e {0}
env:
PIP_DISABLE_PIP_VERSION_CHECK: 1
FORCE_COLOR: 1
pythonLocation: /opt/hostedtoolcache/Python/3.13.3/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.13.3/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.13.3/x64
Python[2](https://github.com/python/typeshed/actions/runs/15062531917/job/42340224286?pr=14078#step:8:2)_ROOT_DIR: /opt/hostedtoolcache/Python/3.13.3/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/[3](https://github.com/python/typeshed/actions/runs/15062531917/job/42340224286?pr=14078#step:8:3).13.3/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.13.3/x6[4](https://github.com/python/typeshed/actions/runs/15062531917/job/42340224286?pr=14078#step:8:4)/lib
UV_CACHE_DIR: /home/runner/work/_temp/setup-uv-cache
Installing packages:
Flask-SQLAlchemy>=3.0.1
Flask>=0.9
Flask>=2.0.0
Flask>=2.3.2
MarkupSafe
Pillow>=10.3.0
arrow>=1.0.1
click>=8.0.0
cryptography
cryptography>=3[7](https://github.com/python/typeshed/actions/runs/15062531917/job/42340224286?pr=14078#step:8:7).0.0
django-stubs
matplotlib>=3.[8](https://github.com/python/typeshed/actions/runs/15062531917/job/42340224286?pr=14078#step:8:8)
numpy>=1.20
numpy>=1.21
numpy>=2.0.0rc1
pandas-stubs
pyproj
referencing
tree-sitter>=0.20.3
urllib3>=2
Resolved 41 packages in 282ms
Downloading cryptography (4.0MiB)
Downloading sqlalchemy (1.8MiB)
Downloading fonttools (1.1MiB)
Downloading django (7.[9](https://github.com/python/typeshed/actions/runs/15062531917/job/42340224286?pr=14078#step:8:9)MiB)
× Failed to download and build `matplotlib==3.[10](https://github.com/python/typeshed/actions/runs/15062531917/job/42340224286?pr=14078#step:8:10).3`
├─▶ Failed to extract archive: matplotlib==3.10.3
╰─▶ bzip2: bz2 header missing
Error: Process completed with exit code 1.
The errors started yesterday and yesterday a new uv version was released, but we pinned uv to an old version, which also gets installed.