upcheck
Will your dependencies install on that Python? upcheck answers before you
upgrade, not after pip fails.
It reads your requirements, asks PyPI which wheels exist, and reports the packages that have no compatible wheel for a target Python version, ABI (free-threaded) and platform:
$ upcheck . --python 3.15 --platform windows-arm64
target Python 3.15 (GIL) on windows-arm64
packages 3
BLOCKERS (1)
grpcio 1.85.4 no compatible wheel
WARNINGS (1)
psycopg2-binary 2.9.13 sdist only: needs a build toolchain
OK (1)
packaging 26.4 wheel available
result 1 ok, 1 warnings, 1 blockers
Install
pip install upcheck
# or
uv tool install upcheck
Usage
upcheck [PATH] [--python 3.15] [--platform windows-arm64] [--json]
PATH may be a project directory (reads pyproject.toml, then
requirements.txt), a pyproject.toml, or a requirements file.
| Flag | Meaning |
|---|---|
-p, --python |
Target version: 3.15, 315, cp315, or 3.15t for free-threaded |
--platform |
windows-arm64, windows-x86_64, linux-x86_64, linux-aarch64, macos-arm64, macos-x86_64, any |
--free-threaded |
Force a free-threaded (GIL-disabled) target |
--no-sdist |
Treat source-only releases as blockers instead of warnings |
--no-suggest |
Skip scanning older releases for a version that does have a wheel |
--json |
Machine-readable output |
-j, --jobs |
Concurrent PyPI requests (default 8) |
--timeout |
Per-request timeout in seconds (default 20) |
Both --python and --platform default to the interpreter and machine running
the command.
Exit codes
| Code | Meaning |
|---|---|
0 |
Nothing blocks the target (warnings and unknown packages are allowed) |
1 |
At least one blocker |
2 |
Bad arguments, unreadable project, or unsupported requirements |
In CI
- name: Check the next Python
run: |
pipx run upcheck . --python 3.15 --platform linux-x86_64
Use --json when you want to post-process the result:
{
"target": {"python": "3.15", "free_threaded": false, "platform": "windows-arm64"},
"summary": {"ok": 41, "warnings": 1, "blockers": 1, "unknown": 0},
"packages": [
{
"name": "grpcio",
"requested": ">=1.80",
"version": "1.85.4",
"status": "blocker",
"detail": "no compatible wheel",
"wheel": null,
"suggestion": null
}
],
"exit_code": 1
}
What it checks
- Direct requirements from
[project].dependenciesor a requirements file. - Environment markers (
sys_platform,python_version, …) against the target. - The newest release satisfying each specifier.
- Whether that release ships a wheel whose tags fit the target:
- CPython ABI:
cp315on 3.15,abi3forward-compatible,abi3tfor free-threaded 3.15+ - platforms:
win_arm64,manylinux/musllinux,macosx+universal2
- CPython ABI:
- If not, an sdist means "warning"; nothing means "blocker".
- Optional: the newest older release that does have a compatible wheel.
Limitations (v0.1)
- Direct dependencies only; transitive resolution is left to pip/uv.
- Manylinux and macOS deployment targets are not version-ranked.
- Private indexes are not configurable yet (the client supports it, the CLI does not).
uv.lock/pylock.tomlare not read yet.- No source-level API checks: this release answers "can it install?", not "will it run?".
Development
uv sync
uv run pytest
uv run ruff check . && uv run ruff format .
uv run mypy
Without uv:
python -m venv .venv
.venv\Scripts\activate # Windows (bash: source .venv/Scripts/activate)
pip install -e . --group dev
pytest
Release
- Bump
versioninpyproject.tomland add aCHANGELOG.mdentry. - Commit, tag and push:
git tag -a v0.1.0 -m v0.1.0 && git push --tags. - The
Releaseworkflow builds the sdist/wheel and publishes with Trusted Publishing (no API tokens).
Before the first release, add a GitHub publisher on PyPI:
owner OWNER, repository upcheck, workflow release.yml, environment pypi.
For a dry run, configure the same on https://test.pypi.org (environment
testpypi) and trigger the workflow manually.
Manual dry run without GitHub:
python -m build
python -m twine upload --repository testpypi dist/*
License
MIT — see LICENSE.
Metadata
Release files for upcheck 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| upcheck-0.1.0.tar.gz | 18.3 kB | Without provenance | Details for upcheck-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| upcheck-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for upcheck-0.1.0-py3-none-any.whl |
Total release size: 33.8 kB
Release files / upcheck-0.1.0.tar.gz
| Download URL | upcheck-0.1.0.tar.gz |
|---|---|
| Size | 18.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
173c42827a456e3bc930f3cafffca440a73275a58462e26a491944fe615e617c
|
|
BLAKE2b-256 checksum How to use checksums |
ca0a9555695ecfbc1ce15debc8b589a66e5d7ace7e90309a3b093ea5f649ddd5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.0
|
Release files / upcheck-0.1.0-py3-none-any.whl
| Download URL | upcheck-0.1.0-py3-none-any.whl |
|---|---|
| Size | 15.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fbbdf7a61d7541b6c0117900ceb0d07f322759989b0a754ebf2dd3fef20541fa
|
|
BLAKE2b-256 checksum How to use checksums |
b792ec90fa889db5a0619d9782b2bd2cdb8fec8931ab49d31b9c90aac49683eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.0
|
Security for upcheck 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.