Skip to content

Comments

publish: print on failure, simplify logic#3549

Merged
neersighted merged 1 commit intopython-poetry:masterfrom
hauntsaninja:pub
Nov 14, 2021
Merged

publish: print on failure, simplify logic#3549
neersighted merged 1 commit intopython-poetry:masterfrom
hauntsaninja:pub

Conversation

@hauntsaninja
Copy link
Contributor

@hauntsaninja hauntsaninja commented Jan 7, 2021

Should help with cases like #3397

The logic coalesces a couple things, so that we hit a single except clause
that prints "Uploading failed"

The existing tests in https://github.com/python-poetry/poetry/blob/master/tests/publishing/test_uploader.py
should verify that this doesn't cause regressions.

@neersighted
Copy link
Member

This is pretty stale now. Would you be willing to rebase onto current master?

@hauntsaninja
Copy link
Contributor Author

Merged in master!

@neersighted
Copy link
Member

neersighted commented Nov 14, 2021

This is blocked by master's build being broken. I'd suggest rebasing onto #4753 if you want to make sure your checks pass -- this PR can be merged once that PR makes it into master.

Should help with cases like python-poetry#3397

The existing tests in tests/publishing/test_uploader.py should verify
that this doesn't cause regressions.
@neersighted neersighted merged commit bc661dd into python-poetry:master Nov 14, 2021
@finswimmer finswimmer mentioned this pull request Mar 6, 2022
@hauntsaninja hauntsaninja deleted the pub branch June 1, 2022 07:25
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants