chore: fix litellm icon, move to bundles by jordanrfrazier · Pull Request #11938 · langflow-ai/langflow (original) (raw)
🧩 Analysis chain
🏁 Script executed:
python - <<'PY' import json import urllib.request import sys
TARGET = "1.139.0"
def check(pkg: str): try: with urllib.request.urlopen(f"https://pypi.org/pypi/{pkg}/json", timeout=10) as resp: data = json.load(resp) latest = data["info"]["version"] has_target = TARGET in data.get("releases", {}) print(f"{pkg}: latest={latest}, has_{TARGET}={has_target}") return has_target except Exception as e: print(f"{pkg}: ERROR - {e}") return None
print("Checking PyPI for google packages with version 1.139.0:") check("google") check("google-cloud-aiplatform") check("google-genai") check("google-cloud-core") PY
Repository: langflow-ai/langflow
Length of output: 729
🏁 Script executed:
Examine the specific lines in the component_index.json file
Check a few of the flagged line numbers to confirm the dependency entries
head -n 72541 src/lfx/src/lfx/_assets/component_index.json | tail -n 5 echo "---" head -n 72689 src/lfx/src/lfx/_assets/component_index.json | tail -n 5 echo "---"
Also check the icon metadata around line 85966
head -n 85970 src/lfx/src/lfx/_assets/component_index.json | tail -n 10
Repository: langflow-ai/langflow
Length of output: 647
🏁 Script executed:
Get file size to understand context better
wc -l src/lfx/src/lfx/_assets/component_index.json
Repository: langflow-ai/langflow
Length of output: 115
🌐 Web query:
google package version 1.139.0 PyPI
💡 Result:
There is no version 1.139.0 for the PyPI package named google (its latest release shown on PyPI is 3.0.0, from Jul 11, 2020). [1]
If you meant google-cloud-aiplatform, version 1.139.0 exists on PyPI and was released Feb 25, 2026. Install with: pip install google-cloud-aiplatform==1.139.0. [2]
Sources:
[1] https://pypi.org/project/google/
[2] https://pypi.org/project/google-cloud-aiplatform/1.139.0/
🌐 Web query:
google-cloud-aiplatform version 1.139.0 PyPI
💡 Result:
google-cloud-aiplatform==1.139.0 is published on PyPI (released Feb 25, 2026) and requires Python >= 3.9. (pypi.org)
Install:
pip install google-cloud-aiplatform==1.139.0
Citations:
- 1: https://pypi.org/project/google-cloud-aiplatform/1.139.0/
- 2: https://pypi.org/project/google-cloud-aiplatform/1.139.0/
---
</details>
**Incorrect package name in dependency metadata: `google==1.139.0` does not exist on PyPI.**
The dependency entries pin `"name": "google"` to `"version": "1.139.0"`, but version 1.139.0 does not exist for the `google` package on PyPI (latest is 3.0.0). However, version 1.139.0 **does** exist for `google-cloud-aiplatform` (released Feb 25, 2026).
Correct the package name from `"google"` to `"google-cloud-aiplatform"` at lines: 72541, 72689, 72850, 72979, 73108, 73398, 73757, 112769, 113153.
This metadata mismatch will cause dependency resolution failures if consumed for package installation.
<details>
<summary>🤖 Prompt for AI Agents</summary>
Verify each finding against the current code and only fix it if needed.
In `@src/lfx/src/lfx/_assets/component_index.json` at line 72541, Replace the
incorrect dependency entries where the JSON shows "name": "google" paired with
"version": "1.139.0" in component\_index.json; update those "name" values to
"google-cloud-aiplatform" so the dependency reads "name":
"google-cloud-aiplatform" with "version": "1.139.0" for each occurrence
(specifically the entries that currently contain the string pair "name":
"google" and "version": "1.139.0"); ensure you update all listed occurrences
(the ones mentioned in the review) and preserve the surrounding JSON structure
and formatting.
```