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
ansible pypi missing markupsafe package as dependency #13570
Comments
its a dependency of jinja2, ansible does not use it directly. |
Ok thanks for clarifying. |
um, so... jinja doesn't install a package it depends on? what's going on here? ran into the same issue |
I'd like to know as well. |
As a temporary workaround, you can run |
|
Installing markupsafe does make it work as said in the first report. I'm not sure why it's not included in requirements. I understand that it's not used directly, @bcoca, but without it ansible-playbook is being shipped broken. Could markupsafe be added to requirements? PS - happy to make the change if I can get some direction, or maybe this should be going upstream. I'm not too familiar with large project work :) Should I be looking in this file, or elsewhere? https://github.com/ansible/ansible/blob/devel/lib/ansible/test-requirements.txt |
小虫虫路过,学习了 |
Got this issue using pip 1.something, but did not get it after upgrading pip with Installed using: (I'm getting problems with CFFI when using wheels) Hope ansible will soon be python3 compatible :) |
To clarify, this is an issue with some broken versions of pip, Ansible correctly states that jinja2 is a requirement, the jinja2 package correctly states that markupsafe is a requirement. Adding markupsafe would not fix the issue (broken pip) and would require us to add every possible sub dependency to our dependencies directly, keep track of all subprojects and their changes. |
@bcoca Note that since it seems broken in pip in Ubuntu 14.04, users of the Linux Subsystem in Win10 will run into this (see: http://www.jeffgeerling.com/blog/2016/using-ansible-through-windows-10s-subsystem-linux). |
When installing ansible using pip on a clean Ubuntu 14.04.2 LTS it's missing the markupsafe package as a dependency.
See below workflow, resolved with 'pip install markupsafe'.
...snip...
The text was updated successfully, but these errors were encountered: