suds-community / suds

Suds is a lightweight SOAP python client for consuming Web Services. A community fork of the jurko fork.
https://suds.readthedocs.io/
GNU Lesser General Public License v3.0
173 stars 56 forks source link

Getting error msg while importing - 'from suds.client import Client' on Python 2.6 #68

Closed abhi7878 closed 2 years ago

abhi7878 commented 2 years ago

from suds.client import Client Traceback (most recent call last): File "", line 1, in File "/usr/local/lib64/python2.6/site-packages/suds/client.py", line 23, in import suds.bindings.binding File "/usr/local/lib64/python2.6/site-packages/suds/bindings/binding.py", line 23, in from suds.sax.document import Document File "/usr/local/lib64/python2.6/site-packages/suds/sax/document.py", line 23, in from suds.sax.element import Element File "/usr/local/lib64/python2.6/site-packages/suds/sax/element.py", line 23, in from suds.sax.text import Text File "/usr/local/lib64/python2.6/site-packages/suds/sax/text.py", line 25, in class Text(str): TypeError: Error when calling the metaclass bases nonempty slots not supported for subtype of 'str'

phillbaker commented 2 years ago

Hello, Python 2.6 is not a currently supported version of Python for this package. Please see https://github.com/suds-community/suds#python-support.

If you can reproduce this on other versions of python, please confirm the package and version of suds-community that you're using. This issue will be closed in a few days unless more information is provided.

abhi7878 commented 2 years ago

Thanks for the update, tried on Python3 it's working fine.