Bug 2368530

Summary: python-zeep: FTBFS in Fedora Rawhide: TypeError: Client.__init__() got an unexpected keyword argument 'proxies'
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: python-zeepAssignee: Georg Sauthoff <fedora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
URL: https://koschei.fedoraproject.org/package/python-zeep
Whiteboard:
Fixed In Version: python-zeep-4.3.1-3.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-05-31 23:38:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2322407, 2339432    

Description Karolina Surma 2025-05-26 07:42:17 UTC
Description of problem:
Package python-zeep fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
4.3.1-2.fc42

Steps to Reproduce:
koji build --scratch f43 python-zeep-4.3.1-2.fc42.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/python-zeep

Reproducible: Always

Actual Results:
_______________________________ test_http_error ________________________________

httpx_mock = <pytest_httpx._httpx_mock.HTTPXMock object at 0x7f38b8203a80>

    @pytest.mark.requests
    @pytest.mark.asyncio
    async def test_http_error(httpx_mock: HTTPXMock):
>       transport = AsyncTransport()

tests/test_async_transport.py:67: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <zeep.transports.AsyncTransport object at 0x7f38b83139b0>, client = None
wsdl_client = None, cache = None, timeout = 300, operation_timeout = None
verify_ssl = True, proxy = None

    def __init__(
        self,
        client=None,
        wsdl_client=None,
        cache=None,
        timeout=300,
        operation_timeout=None,
        verify_ssl=True,
        proxy=None,
    ):
        if httpx is None:
            raise RuntimeError("The AsyncTransport is based on the httpx module")
    
        self._close_session = False
        self.cache = cache
>       self.wsdl_client = wsdl_client or httpx.Client(
            verify=verify_ssl,
            proxies=proxy,
            timeout=timeout,
        )
E       TypeError: Client.__init__() got an unexpected keyword argument 'proxies'

Comment 1 Fedora Update System 2025-05-31 23:34:16 UTC
FEDORA-2025-2371c14263 (python-zeep-4.3.1-3.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-2371c14263

Comment 2 Fedora Update System 2025-05-31 23:38:01 UTC
FEDORA-2025-2371c14263 (python-zeep-4.3.1-3.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.