-
-
Notifications
You must be signed in to change notification settings - Fork 310
Failing to find local editable package from pylock.toml for pex >= 2.91.0 #3138
Copy link
Copy link
Closed
Labels
Description
I use uv to export the uv.lock to a pylock.toml for one of my projects.
I then use pex with the --pylock argument to create a PEX given the pylock.toml.
This has worked great since you introduced support for pylock.toml initially, but broke in pex >= 2.91.0 with the following error:
pex.pex_builder.PEXBuilder.InvalidExecutableSpecification: Could not find script 'hello' in any distribution a 1.0, b 1.0.0 within PEX!
Could not find script 'hello' in any distribution a 1.0, b 1.0.0 within PEX!I believe this is because my package relies on another local package like so:
dependencies = [
"a",
]
[tool.uv.sources]
a = { path = "../a", editable = true }I have create a repository for replicating the issue: https://github.com/Lauszus/pex-pylock-bug/tree/main
Let me know if you need any more information
Reactions are currently unavailable