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 global install exposes too much on existing environments #2394

Open
2 tasks done
Hofer-Julian opened this issue Oct 31, 2024 · 0 comments
Open
2 tasks done

pixi global install exposes too much on existing environments #2394

Hofer-Julian opened this issue Oct 31, 2024 · 0 comments

Comments

@Hofer-Julian
Copy link
Contributor

Checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example

$ pixi global install --expose ipython ipython
└── ipython: 8.29.0 (installed)
    └─ exposes: ipython

$ pixi global install --environment ipython ripgrep
└── ipython (installed)
    ├─ dependencies: ipython 8.29.0, ripgrep 14.1.1
    └─ exposes: ipython, ipython3, rg

Issue description

  • Create a global environment where not everything is exposed
  • Install into that environment with pixi global install
  • Everything is now exposed

Expected behavior

In the example above, ipython3 should not have been exposed

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

No branches or pull requests

1 participant