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

Change Python caching strategy #6176

Merged
merged 7 commits into from
Nov 27, 2023
Merged

Conversation

VIKTORVAV99
Copy link
Member

@VIKTORVAV99 VIKTORVAV99 commented Nov 25, 2023

This PR removes the built in caching in favour of our custom cache.

Before this we accidentally created duplicate caches (with the same data) as well as spending extra time restoring and saving both caches.

It won't cut down CI times that much (around 4 sec) but right now we are just wasting resources.

It also fixes the version printing for the poetry version to ensure the correct version is used for the venv.

Copy link
Member

@madsnedergaard madsnedergaard left a comment

Choose a reason for hiding this comment

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

Nice, looks good to me! :)

@VIKTORVAV99 VIKTORVAV99 merged commit 3294adc into master Nov 27, 2023
19 checks passed
@VIKTORVAV99 VIKTORVAV99 deleted the vik/simplify_python_caching branch November 27, 2023 07:51
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