How to propagate features from one project to another? #5490
Unanswered
julien-siguenza
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there!
I'm a beginner with pixi, and I have a question that may sound basic.
I have a python project (python_project1), with a pixi.toml file containing a specific feature called "DEMO_APP".
I install some dependencies in this feature:
Then I have a second python project (python_project2) which is meant to use the first one (python_project1) as a dependency.
I would like to install the dependencies of the feature DEMO_APP in the pixi.toml file of this second project.
Is there a simple way to do that without having to duplicate all the dependencies in both files? (which I would really like to avoid).
One solution would be to define these dependencies in the section project.optional-dependencies of the pyproject.toml file of my first project (python_project1).
But the problem is that these optional dependencies can also be some conda dependencies, which cannot be managed with pip.
This is why I used the features of pixi to manage that.
But now I am struggling to spread these features in my second project (python_project2).
Thanks for helping! 🙏
Beta Was this translation helpful? Give feedback.
All reactions