Repository navigation
Bump the wheelgap pins to 0.14.0: the checker (with --fix's gap wheels) and the nightly scan - #250
Merged
Merged
Conversation
…lback
0.14.0 is the first release with --fix (gapwheels, fix), so the gap wheel marks and section are on, and their tests run: the importorskip is gone, so a pin without the module fails. As the CLI, the gap wheel section comes after the upgrades fixes() found: a gap wheel for a gap an upgrade fixes is the fallback ('if you can't upgrade NAME'). Also for 0.14.0: a missing include is a SourceError raised from the FileNotFoundError, compared with an abspath'd root; the JSON trim keeps digests.sha256 (--hash) and upload_time_iso_8601 (exclude-newer); a script's *.py.lock is read offline as a uv.lock; the nearby-settings readers include those that reach it through a helper; the Python mirrors of sources' rules call the released ones.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The core scan was on 0.9.0, the install-tree and way-out passes on 0.11.0 and the issue-tracker pass on 0.13.0. All four now use 0.14.0 (WHEELGAP and WHEELGAP_INSTALL), so the comments explaining the split are gone; check_pip.py's example command follows. update_changes.py and update_drops.py skip the first night on the new version, as they do for any wheelgap change. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #208
wheelgap 0.14.0 is on PyPI (
uvx [email protected] --versionprintswheelgap 0.14.0 (packaging 26.4, CPython 3.15.0)). This PR moves all four pins towheelgap==0.14.0. It is two commits, the checker first and then the scan, so you can review (or revert) them separately.1. Repo checker (
site/check/)worker.mjs:WHEELGAP = "wheelgap==0.14.0".driver.pyimportsgapwheelsandfixdirectly, so thegapwheels = Nonefallback andsupports_gap_wheels()are gone.test_gap_wheels_reuse_cli_checksno longer usesimportorskip, so a pin without the module fails.--fixdoes. The worker now callsdriver.gap_wheels()afterfixes(). The list is still fetched in parallel.gap_wheels()passes whatfixes()found to the CLI's ownfix.plan(),fix.alternatives()andfix.any_upgrade(), then rendersgapwheels.text_lines(fills, True, fallback, upgrades). When a fix names an upgrade, the section therefore starts "As a fallback, …" and lists a filled gap an upgrade also fixes as "(if you can't upgrade NAME)". Each cell getsfallbackand the result getsupgrades. The Fix column still names the release. On a fallback cell, the "gap wheel" tag's tooltip says "if you can't upgrade NAME: unofficial, …". The note above the section says "Upgrade first: where the Fix column names an official release, a gap wheel is only for when you can't upgrade." The copied agent prompt calls the gap wheels the fallback.-r/-cinclude is now aSourceErrorraised from theFileNotFoundError.needs()reads the path from the cause and compares it withPath(os.path.abspath(root)), notresolve(), as Bump the wheelgap pins after 0.14.0: the checker's (0.13.0) and the nightly scan's (0.9.0) #208's comment asks. A new test covers a root reached through a symlink.trimFilesincheck-logic.mjsnow keepsupload_time_iso_8601(exclude-newer, as Bump the wheelgap pins after 0.14.0: the checker's (0.13.0) and the nightly scan's (0.9.0) #208's comment asks) anddigests.sha256. 0.14.0 reads--hashoptions (pypi._sha256), and without the digests a hashed requirement got a different answer from the CLI. The new parity testtest_trimming_keeps_the_hashes_and_upload_times_wheelgap_readsfailed on both cases before this fix.tool.py.lock, and sorequirements.py.lock) is read as a uv.lock in 0.14.0.fileKind()and the offline list follow, so a link naming one is checked offline instead of refused. I checked this on a realuv lock --scriptlock, with and without the script beside it.NEARBY_CONFIG_READERS: in 0.14.0 the requirements and pyproject readers call_nearby_config_names_an_indexthrough a helper. The test now follows helper calls, which addsscriptandconda-env(the page offers neither).sources._NOT_REQUIREMENTS,sources._unread_project). The JS mirrors' comments say 0.14.0, and a new test checksSIDE_WORDS/NESTED_DEPTHagainst the release.textContent/el().Verified in the browser. I served
site/locally and loaded the page. Pyodide 314.0.8 installs wheelgap 0.14.0 with micropip ("Checked with wheelgap 0.14.0, in your browser."), with no CSP errors.cp-algorithms/cp-algorithms,scripts/preview-requirements.txt(PyYAML==6.0.3), on 3.15 linux-x86_64, shows:PyYAML 6.0.3 · source [gap wheel] · Fix: → 6.0.4, with the tag's tooltip "if you can't upgrade PyYAML: unofficial, built by wheelgap from the PyPI sdist; not from the package's maintainers";PyYAML 6.0.3: 3.15 linux-x86_64 (if you can't upgrade PyYAML)", followed by the pip line and the hash line for the existingPyYAML==6.0.3line. This matchesuvx [email protected] --fixon the same file, which says "pyyaml 6.0.3 -> 6.0.4" and then the same fallback section.The page's three examples, 0.13.0 (main) vs 0.14.0 (this branch), same default targets:
uv syncinstalls it (#572 in wheelgap). It reads[tool.uv] conflicts: the lock'scpuandgpuextras can't be installed together, so the 15nvidia-*packages andtriton(pulled in only underextra == cpu and extra == gpu, or Linux-only) are no longer counted on macOS/Windows. It also counts each fork only where uv installs it:contourpy 1.3.3(the Python ≥3.11 fork; 3.10 gets 1.3.2) and plaintorch 2.9.1/+cpudrop out. The CLI (--offline) gives the same 20 → 1 rows.2. Nightly scan (
.github/workflows/scan.yml)WHEELGAP0.9.0 → 0.14.0,WHEELGAP_INSTALL0.11.0 → 0.14.0. The "Add issue trackers for gaps" step uses$WHEELGAP_INSTALLinstead of its own 0.13.0 pin, and the comments explaining the split are removed.scripts/check_pip.py's example command now says 0.14.0.What changes on the first night, from running
python -m wheelgap.scanlocally with both versions (same flags and Pyodide locks as scan.yml) on the top 50, the top 200 and the whole top 5,000, then diffingcoverage.json:summarycount, so the home page numbers don't move.bundled_version,bundled_versionsandbundled_version_differson the packages a Pyodide lock bundles (91 of 5,000; 9 in the top 50). For example, numpy has{"3.13": "2.2.5", "3.14": "2.4.6"}.pyodide_locks[].pyodide_versionis now the real version (0.29.5,314.0.7) instead of"?".wheelgapis0.14.0, so the home page header says so.The night's other steps, run on that 0.14.0 scan against the committed data (a copy of the repo at this branch's head):
scripts/check_scan.py data/coverage.json data/history.json 5000passes, with noallow_dropneeded.update_changes.py: "nothing recorded (wheelgap 0.9.0 -> 0.14.0, so differences aren't the packages')".update_drops.pysays the same and recordswheelgap: 0.14.0. Sochanges.json,drops.jsonand the new-wheels feed get no tool-made entries. The home-page trend marks the night ("wheelgap changed to 0.14.0" viachartSeries'supgrade), andplatformStatsgives delta 0 across the version change.update_history.py, the baseline recorder and every publish step (build_lookup…build_new_wheels) run cleanly on it.scripts/check_pip.pywithwheelgap==0.14.0+pip==26.3on that scan (--top 50): 200 of 200 checks match, 36 of 36 for the packages without a pure-Python wheel, 0 errors.The optional passes, run on that same 0.14.0 scan: first with the old pins (0.11.0 for
scan_install.pyandscan_way_out.py, 0.13.0 forscan_issues.py), then with 0.14.0 for all three.install).way_out(917 of 918 projects checked both times).jellyfish, whosehttps://codeberg.org/jpt/jellyfish/issues0.14.0 now recognises. Everything else is identical.Tests (as check.yml runs them)
uvx --python 3.14 [email protected]: 603 passed, 2 skipped.uvx --python 3.14 --refresh-package wheelgap --with "wheelgap==0.14.0" [email protected] tests/test_check_driver.py tests/test_check_parity.py: CI's "Repo checker driver" step reports185 passed in 7.44s. That includes all sixtest_gap_wheels_reuse_cli_checkscases, which now run instead of being skipped, plus the two new fallback cases.node --teston the six site test files: 205 passed.python3 scripts/check_notes.pypasses.For review
driver.py,check-logic.mjs,check.mjs, and the driver and site tests). 0.14.0 now reads[tool.uv] environmentsitself, so it may be partly redundant after this. Expect a rebase either way.sources._unread_project,sources._NOT_REQUIREMENTS, andfix.plan/alternatives/any_upgrade). The worker's pin and these tests keep them in step.🤖 Generated with Claude Code