google-gemini / generative-ai-python

The official Python library for the Google Gemini API
https://pypi.org/project/google-generativeai/
Apache License 2.0
1.18k stars 224 forks source link

Support Python 3.8 #262

Open renatofrota opened 3 months ago

renatofrota commented 3 months ago

Description of the feature request:

I would like to ask for Python 3.8 support.

What problem are you trying to solve with this feature?

I develop Amazon Alexa Skills and would love to add IA features to them, however the environment offered to host the skills has only Python 3.8. That's not just the case of it being hard to upgrade my skill to use Python 3.10, its impossible to do (AFAIK).

Any other information you'd like to share?

I can see 2 PRs were opened to add support earlier (https://github.com/google/generative-ai-python/pull/101 and https://github.com/google/generative-ai-python/pull/199), one closed other open pending. Could you reconsider?

jstmn commented 2 weeks ago

seconding, i'm trying to use this with a simulator that only supports python 3.8

jstmn commented 2 weeks ago

update: I made a fork that's python3.8 compatible https://github.com/jstmn/generative-ai-python-3.8