adk-python icon indicating copy to clipboard operation
adk-python copied to clipboard

Google ADK 1.1.1 PyPI Package Contains Older Codebase

Open darkmars27 opened this issue 1 year ago • 2 comments

It has been observed that the recently released Google ADK version 1.1.1 on PyPI appears to contain an older codebase than expected. Upon comparison with the documented changes for version 1.1.1, the code included in the PyPI package does not align. We request the Google ADK development team to investigate this discrepancy and provide an updated, correct package on PyPI.

Example:

File: https://github.com/google/adk-python/blob/v1.1.1/src/google/adk/sessions/_session_util.py

V1.1.1: Includes new method "decode_grounding_metadata"

But the version deployed to PyPi doesnt include the new method. It includes old content

Kindly correct/advise.

darkmars27 avatar May 30 '25 22:05 darkmars27

The release happens every week around Wednesday. The codebase on github is updated on a rolling basis so it contains the changes for next release which we call development version. That's why you see some changes 2 days ago in https://github.com/google/adk-python/commits/v1.1.1/src/google/adk/sessions/_session_util.py in Github.

If you want to use latest development version, you can follow https://github.com/google/adk-python/blob/main/README.md#development-version.

Let us know if there are better release process we can follow.

hangfei avatar May 30 '25 23:05 hangfei

Sounds good. Thanks

I was in assumption that the version is locked after release.

darkmars27 avatar May 30 '25 23:05 darkmars27