Closed emmlejeail closed 6 years ago
Before circumventing this with a non-standard solution, I'd rather make more efforts to figure out why the standard Travis solution is not working. Look at how other libraries using Travis to push are doing this - if this doesn't work, try with a dummy package (as an open-source repository on your own GitHub for example). Please let us know what you find.
I think the problem is coming from the special characters used in the password (generated by Keybase) many issues with the same error mention making sure to have a password without those characters to encrypt the key However, there is no way to verify the correct encryption by travis I'll keep making tests on a dummy package and will follow up
I remember reading that Travis does not escape characters from bash
execution. If this is the case, you could either add escape characters, or change the account password for one that does not have special characters (as long as it is long enough).
It turns out I'm perfectly able to upload something on pypi with my personal account (which key doesn't have any special characters) through Travis here is the dummy package
I already tried escaping characters and it doesn't seemed to work the previous pull requests I'm going to change the password for the pypi account then @dotpy3
trying to go around the problem using private settings to set the password in travis instead of encryption in the repo