Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to switch breeze to use uv internally to create virtualenvs #43587

Merged
merged 1 commit into from
Nov 1, 2024

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Nov 1, 2024

Breeze sometimes creates "internal" virtualenvs in local ".build" directory when it needs - for example in order to run k8s tests or for release management commands.

This PR adds capability to switch breeze to use uv instead of pip to install depdendencies in those envs.

You can now switch breeze to use uv by breeze setup config --use-uv and switch back to pip by breeze setup config --no-use-uv.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

Breeze sometimes creates "internal" virtualenvs in local ".build"
directory when it needs - for example in order to run k8s tests
or for release management commands.

This PR adds capability to switch breeze to use `uv` instead of
`pip` to install depdendencies in those envs.

You can now switch breeze to use uv by `breeze setup config --use-uv`
and switch back to pip by `breeze setup config --no-use-uv`.
@potiuk potiuk requested review from eladkal and removed request for ashb and jedcunningham November 1, 2024 14:21
@potiuk potiuk force-pushed the allow-to-use-uv-internally-by-breeze branch from 8b3ed1d to a30a08a Compare November 1, 2024 14:21
@potiuk potiuk requested review from ashb, jedcunningham and kaxil and removed request for ashb November 1, 2024 14:21
@potiuk potiuk merged commit a2a0ef0 into apache:main Nov 1, 2024
82 checks passed
@potiuk potiuk deleted the allow-to-use-uv-internally-by-breeze branch November 1, 2024 16:55
@potiuk potiuk added this to the Airlfow 2.10.4 milestone Nov 2, 2024
potiuk added a commit to potiuk/airflow that referenced this pull request Nov 4, 2024
…ache#43587)

Breeze sometimes creates "internal" virtualenvs in local ".build"
directory when it needs - for example in order to run k8s tests
or for release management commands.

This PR adds capability to switch breeze to use `uv` instead of
`pip` to install depdendencies in those envs.

You can now switch breeze to use uv by `breeze setup config --use-uv`
and switch back to pip by `breeze setup config --no-use-uv`.

(cherry picked from commit a2a0ef0)
potiuk added a commit to potiuk/airflow that referenced this pull request Nov 4, 2024
…ache#43587)

Breeze sometimes creates "internal" virtualenvs in local ".build"
directory when it needs - for example in order to run k8s tests
or for release management commands.

This PR adds capability to switch breeze to use `uv` instead of
`pip` to install depdendencies in those envs.

You can now switch breeze to use uv by `breeze setup config --use-uv`
and switch back to pip by `breeze setup config --no-use-uv`.

(cherry picked from commit a2a0ef0)
potiuk added a commit that referenced this pull request Nov 4, 2024
…3587) (#43624)

Breeze sometimes creates "internal" virtualenvs in local ".build"
directory when it needs - for example in order to run k8s tests
or for release management commands.

This PR adds capability to switch breeze to use `uv` instead of
`pip` to install depdendencies in those envs.

You can now switch breeze to use uv by `breeze setup config --use-uv`
and switch back to pip by `breeze setup config --no-use-uv`.

(cherry picked from commit a2a0ef0)
ellisms pushed a commit to ellisms/airflow that referenced this pull request Nov 13, 2024
…ache#43587)

Breeze sometimes creates "internal" virtualenvs in local ".build"
directory when it needs - for example in order to run k8s tests
or for release management commands.

This PR adds capability to switch breeze to use `uv` instead of
`pip` to install depdendencies in those envs.

You can now switch breeze to use uv by `breeze setup config --use-uv`
and switch back to pip by `breeze setup config --no-use-uv`.
utkarsharma2 pushed a commit that referenced this pull request Dec 4, 2024
…3587) (#43624)

Breeze sometimes creates "internal" virtualenvs in local ".build"
directory when it needs - for example in order to run k8s tests
or for release management commands.

This PR adds capability to switch breeze to use `uv` instead of
`pip` to install depdendencies in those envs.

You can now switch breeze to use uv by `breeze setup config --use-uv`
and switch back to pip by `breeze setup config --no-use-uv`.

(cherry picked from commit a2a0ef0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants