Package: pywinrm
Version: 0.3.0-4
Hi Team
Greetings. We have recently tried upgrading to Debian 12 from Debian 11.

We are now facing issues using pywinrm module. Basically we use this module 
with ansible to connect to our windows VM using WIN RM.

This pywinrm has python3 as dependency and hence it brings python3 (3.11.2 ) 
version.

When we further investigating we found transport.py script has an issue  in 
below line and throws an error saying ""msg": "ntlm: module 'inspect' has no 
attribute 'getargspec'"

        argspec = set(inspect.getargspec(function).args)

One solution to fix this is change getargspec with getfullargspec and it works. 
But this is a manual workaround for us.

Is there any  chance of fixing this issue in python3.11.2 and make these 
changes available as a part of Debian 12 ? . Kindly let us know if you need 
further details

Thanks
SAI


Reply via email to