Skip to content

[MNT] Update CI/CD with local test server and dependency matrix#1697

Open
PGijsbers wants to merge 107 commits intomainfrom
troubleshoot-i1614
Open

[MNT] Update CI/CD with local test server and dependency matrix#1697
PGijsbers wants to merge 107 commits intomainfrom
troubleshoot-i1614

Conversation

@PGijsbers
Copy link
Collaborator

@PGijsbers PGijsbers commented Mar 4, 2026

Originally started in #1629, this PR spins up the services within CI uses that as a local test server for the ubuntu-based tests, closing #1614.

It also updates the test matrix to make sure included dependencies are only those that have a release on PyPI, and further restriction pandas 3.x installs to only scikit-learn 1.7 and up. Older scikit-learn versions do not play well with scikit-learn 1.6 or below.

PGijsbers and others added 30 commits January 20, 2026 12:35
Locally, MinIO already has more parquet files than on the test server.
Note that the previously strategy didn't work anymore if the server
returned a parquet file, which is the case for the new local setup.
This means it is not reliant on the evaluation engine processing the
dataset. Interestingly, the database state purposely seems to keep
the last task's dataset in preparation explicitly (by having
processing marked as done but having to dataset_status entry).
@codecov-commenter
Copy link

codecov-commenter commented Mar 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 52.72%. Comparing base (39daaef) to head (91d7740).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1697      +/-   ##
==========================================
- Coverage   53.07%   52.72%   -0.35%     
==========================================
  Files          37       37              
  Lines        4381     4381              
==========================================
- Hits         2325     2310      -15     
- Misses       2056     2071      +15     

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

pip install "pandas==${{ matrix.pandas-version }}"

# scikit-learn 1.7+ requires pandas 3.x, earlier versions use pandas 2.x
if [[ "${{ matrix.scikit-learn }}" == "1.7."* ]]; then
Copy link
Collaborator Author

@PGijsbers PGijsbers Mar 4, 2026

Choose a reason for hiding this comment

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

should update this to be >=1.7

Copy link
Collaborator

Choose a reason for hiding this comment

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

scikit-learn 1.8+ isn't part of the matrix anyway, so this change doesn’t affect the current setup.
that said, I think it's fine with updating the constraint to >=1.7 in the code.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'm aware, but this is something that's easily missed when it is included, and then suddenly you'll get surprised by version conflicts again :)

@PGijsbers PGijsbers changed the title [ignore] Troubleshoot i1614 [MNT] Update CI/CD with local test server and dependency matrix Mar 5, 2026
@joaquinvanschoren joaquinvanschoren self-requested a review March 5, 2026 20:17
Copy link
Collaborator

@geetu040 geetu040 left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this. We should get this merged. But before this, #1629 needs to be merged, right?

@PGijsbers PGijsbers closed this Mar 6, 2026
@PGijsbers PGijsbers reopened this Mar 6, 2026
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.

5 participants