Skip to content
New issue

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

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

Already on GitHub? # to your account

Bump identify from 2.6.8 to 2.6.9 #10533

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 10, 2025

Bumps identify from 2.6.8 to 2.6.9.

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [identify](https://github.com/pre-commit/identify) from 2.6.8 to 2.6.9.
- [Commits](pre-commit/identify@v2.6.8...v2.6.9)

---
updated-dependencies:
- dependency-name: identify
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from webknjaz as a code owner March 10, 2025 11:11
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 10, 2025
@dependabot dependabot bot requested a review from asvetlov as a code owner March 10, 2025 11:11
@github-actions github-actions bot enabled auto-merge (squash) March 10, 2025 11:21
Copy link

codspeed-hq bot commented Mar 10, 2025

CodSpeed Performance Report

Merging #10533 will not alter performance

Comparing dependabot/pip/identify-2.6.9 (e94d826) with master (6d205da)

Summary

✅ 46 untouched benchmarks

Copy link

codecov bot commented Mar 10, 2025

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
3456 1 3455 40
View the top 1 failed test(s) by shortest run time
tests.test_run_app.TestShutdown test_shutdown_close_websockets
Stack Traces | 1.02s run time
self = <test_run_app.TestShutdown object at 0x10a32d6a0>
unused_port_socket = <socket.socket [closed] fd=-1, family=2, type=1, proto=0>

    #x1B[0m#x1B[94mdef#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[92mtest_shutdown_close_websockets#x1B[39;49;00m(#x1B[96mself#x1B[39;49;00m, unused_port_socket: socket.socket) -> #x1B[94mNone#x1B[39;49;00m:#x1B[90m#x1B[39;49;00m
        sock = unused_port_socket#x1B[90m#x1B[39;49;00m
        port = sock.getsockname()[#x1B[94m1#x1B[39;49;00m]#x1B[90m#x1B[39;49;00m
        WS = web.AppKey(#x1B[33m"#x1B[39;49;00m#x1B[33mws#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m, Set[web.WebSocketResponse])#x1B[90m#x1B[39;49;00m
        client_finished = server_finished = #x1B[94mFalse#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        t = #x1B[94mNone#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        #x1B[94masync#x1B[39;49;00m #x1B[94mdef#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[92mws_handler#x1B[39;49;00m(request: web.Request) -> web.WebSocketResponse:#x1B[90m#x1B[39;49;00m
            ws = web.WebSocketResponse()#x1B[90m#x1B[39;49;00m
            #x1B[94mawait#x1B[39;49;00m ws.prepare(request)#x1B[90m#x1B[39;49;00m
            request.app[WS].add(ws)#x1B[90m#x1B[39;49;00m
            #x1B[94masync#x1B[39;49;00m #x1B[94mfor#x1B[39;49;00m msg #x1B[95min#x1B[39;49;00m ws:#x1B[90m#x1B[39;49;00m
                #x1B[94mpass#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
            #x1B[94mnonlocal#x1B[39;49;00m server_finished#x1B[90m#x1B[39;49;00m
            server_finished = #x1B[94mTrue#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
            #x1B[94mreturn#x1B[39;49;00m ws#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        #x1B[94masync#x1B[39;49;00m #x1B[94mdef#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[92mclose_websockets#x1B[39;49;00m(app: web.Application) -> #x1B[94mNone#x1B[39;49;00m:#x1B[90m#x1B[39;49;00m
            #x1B[94mfor#x1B[39;49;00m ws #x1B[95min#x1B[39;49;00m app[WS]:#x1B[90m#x1B[39;49;00m
                #x1B[94mawait#x1B[39;49;00m ws.close(code=WSCloseCode.GOING_AWAY)#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        #x1B[94masync#x1B[39;49;00m #x1B[94mdef#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[92mtest#x1B[39;49;00m() -> #x1B[94mNone#x1B[39;49;00m:#x1B[90m#x1B[39;49;00m
            #x1B[94mawait#x1B[39;49;00m asyncio.sleep(#x1B[94m1#x1B[39;49;00m)#x1B[90m#x1B[39;49;00m
            #x1B[94masync#x1B[39;49;00m #x1B[94mwith#x1B[39;49;00m ClientSession() #x1B[94mas#x1B[39;49;00m sess:#x1B[90m#x1B[39;49;00m
                #x1B[94masync#x1B[39;49;00m #x1B[94mwith#x1B[39;49;00m sess.ws_connect(#x1B[33mf#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m#x1B[33mhttp://127.0.0.1:#x1B[39;49;00m#x1B[33m{#x1B[39;49;00mport#x1B[33m}#x1B[39;49;00m#x1B[33m/ws#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m) #x1B[94mas#x1B[39;49;00m ws:#x1B[90m#x1B[39;49;00m
                    #x1B[94masync#x1B[39;49;00m #x1B[94mwith#x1B[39;49;00m sess.get(#x1B[33mf#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m#x1B[33mhttp://127.0.0.1:#x1B[39;49;00m#x1B[33m{#x1B[39;49;00mport#x1B[33m}#x1B[39;49;00m#x1B[33m/stop#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m):#x1B[90m#x1B[39;49;00m
                        #x1B[94mpass#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
                    #x1B[94masync#x1B[39;49;00m #x1B[94mfor#x1B[39;49;00m msg #x1B[95min#x1B[39;49;00m ws:#x1B[90m#x1B[39;49;00m
                        #x1B[94mpass#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
                    #x1B[94mnonlocal#x1B[39;49;00m client_finished#x1B[90m#x1B[39;49;00m
                    client_finished = #x1B[94mTrue#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        #x1B[94masync#x1B[39;49;00m #x1B[94mdef#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[92mrun_test#x1B[39;49;00m(app: web.Application) -> AsyncIterator[#x1B[94mNone#x1B[39;49;00m]:#x1B[90m#x1B[39;49;00m
            #x1B[94mnonlocal#x1B[39;49;00m t#x1B[90m#x1B[39;49;00m
            t = asyncio.create_task(test())#x1B[90m#x1B[39;49;00m
            #x1B[94myield#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
            t.cancel()#x1B[90m#x1B[39;49;00m
            #x1B[94mwith#x1B[39;49;00m contextlib.suppress(asyncio.CancelledError):#x1B[90m#x1B[39;49;00m
                #x1B[94mawait#x1B[39;49;00m t#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        app = web.Application()#x1B[90m#x1B[39;49;00m
        app[WS] = #x1B[96mset#x1B[39;49;00m()#x1B[90m#x1B[39;49;00m
        app.on_shutdown.append(close_websockets)#x1B[90m#x1B[39;49;00m
        app.cleanup_ctx.append(run_test)#x1B[90m#x1B[39;49;00m
        app.router.add_get(#x1B[33m"#x1B[39;49;00m#x1B[33m/ws#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m, ws_handler)#x1B[90m#x1B[39;49;00m
        app.router.add_get(#x1B[33m"#x1B[39;49;00m#x1B[33m/stop#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m, #x1B[96mself#x1B[39;49;00m.stop)#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        start = time.time()#x1B[90m#x1B[39;49;00m
        web.run_app(app, sock=sock, shutdown_timeout=#x1B[94m10#x1B[39;49;00m)#x1B[90m#x1B[39;49;00m
        #x1B[94massert#x1B[39;49;00m time.time() - start < #x1B[94m5#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
>       #x1B[94massert#x1B[39;49;00m client_finished#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[31mE       assert False#x1B[0m

WS         = <AppKey(__channelexec__.ws, type=typing.Set[aiohttp.web_ws.WebSocketResponse])>
app        = <Application 0x10c3296f0>
client_finished = False
close_websockets = <function TestShutdown.test_shutdown_close_websockets.<locals>.close_websockets at 0x10bb32fc0>
port       = 50506
run_test   = <function TestShutdown.test_shutdown_close_websockets.<locals>.run_test at 0x10c342840>
self       = <test_run_app.TestShutdown object at 0x10a32d6a0>
server_finished = True
sock       = <socket.socket [closed] fd=-1, family=2, type=1, proto=0>
start      = 1741606015.212693
t          = <Task cancelled name='Task-1479' coro=<TestShutdown.test_shutdown_close_websockets.<locals>.test() done, defined at .../aiohttp/tests/test_run_app.py:1278>>
test       = <function TestShutdown.test_shutdown_close_websockets.<locals>.test at 0x10c341b20>
unused_port_socket = <socket.socket [closed] fd=-1, family=2, type=1, proto=0>
ws_handler = <function TestShutdown.test_shutdown_close_websockets.<locals>.ws_handler at 0x10bb32200>

#x1B[1m#x1B[31mtests/test_run_app.py#x1B[0m:1308: AssertionError

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants