Skip to content

Always use shared cache, no matter if we are using uv or not #50923

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

Merged
merged 1 commit into from
May 22, 2025

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented May 21, 2025

Another attempt to fix pyspark issues. It turns out that we are not passing the use_uv flag in tests, so the cache has not been actually shared between paralllel containers - we change it in the way that the uv cache is shared regardless if use-uv is passed


^ 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 airflow-core/newsfragments.

Copy link
Contributor

@amoghrajesh amoghrajesh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh! Lets see how it goes

@potiuk potiuk force-pushed the always-use-shared-cache branch 2 times, most recently from 14beca8 to 054439b Compare May 21, 2025 21:36
@potiuk
Copy link
Member Author

potiuk commented May 21, 2025

I had to workaround race when running uv run in parallel with shared cache, but hopefully it will work.

Another attempt to fix pyspark issues. It turns out that we are not
passing the `use_uv` flag in tests, so the cache has not been
actually shared between paralllel containers - we change it
in the way that the uv cache is shared regardless if use-uv is passed
@potiuk potiuk force-pushed the always-use-shared-cache branch from 054439b to c8f31b2 Compare May 22, 2025 09:17
@potiuk
Copy link
Member Author

potiuk commented May 22, 2025

Rebased to try it once more

@aritra24
Copy link
Collaborator

Looks like a static check failure happened now?

@potiuk
Copy link
Member Author

potiuk commented May 22, 2025

Looks like a static check failure happened now?

Looks like issue in main

@potiuk
Copy link
Member Author

potiuk commented May 22, 2025

Looks like a static check failure happened now?

Looks like issue in main

Fixed in #50935

@potiuk potiuk merged commit b14f16c into apache:main May 22, 2025
91 of 93 checks passed
@potiuk potiuk deleted the always-use-shared-cache branch May 22, 2025 10:04
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.

5 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy