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

pypi: Deployment fails on windows because of '-z was unexpected at this time.' #955

Closed
metthal opened this issue Feb 14, 2019 · 2 comments
Closed
Labels

Comments

@metthal
Copy link

metthal commented Feb 14, 2019

I've recently tried deployment using Travis and Windows. The error I get when installing deployment requirements:

$ ruby -S gem install dpl
Successfully installed dpl-pypi-1.10.7
Parsing documentation for dpl-pypi-1.10.7
Installing ri documentation for dpl-pypi-1.10.7
Done installing documentation for dpl-pypi after 0 seconds
1 gem installed
Installing deploy dependencies
failed to deploy
-z was unexpected at this time.
Couldn't install pip, setuptools, twine or wheel.

It seems like it tries to use cmd instead of bash. I've dig into the source code and found this so I think that -z comes from this line. I don't know if it is enough to just prefix this command with bash -c. What I am afraid of here is that Windows uses git bash for its build scripts and cmd is used here so I am not sure whether virtual environment would be even preserved here.

@stale
Copy link

stale bot commented May 15, 2019

Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please do feel free to either reopen this issue or open a new one. We'll gladly take a look again! You can read more here: https://blog.travis-ci.com/2018-03-09-closing-old-issues

@stale stale bot added the stale label May 15, 2019
@stale stale bot closed this as completed May 16, 2019
@metthal
Copy link
Author

metthal commented May 16, 2019

The issue hasn't been fixed yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant