<#21287 poetry_requirement defined by relative pa...
# github-notifications
c
#21287 poetry_requirement defined by relative path generates a lockfile with absolute path Issue created by jasondamour Describe the bug pyproject.toml:
Copy code
[tool.poetry.dependencies]
snorkel = {path="./ext/dist/snorkel-0.9.9-py3-none-any.whl"}
BUILD:
Copy code
poetry_requirements(name="poetry", resolve="x")
pants.lock:
Copy code
// This lockfile was autogenerated by Pants. To regenerate, run:
//
//    pants generate-lockfiles --resolve=x
//
// --- BEGIN PANTS LOCKFILE METADATA: DO NOT EDIT OR REMOVE ---
// {
//   "version": 3,
//   "valid_for_interpreter_constraints": [
//     "CPython==3.10.6"
//   ],
//   "generated_with_requirements": [
//     "snorkel@ file:///Users/jasondamour/Workspace/x/x/x/x/x/ext/dist/snorkel-0.9.9-py3-none-any.whl",
// }
// --- END PANTS LOCKFILE METADATA ---
Pants version Which version of Pants are you using? 2.21 OS Generate lock on macos Additional info This lockfile is not valid on machine besides the lockfile generator host. pantsbuild/pants