Skip to content
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

Fix PyPi deploy on Travis CI Windows jobs #8

Merged
merged 1 commit into from
Jun 17, 2020

Conversation

ftsamis
Copy link
Collaborator

@ftsamis ftsamis commented Jun 17, 2020

This PR fixes the Windows PyPI deploy procedure for Windows builds introduced with #7. This time the pipeline was tested on test.pypi.org so it is expected to work.

The problem was that pyenv-win is messing the PATH and the choco install'ed python on Windows. Therefore, the twine binary could not be found after the build.bat script (which calls pyenv global, etc) was executed.

Unfortunately Travis wasn't very helpful, with the only output being:

$ twine upload --verbose --username "__token__" --password "$PYPI_PASSWORD" --repository testpypi dist/*
The command "twine upload --verbose --username "__token__" --password "$PYPI_PASSWORD" --repository testpypi dist/*" exited with 1.

So it took a few extra hours of debugging.

@d-michail d-michail merged commit 6bd81f0 into d-michail:master Jun 17, 2020
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants