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

CI: disable caching of conda env so most recent versions of dependencies are used #461

Conversation

theroggy
Copy link
Member

@theroggy theroggy commented Aug 20, 2024

The caching results in older depencencies being used for long times, so incompatibilities with new versions not raised asap.

Reference #452, where conda tests keep failing as the newest version of shapely, 2.0.6 , is not picked up due to the caching. In this PR shapely 2.0.6 is immediately picked up.

Copy link
Member

@brendan-ward brendan-ward left a comment

Choose a reason for hiding this comment

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

Thanks @theroggy !

@brendan-ward brendan-ward merged commit 1ad69fb into geopandas:main Aug 20, 2024
13 of 20 checks passed
@theroggy theroggy deleted the CI-disable-caching-of-conda-env-so-most-recent-versions-of-dependencies-are-used branch August 20, 2024 18:52
@jorisvandenbossche
Copy link
Member

We could also still keep a cache per day? (as shown in https://github.com/mamba-org/setup-micromamba?tab=readme-ov-file#caching)

Although, looking at the time of the conda tests for the latest commits, it doesn't seem to have given any a significant slowdown to not cache (our environments seem to be fast to set up anyway)

@theroggy
Copy link
Member Author

At least it is useful to know the option is available to cache for only one day...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants