Office365-rest-python-client: FederatedSAML.xml not found in 2.1.10

Created on 23 Jun 2020  ·  7Comments  ·  Source: vgrem/Office365-REST-Python-Client

I try version 2.1.10, raise Exception

[Errno 2] No such file or directory: '.../runtime/auth/providers/templates/FederatedSAML.xml'

and I found in setup.py

    package_data={
        'office365': ["runtime/auth/SAML.xml", "runtime/auth/RST2.xml", "runtime/auth/FederatedSAML.xml"]
    }

and i think here need move into directory "providers/templates"

bug

All 7 comments

Thanks for catching it, precisely the case, PR has been merged.

@vgrem when can this correction be released? may you make a minor release to correct this issue?

@Simplici, here you go: version 2.1.10.1

@Simplici updated package is in pypi as well https://pypi.org/project/office365-rest-client/

@Simplici updated package is in pypi as well https://pypi.org/project/office365-rest-client/

office365-rest-client==2.1.10.1 will raise Exception

>>> from office365.runtime.auth.authentication_context import AuthenticationContext
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/liuliqiu/.pyenv/versions/test/lib/python3.8/site-packages/office365/runtime/auth/authentication_context.py", line 1, in <module>
    from office365.runtime.auth.clientCredential import ClientCredential
ModuleNotFoundError: No module named 'office365.runtime.auth.clientCredential'

I find files ClientCredential.py and UserCredential.py under directory /office365/runtime/auth/ not clientCredential.py

@liuliqiu please check v2.1.10.2

@liuliqiu please check v2.1.10.2

It's OK, thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Cesaaar picture Cesaaar  ·  7Comments

florinmihut picture florinmihut  ·  4Comments

stardust85 picture stardust85  ·  4Comments

attibalazs picture attibalazs  ·  10Comments

continda picture continda  ·  4Comments