-
Notifications
You must be signed in to change notification settings - Fork 648
deps: Support for OpenColorIO 2.5 #4916
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
Conversation
Signed-off-by: Larry Gritz <[email protected]>
|
Because CI and tests are broken without this and downstream users have already noticed it, AND today is release day for us, it's emergency circumstances, so I'm going to preemptively merge this as soon as it passes CI. |
|
I dont see any code to not use the 2.4 file. I can see in a local testbuild it works for the 2.5 file but still tries to do something with the 2.4 file |
|
When multiple reference outputs are checked into the ref directory, any one of them being a match will allow the test to pass. That's how we deal with slightly different results for different versions of a dependency. |
|
Golly I'm not sure how that got marked as a draft PR. It was the real ting. |
doug-walker
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems fine to get the tests working again.
However, it will probably break again every time the built-in configs are updated (which tends to be at least annually). Perhaps in the future it would be better to have the test only validate what OIIO needs rather than test the number of color spaces in the config?
|
I think the test is fine. I'm not sure how to fully test without actually extracting some of the cs information from the built-in config and verifying that it's correct. I expected all along that it would need updating possibly every year. Our test suite is set up to easily accommodate that. |
If you mean the bit at the end referencing "oiio_test_v0.9.2.ocio", that's fine -- we're using a test config here specifically to insulate certain tests from exactly these kinds of failures :) |
well I see some successful looking output for the 2.5 file but some error looking output from the 2.4 file. you will see it on the url up there soon. |
We've actually discussed this before (in Slack):
|
|
my buildfailure. https://build.opensuse.org/package/live_build_log/home:darix:branches:graphics/OpenImageIO/openSUSE_Tumbleweed/x86_64 the patch has removed the INSTALL.md and github ci chunks. |
|
I'm not quite sure what to tell you... our tests seem to be behaving exactly as intended... |
|
Seems to work on our end, so I'll merge and get releases out today. If there are still downstream failures after using a proper release, we'll investigate. |
A test needed updating because the set of color spaces in the built-in config are different than for 2.4. Fixes AcademySoftwareFoundation#4915 Signed-off-by: Larry Gritz <[email protected]>
A test needed updating because the set of color spaces in the built-in config are different than for 2.4. Fixes AcademySoftwareFoundation#4915 Signed-off-by: Larry Gritz <[email protected]>
|
Aha, in retrospect, it is obvious: This patch against main will fail if directly backported to the 3.0 branch, since there are other color management changes in 3.1+ that result in slightly different output. Stay tuned for a real 3.0 release that will have the correct fixes. |
A test needed updating because the set of color spaces in the built-in config are different than for 2.4. Fixes #4915 Signed-off-by: Larry Gritz <[email protected]>
A test needed updating because the set of color spaces in the built-in config are different than for 2.4. Fixes AcademySoftwareFoundation#4915 Signed-off-by: Larry Gritz <[email protected]>
A test needed updating because the set of color spaces in the built-in config are different than for 2.4.
Fixes #4915