Closed mawl closed 11 months ago
I've also investigated this a bit. I found that
pyproject.toml
is mandatorypoetry export ...
command used by Poetry.kt
to generate a `requirements.txt also exports the
version constraints for the python version.Once ORT calls python-inspector
to analyze the generated requirements.txt
file with a python version (-p
option) not in the python version range specified in pyproject.toml
then the result would always be empty. So, I wonder if we should change the logic such that Poetry.kt
selects an arbitrary python version from available python versions
matching the range, in case no version has been specified.
Looking for feedback on this...
Hi there,
As a follow-up to https://github.com/oss-review-toolkit/ort/issues/7333:
How can I teach poetry / pip / python-inspector to use python version 3.11 instead of 3.10?
https://github.com/oss-review-toolkit/ort/issues/5740 says, that this should work:
.ort.yml
I have build your Dockerfile with actual python components:
pyenv versions
says:* 3.11.4 (set by /opt/python/version)
But this get's executed and the dependency tree stays empty:
python-inspector --python-version 310 --operating-system linux ...
Full log:
Thanks for your help.