Split into 3 packages + Docxodus engine + OIDC publishing (v0.2.0)#22
Merged
Conversation
Replace twine + PYPI_API_TOKEN with pypa/gh-action-pypi-publish and id-token OIDC exchange. Publish job runs in the `pypi` environment to match the trusted-publisher records configured for all three projects.
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
python-redlines(pure-Python core),python-redlines-ooxmlpowertools(legacy engine binary), andpython-redlines-docxodus(new default engine binary). Engines are now optional extras:pip install python-redlines[docxodus],[ooxmlpowertools], or[all].DocxodusEngine— a .NET 8 fork of Open-XML-PowerTools (Docxodus) with move detection, format-change detection, and improved table handling. Made the default in the README.pypa/gh-action-pypi-publish; removes the long-livedPYPI_API_TOKENand runs the publish job in thepypienvironment matching three pending publishers configured on PyPI.packages/core/src/python_redlines/__about__.py, read by both binary packages).Test plan
DocxodusEngine→ valid.docx, 9 revisions,ReviewerauthorXmlPowerToolsEnginepath still works; stdout matchesRevisions found: 9detect_moves,simplify_move_markup,detail_threshold,case_insensitive) acceptedEngineNotInstalledErrorraised with correct install hint when companion package missingv0.2.0, create GitHub Release, confirm publish workflow uploads all wheels to PyPI via OIDC