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

[question] conanfile.py virtualenvs #14047

Closed
1 task
nrbnlulu opened this issue Jun 7, 2023 · 2 comments
Closed
1 task

[question] conanfile.py virtualenvs #14047

nrbnlulu opened this issue Jun 7, 2023 · 2 comments
Assignees

Comments

@nrbnlulu
Copy link

nrbnlulu commented Jun 7, 2023

What is your question?

What if a conanfile.py on another package uses a python dependency that clashes with mine?

Have you read the CONTRIBUTING guide?

  • I've read the CONTRIBUTING guide
@memsharded memsharded self-assigned this Jun 7, 2023
@memsharded
Copy link
Member

Hi @nrbnlulu

Conan recipes conanfile.py shouldn't be installing Python dependencies at all. It is ok for some recipes to use the system_requirements() and SystemPackageTool to call the system package manager like apt and install some system package. It shouldn't be common but can be done, some packages in ConanCenter do it.

But Python packages are a different story, they should not be installed from Conan recipes, and then, it is impossible that they would be colliding or conflicting. There is some initiative in #11601, that we will continue working on after 2.0 stabilizes and Conan 2.X backlog starts to flow, that could help with this, but at the moment it is not recommended.

@nrbnlulu
Copy link
Author

nrbnlulu commented Jun 8, 2023

OK, Thanks!

@nrbnlulu nrbnlulu closed this as completed Jun 8, 2023
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