Skip to content
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

Block lxml binaries to avoid libxml2 incompatibilities #246

Closed
wants to merge 1 commit into from

Conversation

nosnilmot
Copy link
Contributor

When xmlsec and lxml are linked to different libxml2 versions there can be subtle compatibility issues. Forcing lxml to install from source causes it to link to same system verision of libxml2 as xmlsec.

See https://bugs.launchpad.net/lxml/+bug/1960668 for the sorts of issues this should solve.

This problem occurs because xmlsec is linked to system libxml2 library, but lxml binaries bundle and link to a private copy of libxml2 that may be a different and incompatible version.

When xmlsec and lxml are linked to different libxml2 versions there can
be subtle compatibility issues. Forcing lxml to install from source
causes it to link to same system verision of libxml2 as xmlsec
@mxamin
Copy link
Collaborator

mxamin commented Apr 5, 2024

@nosnilmot We're now doing version checking during XMLSec initialisation. Do you think this PR still applies?
You can test it with the latest rc release: 1.3.14-rc1.

@nosnilmot
Copy link
Contributor Author

We're now doing version checking during XMLSec initialisation.

Those checks just report/abort on detected version mismatches, the aim of this PR was to prevent version mismatches.

Do you think this PR still applies?

As pointed out here ths PR does not achieve the desired goal, as it does not impact regular user installs, but it may still have some value for developers

@jimjag
Copy link
Collaborator

jimjag commented May 6, 2024

Closing as No Longer Applicable

@jimjag jimjag closed this May 6, 2024
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.

None yet

3 participants