Skip to content

[pip 25.1] assert req.source_dir fails with the legacy resolver enabled #13353

Closed
@ramannanda9

Description

@ramannanda9

Description

Seeing build failures because of this function, my guess is this function was supposed to check whether the stuff needs to be built, but the commit 5b20593
is causing assertion failures, we will need to pin pip till this is resolved.

Expected behavior

The assertion should not be there, a check was fine.

pip version

25.1

Python version

3.9

OS

Al2023

How to Reproduce

Try installing certifi,

I will add more details soon.

Output

File "/usr/local/lib/python3.9/site-packages/pip/_internal
/wheel_builder.py", line 53, in _should_build
2025-04-27 12:03:18,230:INFO:__main__:deploy_model: 24.64
assert req.source_dir

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind: crashFor situations where pip crashestype: bugA confirmed bug or unintended behavior

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions