googleapis / python-documentai-toolbox

Document AI Toolbox is an SDK for Python that provides utility functions for managing, manipulating, and extracting information from the document response. It creates a "wrapped" document object from JSON files in Cloud Storage, local JSON files, or output directly from the Document AI API.
https://cloud.google.com/document-ai/docs/toolbox
Apache License 2.0
34 stars 14 forks source link

proto-plus >= 1.25 needed for python 3.13 #354

Closed parthea closed 1 day ago

parthea commented 1 week ago

The setup.py file should be updated to require proto-plus >= 1.25 for python_version >=3.13 due to https://github.com/googleapis/proto-plus-python/issues/490

See release notes here: https://github.com/googleapis/proto-plus-python/releases/tag/v1.25.0

Add "proto-plus >= 1.25.0, <2.0.0dev; python_version>='3.13'", after the following line

https://github.com/googleapis/python-documentai-toolbox/blob/d82f6892457212a212b5f554308f916fcf501aba/setup.py#L60

As an example, see https://github.com/googleapis/python-api-core/pull/740