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

Update Installation Documentation due to PyYAML problems #1244

Closed
ketzu opened this issue Apr 10, 2019 · 2 comments
Closed

Update Installation Documentation due to PyYAML problems #1244

ketzu opened this issue Apr 10, 2019 · 2 comments

Comments

@ketzu
Copy link

ketzu commented Apr 10, 2019

Current version of conan depends on PyYAML <3.14 >= 3.11 (see https://github.com/conan-io/conan/blob/develop/conans/requirements.txt) but PyYAML is part of the distutils and therefore not easily removed or downgraded and by now in version 5.1.

Suggested solutions:

Actually follow up on this:

We strongly recommend using virtualenvs (virtualenvwrapper works great) for everything related to Python.

by providing an explanation of how to do it.

Add PyYAML collisions to known installation inssues.

Unfortunately I can not provide a solution to the actual problem, as I frustratingly tried to get things to work for awhile now. Relevant issue of updating to newer versions of pyyaml seem to be abandoned for now: conan-io/conan#4285

Sorry for the unhelpful issue.

@memsharded
Copy link
Member

Sorry for the unhelpful issue.

Not unhelpful at all :)

We have added a couple of links in the docs, pointing to the docs of virtualenvwrapper, there are good introductions there to learn how to use them: https://docs.conan.io/en/latest/installation.html

Actually, we didn't know that pyyaml 5.1 was out, we might be able to try to bump it, see if it passes CI, and it might be included in the requirements range. Done in: conan-io/conan#4945

@memsharded
Copy link
Member

Next conan version will allow pyyaml 5.1, so this can be closed.
Please check when conan 1.15 is out, and comment or re-open if necessary. Thanks again!

@memsharded memsharded added this to the 1.15 milestone Apr 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants