Skip to content

Commit

Permalink
fix: allow google-cloud-documentai < 3 (#1487)
Browse files Browse the repository at this point in the history
  • Loading branch information
parthea authored Nov 11, 2022
1 parent 2651560 commit b717e92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gapic/templates/setup.py.j2
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ dependencies = [
'grpc-google-iam-v1 >= 0.12.4, < 1.0.0dev',
{% endif %}
{% if api.requires_package(('google', 'cloud', 'documentai', 'v1')) %}
'google-cloud-documentai >= 1.2.1, < 2.0.0dev',
'google-cloud-documentai >= 1.2.1, < 3.0.0dev',
{% endif %}
]
url = "https://github.com/googleapis/python-{{ api.naming.warehouse_package_name|replace("google-cloud-", "") }}"
Expand Down Expand Up @@ -86,4 +86,4 @@ setuptools.setup(
include_package_data=True,
zip_safe=False,
)
{% endblock %}
{% endblock %}

0 comments on commit b717e92

Please sign in to comment.