Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add py3.14 to CI test matrix #10178

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add py3.14 to CI test matrix #10178

wants to merge 2 commits into from

Conversation

asvetlov
Copy link
Member

It allows errors detection early.

@asvetlov asvetlov requested a review from webknjaz as a code owner December 18, 2024 11:56
@asvetlov asvetlov added backport-3.11 Trigger automatic backporting to the 3.11 release branch by Patchback robot backport-3.12 Trigger automatic backporting to the 3.12 release branch by Patchback robot labels Dec 18, 2024
Copy link

codspeed-hq bot commented Dec 18, 2024

CodSpeed Performance Report

Merging #10178 will not alter performance

Comparing py-3.14 (eaa78de) with master (e45c3b8)

Summary

✅ 47 untouched benchmarks

Copy link

codecov bot commented Dec 18, 2024

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
3479 1 3478 75
View the top 1 failed tests by shortest run time
tests.test_web_functional test_response_context_manager_error[pyloop]
Stack Traces | 0.057s run time
aiohttp_server = <function aiohttp_server.<locals>.go at 0x107c28720>

    #x1B[0m#x1B[94masync#x1B[39;49;00m #x1B[94mdef#x1B[39;49;00m #x1B[92mtest_response_context_manager_error#x1B[39;49;00m(aiohttp_server: AiohttpServer) -> #x1B[94mNone#x1B[39;49;00m:#x1B[90m#x1B[39;49;00m
        #x1B[94masync#x1B[39;49;00m #x1B[94mdef#x1B[39;49;00m #x1B[92mhandler#x1B[39;49;00m(request: web.Request) -> web.Response:#x1B[90m#x1B[39;49;00m
            #x1B[94mreturn#x1B[39;49;00m web.Response(text=#x1B[33m"#x1B[39;49;00m#x1B[33msome text#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m)#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        app = web.Application()#x1B[90m#x1B[39;49;00m
        app.router.add_route(#x1B[33m"#x1B[39;49;00m#x1B[33mGET#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m, #x1B[33m"#x1B[39;49;00m#x1B[33m/#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m, handler)#x1B[90m#x1B[39;49;00m
        server = #x1B[94mawait#x1B[39;49;00m aiohttp_server(app)#x1B[90m#x1B[39;49;00m
        session = aiohttp.ClientSession()#x1B[90m#x1B[39;49;00m
        cm = session.get(server.make_url(#x1B[33m"#x1B[39;49;00m#x1B[33m/#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m))#x1B[90m#x1B[39;49;00m
        resp = #x1B[94mawait#x1B[39;49;00m cm#x1B[90m#x1B[39;49;00m
        #x1B[94mwith#x1B[39;49;00m pytest.raises(#x1B[96mRuntimeError#x1B[39;49;00m):#x1B[90m#x1B[39;49;00m
            #x1B[94masync#x1B[39;49;00m #x1B[94mwith#x1B[39;49;00m resp:#x1B[90m#x1B[39;49;00m
                #x1B[94massert#x1B[39;49;00m resp.status == #x1B[94m200#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
                resp.content.set_exception(#x1B[96mRuntimeError#x1B[39;49;00m())#x1B[90m#x1B[39;49;00m
                #x1B[94mawait#x1B[39;49;00m resp.read()#x1B[90m#x1B[39;49;00m
        #x1B[94massert#x1B[39;49;00m resp.closed#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        #x1B[94massert#x1B[39;49;00m session._connector #x1B[95mis#x1B[39;49;00m #x1B[95mnot#x1B[39;49;00m #x1B[94mNone#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
>       #x1B[94massert#x1B[39;49;00m #x1B[96mlen#x1B[39;49;00m(session._connector._conns) == #x1B[94m1#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[31mE       AssertionError: assert 0 == 1#x1B[0m
#x1B[1m#x1B[31mE        +  where 0 = len(defaultdict(<class 'collections.deque'>, {}))#x1B[0m
#x1B[1m#x1B[31mE        +    where defaultdict(<class 'collections.deque'>, {}) = <aiohttp.connector.TCPConnector object at 0x1073f4750>._conns#x1B[0m
#x1B[1m#x1B[31mE        +      where <aiohttp.connector.TCPConnector object at 0x1073f4750> = <aiohttp.client.ClientSession object at 0x10722df40>._connector#x1B[0m

aiohttp_server = <function aiohttp_server.<locals>.go at 0x107c28720>
app        = <Application 0x107b90eb0>
cm         = <aiohttp.client._BaseRequestContextManager object at 0x105d0fdf0>
handler    = <function test_response_context_manager_error.<locals>.handler at 0x107c29120>
resp       = <ClientResponse(http://127.0.0.1:50374/) [200 OK]>
<CIMultiDictProxy('Content-Type': 'text/plain; charset=utf-8', 'Content-Length': '9', 'Date': 'Wed, 18 Dec 2024 14:19:29 GMT', 'Server': 'Python/3.11 aiohttp/4.0.0a2.dev0')>

server     = <aiohttp.test_utils.TestServer object at 0x1073b60d0>
session    = <aiohttp.client.ClientSession object at 0x10722df40>

#x1B[1m#x1B[31mtests/test_web_functional.py#x1B[0m:1929: AssertionError

To view more test analytics, go to the Test Analytics Dashboard
📢 Thoughts on this report? Let us know!

@asvetlov asvetlov added the bot:chronographer:skip This PR does not need to include a change note label Dec 18, 2024
@asvetlov asvetlov changed the title Add py3.14 alpha to CI test matrix Add py3.14 to CI test matrix Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-3.11 Trigger automatic backporting to the 3.11 release branch by Patchback robot backport-3.12 Trigger automatic backporting to the 3.12 release branch by Patchback robot bot:chronographer:skip This PR does not need to include a change note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants