You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe there’s a potential mismatch between the python_requires specification in setup.py and the fixed package version specified in requirements.txt.
Here are the details:
In setup.py, the package specifies:
setuptools.setup(
python_requires=">=3.6"
)
In requirements.txt, the following is specified:
# verified versions
onnxruntime==1.8.0
However, when using Python 3.10.15 (in my case):
python --version
Python 3.10.15
The lowest installable version of onnxruntime via pip install is 1.12.0, not 1.8.0.
This suggests that onnxruntime==1.8.0 is incompatible with Python 3.10. As a result, it becomes difficult to use this package as is on Python versions greater than 3.9, even though the python_requires specification claims support for Python versions >= 3.6.
Expected Behavior:
The python_requires and requirements.txt should align so that the package can be installed with Python versions that are officially supported.
Suggested Fix:
Update requirements.txt to include a compatible version range for onnxruntime that works with Python 3.10.
Alternatively, adjust python_requires in setup.py to reflect the actual supported Python versions based on dependency compatibility.
Additional Context:
This mismatch can create confusion for users who are trying to use the package on newer Python versions. Please let me know if I’m misunderstanding anything or if there are other considerations.
The text was updated successfully, but these errors were encountered:
Hey Gordon, if you are having troubles on installation, the below is the readme for installation quick start, it worked for me let me know if you have any problems!
Thanks for your answer, I got it to install with python version 3.10., I wouldn't want to use an ancient version like 3.7, I mean even 3.8. is deprecated now in most packages.
I still think the issue is valid, since the main problem stated here is, that the setup files for this YOLOV are not valid, i.e. some of the fixed requirements are not available for newer python versions, but the setup.py states that anything above python 3.6. will work.
Hi,
I believe there’s a potential mismatch between the
python_requires
specification insetup.py
and the fixed package version specified inrequirements.txt
.Here are the details:
In setup.py, the package specifies:
In requirements.txt, the following is specified:
However, when using Python 3.10.15 (in my case):
The lowest installable version of onnxruntime via pip install is 1.12.0, not 1.8.0.
This suggests that onnxruntime==1.8.0 is incompatible with Python 3.10. As a result, it becomes difficult to use this package as is on Python versions greater than 3.9, even though the python_requires specification claims support for Python versions >= 3.6.
Expected Behavior:
The python_requires and requirements.txt should align so that the package can be installed with Python versions that are officially supported.
Suggested Fix:
Update requirements.txt to include a compatible version range for onnxruntime that works with Python 3.10.
Alternatively, adjust python_requires in setup.py to reflect the actual supported Python versions based on dependency compatibility.
Additional Context:
This mismatch can create confusion for users who are trying to use the package on newer Python versions. Please let me know if I’m misunderstanding anything or if there are other considerations.
The text was updated successfully, but these errors were encountered: