Skip to content

BUG: FIX Pipeline.update_defaults with inputs that do not support __eq__#857

Merged
basnijholt merged 3 commits intopipefunc:mainfrom
LennartGevers:pipefunc_fix_validation_bug
Jul 10, 2025
Merged

BUG: FIX Pipeline.update_defaults with inputs that do not support __eq__#857
basnijholt merged 3 commits intopipefunc:mainfrom
LennartGevers:pipefunc_fix_validation_bug

Conversation

@LennartGevers
Copy link
Contributor

@LennartGevers LennartGevers commented Jul 10, 2025

In order to resolve #856 I put the comparison of default values in a try/except. If the default values cannot be compared, a warning will be emitted.

@codecov
Copy link

codecov bot commented Jul 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
pipefunc/_pipeline/_validation.py 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@codspeed-hq
Copy link

codspeed-hq bot commented Jul 10, 2025

CodSpeed Performance Report

Merging #857 will not alter performance

Comparing LennartGevers:pipefunc_fix_validation_bug (495cd8f) with main (0e22cc1)

Summary

✅ 6 untouched benchmarks

@github-actions
Copy link
Contributor

✅ PR Title Formatted Correctly

The title of this PR has been updated to match the correct format. Thank you!

@basnijholt
Copy link
Collaborator

Awesome @LennartGevers!

Thanks a lot for implementing this and for fixing it. I've just pushed a small change to add more detail to the warning message.

@basnijholt basnijholt merged commit 63aa853 into pipefunc:main Jul 10, 2025
14 of 16 checks passed
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.

BUG: Pipeline.update_defaults with inputs that do not support __eq__ fails.

2 participants