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
Hint about automatic deploy to PyPI #20
Comments
@lelit I suppose this could be lots of things. But one really nefarious thing I found out about encrypting passwords on travis-ci was that you have to escape special characters. (see issue here). Could that be your issue? Either way, this is definitely twine and/or travis-ci related so you should be debugging those parts, not cibuildwheel. |
Hey @lelit! I've got a working example repo set up here: https://github.com/joerick/cibuildwheel-autopypi-example . I set the TWINE_PASSWORD variable in the Travis settings, rather than putting an encrypted key in
Oh, that might be your problem - if you're typing a password into the Travis settings console, you shouldn't encrypt it. |
Thanks both, I will report back! |
Yeah @joerick, you were right, that was it! Thanks a lot! |
I'm trying to setup automatic wheel deploy from Travis to PyPI for a couple of projects of myne.
Everything goes well, the packages get built within the manylinux1 docker image, and tests pass, but when
twine
tries to upload to PyPI, it fails withI followed the examples and read the available documentation, but as this is my first time at that, it may be that I'm missing the obvious.
My .travis.yml sets
TWINE_USERNAME
, and I set theTWINE_PASSWORD
in the Travis project settings to the value obtained by executingtravis encrypt 'my-pypi-password'
as explained here. I tried also withtravis encrypt 'TWINE_PASSWORD=my-pypi-password'
with the same result.What am I doing wrong (or not doing at all)?
Can you either shed some light on me, or point me to whatever place where I can learn more on the process?
Thanks in advance!
The text was updated successfully, but these errors were encountered: