Package Details: python-google-ai-generativelanguage 0.6.6-1

Git Clone URL: https://aur.archlinux.org/python-google-ai-generativelanguage.git (read-only, click to copy)
Package Base: python-google-ai-generativelanguage
Description: Google Ai Generativelanguage API client library
Upstream URL: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-ai-generativelanguage
Licenses: Apache-2.0
Submitter: wjhandley
Maintainer: wjhandley
Last Packager: wjhandley
Votes: 0
Popularity: 0.000000
First Submitted: 2024-08-03 10:29 (UTC)
Last Updated: 2024-09-03 08:22 (UTC)

Latest Comments

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

OK, It's a hack, since PyPi is doing something a bit funny for the earlier version, but this now defaults to 0.6.6.

Whilst the Python packaging guidelines do include a note to the relevant RFC0020, the instructions then just go on to give examples of how you do this in PyPi, so until those guidelines are updated with how you might do this on e.g. github source I will stick with the PyPi version.

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

wjhandley:

Hm, the guidelines you linked read:

Note: With RFC0020 the default is to use upstream provided source tarballs, instead of PyPI provided sdist tarballs.

That RFC, in turn, links to https://rfc.archlinux.page/0020-sources-for-python-packaging, which says "Default to not using PyPI for Python package sources and only use the platform if there is no other alternative."

Apparently, they are moving away from using PyPI, and prefer upstream source.

wjhandley commented on 2024-08-05 14:52 (UTC)

I've modelled this package based on the arch linux Python guidelines of (a) being bleeding-edge so have opted for the later version 0.6.8, and (b) downloading from PyPi rather than GitHub, which should correspondingly match the version and shasum.

If you would like to have a version at 0.6.6, you can modify the PKGBUILD and checksum locally.

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

Ah it also looks like the license used by google-cloud-python is Apache (https://github.com/googleapis/google-cloud-python/blob/main/LICENSE), could you update this?

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

The sha256sum of the source file for v0.6.8 released on github (https://github.com/googleapis/google-cloud-python/archive/refs/tags/google-ai-generativelanguage-v0.6.8.tar.gz) does not correspond to the checksum in the PKGBUILD.

Could you use the official release so that it's easier to track?

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

Could you also release a package at version 0.6.6? :)