76a41066ac
Filter out source dists and wheels whose `requires-python` from the simple api is incompatible with the current python version. This change showed an important problem: When we use a fake python version for resolving, building source distributions breaks down because we can only build with versions we actually have. This change became surprisingly big. The tests now require python 3.7 to be installed, but changing that would mean an even bigger change. Fixes #388
24 lines
515 B
Plaintext
24 lines
515 B
Plaintext
---
|
||
source: crates/puffin-cli/tests/pip_compile.rs
|
||
info:
|
||
program: puffin
|
||
args:
|
||
- pip-compile
|
||
- requirements.in
|
||
- "--python-version"
|
||
- py37
|
||
- "--cache-dir"
|
||
- /tmp/.tmpHz7Dc2
|
||
env:
|
||
VIRTUAL_ENV: /tmp/.tmpoMjDJT/.venv
|
||
---
|
||
success: false
|
||
exit_code: 1
|
||
----- stdout -----
|
||
|
||
----- stderr -----
|
||
× No solution found when resolving dependencies:
|
||
╰─▶ Because there is no version of black available matching ==23.10.1 and
|
||
root depends on black==23.10.1, version solving failed.
|
||
|