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 environment locator #22978

Closed
baszalmstra opened this issue Feb 27, 2024 · 0 comments · Fixed by #22968
Closed

Pixi environment locator #22978

baszalmstra opened this issue Feb 27, 2024 · 0 comments · Fixed by #22968
Assignees
Labels
area-environments Features relating to handling interpreter environments feature-request Request for new features or functionality needs proposal Need to make some design decisions on-testplan Added to test plan
Milestone

Comments

@baszalmstra
Copy link

Pixi is a package management tool that amongst others supports creating python virtual environments. These environments are essentially conda environments but are placed in a specific directory inside of the workspace/project. At the moment this plugin does not properly detect these environments. Pixi is also not based on conda which means users who do not have conda (or a variant) installed are unable to use pixi environments.

I would like this plugin to properly detect pixi environments.

An initial implementation of a pixi environment locator can be found here #22968 .

@baszalmstra baszalmstra added the feature-request Request for new features or functionality label Feb 27, 2024
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Feb 27, 2024
@karrtikr karrtikr added needs proposal Need to make some design decisions area-environments Features relating to handling interpreter environments and removed triage-needed Needs assignment to the proper sub-team labels Feb 27, 2024
@karrtikr karrtikr added this to the March 2024 milestone Feb 27, 2024
@karthiknadig karthiknadig modified the milestones: March 2024, April 2024 Mar 28, 2024
@karrtikr karrtikr assigned karthiknadig and unassigned karrtikr Mar 28, 2024
@karthiknadig karthiknadig modified the milestones: April 2024, May 2024 Apr 22, 2024
@karthiknadig karthiknadig modified the milestones: May 2024, June 2024 May 24, 2024
karthiknadig pushed a commit that referenced this issue Jun 20, 2024
Closes #22978

This adds a locator implementation that properly detects
[Pixi](https://pixi.sh/) environments. Pixi environments are essentially
conda environments but placed in a specific directory inside the
project/workspace. This PR properly detects these and does not do much
else. This would unblock a lot of pixi users.

I would prefer to use a custom pixi plugin but since the [contribution
endpoints are not available
yet](#22797) I think
this is the next best thing.

Before I put more effort into tests I just want to verify that this
approach is valid. Let me know what you think! :)

---------

Co-authored-by: Tim de Jager <tim@prefix.dev>
DonJayamanne pushed a commit to DonJayamanne/pythonVSCode that referenced this issue Jun 24, 2024
Closes microsoft#22978

This adds a locator implementation that properly detects
[Pixi](https://pixi.sh/) environments. Pixi environments are essentially
conda environments but placed in a specific directory inside the
project/workspace. This PR properly detects these and does not do much
else. This would unblock a lot of pixi users.

I would prefer to use a custom pixi plugin but since the [contribution
endpoints are not available
yet](microsoft#22797) I think
this is the next best thing.

Before I put more effort into tests I just want to verify that this
approach is valid. Let me know what you think! :)

---------

Co-authored-by: Tim de Jager <tim@prefix.dev>
@karthiknadig karthiknadig mentioned this issue Jun 24, 2024
3 tasks
@github-actions github-actions bot added the on-testplan Added to test plan label Jun 24, 2024
eleanorjboyd pushed a commit to eleanorjboyd/vscode-python that referenced this issue Jun 28, 2024
Closes microsoft#22978

This adds a locator implementation that properly detects
[Pixi](https://pixi.sh/) environments. Pixi environments are essentially
conda environments but placed in a specific directory inside the
project/workspace. This PR properly detects these and does not do much
else. This would unblock a lot of pixi users.

I would prefer to use a custom pixi plugin but since the [contribution
endpoints are not available
yet](microsoft#22797) I think
this is the next best thing.

Before I put more effort into tests I just want to verify that this
approach is valid. Let me know what you think! :)

---------

Co-authored-by: Tim de Jager <tim@prefix.dev>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-environments Features relating to handling interpreter environments feature-request Request for new features or functionality needs proposal Need to make some design decisions on-testplan Added to test plan
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants