Uh oh!
There was an error while loading. Please reload this page.
Add UV support to venv operators - #43612
Conversation
I'd say:
|
With the follow-up question(s):
Proposal:
Alternatively we can also make it like attept UV and if it fails attempt pip as fallback? |
Uh oh!
There was an error while loading. Please reload this page.
gopidesupavan
commented
Nov 2, 2024
I feel like default to UV is better, as now we are completely moving towards UV, so if user want to switch they can update? |
f083716 to
212cfb6CompareUh oh!
There was an error while loading. Please reload this page.
potiuk
commented
Nov 3, 2024
Yes. It's good I think. Needs to be followed up with newsfragment explaining it. |
212cfb6 to
4f439ceCompareUh oh!
There was an error while loading. Please reload this page.
Co-authored-by: GPK <gopidesupavan@gmail.com>
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…nv.py Co-authored-by: GPK <gopidesupavan@gmail.com>
gopidesupavan
commented
Nov 4, 2024
LGTM :) |
set5think
commented
Nov 6, 2024
@jscheffl WOW THANKS FOR TAKING THIS TO THE FINISH LINE!!! It's amazing to see how simple it was to add what I think is an extremely valuable contribution!!! GOOD JOB! ❤️ |
Lee-W
commented
Nov 7, 2024
just saw it on slack. love this one! |
* Add UV support to venv operators * Uups, allow creation also when requirements+pip.conf are used * Fix venv numpy example which needs to be 1.26 at least to be working in Python 3.12 * Review feedback and pytests * Fix pytests * Revert fix in examples * Add newsfragment * Update providers/src/airflow/providers/standard/provider.yaml Co-authored-by: GPK <gopidesupavan@gmail.com> * Update providers/src/airflow/providers/standard/utils/python_virtualenv.py Co-authored-by: GPK <gopidesupavan@gmail.com> --------- Co-authored-by: GPK <gopidesupavan@gmail.com>
Follow-up on #43553 and #43568
Adds support for UV for the VirtualEnv operators.
Don't know if it is acceptable like this, it is auto-detecting: if UV is installed then it is using UV.
Do we need to make this configurable or is an auto-detection sufficient?