Skip to content

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
dadonnelly316 pushed a commit to dadonnelly316/airflow that referenced this pull request May 26, 2025
…50923)

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
sanederchik pushed a commit to sanederchik/airflow that referenced this pull request Jun 7, 2025
…50923)

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
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