-
-
Notifications
You must be signed in to change notification settings - Fork 509
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
pin expat 2.5 #5640
pin expat 2.5 #5640
Conversation
vtk, at least won't run with expat 2.6, so keep building with expat 2.5 for now
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
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.
thoughts from others?
I'm sympathetic to this issue, but maybe we can add a note and a "time bound" to release the pin?
FWIW, I'm not sure we need this. I don't know how many packages:
because all of those need to be true for this pinning to cause a problem for users.
So I'm also fine with waiting for pinning back expat in vtk to start seeing issues. That's largely why I didn't open this originally when opening conda-forge/conda-forge-repodata-patches-feedstock#682 |
The first conflict with the pinning has already happened with gdal: robotology/robotology-superbuild#1607 So maybe this is a good idea for now. |
I somewhat want to wait for others from core to get a chance to jump in and comment. Or maybe they can just click merge since I've approved. A second vote of approval would go a long way for me.
Maybe make a PR to pin libexpat in GDAL while you wait. I did the same thing for protobuf on a few key repositories: |
Yeah, I'm okay either way. I don't think it's too pressing. Hopefully the vtk issue can be resolved soon. |
Co-authored-by: Mark Harfouche <[email protected]>
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.
As the run_exports
pin is major, I'm fine with this special change.
Thanks for the suggestion. For that specific case we are fine just waiting. |
VTK has a patch, which doesn't appear to be ABI-compatible, so I think that means we need to wait for a VTK release. Given that, and I'm not sure what the VTK release time scale is, I think this pin is probably a good idea. Reiterating that it only holds expat back at build-time, 2.6 is still acceptable at runtime for everything but vtk. Not sure what other folks think. |
We need expat 2.6 for some CVE fixes in python already at build time. I think vtk should just do
in CBC (and if there are necessary host-dependencies that also depend on expat, then those as well), but not impose this constraint on the rest of conda-forge. |
OK, if there's a strong reason why expat must be 2.6 at build time and not just runtime, there's no need to do this. VTK has its pinning applied already (pinning in CBC doesn't address the problem, as described above), so VTK will just have to conflict with all other conda-forge packages that link expat until there's a new VTK version. |
vtk, at least, won't run with expat 2.6, so keep building packages with expat 2.5 for now
alternative:
expat 2.5 has run_exports
>=2.5,<3
, so 2.6 will still be used at runtime, which I understand to be correct in general, despite an incompatibility (not ABI-related) with 2.6 that has come up in vtk in particular.xref: