some-insurance-58590
03/28/2025, 4:01 PMlangchain-google-vertexai library - is there something I can do to fix this in my project, or would google need to fix it?
emit_warnings=False on the pex_binary target, but not sure if that's a good long term strategy or not/root/Library/Caches/pex/unzipped_pexes/0/c31c49cf1f2140165315f7e697e32b6b286fadd4/.bootstrap/pex/environment.py:766: PEXWarning: The `pkg_resources` package was loaded from a pex vendored version when declaring namespace packages defined by:
1. google-cloud-aiplatform==1.86.0 namespace packages:
google
google.cloud
These distributions should fix their `install_requires` to include `setuptools`
pex_warnings.warn(happy-kitchen-89482
03/28/2025, 6:48 PMsetuptools (via their namespace package decls) but doesn’t explicitly declare that dependency. Try adding an explicit dep from the python_requirement onto setuptools. Something like:
python_requirement(
name="langchain-google-vertexai",
requirements=["langchain-google-vertexai==1.2.3"],
dependencies=["path/to/reqs#setuptools"],
)happy-kitchen-89482
03/28/2025, 6:49 PMlangchain-google-vertexai in your requirements.txt you can probably do this with overrides to override the dep for just this requirementsome-insurance-58590
03/28/2025, 6:50 PMhappy-kitchen-89482
03/28/2025, 6:51 PMsome-insurance-58590
03/28/2025, 6:51 PMhappy-kitchen-89482
03/28/2025, 6:51 PMhappy-kitchen-89482
03/28/2025, 6:51 PMsome-insurance-58590
03/28/2025, 6:52 PM