Skip to content

feat: publish Python package to PyPI - #280

Closed
revmischa wants to merge 1 commit into
chore/upgrade-depsfrom
feat/python-packaging
Closed

revmischa wants to merge 1 commit into
chore/upgrade-depsfrom
feat/python-packaging

Conversation

@revmischa

Copy link
Copy Markdown
Member

Picks up #203 on top of #279. Same projenrc change, but with trustedPublishing: true so the release job authenticates to PyPI via OIDC instead of a twine username/password secret.

Distribution name is cdk-nextjs-standalone, module cdk_nextjs_standalone, matching the npm package name.

Before this can release: create the cdk-nextjs-standalone project on pypi.org (or add it as a pending publisher) with a trusted publisher of owner jetbridge, repo cdk-nextjs, workflow release.yml. Until that's done the Publish to PyPI job will fail, though npm publishing is a separate job and unaffected.

npx projen package:python builds the wheel and sdist locally.

Based on #279, so retargets to main once that merges.

Picks up #203. Uses PyPI trusted publishing rather than twine
credentials, so it needs a trusted publisher configured on pypi.org
for the cdk-nextjs-standalone project before the first release.
@revmischa
revmischa deleted the branch chore/upgrade-deps September 29, 2026 06:46
@revmischa revmischa closed this Sep 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant