Describe the bug
Using jfrog cli 2.80.0, we are able to run jf poetry-config and jf poetry install in our CI/CD pipelines.
With latest version, poetry cannot resolve packages because the index URL is incorrect.
Probable regression here:
https://github.com/jfrog/jfrog-cli-artifactory/pull/316/changes#r2882309136
Current behavior
Partial snip from our docker build below, the poetry source url is missing the /simple and packages cannot be resolved there see log Line about added tool.poetry.source.name and url...
#20 [builder 12/14] RUN jf poetry-config --repo-resolve jman-repository-remote-pypi
#20 0.075 07:35:02 [Info] poetry build config successfully created.
#21 [builder 13/14] RUN ls -lR .jfrog || echo "No dot-jfrog dir"
#21 0.053 .jfrog:
#21 0.053 total 4
#21 0.053 drwxr-xr-x 2 root root 4096 Mar 4 07:35 projects
#21 0.053
#21 0.053 .jfrog/projects:
#21 0.053 total 4
#21 0.053 -rw-r--r-- 1 root root 94 Mar 4 07:35 poetry.yaml
#21 DONE 0.1s
#22 [builder 14/14] RUN jf poetry install --no-root --without dev --no-interaction
#22 0.071 07:35:02 [Info] Running Poetry install.
#22 1.072 Using a plaintext file to store credentials
#22 1.136 07:35:03 [Info] Added tool.poetry.source name:"jman-repository-remote-pypi" url:"https://org123.jfrog.io/artifactory/api/pypi/jman-repository-remote-pypi"
#22 1.137 07:35:03 [Info] Running Poetry update
#22 1.621 Creating virtualenv app-ingest in /opt/pysetup/.venv
#22 2.260 Updating dependencies
#22 2.271 Resolving dependencies...
#22 11.35
#22 11.35 Because app-ingest depends on pytest-mock (>=3.15.1,<4.0.0) which doesn't match any versions, version solving failed.
#22 11.45 07:35:14 [Info] Trace ID for JFrog Platform logs: c65ed15e0f6c7251
#22 11.45 07:35:14 [Error] Poetry config command failed with: exit status 1
#22 ERROR: process "/bin/sh -c jf poetry install --no-root --without dev --no-interaction" did not complete successfully: exit code: 1
Reproduction steps
No response
Expected behavior
With jfrog version 2.80.0 the log lines are like below with simple path, and installation proceeds correctly
#20 0.993 07:41:59 [Info] Added tool.poetry.source name:"jman-repository-remote-pypi" url:"https://org123.jfrog.io/artifactory/api/pypi/jman-repository-remote-pypi/simple"
JFrog CLI-Core version
unknown
JFrog CLI-Artifactory version
unknown
JFrog CLI version (if applicable)
2.93.0
Operating system type and version
linux 24.x
JFrog Artifactory version
No response
Describe the bug
Using jfrog cli 2.80.0, we are able to run jf poetry-config and jf poetry install in our CI/CD pipelines.
With latest version, poetry cannot resolve packages because the index URL is incorrect.
Probable regression here:
https://github.com/jfrog/jfrog-cli-artifactory/pull/316/changes#r2882309136
Current behavior
Partial snip from our docker build below, the poetry source url is missing the /simple and packages cannot be resolved there see log Line about added tool.poetry.source.name and url...
Reproduction steps
No response
Expected behavior
With jfrog version 2.80.0 the log lines are like below with
simplepath, and installation proceeds correctlyJFrog CLI-Core version
unknown
JFrog CLI-Artifactory version
unknown
JFrog CLI version (if applicable)
2.93.0
Operating system type and version
linux 24.x
JFrog Artifactory version
No response