Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 55 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:

steps:
- name: Install Nodejs
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 22

- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0

Expand All @@ -39,3 +39,56 @@ jobs:

- name: Package extension
run: npx vsce package

prerelease-code-marketplace:
name: 'Pre-release (Code Marketplace)'
runs-on: ubuntu-latest
needs: test
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
steps:
- name: Install Nodejs
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 22

- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0

- run: npm ci

- name: Set pre-release version
run: |
MAJOR_MINOR=$(node -p "require('./package.json').version.split('.').slice(0,2).join('.')")
npm version "${MAJOR_MINOR}.$(date -u +'%Y%m%d%H%M')" --no-git-tag-version

- name: Publish Extension (Code Marketplace, pre-release)
run: npx vsce publish --pre-release --pat ${{ secrets.MARKETPLACE_TOKEN }}

prerelease-openvsx:
name: 'Pre-release (OpenVSX)'
runs-on: ubuntu-latest
needs: test
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
steps:
- name: Install Nodejs
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 22

- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0

- run: npm ci

- name: Set pre-release version
run: |
MAJOR_MINOR=$(node -p "require('./package.json').version.split('.').slice(0,2).join('.')")
npm version "${MAJOR_MINOR}.$(date -u +'%Y%m%d%H%M')" --no-git-tag-version

- name: Publish Extension (OpenVSX, pre-release)
run: npx ovsx publish --pre-release --pat ${{ secrets.OPENVSX_TOKEN }}
timeout-minutes: 2
12 changes: 6 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install Nodejs
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 22

- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: ${{ env.FETCH_DEPTH }}

Expand All @@ -35,12 +35,12 @@ jobs:
needs: check-version
steps:
- name: Install Nodejs
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 22

- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0

Expand All @@ -57,12 +57,12 @@ jobs:
needs: check-version
steps:
- name: Install Nodejs
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 22

- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0

Expand Down
5 changes: 0 additions & 5 deletions .vscode-test.mjs

This file was deleted.

24 changes: 18 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,37 +5,49 @@ All notable changes to the "pixi-code" extension will be documented in this file
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.1.5] - 2025-09-13
## [Pre-release]

- Support `python-envs.workspaceSearchPaths` and `python-envs.globalSearchPaths` for environment discovery
- Fix `pixi-code.pixiExecutable` setting not being read
- Fix subprocess runner race condition between exit and close events
- Fix fire-and-forget promises in environment selection
- Remove broken `deactivate` function (VS Code handles cleanup automatically)
- Extract shared helpers and parallelize environment discovery
- Add pre-release pipeline for continuous updates on every push to main
- Revert 0.1.5 `activatedRun` change now that https://github.com/microsoft/vscode-python-debugger/pull/949 was merged
- Remove `defaultInterpreterPath` support for setting the active environment

## [0.1.5]

- Fix debugging Pixi projects in the new version of the Python Environments extension by fixing the `activatedRun`
command.

## [0.1.4] - 2025-09-13
## [0.1.4]

- Check if project path exists before running Pixi commands
- Check minimum Pixi version on activation
- Remove unsupported actions (create, quick create and remove) for better UX

## [0.1.3] - 2025-08-24
## [0.1.3]

### Added

- If `defaultInterpreterPath` is set and no Pixi environment was manually selected, use it as the project's interpreter
- Publish to OpenVSX

## [0.1.2] - 2025-07-27
## [0.1.2]

### Fixed

- Deduplicate envs returned by getEnvironments

## [0.1.1] - 2025-07-27
## [0.1.1]

### Fixed

- Fix error messages only showing in debug mode

## [0.1.0] - 2025-07-27
## [0.1.0]

### Added

Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ conda, venv, and other Python environments in VS Code.

- Automatic discovery of Python environments created with Pixi
- Automatic interpreter selection when running and debugging Python code
- Respect `defaultInterpreterPath` if no Pixi environment was manually selected
- Support for Pixi features (dev, test, lint, etc.) as separate selectable environments
- Terminal activation
- Persistent environment selection per project
Expand All @@ -44,7 +43,7 @@ The extension will automatically discover Pixi environments and register them wi

## Extension Settings

- `pixi-code.pixiExecutable`: Path to the Pixi executable (default: pixi). If empty, autodiscovery will be used.
- `pixi-code.pixiExecutable`: Path to the Pixi executable. Leave empty to use auto-discovery (default).

## Limitations

Expand Down
8 changes: 7 additions & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Release Process

## Steps to Release
## Pre-release

Every push to `main` automatically publishes a pre-release version to both the VS Code
Marketplace and OpenVSX. Users who opt-in to pre-release versions in their editor will
receive these updates automatically.

## Stable Release

1. **Create a PR updating package.json version and package-lock.json**

Expand Down
Loading