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

fix: init don't make the dependencies target specific and don't install #1916

Merged

Conversation

ruben-arts
Copy link
Contributor

This avoids pixi from adding the deps to the target tables. E.g.:

#before:
[target.linux-64.dependencies]
x = "*"
# after
[dependencies]
x = "*"

And this disables the install on import. No idea why we did that but 99% of the time it annoyed me.

@Hofer-Julian Hofer-Julian changed the title fix: don't make the dependencies target specific fix: init don't make the dependencies target specific and don't install Aug 26, 2024
Copy link
Contributor

@Hofer-Julian Hofer-Julian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both, that pixi init doesn't make dependencies target specific and that it doesn't install makes sense to me and works as expected

@Hofer-Julian Hofer-Julian merged commit 6f528f8 into prefix-dev:main Aug 26, 2024
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants