Skip to content

fix integration tests#739

Merged
cospectrum merged 2 commits into
image-rs:mainfrom
bioinformatist:test/fix_integration_tests
Dec 16, 2025
Merged

fix integration tests#739
cospectrum merged 2 commits into
image-rs:mainfrom
bioinformatist:test/fix_integration_tests

Conversation

@bioinformatist

Copy link
Copy Markdown

The current CI failure is mainly due to the color space casting change, like image-rs/image@603e97d. The change is positive, though not backward compatible.

I reckon the better way is to respect the new logic but keep the old conversions by conditional compilation to satisfy direct-minimal. It was finally implemented by a build.rs script, which referred to rust-openssl's approach.

This was referenced Nov 19, 2025
@cospectrum

cospectrum commented Dec 8, 2025

Copy link
Copy Markdown
Contributor

I don’t like the solution based on build.rs

@bioinformatist

Copy link
Copy Markdown
Author

I know the point. Having two versions of ground truth is indeed redundant and confusing. I'm trying to implement the old to_luma*() in integration tests this time.

Sincerely apologize for misunderstanding.

@bioinformatist
bioinformatist force-pushed the test/fix_integration_tests branch from a84393b to 38ad23e Compare December 16, 2025 06:14
@bioinformatist

Copy link
Copy Markdown
Author

Sorry for the delay.

This time I manually implemented the conversion method as same as the one in v0.25.0.

I suppose this way is stable enough that we have no need to modify the ground truth in the future. Thanks for your tips!

@cospectrum
cospectrum merged commit 4a45a7e into image-rs:main Dec 16, 2025
18 of 19 checks passed
OrangeHoopla pushed a commit to OrangeHoopla/orange-imageproc that referenced this pull request May 8, 2026
* fix: implement the same converting method for gray as `v0.25.0`

* fix: fix type inferring problem
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