fix: use vfox backend for poetry and fix related tests#7445
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR switches Poetry from pipx backend to a new vfox backend, implementing better Poetry integration through a custom vfox plugin with virtualenv auto-activation support. It also fixes test issues related to Poetry deprecation warnings and removes references to the discontinued zprint plugin.
- Adds vfox backend as primary option for Poetry with pipx as fallback
- Updates test_plugin_install to use tiny instead of removed zprint plugin
- Fixes test_poetry_slow to handle Poetry 1.7.1 deprecation warnings
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| registry.toml | Adds vfox backend as primary option for Poetry installation |
| e2e/plugins/test_plugin_install | Removes zprint references and uses tiny plugin for testing |
| e2e/core/test_poetry_slow | Changes assertion to handle deprecation warnings in Poetry output |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Poetry 1.7.1 prints deprecation warnings from virtualenv that cause the exact string match to fail.
ab6ef2e to
63b71d5
Compare
Hyperfine Performance
|
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
mise-2025.12.12 x -- echo |
21.0 ± 0.5 | 20.1 | 26.4 | 1.00 |
mise x -- echo |
21.5 ± 0.6 | 20.2 | 28.8 | 1.03 ± 0.04 |
mise env
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
mise-2025.12.12 env |
20.2 ± 0.8 | 19.2 | 27.9 | 1.00 |
mise env |
21.1 ± 0.6 | 19.7 | 23.0 | 1.05 ± 0.05 |
mise hook-env
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
mise-2025.12.12 hook-env |
20.5 ± 0.5 | 19.3 | 23.8 | 1.00 |
mise hook-env |
20.9 ± 0.6 | 19.8 | 22.9 | 1.02 ± 0.04 |
mise ls
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
mise-2025.12.12 ls |
18.3 ± 0.5 | 17.2 | 22.9 | 1.00 |
mise ls |
19.0 ± 0.4 | 17.6 | 20.9 | 1.04 ± 0.04 |
xtasks/test/perf
| Command | mise-2025.12.12 | mise | Variance |
|---|---|---|---|
| install (cached) | 112ms | 113ms | +0% |
| ls (cached) | 69ms | 69ms | +0% |
| bin-paths (cached) | 74ms | 76ms | -2% |
| task-ls (cached) | 284ms | 285ms | +0% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
🤖 Generated with Claude Code
Note
Adjust e2e Poetry test to use assert_contains for Python version output to tolerate deprecation warnings in Poetry 1.7.1.
Written by Cursor Bugbot for commit 63b71d5. This will update automatically on new commits. Configure here.