Skip to main content

upcheck

CI PyPI Python versions License: MIT

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

  1. Direct requirements from [project].dependencies or a requirements file.
  2. Environment markers (sys_platform, python_version, …) against the target.
  3. The newest release satisfying each specifier.
  4. Whether that release ships a wheel whose tags fit the target:
    • CPython ABI: cp315 on 3.15, abi3 forward-compatible, abi3t for free-threaded 3.15+
    • platforms: win_arm64, manylinux/musllinux, macosx + universal2
  5. If not, an sdist means "warning"; nothing means "blocker".
  6. 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.toml are 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

Token-based upload (works with or without a git host):

  1. Bump version in pyproject.toml and add a CHANGELOG.md entry.
  2. python -m build
  3. python -m twine check --strict dist/*
  4. python -m twine upload --repository testpypi dist/* ← dry run
  5. python -m twine upload dist/* ← real PyPI

Credentials live in ~/.pypirc (__token__ + a pypi-… API token from the respective site). PyPI never accepts the same version twice — any fix means a version bump.

Optional, now that the source lives at immutabilityjuniper/upcheck: configure Trusted Publishing on PyPI (Account → Publishing → add a pending publisher: owner immutabilityjuniper, repository upcheck, workflow release.yml, environment pypi) and the bundled workflow publishes on every v* tag with no API token at all.

License

MIT — see LICENSE.

Metadata

Release files for upcheck 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for upcheck 0.1.1
File Size Uploaded Provenance Actions
upcheck-0.1.1.tar.gz 18.3 kB With provenance Details for upcheck-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for upcheck 0.1.1
File Interpreter ABI Platform Actions
upcheck-0.1.1-py3-none-any.whl Python 3 none any Details for upcheck-0.1.1-py3-none-any.whl

Total release size: 34.0 kB

Release files / upcheck-0.1.1.tar.gz

Download URL upcheck-0.1.1.tar.gz
Size 18.3 kB
Tags Source
SHA-256 checksum
How to use checksums
578d3ef22d93f43ec0e584d03a5efd97bfbcf92cbc99bf9426f3e57313d605c1
BLAKE2b-256 checksum
How to use checksums
18c75c01240b9fc619610ca2cf455f1289454b86725fa1eec4157b474d79e5f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Release files / upcheck-0.1.1-py3-none-any.whl

Download URL upcheck-0.1.1-py3-none-any.whl
Size 15.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
088f68316d24d7a5a99b48b6c67d9ec15b2a1193e449422738ab789677a45945
BLAKE2b-256 checksum
How to use checksums
ffaaa76dd6b86b2838c5a0b24170fa0a5d6bfd465c0eeeb8d186f49be6b41512
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Security for upcheck 0.1.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for upcheck-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page