Uh oh!
There was an error while loading. Please reload this page.
Register fastfields-helpers as a sixth indexed project - #6
Merged
Conversation
fastfields-helpers is the pure-Python enums/normalisation package being split out of fastfields-dlpack, so Python-only fixes ship without a compiled-wheel release cycle. It publishes a universal wheel exactly like the other pure-Python distributions, so it is registered as a peer of the existing five rather than as a special case. Registering it before its first release exists is deliberate and safe: generate.py catches the Releases-API error per repo and skips it with a ::warning::, and the `projects` list is declarative -- the index tree is built only from wheels actually discovered. Verified by running `generate.py --from-releases` against this config: it warns "skipping fastfields/fastfields-helpers" and still exits 0 with a valid index. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016AjQcY78NgbagPSbPJRr6Z
Uh oh!
There was an error while loading. Please reload this page.
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 freeto 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.
Why
fastfields-helpersis a new, sixth distribution: the pure-Python enums (Spline/Bound) and argument normalisers being split out offastfields-dlpack, so a one-line Python fix no longer needs a full compiled-wheel release cycle across every platform.It publishes a single universal
py3-none-anywheel exactly like the other pure-Python distributions, so it is registered as a peer of the existing five, not a special case: one entry inprojects, one[[sources.release]].Registering before the release exists is safe — verified, not assumed
The plan called for registering the project ahead of its first release. I checked
generate.pyrather than assuming it tolerates that, and it does, for two independent reasons:projectsis never read.generate.pyconsumes onlyindex.{title,base_url,backends}andsources.release[].repo. The index tree is built purely from wheels actually discovered, so a listed-but-wheel-less project simply never appears in any folder.wheels_from_releases()catchesURLError/HTTPErrorper repo and continues (the docstring already promises "Repos that error (404, rate limit) are skipped with a warning").Confirmed empirically by running the generator against this exact config, with the repo not yet existing:
It warns, skips, and still writes a valid index. Once the first release lands, the entry starts resolving with no further change here.
Verification
python -m pytest test_generate.py -q→ 17 passed, 16 subtests passed, unchanged.Sequencing
Part of the
fastfields-helpersextraction. The prerequisite workflow change (fastfields/.github#10,needs-dlpackinput) is already merged. The repofastfields/fastfields-helpersitself could not be created from this session — org repo creation returns403 Resource not accessible by integration— so that step is human-gated; this registration is deliberately landed first since it is safe either way and unblocks the release the moment the repo exists.🤖 Generated with Claude Code
https://claude.ai/code/session_016AjQcY78NgbagPSbPJRr6Z
Generated by Claude Code