-
Notifications
You must be signed in to change notification settings - Fork 28
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
Avoid spurious "failures" on Appveyor during releases #93
Conversation
PowerShell interprets any stderr output from a child process as an error. This means warnings from pip about using not-the-very-latest-version-how-dare-you and warnings from twine about uploading the *.tar.gz which was probably already uploaded already and might not be a bitwise identical copy because what even is reproducibility cause the Appveyor builds to fail, even if the actual binary wheels we want have been built and uploaded successfully. *pauses to breathe*
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yikes. LGTM, if we assume that the releasing person already uploaded the .tar.gz.
The rebuild of the 4.5.1 tag and wheels is my fault, I had to repush to get Travis to build mac and manylinux wheels (I had zest.releaser globally configured to add '[skip ci]' to the tag commit message because usually that's not necessary. It puts it on the third line of the message, which appveyor ignores but travis detects.)
I usually do releases with Perhaps we could use
Is this why the 4.5.1 tag is not on the master branch's history? Personally I'd prefer if you forced-push directly to master for such situations, because tags hanging off to a side are a pain with git (e.g. git fetch won't fetch them -- unless you do an explicit Is there any reasonable way you could prevent such accidents in the future? E.g. local zest.releaser configuration overrides to remove the |
FWIW I'm experimenting with |
Me too.
That might be a good idea.
I'm not sure what you mean. I see the 4.5.1 tag in the drowdown list on github and can browse into it (https://github.com/zopefoundation/BTrees/tree/4.5.1). It shows up in a 'git tag -l' on a fresh clone.
I thought all I did was move the tag to a new commit that I'd reworded.
I just removed the offending configuration from my ~/.pypirc, so it won't happen again from me. We could try putting |
Oh, I think I understand. 5bcc3de is still in master with the |
This way if the sdist hasn't been uploaded yet for some reason, Appveyor will take care of it.
The --skip-existing solution works fine: https://ci.appveyor.com/project/mgedmin/zodbpickle/build/1.0.48 is all green! |
PowerShell interprets any stderr output from a child process as an
error. This means warnings from pip about using
not-the-very-latest-version-how-dare-you and warnings from twine about
uploading the *.tar.gz which was probably already uploaded already and
might not be a bitwise identical copy because what even is
reproducibility cause the Appveyor builds to fail, even if the actual
binary wheels we want have been built and uploaded successfully.
pauses to breathe