Package Details: python-google-genai 2.12.1-1

Git Clone URL: https://aur.archlinux.org/python-google-genai.git (read-only, click to copy)
Package Base: python-google-genai
Description: GenAI Python SDK.
Upstream URL: https://github.com/googleapis/python-genai
Licenses: Apache-2.0
Submitter: medaminezghal
Maintainer: medaminezghal
Last Packager: medaminezghal
Votes: 2
Popularity: 0.000348
First Submitted: 2025-02-02 07:22 (UTC)
Last Updated: 2026-07-16 18:23 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

medaminezghal commented on 2025-09-10 14:04 (UTC)

@modes I forget to add my key to keys.openpgp.org. You can try now.

modes commented on 2025-09-10 10:29 (UTC)

Is there an issue with my pgp keys?

:: PGP keys need importing:
 -> 2EECE5156D8DE0C50636E37621707FBE029E96B5, required by: python-google-genai
:: Import? [Y/n] Y
:: Importing keys with gpg...
gpg: keyserver receive failed: No data
 -> problem importing keys

I tried 3 keyservers and none have this key

hkps://pgp.mit.edu hkps://keys.openpgp.org hkps://keyserver.ubuntu.com

envolution commented on 2025-09-02 12:52 (UTC)

needs python-protobuf to pass checks. python-sentencepiece should probably have it as a dependency but it's marked as optional which isn't technically wrong - unfortunately these checks require this functionality through sentencepiece and subsequently fail

envolution commented on 2025-08-22 00:37 (UTC)

@medaminezghal thanks, that sorted it

medaminezghal commented on 2025-08-20 10:35 (UTC)

@envolution Could you check if the problem solved in the new version?

envolution commented on 2025-08-19 02:13 (UTC)

A request to please disable the following test:

FAILED google/genai/tests/imports/test_no_optional_imports.py::test_library_can_be_imported_without_optional_dependencies - ImportError: cannot import name 'genai' from 'google' (unknown location)

It detects $CI/GITHUB actions and fails. Makepkg sets $CI - currently this package cannot pass check() in GH CI

Auerhuhn commented on 2025-07-08 12:37 (UTC)

@medaminezghal Thanks for maintaining this PKGBUILD. Would you mind adding python-aiohttp to checkdepends? The tests/client/test_retries.py module fails to load without it. Thanks!

medaminezghal commented on 2025-05-15 12:23 (UTC)

@K12ish thanks

K12ish commented on 2025-05-15 11:22 (UTC)

Here's a quick diff to get up to 1.15.0 - hope this helps :)

diff --git a/PKGBUILD b/PKGBUILD
index 652f8da..29b8f4c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,16 +2,16 @@

 _name=google-genai
 pkgname=python-${_name}
-pkgver=1.7.0
+pkgver=1.15.0
 pkgrel=1
 pkgdesc="GenAI Python SDK."
 arch=('any')
 url='https://github.com/googleapis/python-genai/'
 license=('Apache-2.0')
 source=("https://github.com/googleapis/python-genai/archive/refs/tags/v${pkgver}.tar.gz")
-sha256sums=('c1e4b17c8e3feb6bb4ef8408869145f6172e68ec5db2b47abd0ec9433817e683')
+sha256sums=('1ecd2715a2682751f815b943a09ac58f1c31d2ae9429232b8a93d53b639dbd3c')
 depends=('python>=3.9' 'python-anyio' 'python-google-auth' 'python-httpx' 'python-pydantic' 'python-requests' 'python-websockets' 'python-typing_extensions')
-makedepends=('python-setuptools' 'python-build' 'python-installer' 'python-wheel')
+makedepends=('python-setuptools' 'python-build' 'python-installer' 'python-wheel' 'python-pkginfo' 'python-twine')
 checkdepends=('python-pytest' 'python-pytest-asyncio' 'python-pytest-cov')
 optdepends=('python-pillow')

@@ -71,6 +71,7 @@ check() {
     --deselect google/genai/tests/models/test_generate_content_thought.py
     --deselect google/genai/tests/public_samples/test_gemini_text_only.py
     --deselect google/genai/tests/tunings/test_end_to_end.py
+    --ignore google/genai/tests/models/test_generate_content_thought.py
   )
   cd "${srcdir}"/${pkgname//google-/}-${pkgver}
   python -m venv --system-site-packages test-env

envolution commented on 2025-03-30 03:36 (UTC)

checkdepends needs python-pillow to pass tests