add burr-redirect package for legacy 'burr' PyPI name#827
Open
elijahbenizzy wants to merge 1 commit into
Open
Conversation
Burr's PyPI listing under the legacy name 'burr' is at 0.40.2 and was superseded by 'apache-burr' at the Apache donation. Mirror the Hamilton sf-hamilton-redirect/ playbook: ship a thin metadata-only 'burr' wheel that just pins apache-burr==<version> (plus every extra), so that users on pip install burr / pip install burr[start] / etc. keep working and get the current apache-burr release transitively. Files: - burr-redirect/pyproject.toml.template: setuptools-based, name='burr', dependencies=['apache-burr==VERSION'], all 28 extras mirrored. - burr-redirect/build.sh: stamps VERSION into the template, builds wheel + sdist, runs twine check, prints TestPyPI and PyPI upload commands. - burr-redirect/README.md: 'this package has moved' note, points users at apache-burr. - burr-redirect/.gitignore: ignores generated pyproject.toml, dist/, build/, *.egg-info/. Excludes: - .rat-excludes: adds burr-redirect/** so RAT does not scan the metadata-only redirect package. - pyproject.toml: adds burr-redirect/** to [tool.flit.sdist].exclude so the redirect package is NOT bundled into the apache-burr source tarball (the redirect is a non-ASF artifact and must not appear in any IPMC-voted release). This PR is infrastructure only -- it does not produce or upload any release artifacts. The legacy burr 0.42.0 wheel is built and uploaded manually after the apache-burr 0.42.0 wheel is live on PyPI (so the ==-pin resolves).
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.
Summary
Mirrors the Hamilton
sf-hamilton-redirect/pattern. Adds a thin metadata-onlyburrwheel that just pinsapache-burr==<version>(plus every extra), so users onpip install burr(orpip install burr[start], etc.) keep working and get the currentapache-burrrelease transitively.The legacy
burrPyPI listing is currently at0.40.2(pre-Apache). Without this redirect, anyone withburrin their requirements never seesapache-burrupdates and is stuck on a year-old codebase.What this PR adds
burr-redirect/pyproject.toml.template— setuptools-based,name = "burr",dependencies = ["apache-burr==VERSION"], all 28 extras mirrored.burr-redirect/build.sh— stampsVERSIONinto the template, builds wheel + sdist, runstwine check, prints TestPyPI and PyPI upload commands.burr-redirect/README.md— "this package has moved" note, points users atapache-burr.burr-redirect/.gitignore— ignores generatedpyproject.toml,dist/,build/,*.egg-info/.Excludes (so this stays out of ASF artifacts)
.rat-excludes:burr-redirect/**so Apache RAT does not scan the metadata-only redirect package.pyproject.toml:burr-redirect/**added to[tool.flit.sdist].excludeso the redirect package is not bundled into theapache-burrsource tarball. The redirect is a non-ASF artifact and must not appear in any IPMC-voted release.What this PR does NOT do
apache-burr's release pipeline.burr0.42.0 wheel is built and uploaded manually afterapache-burr0.42.0 is live on PyPI, so the==pin resolves. The build.sh output enumerates TestPyPI and PyPI commands for that step.Local verification (already done)
Test plan
apache-burr's flit sdist, so should be a no-op for those jobsburr 0.42.0to TestPyPI first (verifying with--extra-index-url https://pypi.org/simple/soapache-burrresolves), then to real PyPI