You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cut the v0.6.0 release once every other issue in the milestone has merged. This is the last item in
the milestone and it is blocked by all of them.
There are 161 commits since the v0.5.6 tag, and pyproject.toml:12 still reads version = "0.5.6".
Scope
Bump the version.pyproject.toml:12 is the whole change. polyfile/polyfile.py:19 reads __version__ from package metadata through importlib.metadata.version("polyfile"), so nothing
else carries a hard-coded version string.
Write polyfile_0.6.0.md. Follow the structure of polyfile_0.5.6.md: Performance
Improvements, Bug Fixes, New Features, Magic Definitions, Breaking Changes, Dependencies. Omit a
section that has nothing in it.
The release covers two bodies of work. Summarize rather than list every issue:
Verify the distribution.uv build, then uvx twine check dist/*. The distributions job in .github/workflows/tests.yml already asserts that the wheel is built from the sdist, that no
non-permissive .ksy reached the sdist, and that the package-data counts match git ls-files;
confirm it is green rather than re-deriving it.
Note
Publishing is out of scope for the pull request. .github/workflows/pythonpublish.yml runs on release: published and uploads through PyPI Trusted Publishing, so the actual release is cut from
the GitHub UI after this merges.
Summary
Cut the v0.6.0 release once every other issue in the milestone has merged. This is the last item in
the milestone and it is blocked by all of them.
There are 161 commits since the
v0.5.6tag, andpyproject.toml:12still readsversion = "0.5.6".Scope
Bump the version.
pyproject.toml:12is the whole change.polyfile/polyfile.py:19reads__version__from package metadata throughimportlib.metadata.version("polyfile"), so nothingelse carries a hard-coded version string.
Write
polyfile_0.6.0.md. Follow the structure ofpolyfile_0.5.6.md: PerformanceImprovements, Bug Fixes, New Features, Magic Definitions, Breaking Changes, Dependencies. Omit a
section that has nothing in it.
The release covers two bodies of work. Summarize rather than list every issue:
now match what
filereports.tests/test_magic.py::KNOWN_FAILURESis empty. Tracking: the 14 stems skipped in test_file_corpus, and the ten causes behind them #3480 records howthe previous fourteen failures were retired.
setup.pywas replaced bypyproject.tomland the in-tree PEP 517 backendbuild_backend.py(Replace setup.py with pyproject.toml and an in-tree PEP 517 backend #3513).Call out under Breaking Changes anything in this milestone that changes observable output. At
minimum: An untyped indirect offset defaults to big endian, where libmagic uses host byte order #3499 changes how an untyped indirect offset reads its field, A BOM-prefixed JSON document is reported as JSON, where file reports Unicode text #3500 changes what a
BOM-prefixed JSON document reports, --format file is rejected, json is duplicated in the choices, and the help example uses the wrong flag #3497 changes the accepted values of
--format, and try_all_offsets is accepted and ignored, and the CLI flag for it is commented out #3465removes the
try_all_offsetsparameter fromMatcherandAnalyzer.Verify the distribution.
uv build, thenuvx twine check dist/*. Thedistributionsjob in.github/workflows/tests.ymlalready asserts that the wheel is built from the sdist, that nonon-permissive
.ksyreached the sdist, and that the package-data counts matchgit ls-files;confirm it is green rather than re-deriving it.
Note
Publishing is out of scope for the pull request.
.github/workflows/pythonpublish.ymlruns onrelease: publishedand uploads through PyPI Trusted Publishing, so the actual release is cut fromthe GitHub UI after this merges.