Currently onnxruntime==1.19.2 cannot be analyzed with python-inspector, because get_supported_wheels() is unable to process packages that only have manylinux wheels. E.g. https://pypi.org/project/onnxruntime/#files only contains the file ' onnxruntime-1.19.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl' for the x86_64 architecture.
Steps to reproduce the error:
Option a)
Remove the added manylinux platforms from utils_pypi.py and the test will fail.
Option b)
Execute
from pathlib import Path
from python_inspector.resolve_cli import resolve_dependencies
if __name__ == '__main__':
resolve_dependencies(
python_version="311",
operating_system="linux",
json_pdt=str(Path(__file__).parent / "debug-resolve-onnxruntime.txt"),
analyze_setup_py_insecurely=True,
)
with debug-resolve-onnxruntime.txt having the following content:
Currently onnxruntime==1.19.2 cannot be analyzed with python-inspector, because get_supported_wheels() is unable to process packages that only have manylinux wheels. E.g. https://pypi.org/project/onnxruntime/#files only contains the file ' onnxruntime-1.19.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl' for the x86_64 architecture.
Steps to reproduce the error:
Option a)
Remove the added manylinux platforms from utils_pypi.py and the test will fail.
Option b)
Execute
with debug-resolve-onnxruntime.txt having the following content: