-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
poetry should fail when it can't upload a dist #920
Comments
I ran into the same issue with misspelled upload credentials -- poetry quietly stopped uploading and returned a zero exit status, no error message. |
@madig - did it write an error to stderr in your case? |
Nothing.
|
Oh, that's even sadder :'( |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Issue has been fixed in current version I think. |
@bitprophet has seen this with the latest release attempting to upload to a devpi server. Not error, nothing logged, but also nothing uploaded. |
FWIW that was on Poetry 0.12.17 and I gather there have been newer prereleases floating around. Happy to try again later on something newer. |
try this:
|
Same behavior under 1.0.0b8/master unfortunately (though, with less whitespace between the username and password prompts). Which reminds me we haven't described the full behavior yet: it's not only that there is no upload, but it does prompt for the index's auth; however it's clearly not submitting the auth either as I can put any random garbage in and get no error or other output. All of this is the same with Under 0.12.17, there's maybe 4 lines of whitespace between the username and password prompts; under 1.0.0b8 there are no blank lines. No idea if that helps 😂 Other random details: I ran 0.12.17 under Python 3.6.7; and 1.0.0b8 under (patched w/ modern TLS stuff, I believe) Python 2.7.5. |
Issue #2254 is also related to this. |
all seems to be fixed now: I tried with
and got non-zero error codes. The redirect case was fixed at #3083. I think that covers everything in this thread: close it out, and invite folk to raise new issues if they need to. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I am on the latest Poetry version.
I have searched the issues of this repo and believe that this is not a duplicate.
If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).OS version and name: See below
Poetry version: See below
Issue
See this build log:
https://circleci.com/gh/cjw296/carthorse/26
Even though it failed to upload the wheel, poetry returns a zero return code.
I can reproduce this locally too:
The text was updated successfully, but these errors were encountered: