netsuite icon indicating copy to clipboard operation
netsuite copied to clipboard

Version 0.10.0 does not provide extra "soap_api"

Open LuisCebrian opened this issue 1 year ago • 1 comments

I'm trying to use the soap api in version 0.10.0 but when I install it with pip (pip install netsuite[soap_api]) it says the following:

Collecting netsuite[soap_api]
  Using cached netsuite-0.10.0-py3-none-any.whl (24 kB)
  WARNING: netsuite 0.10.0 does not provide the extra 'soap_api'
....

And when I try to call the soap api I get the following error:

RuntimeError: Missing required dependencies for SOAP Web Services API support. Install with `pip install netsuite[soap_api]`

I have to downgrade the package to version 0.8.0 to be able to use the soap api.

In version 0.9.0 I get a zeep error. Not sure why:

Traceback (most recent call last):
 File "/{PATH}/.env/lib/python3.8/site-packages/zeep/transports.py", line 159, in __del__
AttributeError: 'AsyncNetSuiteTransport' object has no attribute '_close_session'

LuisCebrian avatar Jan 03 '24 11:01 LuisCebrian

Feel free to open a PR to fix this!

iloveitaly avatar Jan 07 '24 14:01 iloveitaly