Skip to content

Conversation

CrafterKolyan
Copy link

Current version of zeep is actually incompatible with httpx>=0.28.0.

See https://github.com/encode/httpx/releases/tag/0.28.0 for removal of proxies keyword.
See https://github.com/encode/httpx/releases/tag/0.26.0 for deprecation of proxies keyword.

timeout=timeout,
**({"proxies": proxy} if httpx.__version__ < "0.28.0" else {"proxy": proxy}),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This version check is incorrect:

>>> "0.3.0" <= "0.28.0"
False

0.3.0 being older than 0.28.0 should be using proxy.

See #1447

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants