Bug 2440568 - python-webob fails to build with Python 3.15: test_client_cookies: http.client.RemoteDisconnected: Remote end closed connection without response
Summary: python-webob fails to build with Python 3.15: test_client_cookies: http.clien...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-webob
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fedora Infrastructure SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.15
TreeView+ depends on / blocked
 
Reported: 2026-02-18 11:33 UTC by Karolina Surma
Modified: 2026-02-23 07:36 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-02-23 07:36:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2026-02-18 11:33:45 UTC
python-webob fails to build with Python 3.15.0a6.

_____________________________ test_client_cookies ______________________________

serve = <function serve.<locals>._serve at 0x7f7b70eb8a90>, client_app = None

    @pytest.mark.usefixtures("serve")
    def test_client_cookies(serve, client_app=None):
        with serve(cookie_app) as server:
            req = Request.blank(server.url + '/?test')
>           resp = req.send(client_app)
                   ^^^^^^^^^^^^^^^^^^^^

tests/test_client_functional.py:80: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../BUILDROOT/usr/lib/python3.15/site-packages/webob/request.py:1313: in send
    status, headers, app_iter = self.call_application(
../BUILDROOT/usr/lib/python3.15/site-packages/webob/request.py:1278: in call_application
    app_iter = application(self.environ, start_response)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../BUILDROOT/usr/lib/python3.15/site-packages/webob/client.py:94: in __call__
    res = conn.getresponse()
          ^^^^^^^^^^^^^^^^^^
/usr/lib64/python3.15/http/client.py:1454: in getresponse
    response.begin()
/usr/lib64/python3.15/http/client.py:337: in begin
    version, status, reason = self._read_status()
                              ^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <http.client.HTTPResponse object at 0x7f7b71d60e50>

    def _read_status(self):
        line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
        if len(line) > _MAXLINE:
            raise LineTooLong("status line")
        if self.debuglevel > 0:
            print("reply:", repr(line))
        if not line:
            # Presumably, the server closed the connection before
            # sending a valid response.
>           raise RemoteDisconnected("Remote end closed connection without"
                                     " response")
E           http.client.RemoteDisconnected: Remote end closed connection without response

https://docs.python.org/3.15/whatsnew/3.15.html

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.15/fedora-rawhide-x86_64/10144896-python-webob/

For all our attempts to build python-webob with Python 3.15, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.15/package/python-webob/

Testing and mass rebuild of packages is happening in copr.
You can follow these instructions to test locally in mock if your package builds with Python 3.15:
https://copr.fedorainfracloud.org/coprs/g/python/python3.15/

Let us know here if you have any questions.

Python 3.15 is planned to be included in Fedora 45.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.15.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires),
so if this package is required a lot, it's important for us to get it fixed soon.

We'd appreciate help from the people who know this package best,
but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Jan ONDREJ 2026-02-23 07:36:27 UTC
Unable to fix this problem. Just disabled another test to be able to build.


Note You need to log in before you can comment on or make changes to this bug.