Repository navigation
CI : Update to GafferHQ/dependencies 12.0.0a3 - #1579
Conversation
johnhaddon
left a comment
There was a problem hiding this comment.
Thanks Murray - just a couple of little nitpicks from me. Feel free to merge once you've considered them...
|
|
||
| r = IECore.Reader.create( os.path.join( "test", "IECoreImage", "data", "exr", "uvMap.512x256.exr" ) ) | ||
| if IECoreImage.OpenImageIOAlgo.version() < 30104 : | ||
| dictHeader["oiio:ColorSpace"] = IECore.StringData( "lin_rec709" if IECoreImage.OpenImageIOAlgo.version() >= 30000 else "Linear" ) |
There was a problem hiding this comment.
Feels a bit weird to have a second comparison tucked away in here. Could we start with a version() < 30000 block?
There was a problem hiding this comment.
Sounds good, I've squashed in a change to if version() < 30000 ... elif version() < 30104.
| shell: pwsh | ||
| if: runner.os == 'Windows' | ||
|
|
||
| - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 |
There was a problem hiding this comment.
On the Gaffer repo, we're using TheMrMilchmann/setup-msvc-dev rather than this. Should we be swapping here too?
There was a problem hiding this comment.
The change to TheMrMilchmann/setup-msvc-dev is more about moving away from Node 20 actions, as ilammy/msvc-dev-cmd appears to be no longer maintained.
Cortex is overdue an actions version update to silence the various Node.js 20 is deprecated. warnings, and I'd figured we'd lump all that together, but it is more clear for the repos to all be doing the same thing for the Windows SDK bump, so I've squashed in an update to use TheMrMilchmann/setup-msvc-dev.
We jump through a few hoops to support Python 3.11/3.13 and c++17/c++20 builds across VFX platform 2025 and 2026.
In Python 3.13 `platform.uname().release == '2022Server'` on Windows CI, so we instead compare with `str( sys.getwindowsversion().major )` which matches the expected result and the previous Python behaviour.
ec14fa2 to
c1d3dfd
Compare
No description provided.