wheelgap 0.2.0__tar.gz → 0.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- wheelgap-0.3.0/.github/CODEOWNERS +2 -0
- wheelgap-0.3.0/.github/ISSUE_TEMPLATE/bug_report.yml +44 -0
- wheelgap-0.3.0/.github/ISSUE_TEMPLATE/config.yml +5 -0
- wheelgap-0.3.0/.github/ISSUE_TEMPLATE/feature_request.yml +30 -0
- wheelgap-0.3.0/.github/pull_request_template.md +13 -0
- {wheelgap-0.2.0 → wheelgap-0.3.0}/.github/workflows/ci.yml +1 -1
- wheelgap-0.3.0/.pre-commit-hooks.yaml +7 -0
- wheelgap-0.3.0/CHANGELOG.md +40 -0
- wheelgap-0.3.0/CODE_OF_CONDUCT.md +130 -0
- wheelgap-0.3.0/CONTRIBUTING.md +61 -0
- {wheelgap-0.2.0 → wheelgap-0.3.0}/PKG-INFO +48 -10
- {wheelgap-0.2.0 → wheelgap-0.3.0}/README.md +47 -9
- {wheelgap-0.2.0 → wheelgap-0.3.0}/pyproject.toml +1 -1
- {wheelgap-0.2.0 → wheelgap-0.3.0}/src/wheelgap/__init__.py +1 -1
- {wheelgap-0.2.0 → wheelgap-0.3.0}/src/wheelgap/check.py +20 -3
- {wheelgap-0.2.0 → wheelgap-0.3.0}/src/wheelgap/cli.py +98 -15
- {wheelgap-0.2.0 → wheelgap-0.3.0}/src/wheelgap/dockerfile.py +14 -3
- wheelgap-0.3.0/src/wheelgap/pyodide.py +87 -0
- {wheelgap-0.2.0 → wheelgap-0.3.0}/src/wheelgap/sources.py +50 -2
- {wheelgap-0.2.0 → wheelgap-0.3.0}/src/wheelgap/targets.py +34 -2
- wheelgap-0.3.0/tests/fixtures/pdmproj/pdm.lock +31 -0
- wheelgap-0.3.0/tests/fixtures/pipenvproj/Pipfile.lock +18 -0
- wheelgap-0.3.0/tests/fixtures/pyodide-lock.json +9 -0
- {wheelgap-0.2.0 → wheelgap-0.3.0}/tests/test_check.py +8 -0
- wheelgap-0.3.0/tests/test_cli.py +252 -0
- {wheelgap-0.2.0 → wheelgap-0.3.0}/tests/test_dockerfile.py +17 -4
- {wheelgap-0.2.0 → wheelgap-0.3.0}/tests/test_explain.py +10 -0
- wheelgap-0.3.0/tests/test_fail_on.py +26 -0
- wheelgap-0.3.0/tests/test_pyodide.py +102 -0
- wheelgap-0.3.0/tests/test_sources.py +152 -0
- {wheelgap-0.2.0 → wheelgap-0.3.0}/tests/test_targets.py +44 -1
- {wheelgap-0.2.0 → wheelgap-0.3.0}/uv.lock +1 -1
- wheelgap-0.2.0/CHANGELOG.md +0 -25
- wheelgap-0.2.0/CONTRIBUTING.md +0 -14
- wheelgap-0.2.0/tests/test_cli.py +0 -85
- wheelgap-0.2.0/tests/test_sources.py +0 -78
- {wheelgap-0.2.0 → wheelgap-0.3.0}/.github/workflows/publish.yml +0 -0
- {wheelgap-0.2.0 → wheelgap-0.3.0}/.gitignore +0 -0
- {wheelgap-0.2.0 → wheelgap-0.3.0}/LICENSE +0 -0
- {wheelgap-0.2.0 → wheelgap-0.3.0}/action.yml +0 -0
- {wheelgap-0.2.0 → wheelgap-0.3.0}/docs/demo/requirements.txt +0 -0
- {wheelgap-0.2.0 → wheelgap-0.3.0}/docs/demo.gif +0 -0
- {wheelgap-0.2.0 → wheelgap-0.3.0}/docs/social-preview.png +0 -0
- {wheelgap-0.2.0 → wheelgap-0.3.0}/src/wheelgap/__main__.py +0 -0
- {wheelgap-0.2.0 → wheelgap-0.3.0}/src/wheelgap/pypi.py +0 -0
- {wheelgap-0.2.0 → wheelgap-0.3.0}/tests/conftest.py +0 -0
- {wheelgap-0.2.0 → wheelgap-0.3.0}/tests/fixtures/armgap/uv.lock +0 -0
- {wheelgap-0.2.0 → wheelgap-0.3.0}/tests/fixtures/configproj/pyproject.toml +0 -0
- {wheelgap-0.2.0 → wheelgap-0.3.0}/tests/fixtures/configproj/uv.lock +0 -0
- {wheelgap-0.2.0 → wheelgap-0.3.0}/tests/fixtures/empty/.keep +0 -0
- {wheelgap-0.2.0 → wheelgap-0.3.0}/tests/fixtures/poetryproj/poetry.lock +0 -0
- {wheelgap-0.2.0 → wheelgap-0.3.0}/tests/fixtures/pylockproj/pylock.toml +0 -0
- {wheelgap-0.2.0 → wheelgap-0.3.0}/tests/fixtures/reqproj/extra.txt +0 -0
- {wheelgap-0.2.0 → wheelgap-0.3.0}/tests/fixtures/reqproj/requirements.txt +0 -0
- {wheelgap-0.2.0 → wheelgap-0.3.0}/tests/fixtures/uvproj/uv.lock +0 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
name: Bug report
|
|
2
|
+
description: wheelgap gave a wrong result, crashed, or misread a file.
|
|
3
|
+
labels: [bug]
|
|
4
|
+
body:
|
|
5
|
+
- type: markdown
|
|
6
|
+
attributes:
|
|
7
|
+
value: |
|
|
8
|
+
Thanks for reporting! The `--explain` output below is usually all we need to reproduce a wrong result, so you don't need to share your lockfile.
|
|
9
|
+
- type: input
|
|
10
|
+
id: command
|
|
11
|
+
attributes:
|
|
12
|
+
label: Command
|
|
13
|
+
description: The exact command you ran.
|
|
14
|
+
placeholder: wheelgap uv.lock -p 3.13 -t musl-aarch64
|
|
15
|
+
validations:
|
|
16
|
+
required: true
|
|
17
|
+
- type: textarea
|
|
18
|
+
id: output
|
|
19
|
+
attributes:
|
|
20
|
+
label: Output with --explain
|
|
21
|
+
description: Run the same command with `--explain` added and paste the output. For a crash, paste the full error.
|
|
22
|
+
render: text
|
|
23
|
+
validations:
|
|
24
|
+
required: true
|
|
25
|
+
- type: textarea
|
|
26
|
+
id: expected
|
|
27
|
+
attributes:
|
|
28
|
+
label: What did you expect?
|
|
29
|
+
description: For example, "numpy 2.3.4 has a musllinux_1_2_aarch64 wheel on PyPI, so it should be ✓".
|
|
30
|
+
validations:
|
|
31
|
+
required: true
|
|
32
|
+
- type: input
|
|
33
|
+
id: version
|
|
34
|
+
attributes:
|
|
35
|
+
label: wheelgap version
|
|
36
|
+
description: Output of `wheelgap -V`.
|
|
37
|
+
placeholder: wheelgap 0.2.0
|
|
38
|
+
validations:
|
|
39
|
+
required: true
|
|
40
|
+
- type: input
|
|
41
|
+
id: environment
|
|
42
|
+
attributes:
|
|
43
|
+
label: OS and Python you ran it on
|
|
44
|
+
placeholder: macOS 15, Python 3.13
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
name: Feature request
|
|
2
|
+
description: Suggest a new target, input format or option.
|
|
3
|
+
labels: [enhancement]
|
|
4
|
+
body:
|
|
5
|
+
- type: markdown
|
|
6
|
+
attributes:
|
|
7
|
+
value: |
|
|
8
|
+
Bigger or open-ended ideas are easier to talk through in [Discussions → Ideas](https://github.com/patrickballard/wheelgap/discussions/categories/ideas) first. wheelgap does one job (checking dependencies for missing wheels), so ideas that keep it focused are the most likely to land.
|
|
9
|
+
- type: textarea
|
|
10
|
+
id: problem
|
|
11
|
+
attributes:
|
|
12
|
+
label: What problem would this solve?
|
|
13
|
+
description: What were you trying to do when you missed this?
|
|
14
|
+
validations:
|
|
15
|
+
required: true
|
|
16
|
+
- type: textarea
|
|
17
|
+
id: proposal
|
|
18
|
+
attributes:
|
|
19
|
+
label: What would you like wheelgap to do?
|
|
20
|
+
description: An example command and the output you'd hope for helps a lot.
|
|
21
|
+
validations:
|
|
22
|
+
required: true
|
|
23
|
+
- type: dropdown
|
|
24
|
+
id: contribute
|
|
25
|
+
attributes:
|
|
26
|
+
label: Would you like to work on it?
|
|
27
|
+
options:
|
|
28
|
+
- "Yes, I'd like to open a PR"
|
|
29
|
+
- Maybe, with some pointers
|
|
30
|
+
- "No, just suggesting"
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Thanks for contributing! Link the issue this closes so it closes automatically when merged. -->
|
|
2
|
+
|
|
3
|
+
Closes #
|
|
4
|
+
|
|
5
|
+
### What this changes
|
|
6
|
+
|
|
7
|
+
### Checklist
|
|
8
|
+
|
|
9
|
+
- [ ] Tests added or updated (no network access: use `fake_pypi` or a fixture)
|
|
10
|
+
- [ ] `uv run --group dev ruff format .` and `uv run --group dev ruff check .` pass
|
|
11
|
+
- [ ] `uv run --group dev pytest` passes
|
|
12
|
+
- [ ] `CHANGELOG.md` has a line under `## Unreleased` (if users would notice the change)
|
|
13
|
+
- [ ] README updated (if there's a new flag, target or input format)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
- id: wheelgap
|
|
2
|
+
name: wheelgap
|
|
3
|
+
description: Find dependencies with no prebuilt wheel for your target platforms.
|
|
4
|
+
entry: wheelgap
|
|
5
|
+
language: python
|
|
6
|
+
files: (^|/)(uv\.lock|poetry\.lock|pdm\.lock|pylock\.toml|Pipfile\.lock|requirements[^/]*\.txt)$
|
|
7
|
+
pass_filenames: false
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.3.0 (2026-11-09)
|
|
4
|
+
|
|
5
|
+
Thanks to [@draarivpatel-ui](https://github.com/draarivpatel-ui), [@Daiyuanranfeng](https://github.com/Daiyuanranfeng), [@Swarneil1905](https://github.com/Swarneil1905) and [@jwalith4418-Mj](https://github.com/jwalith4418-Mj), whose first PRs are in this release.
|
|
6
|
+
|
|
7
|
+
- `--pyodide-lock PATH_OR_URL` (or `pyodide-lock` in `[tool.wheelgap]`): read a Pyodide release's `pyodide-lock.json`, so packages Pyodide ships itself (numpy, pydantic-core…) count as `✓ bundled` on `-t pyodide`. A different bundled version is noted, and `--json` records it. (#40)
|
|
8
|
+
- New `pyodide` target (aliases `wasm`, `emscripten`) for Python in the browser: Python 3.12–3.14, accepting both the legacy `pyodide_*` and the PEP 783 `pyemscripten_*` tags for each ABI. sdist-only packages are reported as missing there, since Pyodide can't build from source. Not included in `-t all`. (#38)
|
|
9
|
+
- Support `pdm.lock` inputs, reading the distribution filenames and package markers recorded in the lockfile so PDM projects can be checked offline. Entries without a files list are looked up on PyPI. (#36, thanks [@draarivpatel-ui](https://github.com/draarivpatel-ui))
|
|
10
|
+
- Without `-p`, the Python versions come from a `.python-version` file next to the lockfile (or `pyproject.toml`) before falling back to the running Python. `-p`, `--dockerfile` and `[tool.wheelgap]` still win. Entries wheelgap can't use, such as `system`, are skipped with a note. (#34, thanks [@draarivpatel-ui](https://github.com/draarivpatel-ui))
|
|
11
|
+
- `--dockerfile` can infer targets from Astral uv's Python-tagged Debian and Alpine images (`ghcr.io/astral-sh/uv:python3.13-bookworm-slim`), including uv version pins. (#32, thanks [@Daiyuanranfeng](https://github.com/Daiyuanranfeng))
|
|
12
|
+
- Support `Pipfile.lock` inputs, including default and development dependencies, environment markers, and skipped non-index packages. Packages listed in both sections are checked once. (#30, thanks [@Swarneil1905](https://github.com/Swarneil1905))
|
|
13
|
+
- Accept Docker platform names (`linux/amd64`, `linux/arm64`, `linux/arm64/v8`) with `-t`. (#28, thanks [@jwalith4418-Mj](https://github.com/jwalith4418-Mj))
|
|
14
|
+
- New `--fail-on missing` (or `fail-on = "missing"` in `[tool.wheelgap]`): accept source builds and only fail when a package can't be installed at all. (#22)
|
|
15
|
+
- pre-commit hook: add `id: wheelgap` from this repo to `.pre-commit-config.yaml`. (#23)
|
|
16
|
+
- CI now also runs on free-threaded Python 3.14t. (#21)
|
|
17
|
+
|
|
18
|
+
## 0.2.0 (2026-11-09)
|
|
19
|
+
|
|
20
|
+
Both features in this release come from [@nodearray](https://github.com/nodearray), wheelgap's first contributor.
|
|
21
|
+
|
|
22
|
+
- Read default `python`, `targets`, `glibc`, `musl` and `macos` from `[tool.wheelgap]` in `pyproject.toml`. Command-line flags still win. (#5)
|
|
23
|
+
- New `--dockerfile PATH`: reads the last `FROM` line of an official `python` image (`python:3.13-alpine`, `--platform=linux/arm64`, `-slim-trixie` …) and uses it for `-p`/`-t`, plus `--glibc` for bookworm/trixie/bullseye and `--musl` for Alpine. Flags still win; other images exit with code 2. (#6)
|
|
24
|
+
|
|
25
|
+
## 0.1.1 (2026-11-08)
|
|
26
|
+
|
|
27
|
+
- New `--explain` flag: for each gap, lists the wheels that were rejected and why (wrong libc, glibc/musl/macOS too new, wrong Python or ABI, abi3 on free-threaded), closest misses first. With `--json`, adds a `rejected` list per gap target.
|
|
28
|
+
- Regression tests for the Alpine ARM trap: a `manylinux_*_aarch64` wheel never counts for `musl-aarch64`. (Thanks to a suggestion on r/madeinpython.)
|
|
29
|
+
- The summary line suggests `--explain` when there are gaps.
|
|
30
|
+
- Fixed "1 packages" in the header line.
|
|
31
|
+
|
|
32
|
+
## 0.1.0 (2026-11-08)
|
|
33
|
+
|
|
34
|
+
First release.
|
|
35
|
+
|
|
36
|
+
- Reads `uv.lock`, `pylock.toml` (PEP 751), `poetry.lock`, `requirements.txt` (with `-r` includes), or package names on the command line.
|
|
37
|
+
- Targets: `linux-x86_64`, `linux-aarch64`, `musl-x86_64`, `musl-aarch64`, `macos-arm64`, `macos-x86_64`, `win-amd64`, `win-arm64`, for any CPython version including free-threaded builds (`3.14t`).
|
|
38
|
+
- Evaluates environment markers and walks the `uv.lock` dependency graph per target, so Windows-only or old-Python-only packages don't show up as false gaps.
|
|
39
|
+
- Works offline from lockfiles that record their files; `--online` re-checks against PyPI.
|
|
40
|
+
- `--json` output and CI-friendly exit codes (0 clean, 1 gaps, 2 error). Also usable as a GitHub Action.
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
We as members, contributors, and leaders pledge to make participation in our
|
|
6
|
+
community a harassment-free experience for everyone, regardless of age, body
|
|
7
|
+
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
|
8
|
+
identity and expression, level of experience, education, socio-economic status,
|
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity
|
|
10
|
+
and orientation.
|
|
11
|
+
|
|
12
|
+
We pledge to act and interact in ways that contribute to an open, welcoming,
|
|
13
|
+
diverse, inclusive, and healthy community.
|
|
14
|
+
|
|
15
|
+
## Our Standards
|
|
16
|
+
|
|
17
|
+
Examples of behavior that contributes to a positive environment for our
|
|
18
|
+
community include:
|
|
19
|
+
|
|
20
|
+
* Demonstrating empathy and kindness toward other people
|
|
21
|
+
* Being respectful of differing opinions, viewpoints, and experiences
|
|
22
|
+
* Giving and gracefully accepting constructive feedback
|
|
23
|
+
* Accepting responsibility and apologizing to those affected by our mistakes,
|
|
24
|
+
and learning from the experience
|
|
25
|
+
* Focusing on what is best not just for us as individuals, but for the
|
|
26
|
+
overall community
|
|
27
|
+
|
|
28
|
+
Examples of unacceptable behavior include:
|
|
29
|
+
|
|
30
|
+
* The use of sexualized language or imagery, and sexual attention or
|
|
31
|
+
advances of any kind
|
|
32
|
+
* Trolling, insulting or derogatory comments, and personal or political attacks
|
|
33
|
+
* Public or private harassment
|
|
34
|
+
* Publishing others' private information, such as a physical or email
|
|
35
|
+
address, without their explicit permission
|
|
36
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
|
37
|
+
professional setting
|
|
38
|
+
|
|
39
|
+
## Enforcement Responsibilities
|
|
40
|
+
|
|
41
|
+
Community leaders are responsible for clarifying and enforcing our standards of
|
|
42
|
+
acceptable behavior and will take appropriate and fair corrective action in
|
|
43
|
+
response to any behavior that they deem inappropriate, threatening, offensive,
|
|
44
|
+
or harmful.
|
|
45
|
+
|
|
46
|
+
Community leaders have the right and responsibility to remove, edit, or reject
|
|
47
|
+
comments, commits, code, wiki edits, issues, and other contributions that are
|
|
48
|
+
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
|
49
|
+
decisions when appropriate.
|
|
50
|
+
|
|
51
|
+
## Scope
|
|
52
|
+
|
|
53
|
+
This Code of Conduct applies within all community spaces, and also applies when
|
|
54
|
+
an individual is officially representing the community in public spaces.
|
|
55
|
+
Examples of representing our community include using an official e-mail address,
|
|
56
|
+
posting via an official social media account, or acting as an appointed
|
|
57
|
+
representative at an online or offline event.
|
|
58
|
+
|
|
59
|
+
## Enforcement
|
|
60
|
+
|
|
61
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
62
|
+
reported to the community leaders responsible for enforcement using GitHub's
|
|
63
|
+
[report content](https://docs.github.com/en/communities/maintaining-your-safety-on-github/reporting-abuse-or-spam)
|
|
64
|
+
option (the `...` menu on any issue, pull request, discussion or comment), or
|
|
65
|
+
by contacting the maintainer, [@patrickballard](https://github.com/patrickballard), privately.
|
|
66
|
+
All complaints will be reviewed and investigated promptly and fairly.
|
|
67
|
+
|
|
68
|
+
All community leaders are obligated to respect the privacy and security of the
|
|
69
|
+
reporter of any incident.
|
|
70
|
+
|
|
71
|
+
## Enforcement Guidelines
|
|
72
|
+
|
|
73
|
+
Community leaders will follow these Community Impact Guidelines in determining
|
|
74
|
+
the consequences for any action they deem in violation of this Code of Conduct:
|
|
75
|
+
|
|
76
|
+
### 1. Correction
|
|
77
|
+
|
|
78
|
+
**Community Impact**: Use of inappropriate language or other behavior deemed
|
|
79
|
+
unprofessional or unwelcome in the community.
|
|
80
|
+
|
|
81
|
+
**Consequence**: A private, written warning from community leaders, providing
|
|
82
|
+
clarity around the nature of the violation and an explanation of why the
|
|
83
|
+
behavior was inappropriate. A public apology may be requested.
|
|
84
|
+
|
|
85
|
+
### 2. Warning
|
|
86
|
+
|
|
87
|
+
**Community Impact**: A violation through a single incident or series
|
|
88
|
+
of actions.
|
|
89
|
+
|
|
90
|
+
**Consequence**: A warning with consequences for continued behavior. No
|
|
91
|
+
interaction with the people involved, including unsolicited interaction with
|
|
92
|
+
those enforcing the Code of Conduct, for a specified period of time. This
|
|
93
|
+
includes avoiding interactions in community spaces as well as external channels
|
|
94
|
+
like social media. Violating these terms may lead to a temporary or
|
|
95
|
+
permanent ban.
|
|
96
|
+
|
|
97
|
+
### 3. Temporary Ban
|
|
98
|
+
|
|
99
|
+
**Community Impact**: A serious violation of community standards, including
|
|
100
|
+
sustained inappropriate behavior.
|
|
101
|
+
|
|
102
|
+
**Consequence**: A temporary ban from any sort of interaction or public
|
|
103
|
+
communication with the community for a specified period of time. No public or
|
|
104
|
+
private interaction with the people involved, including unsolicited interaction
|
|
105
|
+
with those enforcing the Code of Conduct, is allowed during this period.
|
|
106
|
+
Violating these terms may lead to a permanent ban.
|
|
107
|
+
|
|
108
|
+
### 4. Permanent Ban
|
|
109
|
+
|
|
110
|
+
**Community Impact**: Demonstrating a pattern of violation of community
|
|
111
|
+
standards, including sustained inappropriate behavior, harassment of an
|
|
112
|
+
individual, or aggression toward or disparagement of classes of individuals.
|
|
113
|
+
|
|
114
|
+
**Consequence**: A permanent ban from any sort of public interaction within
|
|
115
|
+
the community.
|
|
116
|
+
|
|
117
|
+
## Attribution
|
|
118
|
+
|
|
119
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
|
120
|
+
version 2.0, available at
|
|
121
|
+
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
|
|
122
|
+
|
|
123
|
+
Community Impact Guidelines were inspired by [Mozilla's code of conduct
|
|
124
|
+
enforcement ladder](https://github.com/mozilla/diversity).
|
|
125
|
+
|
|
126
|
+
[homepage]: https://www.contributor-covenant.org
|
|
127
|
+
|
|
128
|
+
For answers to common questions about this code of conduct, see the FAQ at
|
|
129
|
+
https://www.contributor-covenant.org/faq. Translations are available at
|
|
130
|
+
https://www.contributor-covenant.org/translations.
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Contributing
|
|
2
|
+
|
|
3
|
+
Thanks for helping! wheelgap is deliberately small: one job, one dependency (`packaging`). First contributions are very welcome, and nobody expects you to know the codebase.
|
|
4
|
+
|
|
5
|
+
wheelgap is maintained by [@patrickballard](https://github.com/patrickballard), who reviews and merges pull requests.
|
|
6
|
+
|
|
7
|
+
## Setup (3 commands)
|
|
8
|
+
|
|
9
|
+
You need [uv](https://docs.astral.sh/uv/).
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
git clone https://github.com/patrickballard/wheelgap && cd wheelgap
|
|
13
|
+
uv run --group dev pytest # tests
|
|
14
|
+
uv run --group dev ruff check . # lint
|
|
15
|
+
uv run wheelgap numpy -t all # try it
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Picking something to work on
|
|
19
|
+
|
|
20
|
+
- Issues labelled [`good first issue`](https://github.com/patrickballard/wheelgap/labels/good%20first%20issue) are scoped to be doable in an evening, and each one says which files to touch and what to test. [`help wanted`](https://github.com/patrickballard/wheelgap/labels/help%20wanted) issues are bigger.
|
|
21
|
+
- **Claim it** by commenting "I'd like to take this" on the issue, then go ahead. You don't need to wait for a reply.
|
|
22
|
+
- If there's no PR after about two weeks, the issue is free for someone else. Life happens, and that's fine; just comment if you're still on it.
|
|
23
|
+
- **Want to add something that isn't an issue yet?** Post it in [Discussions → Ideas](https://github.com/patrickballard/wheelgap/discussions/categories/ideas) first, so we can agree it fits before you spend time on it. Small fixes (typos, docs, obvious bugs) can go straight to a PR.
|
|
24
|
+
|
|
25
|
+
## Making a pull request
|
|
26
|
+
|
|
27
|
+
1. Fork the repo and create a branch.
|
|
28
|
+
2. Make your change. Before pushing, run:
|
|
29
|
+
```bash
|
|
30
|
+
uv run --group dev ruff format .
|
|
31
|
+
uv run --group dev ruff check .
|
|
32
|
+
uv run --group dev pytest
|
|
33
|
+
```
|
|
34
|
+
3. Open a PR and put `Closes #123` in the description, so the issue closes when it's merged.
|
|
35
|
+
|
|
36
|
+
The PR template has a short checklist:
|
|
37
|
+
|
|
38
|
+
- **Tests** for any behaviour change. Tests never hit the network: use the `fake_pypi` fixture in `tests/conftest.py`, or a lockfile fixture under `tests/fixtures/`.
|
|
39
|
+
- **A line in `CHANGELOG.md`** under `## Unreleased`, written for users.
|
|
40
|
+
- **README updates** if users would notice the change (a new flag, target or input format).
|
|
41
|
+
- Keep the code in the same style as the surrounding code. `ruff` handles formatting.
|
|
42
|
+
|
|
43
|
+
## What to expect
|
|
44
|
+
|
|
45
|
+
- A review within a day or so. Most PRs need a small change or two, which is normal.
|
|
46
|
+
- PRs are squash-merged, so don't worry about tidying your commit history.
|
|
47
|
+
- You'll be credited in the release notes.
|
|
48
|
+
|
|
49
|
+
## AI-assisted contributions
|
|
50
|
+
|
|
51
|
+
Using AI tools is fine. Please make sure you've run the code and the tests yourself and can explain what the change does, the same as for anything you write by hand.
|
|
52
|
+
|
|
53
|
+
## Reporting a wrong result
|
|
54
|
+
|
|
55
|
+
Found a package that wheelgap misjudges? Open a [bug report](https://github.com/patrickballard/wheelgap/issues/new?template=bug_report.yml) with the output of the same command plus `--explain`. It lists the wheel filenames and why each was rejected, which is everything needed to write a test, so you don't have to share your lockfile.
|
|
56
|
+
|
|
57
|
+
## Questions
|
|
58
|
+
|
|
59
|
+
Ask in [Discussions → Q&A](https://github.com/patrickballard/wheelgap/discussions/categories/q-a). No question is too basic.
|
|
60
|
+
|
|
61
|
+
Everyone taking part is expected to follow the [Code of Conduct](CODE_OF_CONDUCT.md).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: wheelgap
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: Find the Python dependencies that have no prebuilt wheel for your target platform, before your Docker build does.
|
|
5
5
|
Project-URL: Homepage, https://github.com/patrickballard/wheelgap
|
|
6
6
|
Project-URL: Issues, https://github.com/patrickballard/wheelgap/issues
|
|
@@ -30,6 +30,7 @@ Description-Content-Type: text/markdown
|
|
|
30
30
|
[](https://pypi.org/project/wheelgap/)
|
|
31
31
|
[](LICENSE)
|
|
32
32
|

|
|
33
|
+
[](https://github.com/patrickballard/wheelgap/labels/good%20first%20issue)
|
|
33
34
|
|
|
34
35
|
**Find the Python dependencies that have no prebuilt wheel for your target platform, before your Docker build does.**
|
|
35
36
|
|
|
@@ -53,7 +54,7 @@ pipx run wheelgap
|
|
|
53
54
|
|
|
54
55
|
Or install it: `pip install wheelgap`.
|
|
55
56
|
|
|
56
|
-
Run either one in a project directory. It finds `uv.lock`, `pylock.toml`, `poetry.lock` or `requirements.txt` on its own.
|
|
57
|
+
Run either one in a project directory. It finds `uv.lock`, `pylock.toml`, `poetry.lock`, `pdm.lock`, `Pipfile.lock` or `requirements.txt` on its own.
|
|
57
58
|
|
|
58
59
|
## Usage
|
|
59
60
|
|
|
@@ -67,10 +68,20 @@ wheelgap -p 3.14t -t all
|
|
|
67
68
|
# Several Pythons at once, Linux on both architectures
|
|
68
69
|
wheelgap uv.lock -p 3.12,3.13,3.14 -t linux-x86_64,linux-aarch64
|
|
69
70
|
|
|
71
|
+
# No -p? A .python-version file next to uv.lock (written by uv or pyenv) sets the Python
|
|
72
|
+
wheelgap uv.lock -t linux-x86_64
|
|
73
|
+
|
|
74
|
+
# Check a Pipenv project's default and development dependencies
|
|
75
|
+
wheelgap Pipfile.lock -p 3.13 -t linux-x86_64,linux-aarch64
|
|
76
|
+
|
|
77
|
+
# Check a PDM project's locked distribution files
|
|
78
|
+
wheelgap pdm.lock -p 3.13 -t linux-x86_64,linux-aarch64
|
|
79
|
+
|
|
70
80
|
# No lockfile? Check packages directly (latest version, or pin one)
|
|
71
81
|
wheelgap psycopg2 uvloop numpy==2.3.4 -t windows,win-arm64
|
|
72
82
|
|
|
73
|
-
# Take the target from
|
|
83
|
+
# Take the target from the last FROM line (e.g. python:3.13-alpine
|
|
84
|
+
# or ghcr.io/astral-sh/uv:0.13.7-python3.13-trixie-slim)
|
|
74
85
|
wheelgap --dockerfile Dockerfile
|
|
75
86
|
|
|
76
87
|
# Machine-readable, for scripts and CI
|
|
@@ -97,6 +108,7 @@ Each cell in the table is one of:
|
|
|
97
108
|
| `● source` | no wheel, only an sdist, so it compiles at install time (needs a compiler, headers, time) |
|
|
98
109
|
| `✗ missing` | no wheel and no sdist, so the install fails |
|
|
99
110
|
| `–` | not installed on this target (environment markers exclude it) |
|
|
111
|
+
| `✓ bundled` | no wheel on PyPI, but Pyodide ships its own build (with `--pyodide-lock`) |
|
|
100
112
|
|
|
101
113
|
Packages that are fine everywhere are hidden; `--all` shows them.
|
|
102
114
|
|
|
@@ -109,38 +121,60 @@ armlib 1.4.0 on musl-aarch64: ● source
|
|
|
109
121
|
|
|
110
122
|
If you think wheelgap got a package wrong, that output (or `--json --explain`) is all a bug report needs, with no need to share your lockfile.
|
|
111
123
|
|
|
112
|
-
**Exit codes:** `0` no gaps, `1` gaps found, `2` bad input. `--exit-zero` always exits `0`.
|
|
124
|
+
**Exit codes:** `0` no gaps, `1` gaps found, `2` bad input. `--exit-zero` always exits `0`. `--fail-on missing` (or `fail-on = "missing"` in `[tool.wheelgap]`) accepts source builds and only exits `1` when a package can't be installed at all.
|
|
113
125
|
|
|
114
126
|
### Targets
|
|
115
127
|
|
|
116
128
|
| name | aliases | wheel tags it accepts |
|
|
117
129
|
| --- | --- | --- |
|
|
118
|
-
| `linux-x86_64` | `linux`, `linux-amd64` | `manylinux_2_*_x86_64` up to `--glibc` (default 2.36), legacy `manylinux2014`/`2010`/`1` |
|
|
119
|
-
| `linux-aarch64` | `linux-arm64` | `manylinux_2_*_aarch64` |
|
|
130
|
+
| `linux-x86_64` | `linux`, `linux-amd64`, `linux/amd64` | `manylinux_2_*_x86_64` up to `--glibc` (default 2.36), legacy `manylinux2014`/`2010`/`1` |
|
|
131
|
+
| `linux-aarch64` | `linux-arm64`, `linux/arm64`, `linux/arm64/v8` | `manylinux_2_*_aarch64` |
|
|
120
132
|
| `musl-x86_64` | `alpine`, `musl` | `musllinux_1_*_x86_64` up to `--musl` (default 1.2) |
|
|
121
133
|
| `musl-aarch64` | `alpine-arm64` | `musllinux_1_*_aarch64` |
|
|
122
134
|
| `macos-arm64` | `macos`, `mac` | `macosx_*_arm64` and `universal2` up to `--macos` (default 14.0) |
|
|
123
135
|
| `macos-x86_64` | `macos-intel` | `macosx_*_x86_64` and `universal2` |
|
|
124
136
|
| `win-amd64` | `windows`, `win` | `win_amd64` |
|
|
125
137
|
| `win-arm64` | `windows-arm64` | `win_arm64` |
|
|
138
|
+
| `pyodide` | `wasm`, `wasm32`, `emscripten` | Pyodide's ABI for that Python: `pyodide_2024_0` (3.12), `pyodide_2025_0` / `pyemscripten_2025_0` (3.13), `pyemscripten_2026_0` (3.14) |
|
|
139
|
+
|
|
140
|
+
**Pyodide (Python in the browser)** only installs wheels: there's no compiler, so a package with only an sdist shows as `✗ missing`, not `● source`. Pyodide wheels are tied to one ABI per Python version and don't work across them. Pyodide also ships its own builds of many popular packages (numpy, pydantic-core and others) that aren't on PyPI. Point `--pyodide-lock` at the release's `pyodide-lock.json` (a path or URL, also `pyodide-lock = "..."` in `[tool.wheelgap]`) and those count as `✓ bundled`, with a note when Pyodide's version differs from the one you pinned:
|
|
141
|
+
|
|
142
|
+
```bash
|
|
143
|
+
wheelgap -p 3.12 -t pyodide --pyodide-lock https://cdn.jsdelivr.net/pyodide/v0.27.7/full/pyodide-lock.json
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
Docker platform names also work with `-t`, for example `-t linux/amd64,linux/arm64` (also `linux/arm64/v8`).
|
|
126
147
|
|
|
127
|
-
`-t all` checks
|
|
148
|
+
`-t all` checks the eight native platforms; Pyodide is only checked when you name it. Python versions take a trailing `t` for free-threaded builds (`3.14t`), which correctly rejects `abi3` wheels. Without `-p`, wheelgap reads a `.python-version` file next to the lockfile (or `pyproject.toml`) if there is one, and otherwise uses the Python it is running on.
|
|
128
149
|
|
|
129
150
|
### In CI (GitHub Action)
|
|
130
151
|
|
|
131
152
|
```yaml
|
|
132
153
|
- uses: actions/checkout@v7
|
|
133
|
-
- uses: patrickballard/wheelgap@v0.
|
|
154
|
+
- uses: patrickballard/wheelgap@v0.3.0
|
|
134
155
|
with:
|
|
135
156
|
args: uv.lock -p 3.13 -t linux-x86_64,linux-aarch64
|
|
136
157
|
```
|
|
137
158
|
|
|
138
159
|
The job fails when a dependency would build from source on a target you ship, for example when a dependency bump drops ARM wheels.
|
|
139
160
|
|
|
161
|
+
### With pre-commit
|
|
162
|
+
|
|
163
|
+
```yaml
|
|
164
|
+
repos:
|
|
165
|
+
- repo: https://github.com/patrickballard/wheelgap
|
|
166
|
+
rev: v0.3.0
|
|
167
|
+
hooks:
|
|
168
|
+
- id: wheelgap
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
The hook runs when `uv.lock`, `poetry.lock`, `pdm.lock`, `pylock.toml`, `Pipfile.lock` or a `requirements*.txt` file changes. Put your targets in `[tool.wheelgap]` in `pyproject.toml` so the hook checks the right platforms. Pass extra options with `args:`, for example `args: [--fail-on, missing]`.
|
|
172
|
+
|
|
140
173
|
## How it works
|
|
141
174
|
|
|
142
|
-
- **Lockfiles are read offline.** `uv.lock`, `pylock.toml` and `
|
|
175
|
+
- **Lockfiles are read offline.** `uv.lock`, `pylock.toml`, `poetry.lock` and `pdm.lock` already record every file published for each pinned version. wheelgap parses the wheel filenames' tags with [`packaging`](https://packaging.pypa.io/) and checks them against the exact tag set each target accepts. That is the same logic pip and uv use to pick a wheel.
|
|
143
176
|
- **`requirements.txt` and bare package names** are looked up on the PyPI JSON API. Feed it a fully pinned file (from `uv pip compile`, `pip-compile` or `uv export`): wheelgap checks the lines you give it and doesn't resolve dependencies.
|
|
177
|
+
- **`Pipfile.lock`** reads both `default` and `develop` dependencies and looks up distribution filenames on PyPI for their pinned versions. Environment markers are preserved; Git, path, file and editable dependencies are skipped as non-index packages.
|
|
144
178
|
- **Environment markers are respected.** A `pywin32 ; sys_platform == 'win32'` dependency won't show up as a Linux gap. For `uv.lock` the dependency graph is walked per target, so transitive platform-specific packages are handled too.
|
|
145
179
|
- `--online` re-checks lockfile packages against PyPI. Use it when a project has uploaded new wheels for an existing version since you locked, or if your `uv.lock` was generated with `environments` restrictions.
|
|
146
180
|
|
|
@@ -162,7 +196,11 @@ Sites like [pyreadiness.org](https://pyreadiness.org) and [free-threaded wheels]
|
|
|
162
196
|
- [x] Infer the target from a `Dockerfile` (`FROM python:3.13-alpine`, `--platform=linux/arm64`)
|
|
163
197
|
- [ ] "Closest version with a wheel" hints (e.g. upgrade `foo` 1.2 → 1.4 to get `musllinux` wheels)
|
|
164
198
|
|
|
165
|
-
Contributions welcome. Issues labelled [good first issue](https://github.com/patrickballard/wheelgap/labels/good%20first%20issue) are a good start, and [CONTRIBUTING.md](CONTRIBUTING.md) has the 3-command dev setup.
|
|
199
|
+
Contributions welcome. Issues labelled [good first issue](https://github.com/patrickballard/wheelgap/labels/good%20first%20issue) are a good start, and [CONTRIBUTING.md](CONTRIBUTING.md) has the 3-command dev setup. Questions are welcome in [Discussions](https://github.com/patrickballard/wheelgap/discussions).
|
|
200
|
+
|
|
201
|
+
## Maintainer
|
|
202
|
+
|
|
203
|
+
wheelgap is created and maintained by [@patrickballard](https://github.com/patrickballard), with help from [its contributors](https://github.com/patrickballard/wheelgap/graphs/contributors).
|
|
166
204
|
|
|
167
205
|
## License
|
|
168
206
|
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
[](https://pypi.org/project/wheelgap/)
|
|
5
5
|
[](LICENSE)
|
|
6
6
|

|
|
7
|
+
[](https://github.com/patrickballard/wheelgap/labels/good%20first%20issue)
|
|
7
8
|
|
|
8
9
|
**Find the Python dependencies that have no prebuilt wheel for your target platform, before your Docker build does.**
|
|
9
10
|
|
|
@@ -27,7 +28,7 @@ pipx run wheelgap
|
|
|
27
28
|
|
|
28
29
|
Or install it: `pip install wheelgap`.
|
|
29
30
|
|
|
30
|
-
Run either one in a project directory. It finds `uv.lock`, `pylock.toml`, `poetry.lock` or `requirements.txt` on its own.
|
|
31
|
+
Run either one in a project directory. It finds `uv.lock`, `pylock.toml`, `poetry.lock`, `pdm.lock`, `Pipfile.lock` or `requirements.txt` on its own.
|
|
31
32
|
|
|
32
33
|
## Usage
|
|
33
34
|
|
|
@@ -41,10 +42,20 @@ wheelgap -p 3.14t -t all
|
|
|
41
42
|
# Several Pythons at once, Linux on both architectures
|
|
42
43
|
wheelgap uv.lock -p 3.12,3.13,3.14 -t linux-x86_64,linux-aarch64
|
|
43
44
|
|
|
45
|
+
# No -p? A .python-version file next to uv.lock (written by uv or pyenv) sets the Python
|
|
46
|
+
wheelgap uv.lock -t linux-x86_64
|
|
47
|
+
|
|
48
|
+
# Check a Pipenv project's default and development dependencies
|
|
49
|
+
wheelgap Pipfile.lock -p 3.13 -t linux-x86_64,linux-aarch64
|
|
50
|
+
|
|
51
|
+
# Check a PDM project's locked distribution files
|
|
52
|
+
wheelgap pdm.lock -p 3.13 -t linux-x86_64,linux-aarch64
|
|
53
|
+
|
|
44
54
|
# No lockfile? Check packages directly (latest version, or pin one)
|
|
45
55
|
wheelgap psycopg2 uvloop numpy==2.3.4 -t windows,win-arm64
|
|
46
56
|
|
|
47
|
-
# Take the target from
|
|
57
|
+
# Take the target from the last FROM line (e.g. python:3.13-alpine
|
|
58
|
+
# or ghcr.io/astral-sh/uv:0.13.7-python3.13-trixie-slim)
|
|
48
59
|
wheelgap --dockerfile Dockerfile
|
|
49
60
|
|
|
50
61
|
# Machine-readable, for scripts and CI
|
|
@@ -71,6 +82,7 @@ Each cell in the table is one of:
|
|
|
71
82
|
| `● source` | no wheel, only an sdist, so it compiles at install time (needs a compiler, headers, time) |
|
|
72
83
|
| `✗ missing` | no wheel and no sdist, so the install fails |
|
|
73
84
|
| `–` | not installed on this target (environment markers exclude it) |
|
|
85
|
+
| `✓ bundled` | no wheel on PyPI, but Pyodide ships its own build (with `--pyodide-lock`) |
|
|
74
86
|
|
|
75
87
|
Packages that are fine everywhere are hidden; `--all` shows them.
|
|
76
88
|
|
|
@@ -83,38 +95,60 @@ armlib 1.4.0 on musl-aarch64: ● source
|
|
|
83
95
|
|
|
84
96
|
If you think wheelgap got a package wrong, that output (or `--json --explain`) is all a bug report needs, with no need to share your lockfile.
|
|
85
97
|
|
|
86
|
-
**Exit codes:** `0` no gaps, `1` gaps found, `2` bad input. `--exit-zero` always exits `0`.
|
|
98
|
+
**Exit codes:** `0` no gaps, `1` gaps found, `2` bad input. `--exit-zero` always exits `0`. `--fail-on missing` (or `fail-on = "missing"` in `[tool.wheelgap]`) accepts source builds and only exits `1` when a package can't be installed at all.
|
|
87
99
|
|
|
88
100
|
### Targets
|
|
89
101
|
|
|
90
102
|
| name | aliases | wheel tags it accepts |
|
|
91
103
|
| --- | --- | --- |
|
|
92
|
-
| `linux-x86_64` | `linux`, `linux-amd64` | `manylinux_2_*_x86_64` up to `--glibc` (default 2.36), legacy `manylinux2014`/`2010`/`1` |
|
|
93
|
-
| `linux-aarch64` | `linux-arm64` | `manylinux_2_*_aarch64` |
|
|
104
|
+
| `linux-x86_64` | `linux`, `linux-amd64`, `linux/amd64` | `manylinux_2_*_x86_64` up to `--glibc` (default 2.36), legacy `manylinux2014`/`2010`/`1` |
|
|
105
|
+
| `linux-aarch64` | `linux-arm64`, `linux/arm64`, `linux/arm64/v8` | `manylinux_2_*_aarch64` |
|
|
94
106
|
| `musl-x86_64` | `alpine`, `musl` | `musllinux_1_*_x86_64` up to `--musl` (default 1.2) |
|
|
95
107
|
| `musl-aarch64` | `alpine-arm64` | `musllinux_1_*_aarch64` |
|
|
96
108
|
| `macos-arm64` | `macos`, `mac` | `macosx_*_arm64` and `universal2` up to `--macos` (default 14.0) |
|
|
97
109
|
| `macos-x86_64` | `macos-intel` | `macosx_*_x86_64` and `universal2` |
|
|
98
110
|
| `win-amd64` | `windows`, `win` | `win_amd64` |
|
|
99
111
|
| `win-arm64` | `windows-arm64` | `win_arm64` |
|
|
112
|
+
| `pyodide` | `wasm`, `wasm32`, `emscripten` | Pyodide's ABI for that Python: `pyodide_2024_0` (3.12), `pyodide_2025_0` / `pyemscripten_2025_0` (3.13), `pyemscripten_2026_0` (3.14) |
|
|
113
|
+
|
|
114
|
+
**Pyodide (Python in the browser)** only installs wheels: there's no compiler, so a package with only an sdist shows as `✗ missing`, not `● source`. Pyodide wheels are tied to one ABI per Python version and don't work across them. Pyodide also ships its own builds of many popular packages (numpy, pydantic-core and others) that aren't on PyPI. Point `--pyodide-lock` at the release's `pyodide-lock.json` (a path or URL, also `pyodide-lock = "..."` in `[tool.wheelgap]`) and those count as `✓ bundled`, with a note when Pyodide's version differs from the one you pinned:
|
|
115
|
+
|
|
116
|
+
```bash
|
|
117
|
+
wheelgap -p 3.12 -t pyodide --pyodide-lock https://cdn.jsdelivr.net/pyodide/v0.27.7/full/pyodide-lock.json
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
Docker platform names also work with `-t`, for example `-t linux/amd64,linux/arm64` (also `linux/arm64/v8`).
|
|
100
121
|
|
|
101
|
-
`-t all` checks
|
|
122
|
+
`-t all` checks the eight native platforms; Pyodide is only checked when you name it. Python versions take a trailing `t` for free-threaded builds (`3.14t`), which correctly rejects `abi3` wheels. Without `-p`, wheelgap reads a `.python-version` file next to the lockfile (or `pyproject.toml`) if there is one, and otherwise uses the Python it is running on.
|
|
102
123
|
|
|
103
124
|
### In CI (GitHub Action)
|
|
104
125
|
|
|
105
126
|
```yaml
|
|
106
127
|
- uses: actions/checkout@v7
|
|
107
|
-
- uses: patrickballard/wheelgap@v0.
|
|
128
|
+
- uses: patrickballard/wheelgap@v0.3.0
|
|
108
129
|
with:
|
|
109
130
|
args: uv.lock -p 3.13 -t linux-x86_64,linux-aarch64
|
|
110
131
|
```
|
|
111
132
|
|
|
112
133
|
The job fails when a dependency would build from source on a target you ship, for example when a dependency bump drops ARM wheels.
|
|
113
134
|
|
|
135
|
+
### With pre-commit
|
|
136
|
+
|
|
137
|
+
```yaml
|
|
138
|
+
repos:
|
|
139
|
+
- repo: https://github.com/patrickballard/wheelgap
|
|
140
|
+
rev: v0.3.0
|
|
141
|
+
hooks:
|
|
142
|
+
- id: wheelgap
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
The hook runs when `uv.lock`, `poetry.lock`, `pdm.lock`, `pylock.toml`, `Pipfile.lock` or a `requirements*.txt` file changes. Put your targets in `[tool.wheelgap]` in `pyproject.toml` so the hook checks the right platforms. Pass extra options with `args:`, for example `args: [--fail-on, missing]`.
|
|
146
|
+
|
|
114
147
|
## How it works
|
|
115
148
|
|
|
116
|
-
- **Lockfiles are read offline.** `uv.lock`, `pylock.toml` and `
|
|
149
|
+
- **Lockfiles are read offline.** `uv.lock`, `pylock.toml`, `poetry.lock` and `pdm.lock` already record every file published for each pinned version. wheelgap parses the wheel filenames' tags with [`packaging`](https://packaging.pypa.io/) and checks them against the exact tag set each target accepts. That is the same logic pip and uv use to pick a wheel.
|
|
117
150
|
- **`requirements.txt` and bare package names** are looked up on the PyPI JSON API. Feed it a fully pinned file (from `uv pip compile`, `pip-compile` or `uv export`): wheelgap checks the lines you give it and doesn't resolve dependencies.
|
|
151
|
+
- **`Pipfile.lock`** reads both `default` and `develop` dependencies and looks up distribution filenames on PyPI for their pinned versions. Environment markers are preserved; Git, path, file and editable dependencies are skipped as non-index packages.
|
|
118
152
|
- **Environment markers are respected.** A `pywin32 ; sys_platform == 'win32'` dependency won't show up as a Linux gap. For `uv.lock` the dependency graph is walked per target, so transitive platform-specific packages are handled too.
|
|
119
153
|
- `--online` re-checks lockfile packages against PyPI. Use it when a project has uploaded new wheels for an existing version since you locked, or if your `uv.lock` was generated with `environments` restrictions.
|
|
120
154
|
|
|
@@ -136,7 +170,11 @@ Sites like [pyreadiness.org](https://pyreadiness.org) and [free-threaded wheels]
|
|
|
136
170
|
- [x] Infer the target from a `Dockerfile` (`FROM python:3.13-alpine`, `--platform=linux/arm64`)
|
|
137
171
|
- [ ] "Closest version with a wheel" hints (e.g. upgrade `foo` 1.2 → 1.4 to get `musllinux` wheels)
|
|
138
172
|
|
|
139
|
-
Contributions welcome. Issues labelled [good first issue](https://github.com/patrickballard/wheelgap/labels/good%20first%20issue) are a good start, and [CONTRIBUTING.md](CONTRIBUTING.md) has the 3-command dev setup.
|
|
173
|
+
Contributions welcome. Issues labelled [good first issue](https://github.com/patrickballard/wheelgap/labels/good%20first%20issue) are a good start, and [CONTRIBUTING.md](CONTRIBUTING.md) has the 3-command dev setup. Questions are welcome in [Discussions](https://github.com/patrickballard/wheelgap/discussions).
|
|
174
|
+
|
|
175
|
+
## Maintainer
|
|
176
|
+
|
|
177
|
+
wheelgap is created and maintained by [@patrickballard](https://github.com/patrickballard), with help from [its contributors](https://github.com/patrickballard/wheelgap/graphs/contributors).
|
|
140
178
|
|
|
141
179
|
## License
|
|
142
180
|
|