Unstructured-IO/unstructured-python-client

bug/py3.8 compatibility

Closed this issue · 0 comments

Describe the bug
Some human-written code does not comply with py 3.8. Specifically, the use of list and dict type hints as shown here.

Expected behavior
Though unstructured no longer supports 3.8, the sdk is intended to continue supporting 3.8.

Proposed fixes

  1. Fix the existing errors and add a CI check for 3.8 linting
  2. Update the requirements to change the minimum py version from 3.8 to 3.9

Follow-up:
Confirm the Langchain loader(s) support 3.8 since they depend on unstructured-client and would be able to support 3.8 for api partitioning