SAML-Toolkits / python3-saml

MIT License
682 stars 304 forks source link

scn.find doensn't work on debina #302

Closed mislavgrgic closed 1 year ago

mislavgrgic commented 2 years ago

So we are having a problem with scn.find method. On alpine, it works with no problem but on Debian for some reason returns None for every SAML. scn.find('saml:SubjectConfirmationData', namespaces=OneLogin_Saml2_Constants.NSMAP)

We had a similar problem on Alpine as well everything worked ok if we installed with pip 21.1.2 but if we would use a newer version of pip same thing would happen, scn.find would stop working. Can I get some suggestions on why this could happen?

bofeng commented 1 year ago

I think it is the same issue here: https://github.com/onelogin/python3-saml/issues/292

pitbulk commented 1 year ago

Yes, it seems related to the version used on lxml and its dependency libxml2