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

Bump pycares from 4.5.0 to 4.6.0 #10702

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 7, 2025

Bumps pycares from 4.5.0 to 4.6.0.

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 [pycares](https://github.com/saghul/pycares) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/saghul/pycares/releases)
- [Changelog](https://github.com/saghul/pycares/blob/master/ChangeLog)
- [Commits](saghul/pycares@v4.5.0...v4.6.0)

---
updated-dependencies:
- dependency-name: pycares
  dependency-version: 4.6.0
  dependency-type: indirect
  update-type: version-update:semver-minor
...

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

codspeed-hq bot commented Apr 7, 2025

CodSpeed Performance Report

Merging #10702 will not alter performance

Comparing dependabot/pip/3.12/pycares-4.6.0 (7dec175) with 3.12 (eb1abe4)

Summary

✅ 51 untouched benchmarks

Copy link

codecov bot commented Apr 7, 2025

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
3458 1 3457 47
View the top 1 failed test(s) by shortest run time
tests.test_client_functional test_read_timeout_closes_connection[pyloop]
Stack Traces | 1.1s run time
self = <ClientResponse(http://127.0.0.1:38449/) [None None]>
None

connection = Connection<ConnectionKey(host='127.0.0.1', port=38449, is_ssl=False, ssl=True, proxy=None, proxy_auth=None, proxy_headers_hash=None)>

    #x1B[0m#x1B[94masync#x1B[39;49;00m #x1B[94mdef#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[92mstart#x1B[39;49;00m(#x1B[96mself#x1B[39;49;00m, connection: #x1B[33m"#x1B[39;49;00m#x1B[33mConnection#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m) -> #x1B[33m"#x1B[39;49;00m#x1B[33mClientResponse#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m:#x1B[90m#x1B[39;49;00m
    #x1B[90m    #x1B[39;49;00m#x1B[33m"""Start response processing."""#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        #x1B[96mself#x1B[39;49;00m._closed = #x1B[94mFalse#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        #x1B[96mself#x1B[39;49;00m._protocol = connection.protocol#x1B[90m#x1B[39;49;00m
        #x1B[96mself#x1B[39;49;00m._connection = connection#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        #x1B[94mwith#x1B[39;49;00m #x1B[96mself#x1B[39;49;00m._timer:#x1B[90m#x1B[39;49;00m
            #x1B[94mwhile#x1B[39;49;00m #x1B[94mTrue#x1B[39;49;00m:#x1B[90m#x1B[39;49;00m
                #x1B[90m# read response#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
                #x1B[94mtry#x1B[39;49;00m:#x1B[90m#x1B[39;49;00m
                    protocol = #x1B[96mself#x1B[39;49;00m._protocol#x1B[90m#x1B[39;49;00m
>                   message, payload = #x1B[94mawait#x1B[39;49;00m protocol.read()  #x1B[90m# type: ignore[union-attr]#x1B[39;49;00m#x1B[90m#x1B[39;49;00m

connection = Connection<ConnectionKey(host='127.0.0.1', port=38449, is_ssl=False, ssl=True, proxy=None, proxy_auth=None, proxy_headers_hash=None)>
protocol   = <aiohttp.client_proto.ResponseHandler object at 0x000000003f58da28>
self       = <ClientResponse(http://127.0.0.1:38449/) [None None]>
None


#x1B[1m#x1B[31maiohttp/client_reqrep.py#x1B[0m:1059: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
#x1B[1m#x1B[31maiohttp/streams.py#x1B[0m:672: in read
    #x1B[0m#x1B[94mawait#x1B[39;49;00m #x1B[96mself#x1B[39;49;00m._waiter#x1B[90m#x1B[39;49;00m
        self       = <aiohttp.client_proto.ResponseHandler object at 0x000000003f58da28>
#x1B[1m#x1B[.../hostedtoolcache/PyPy/3.9.19........./x64/lib/pypy3.9/asyncio/futures.py#x1B[0m:284: in __await__
    #x1B[0m#x1B[94myield#x1B[39;49;00m #x1B[96mself#x1B[39;49;00m  #x1B[90m# This tells Task to wait for completion.#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        self       = <Future cancelled>
#x1B[1m#x1B[.../hostedtoolcache/PyPy/3.9.19........./x64/lib/pypy3.9/asyncio/tasks.py#x1B[0m:328: in __wakeup
    #x1B[0mfuture.result()#x1B[90m#x1B[39;49;00m
        future     = <Future cancelled>
        self       = None
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <Future cancelled>

    #x1B[0m#x1B[94mdef#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[92mresult#x1B[39;49;00m(#x1B[96mself#x1B[39;49;00m):#x1B[90m#x1B[39;49;00m
    #x1B[90m    #x1B[39;49;00m#x1B[33m"""Return the result this future represents.#x1B[39;49;00m
    #x1B[33m#x1B[39;49;00m
    #x1B[33m    If the future has been cancelled, raises CancelledError.  If the#x1B[39;49;00m
    #x1B[33m    future's result isn't yet available, raises InvalidStateError.  If#x1B[39;49;00m
    #x1B[33m    the future is done and has an exception set, this exception is raised.#x1B[39;49;00m
    #x1B[33m    """#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        #x1B[94mif#x1B[39;49;00m #x1B[96mself#x1B[39;49;00m._state == _CANCELLED:#x1B[90m#x1B[39;49;00m
            exc = #x1B[96mself#x1B[39;49;00m._make_cancelled_error()#x1B[90m#x1B[39;49;00m
>           #x1B[94mraise#x1B[39;49;00m exc#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[31mE           asyncio.exceptions.CancelledError#x1B[0m

exc        = CancelledError()
self       = <Future cancelled>

#x1B[1m#x1B[.../hostedtoolcache/PyPy/3.9.19........./x64/lib/pypy3.9/asyncio/futures.py#x1B[0m:196: CancelledError

#x1B[33mThe above exception was the direct cause of the following exception:#x1B[0m

aiohttp_client = <function aiohttp_client.<locals>.go at 0x0000000042415b00>

    #x1B[0m#x1B[94masync#x1B[39;49;00m #x1B[94mdef#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[92mtest_read_timeout_closes_connection#x1B[39;49;00m(aiohttp_client: AiohttpClient) -> #x1B[94mNone#x1B[39;49;00m:#x1B[90m#x1B[39;49;00m
        request_count = #x1B[94m0#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[92mhandler#x1B[39;49;00m(request):#x1B[90m#x1B[39;49;00m
            #x1B[94mnonlocal#x1B[39;49;00m request_count#x1B[90m#x1B[39;49;00m
            request_count += #x1B[94m1#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
            #x1B[94mif#x1B[39;49;00m request_count < #x1B[94m3#x1B[39;49;00m:#x1B[90m#x1B[39;49;00m
                #x1B[94mawait#x1B[39;49;00m asyncio.sleep(#x1B[94m0.5#x1B[39;49;00m)#x1B[90m#x1B[39;49;00m
            #x1B[94mreturn#x1B[39;49;00m web.Response(body=#x1B[33mf#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m#x1B[33mrequest:#x1B[39;49;00m#x1B[33m{#x1B[39;49;00mrequest_count#x1B[33m}#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.add_routes([web.get(#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
    #x1B[90m#x1B[39;49;00m
        timeout = aiohttp.ClientTimeout(total=#x1B[94m0.1#x1B[39;49;00m)#x1B[90m#x1B[39;49;00m
        client: TestClient = #x1B[94mawait#x1B[39;49;00m aiohttp_client(app, timeout=timeout)#x1B[90m#x1B[39;49;00m
        #x1B[94mwith#x1B[39;49;00m pytest.raises(asyncio.TimeoutError):#x1B[90m#x1B[39;49;00m
            #x1B[94mawait#x1B[39;49;00m client.get(#x1B[33m"#x1B[39;49;00m#x1B[33m/#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m)#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        #x1B[90m# Make sure its really closed#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        #x1B[94massert#x1B[39;49;00m #x1B[95mnot#x1B[39;49;00m client.session.connector._conns#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        #x1B[94mwith#x1B[39;49;00m pytest.raises(asyncio.TimeoutError):#x1B[90m#x1B[39;49;00m
            #x1B[94mawait#x1B[39;49;00m client.get(#x1B[33m"#x1B[39;49;00m#x1B[33m/#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m)#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        #x1B[90m# Make sure its really closed#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        #x1B[94massert#x1B[39;49;00m #x1B[95mnot#x1B[39;49;00m client.session.connector._conns#x1B[90m#x1B[39;49;00m
>       result = #x1B[94mawait#x1B[39;49;00m client.get(#x1B[33m"#x1B[39;49;00m#x1B[33m/#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m)#x1B[90m#x1B[39;49;00m

aiohttp_client = <function aiohttp_client.<locals>.go at 0x0000000042415b00>
app        = <Application 0x3eec36a8>
client     = <aiohttp.test_utils.TestClient object at 0x000000003e625088>
handler    = <function test_read_timeout_closes_connection.<locals>.handler at 0x0000000042415c40>
request_count = 2
timeout    = ClientTimeout(total=0.1, connect=None, sock_read=None, sock_connect=None, ceil_threshold=5)

#x1B[1m#x1B[31mtests/test_client_functional.py#x1B[0m:3855: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
#x1B[1m#x1B[31maiohttp/test_utils.py#x1B[0m:357: in _request
    #x1B[0mresp = #x1B[94mawait#x1B[39;49;00m #x1B[96mself#x1B[39;49;00m._session.request(method, #x1B[96mself#x1B[39;49;00m.make_url(path), **kwargs)#x1B[90m#x1B[39;49;00m
        kwargs     = {}
        method     = 'GET'
        path       = '/'
        self       = <aiohttp.test_utils.TestClient object at 0x000000003e625088>
#x1B[1m#x1B[31maiohttp/client.py#x1B[0m:731: in _request
    #x1B[0m#x1B[94mawait#x1B[39;49;00m resp.start(conn)#x1B[90m#x1B[39;49;00m
        all_cookies = <SimpleCookie: >
        allow_redirects = True
        auth       = None
        auth_from_url = None
        auto_decompress = True
        chunked    = None
        compress   = None
        conn       = Connection<ConnectionKey(host='127.0.0.1', port=38449, is_ssl=False, ssl=True, proxy=None, proxy_auth=None, proxy_headers_hash=None)>
        cookies    = None
        data       = None
        expect100  = False
        fingerprint = None
        handle     = None
        headers    = <CIMultiDict()>
        history    = []
        json       = None
        max_field_size = 8190
        max_line_size = 8190
        max_redirects = 10
        method     = 'GET'
        params     = {}
        proxy      = None
        proxy_     = None
        proxy_auth = None
        proxy_headers = None
        raise_for_status = None
        read_bufsize = 65536
        read_until_eof = True
        real_timeout = ClientTimeout(total=0.1, connect=None, sock_read=None, sock_connect=None, ceil_threshold=5)
        redirects  = 0
        req        = <aiohttp.client_reqrep.ClientRequest object at 0x000000003f593830>
        resp       = <ClientResponse(http://127.0.0.1:38449/) [None None]>
None

        retry_persistent_connection = False
        self       = <aiohttp.client.ClientSession object at 0x000000003e630988>
        server_hostname = None
        skip_auto_headers = None
        skip_headers = None
        ssl        = True
        ssl_context = None
        str_or_url = URL('http://127.0.0.1:38449/')
        timeout    = <_SENTINEL.sentinel: 1>
        timer      = <aiohttp.helpers.TimerContext object at 0x000000003f58d408>
        tm         = <aiohttp.helpers.TimeoutHandle object at 0x000000003f58d398>
        trace_request_ctx = None
        traces     = []
        url        = URL('http://127.0.0.1:38449/')
        verify_ssl = None
        version    = HttpVersion(major=1, minor=1)
#x1B[1m#x1B[31maiohttp/client_reqrep.py#x1B[0m:1074: in start
    #x1B[0m#x1B[96mself#x1B[39;49;00m._continue = #x1B[94mNone#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        connection = Connection<ConnectionKey(host='127.0.0.1', port=38449, is_ssl=False, ssl=True, proxy=None, proxy_auth=None, proxy_headers_hash=None)>
        protocol   = <aiohttp.client_proto.ResponseHandler object at 0x000000003f58da28>
        self       = <ClientResponse(http://127.0.0.1:38449/) [None None]>
None

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <aiohttp.helpers.TimerContext object at 0x000000003f58d408>
exc_type = <class 'asyncio.exceptions.CancelledError'>
exc_val = CancelledError(), exc_tb = <traceback object at 0x0000000035308b38>

    #x1B[0m#x1B[94mdef#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[92m__exit__#x1B[39;49;00m(#x1B[90m#x1B[39;49;00m
        #x1B[96mself#x1B[39;49;00m,#x1B[90m#x1B[39;49;00m
        exc_type: Optional[Type[#x1B[96mBaseException#x1B[39;49;00m]],#x1B[90m#x1B[39;49;00m
        exc_val: Optional[#x1B[96mBaseException#x1B[39;49;00m],#x1B[90m#x1B[39;49;00m
        exc_tb: Optional[TracebackType],#x1B[90m#x1B[39;49;00m
    ) -> Optional[#x1B[96mbool#x1B[39;49;00m]:#x1B[90m#x1B[39;49;00m
        enter_task: Optional[asyncio.Task[Any]] = #x1B[94mNone#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        #x1B[94mif#x1B[39;49;00m #x1B[96mself#x1B[39;49;00m._tasks:#x1B[90m#x1B[39;49;00m
            enter_task = #x1B[96mself#x1B[39;49;00m._tasks.pop()#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        #x1B[94mif#x1B[39;49;00m exc_type #x1B[95mis#x1B[39;49;00m asyncio.CancelledError #x1B[95mand#x1B[39;49;00m #x1B[96mself#x1B[39;49;00m._cancelled:#x1B[90m#x1B[39;49;00m
            #x1B[94massert#x1B[39;49;00m enter_task #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[90m# The timeout was hit, and the task was cancelled#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
            #x1B[90m# so we need to uncancel the last task that entered the context manager#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
            #x1B[90m# since the cancellation should not leak out of the context manager#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
            #x1B[94mif#x1B[39;49;00m sys.version_info >= (#x1B[94m3#x1B[39;49;00m, #x1B[94m11#x1B[39;49;00m):#x1B[90m#x1B[39;49;00m
                #x1B[90m# If the task was already cancelling don't raise#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
                #x1B[90m# asyncio.TimeoutError and instead return None#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
                #x1B[90m# to allow the cancellation to propagate#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
                #x1B[94mif#x1B[39;49;00m enter_task.uncancel() > #x1B[96mself#x1B[39;49;00m._cancelling:#x1B[90m#x1B[39;49;00m
                    #x1B[94mreturn#x1B[39;49;00m #x1B[94mNone#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
>           #x1B[94mraise#x1B[39;49;00m asyncio.TimeoutError #x1B[94mfrom#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[04m#x1B[96mexc_val#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[31mE           asyncio.exceptions.TimeoutError#x1B[0m

enter_task = <Task finished name='Task-1' coro=<test_read_timeout_closes_connection() done, defined at .../aiohttp/tests/test_client_functional.py:3829> exception=TimeoutError()>
exc_tb     = <traceback object at 0x0000000035308b38>
exc_type   = <class 'asyncio.exceptions.CancelledError'>
exc_val    = CancelledError()
self       = <aiohttp.helpers.TimerContext object at 0x000000003f58d408>

#x1B[1m#x1B[31maiohttp/helpers.py#x1B[0m:685: TimeoutError

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in 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