Package Details: python-google-generativeai 0.8.4-2

Git Clone URL: https://aur.archlinux.org/python-google-generativeai.git (read-only, click to copy)
Package Base: python-google-generativeai
Description: Google AI Python SDK for the Gemini API
Upstream URL: https://github.com/google-gemini/generative-ai-python
Licenses: Apache-2.0
Submitter: qdii
Maintainer: qdii
Last Packager: qdii
Votes: 0
Popularity: 0.000000
First Submitted: 2024-07-24 21:11 (UTC)
Last Updated: 2025-03-26 18:56 (UTC)

Latest Comments

1 2 Next › Last »

qdii commented on 2025-03-26 18:52 (UTC)

Thank you! updated.

envolution commented on 2025-03-26 17:49 (UTC)

here's a fixed PKGBUILD with the aforementioned suggestions and fixed archive directory

https://gist.github.com/envolution/5c7f61a7cb1713ed945ae9617b090a94

envolution commented on 2025-03-26 17:45 (UTC)

Incorrect shasum for the source archive on 0.8.4 corrected:

sha256sums=('82d31235919b6e1089870dc2b07808e64d12d35f0a19a4ae5e974241412825fb')

you may change the license to correct SPDX by: license=('Apache-2.0')

qdii commented on 2024-10-26 21:08 (UTC)

Hm there is something a little bit weird: on PyPi, the latest release is 0.8.3, however, the latest release on github is still 0.8.2.

I opened a github issue for that: https://github.com/google-gemini/generative-ai-python/issues/613

Since I am using github as a source of truth, I'll not update this package just yet.

wjhandley commented on 2024-09-03 08:42 (UTC)

I have however now downgraded to 0.6.6, so modulo package manager cache refreshing for the downgrade (e.g. rm -r ~/.cache/yay/python-google-ai-generativelanguage) this should now work.

wjhandley commented on 2024-09-03 08:12 (UTC)

One solution is to just drop the requirement that it needs 0.6.6, which is probably just out-of-date documentation (it works fine with the currently distributed 0.6.8, and there is now a 0.6.9)

qdii commented on 2024-08-10 17:59 (UTC)

@carlosail1015:

@carlosal1015 Unfortunately, that isn't something I can fix.

The source code of python-google-generativeai says that it depends on python-google-ai-generativelanguage at version 0.6.6, so I added this dependency to the PKGBUILD.

However, the AUR package python-google-ai-generativelanguage does not provide this version. I have asked the maintainer to provide one (see https://aur.archlinux.org/packages/python-google-ai-generativelanguage#comment-986034)

carlosal1015 commented on 2024-08-10 04:28 (UTC)

Hi, I have the following error message

$ yay -S python-google-generativeai
 -> No AUR package found for python-google-ai-generativelanguage=0.6.6
 -> could not find all required packages: python-google-ai-generativelanguage =0.6.6

qdii commented on 2024-08-04 18:07 (UTC)

Ah it looks like the package does exist, so I added it now.

qdii commented on 2024-08-04 17:46 (UTC)

Thank you @wjhandley, I pushed a new version with the dependencies. I didn't add python-google-ai-generativelanguage because it does not exist in AUR yet.