Closed natserract closed 1 week ago
There was an issue when installing inference on python version 3.9. Since, python 3.9 doesn't support match statement
https://github.com/roboflow/inference/blob/d6cb89de97438187940bc18440109b78a55960bd/inference/enterprise/device_manager/command_handler.py#L41
inference package requires Python>=3.8,<=3.11.
Specifications:
Python 3.9.19
Reproduce:
pip install inference
The installation may have completed successfully, but you will encounter errors when package compiled:
def validate_python_version(cls, values: Dict) -> Dict: """Validate valid python version.""" if sys.version_info < (3, 8): raise ValueError( "inference relies on Python 3.8 or higher " f"you have Python version: {sys.version}" ) return values
All committers have signed the CLA.
Seems fine, I will let @robiscoding to review
Description
There was an issue when installing inference on python version 3.9. Since, python 3.9 doesn't support match statement
https://github.com/roboflow/inference/blob/d6cb89de97438187940bc18440109b78a55960bd/inference/enterprise/device_manager/command_handler.py#L41
Type of change
How has this change been tested, please provide a testcase or example of how you tested the change?
Specifications:
Reproduce:
The installation may have completed successfully, but you will encounter errors when package compiled:
Any specific deployment considerations
Docs