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

pixi build: redundancy betweem dependencies and run-dependencies #2944

Open
hadim opened this issue Jan 17, 2025 · 0 comments
Open

pixi build: redundancy betweem dependencies and run-dependencies #2944

hadim opened this issue Jan 17, 2025 · 0 comments
Labels
area:build Related to pixi build ✨ enhancement Feature request

Comments

@hadim
Copy link
Contributor

hadim commented Jan 17, 2025

At hadim/feedrattler#1, I have a few places where my package deps are redundant in pyproject.toml

  • project.dependencies: pypi deps
  • tool.pixi.dependencies: the "default" pixi feature
  • tool.pixi.package.run-dependencies: conda deps used during package building

What do you think about an option to tell tool.pixi.package.run-dependencies to re-use the deps of a feature? And why not doing the same for host-dependencies?

[tool.pixi.package]
run-dependencies-from-feature = "default"
host-dependencies-from-feature = "dev"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:build Related to pixi build ✨ enhancement Feature request
Projects
None yet
Development

No branches or pull requests

2 participants