Version not detected on Python project scan #1195
-
I am seeing the following error when running the cdxgen-deno docker image: On PyPI version 4.9.2 is available: https://pypi.org/project/libpysal/#history. I have no issue with installing the version on Ubuntu. Why do I get this error and how do I fix it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I have seen We also have a number of images in this unofficial repo which you can try. |
Beta Was this translation helpful? Give feedback.
-
This particular line is missing in the deno image. Since PYTHON_CMD is set to python3, it is failing. |
Beta Was this translation helpful? Give feedback.
Running the container with
-e "PYTHON_CMD=/usr/bin/python3.12"
makes it to succeed. What I am suspecting is that the cdxgen container image contains multiple versions of python (Unsurprising since almalinux!), so somehow python 3.9 is being used.With the upcoming 10.8.0 release,
--include-formulation
lists all versions of build tools used, which is useful for troubleshooting. We can also update the container image with the right value for PYTHON_CMD.