Skip to content

Conversation

francoisfreitag
Copy link
Contributor

No description provided.

Travis builds for python 3.3 failed with:
AttributeError: 'module' object has no attribute 'tests'

The actual error was an ImportError. Running `python manage.py shell`:

Python 3.3.7 (default, Oct 11 2017, 10:46:42)
>>> import djangosaml2.tests
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "/dev/djangosaml2/djangosaml2/tests/__init__.py", line 44, in <module>
    from saml2.config import SPConfig
  File "/.virtualenvs/djangosaml2-py33/lib/python3.3/site-packages/saml2/config.py", line 21, in <module>
    from saml2.mdstore import MetadataStore
  File "/.virtualenvs/djangosaml2-py33/lib/python3.3/site-packages/saml2/mdstore.py", line 26, in <module>
    from saml2.httpbase import HTTPBase
  File "/.virtualenvs/djangosaml2-py33/lib/python3.3/site-packages/saml2/httpbase.py", line 13, in <module>
    from saml2.pack import http_form_post_message
  File "/.virtualenvs/djangosaml2-py33/lib/python3.3/site-packages/saml2/pack.py", line 19, in <module>
    from saml2.sigver import REQ_ORDER
  File "/.virtualenvs/djangosaml2-py33/lib/python3.3/site-packages/saml2/sigver.py", line 8, in <module>
    from OpenSSL import crypto
  File "/.virtualenvs/djangosaml2-py33/lib/python3.3/site-packages/OpenSSL/__init__.py", line 8, in <module>
    from OpenSSL import crypto, SSL
  File "/.virtualenvs/djangosaml2-py33/lib/python3.3/site-packages/OpenSSL/crypto.py", line 12, in <module>
    from cryptography import x509
  File "/.virtualenvs/djangosaml2-py33/lib/python3.3/site-packages/cryptography/x509/__init__.py", line 7, in <module>
    from cryptography.x509 import certificate_transparency
  File "/.virtualenvs/djangosaml2-py33/lib/python3.3/site-packages/cryptography/x509/certificate_transparency.py", line 8, in <module>
    from enum import Enum
ImportError: No module named 'enum'
@francoisfreitag francoisfreitag changed the title Add parameters to auth_response test helper [Waiting #109] Add parameters to auth_response test helper Oct 12, 2017
@knaperek knaperek merged commit 701d11e into IdentityPython:master Oct 16, 2017
@francoisfreitag francoisfreitag deleted the auth_response_parameters branch October 16, 2017 16:51
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.

2 participants