Skip to content

Commit

Permalink
fix: don't configure virtualenvs.prefer-active-python
Browse files Browse the repository at this point in the history
  • Loading branch information
exKAZUu committed Jan 25, 2025
1 parent 5347125 commit 021e953
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/wb/src/commands/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ export async function setup(

if (dirents.some((d) => d.isFile() && d.name === 'pyproject.toml')) {
await runWithSpawnInParallel('poetry config virtualenvs.in-project true', project, argv);
await runWithSpawnInParallel('poetry config virtualenvs.prefer-active-python true', project, argv);
const [, version] = child_process.execSync('asdf current python').toString().trim().split(/\s+/);
await runWithSpawnInParallel(`poetry env use ${version}`, project, argv);
await promisePool.promiseAll();
Expand Down

0 comments on commit 021e953

Please sign in to comment.