Skip to content

Conversation

@vkurup
Copy link
Contributor

@vkurup vkurup commented May 18, 2018

  1. want_response_signed now defaults to True instead of False, so we have to explicitly set it to False for our tests.
  2. This commit is the one that breaks tests. It took me a while to git bisect all the changes in the pysaml release to figure it out. It only breaks python3 because defusedxml monkey patches ElementTree on Python3. djangosaml2 tries to globally set the namespace values by setting them directly on ElementTree, but that object is no longer used. I changed it to more directly set the namespaces using the pysaml API.

With these changes, all unit tests pass on all python and django versions.
image

@vkurup
Copy link
Contributor Author

vkurup commented May 18, 2018

Tests are passing in all environments except for Python3.3, which fails with this error message:
"wheel requires Python '>=2.7, !=3.0., !=3.1., !=3.2., !=3.3.' but the running Python is 3.3.6"

Since Python 3.3 is past end-of-life, maybe you just want to drop it from the support matrix? Let me know if you'd like me to investigate further...

@knaperek knaperek merged commit 809f94a into IdentityPython:master May 18, 2018
@knaperek
Copy link
Collaborator

Great job @vkurup, thanks for your contribution!

@clburlison
Copy link

clburlison commented May 18, 2018

I also want to send a thanks @vkurup. I spent over two hours trying to get this solved and came up empty. Very much appreciate this PR.

@vkurup vkurup deleted the upgrade-pysaml-vkurup branch May 18, 2018 17:52
@vkurup
Copy link
Contributor Author

vkurup commented May 18, 2018

My pleasure, and thanks for the great package!

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.

3 participants