Skip to content

Conversation

pjonsson
Copy link
Contributor

@pjonsson pjonsson commented Sep 8, 2025

Reason for this pull request

Use a separate cache for each Python version, and make Conda use that cache instead of downloading all packages each invocation.

Configure Conda to use 2 threads for the solving which should speed things up a bit.

Also stop cancelling the Conda jobs when one of them fails since they fail intermittently most of the time, and unpin minizip that was pinned during the 1.9 development phase.

Proposed changes

  • Closes #xxxx

  • Tests added / passed

  • Pull Request Title will make sense in ODC Release Notes


📚 Documentation preview 📚: https://opendatacube--2169.org.readthedocs.build/en/2169/

Copy link

codecov bot commented Sep 8, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.43%. Comparing base (0cad0fd) to head (591eb8b).
⚠️ Report is 13 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2169   +/-   ##
========================================
  Coverage    86.43%   86.43%           
========================================
  Files          151      151           
  Lines        16395    16395           
========================================
  Hits         14171    14171           
  Misses        2224     2224           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@pjonsson pjonsson force-pushed the ci-conda-cache branch 3 times, most recently from fbee972 to 865862f Compare September 8, 2025 16:42
The Conda cache is separate from
the pip cache.
Conda usually fails intermittently,
so do not cancel the other Conda
jobs when a job fails.
Configure Conda to prefer packages
from the cache.
This was pinned during the development
of 1.9, so unpin it now.
This hopefully speeds up the CI.
@pjonsson pjonsson changed the title CI: cache conda per Python version CI: speed up Conda workflows Sep 8, 2025
Copy link
Contributor

@SpacemanPaul SpacemanPaul left a comment

Choose a reason for hiding this comment

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

Worth a try.

@SpacemanPaul SpacemanPaul merged commit 1904f34 into opendatacube:develop Sep 9, 2025
21 checks passed
@pjonsson pjonsson deleted the ci-conda-cache branch September 9, 2025 10:16
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.

2 participants