-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Hello,
Working on a monorepository:
.
βββ services/
β βββ project1/
β β βββ pyproject.toml
β βββ project2/
β βββ pyproject.toml
β
βββ libs/
β βββ lib1/
β β βββ pyproject.toml
β βββ lib2/
β βββ pyproject.toml
toml files have relative dependencies.
(example from a service)
[tool.poetry]
name = "project1"
version = "0.1.0"
[tool.poetry.dependencies]
python = "^3.11"
lib1 = { path = "../../libs/lib1" }
(example from a lib)
[tool.poetry]
name = "lib2"
version = "0.1.0"
[tool.poetry.dependencies]
python = "^3.11"
lib1 = { path = "../lib1" }
The problem (probably):
- frogbot clones the repo into a temporary directory like:
/builds/<repo>/jfrog.cli.temp-xxxx/ - Inside that temp dir, the relative paths in pyproject.toml (like ../../libs/lib1 or ../lib1) no longer point to the right location.
- Result: Frogbot fails with "path does not exist" when resolving Poetry dependencies.
is there a way to resolve this? am i missing a supported command for poetry?
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested