firebase / firebase/firebase-tools
Firebase Functions for Python tries to deploy python311 even though I'm using python310
Open
api: functions
reproducible
- Dominant language
- TypeScript
- Stars
- 4.5k
- Forks
- 1.3k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 84
Description
Firebase CLI isn't considering `python --version` to inform rather than just assume latest.
Instead, I get cryptic errors like this:
```
functions: Failed to load function definition from source: FirebaseError: Failed to find location of Firebase Functions SDK. Did you forget to run '. "/Users/jamesdaniels/Code/my-flask-app/.firebase/yarg-asdfierjoieroi/functions/venv/bin/activate" && python3.11 -m pip install -r requirements.txt'?
```
Would be more helpful if CLI printed something like:
```
We expected python 3.11, found 3.10.
```
in addition to the above CTA.
Contributor guide
Assessment
This issue has not been assessed yet.