-
Notifications
You must be signed in to change notification settings - Fork 885
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve error messages for incompatible, direct requirements
- Loading branch information
Showing
8 changed files
with
231 additions
and
16 deletions.
There are no files selected for viewing
This file contains 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
28 changes: 28 additions & 0 deletions
28
...hots/pip_compile__compile_solvable_requirements_multiple_direct_versions_for_package.snap
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
source: crates/puffin-cli/tests/pip_compile.rs | ||
info: | ||
program: puffin | ||
args: | ||
- pip-compile | ||
- pyproject.toml | ||
- "--cache-dir" | ||
- /var/folders/bc/qlsk3t6x7c9fhhbvvcg68k9c0000gp/T/.tmpcfI6sl | ||
env: | ||
VIRTUAL_ENV: /var/folders/bc/qlsk3t6x7c9fhhbvvcg68k9c0000gp/T/.tmpv4PQoW/.venv | ||
--- | ||
success: true | ||
exit_code: 0 | ||
----- stdout ----- | ||
# This file was autogenerated by Puffin v0.0.1 via the following command: | ||
# [BIN_PATH] pip-compile pyproject.toml --cache-dir [CACHE_DIR] | ||
asgiref==3.7.2 | ||
# via django | ||
django==3.0 | ||
pytz==2023.3.post1 | ||
# via django | ||
sqlparse==0.4.4 | ||
# via django | ||
|
||
----- stderr ----- | ||
Resolved 4 packages in [TIME] | ||
|
This file contains 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
19 changes: 19 additions & 0 deletions
19
...uffin-cli/tests/snapshots/pip_compile__compile_unsolvable_requirements_direct_pinned.snap
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
source: crates/puffin-cli/tests/pip_compile.rs | ||
info: | ||
program: puffin | ||
args: | ||
- pip-compile | ||
- pyproject.toml | ||
- "--cache-dir" | ||
- /var/folders/bc/qlsk3t6x7c9fhhbvvcg68k9c0000gp/T/.tmpgsozkO | ||
env: | ||
VIRTUAL_ENV: /var/folders/bc/qlsk3t6x7c9fhhbvvcg68k9c0000gp/T/.tmpwjg05J/.venv | ||
--- | ||
success: false | ||
exit_code: 2 | ||
----- stdout ----- | ||
|
||
----- stderr ----- | ||
error: Conflicting versions for package `django`: ==5.0b1 is incompatible with ==5.0a1 | ||
|
19 changes: 19 additions & 0 deletions
19
...uffin-cli/tests/snapshots/pip_compile__compile_unsolvable_requirements_direct_ranges.snap
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
source: crates/puffin-cli/tests/pip_compile.rs | ||
info: | ||
program: puffin | ||
args: | ||
- pip-compile | ||
- pyproject.toml | ||
- "--cache-dir" | ||
- /var/folders/bc/qlsk3t6x7c9fhhbvvcg68k9c0000gp/T/.tmpQZyk8c | ||
env: | ||
VIRTUAL_ENV: /var/folders/bc/qlsk3t6x7c9fhhbvvcg68k9c0000gp/T/.tmpOV0S3e/.venv | ||
--- | ||
success: false | ||
exit_code: 2 | ||
----- stdout ----- | ||
|
||
----- stderr ----- | ||
error: Conflicting versions for package `django`: >=4.0 is incompatible with <=3.0 | ||
|
This file contains 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
This file contains 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
This file contains 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