Skip to content

bug/py3.8 compatibility #138

@Coniferish

Description

@Coniferish

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions