Skip to content

Fix release pipeline publish failures due to missing poetry repository config - #16

Merged
alexlykasov merged 4 commits into
releasesfrom
copilot/fix-release-pipeline-failures
Oct 25, 2025
Merged

Fix release pipeline publish failures due to missing poetry repository config#16
alexlykasov merged 4 commits into
releasesfrom
copilot/fix-release-pipeline-failures

Conversation

Copilot AI commented Oct 25, 2025

Copy link
Copy Markdown
Contributor

Release pipeline was failing during publish stage with "Aborted!" because poetry couldn't resolve repository references (-r testpypi, -r pypi) in GitHub Actions environment.

Changes

  • Add TestPyPI repository configuration step before publish to configure https://test.pypi.org/legacy/
  • Add PyPI repository configuration step before publish to configure https://upload.pypi.org/legacy/
  • Remove redundant --build flags from publish commands since packages are already built in prior step
  • Use explicit repository references for both TestPyPI and PyPI for consistency
# Before: Failed silently
poetry publish -r testpypi --build -u __token__ -p "$TOKEN" --no-interaction

# After: Configure repo first, remove redundant build
poetry config repositories.testpypi https://test.pypi.org/legacy/
poetry publish -r testpypi -u __token__ -p "$TOKEN" --no-interaction

<issue_title>fix release pipeline failures</issue_title>
><issue_description>fix release pipeline failures, now fails on the publish stage</issue_description>
>
> ## Comments on the Issue (you are @copilot in this section)
>
>
>
>

Original prompt

This section details on the original issue you should resolve

<issue_title>fix release pipeline failures</issue_title>
<issue_description>fix release pipeline failures, now fails on the publish stage</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits October 25, 2025 14:16
…redundant build flags

Co-authored-by: alexlykasov <68231264+alexlykasov@users.noreply.github.com>
Co-authored-by: alexlykasov <68231264+alexlykasov@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix release pipeline failures on publish stage Fix release pipeline publish failures due to missing poetry repository config Oct 25, 2025
Copilot AI requested a review from alexlykasov October 25, 2025 14:18
@alexlykasov

Copy link
Copy Markdown
Contributor

@copilot configure the prod repository too

Co-authored-by: alexlykasov <68231264+alexlykasov@users.noreply.github.com>

Copilot AI commented Oct 25, 2025

Copy link
Copy Markdown
Contributor Author

@copilot configure the prod repository too

Added explicit PyPI repository configuration step for the production job for consistency with the TestPyPI configuration. The workflow now configures both repositories before publishing. Changes in commit 7daaebf.

@alexlykasov
alexlykasov marked this pull request as ready for review October 25, 2025 15:40
@alexlykasov
alexlykasov merged commit 1f9bce2 into releases Oct 25, 2025
1 check passed
@alexlykasov
alexlykasov deleted the copilot/fix-release-pipeline-failures branch October 25, 2025 15:41
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.

2 participants