python-zeep icon indicating copy to clipboard operation
python-zeep copied to clipboard

Zeep fails trying to instantiate a client in python3.12

Open sdishman-bl opened this issue 1 year ago • 4 comments

I suspect this is already known, as python3.12 is not listed on the supported versions on the main page. But I also couldn't find a bug specifically calling it out.

  1. The version of zeep (or if you are running master the commit hash/date): 4.2.1
  2. The WSDL you are using: I think any will do, but here's a public WSDL that I used to illustrate the error: http://www.dneonline.com/calculator.asmx?WSDL
  3. And most importantly, a runnable example script which exposes the problem.:
from zeep import Client
Client('http://www.dneonline.com/calculator.asmx?WSDL')

I saw that this PR was submitted in February to address the issue, so I just wanted to highlight that here.

FWIW, we're in the middle of trying to update our systems to python3.12, and this happens to be the only known library preventing us from doing that. I only offer that as "FYI", not as an attempt at escalation - we appreciate the work you do to make this library possible!

sdishman-bl avatar Apr 03 '24 18:04 sdishman-bl

Hi, just a message to support this implementation - our system uses python 3.12 and we need to start using Zeep but are unable due to the version restrictions.

david-velasquez-v avatar Apr 25 '24 18:04 david-velasquez-v

+1 from us as well - we use heavily zeep, Support for python 3.12 would be hugely appreciated.

AndrewMagerman avatar Jun 03 '24 15:06 AndrewMagerman

What needs to be done to add Python 3.12 support? Cheers

h5rdly avatar Jun 18 '24 14:06 h5rdly

This crash might be caused by an outdated version of attrs. I can reproduce this with attrs 21.4.0 but not with later versions.

pdewacht avatar Aug 16 '24 08:08 pdewacht

Should be solved in the next version (4.3.0)

mvantellingen avatar Oct 13 '24 08:10 mvantellingen

Thank you @mvantellingen !

sdishman-bl avatar Oct 16 '24 19:10 sdishman-bl