Clarify google-ai-generativelanguage version
BastianZim opened this issue · comments
Hi,
I'm in the process of adding google-generativeai
to conda-forge here: conda-forge/staged-recipes#26259
One of the dependencies, google-ai-generativelanguage
is not yet on conda-forge so I am adding that as well but it is not clear to me from the setup.py which version I need to specify?
Ref:
Line 45 in a96feda
Conda-forge cannot use prebuilt and downloadable files as we built everything ourselves on our infrastructure so would it be possible to clarify if that version is downloadable as a source distribution from somewhere and what version it has?
Currently, I have it specified as ==0.6.2
but I would assume that is not correct.
Thank you!
You stumbled on a temporary value that allows us to install from HEAD while we work on unreleased features. Please do not ship copies of the SDK using code built from HEAD to package managers - you should be able to find what you need in the versioned tags.
However, I'm not 100% sure you can or should maintain our packages on another distribution channel. I'll consult with some people internally and see if it's OK, but in the meantime please pause! I'm excited about having another distribution channel but I would hate for you do to this work only to have our security or legal team ask you to take it all down.
Yes, this was waiting for 0.6.3.
I'll consult with some people internally and see if it's OK
And whatever they say here, you'd probably only want to release our actual releases. main
is unstable.
Hi everyone, thanks for the response!
Just to clarify:
- I am building off of GitHub and PyPI releases and not any branches or downloads so only stable code should be included. Conda forge works based on versions so that is the only way I can distribute anything anyways. Also, we don't ship WIP code.
- The license of both packages is Apache 2.0 so distribution is legal but of course, I'll hold off on these until you have confirmed it. In case distribution is not allowed, it would probably be good though to change the licenses to something proprietary that prohibits distribution or others will do the same.
- Yes, I have specified 0.6.2 as a placeholder for now and once 0.6.3 is available, I would upgrade and distribute the second package. Conda-forge cannot redistribute binaries or any other compiled code so that wouldn't work either way :)
- Is there a public timeline for when new releases are published?
Thanks! :)
0.6.3 came out yesterday: https://pypi.org/project/google-ai-generativelanguage/#history
Apache 2.0 so distribution is legal but of course
If there's any issue I expect that it would be around people thinking that those packages are provided by google, when it's actually you. But we'll see what answer @markmcd gets back.
Is there a public timeline for when new releases are published?
No, it's just whenever we think it's necessary.
Ahh perfect, thank you!
Conda-forge is a known redistribution platform and most of the packages are not submitted by the original package distributor so that shouldn't be an issue but let's wait. I'm also happy to add anyone as a co-maintainer, if there is interest?
Ok makes sense thanks.