Skip to content

Bump transitive deps in pip-tools-managed lockfiles #707

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

Open
wants to merge 25 commits into
base: main
Choose a base branch
from

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented May 5, 2024

Automated pip-tools-managed pip constraint lockfiles update.


This change is Reviewable

@webknjaz webknjaz force-pushed the maintenance/pip-tools-constraint-lockfiles branch 8 times, most recently from 7d55f55 to 9e40eb6 Compare May 12, 2024 01:04
@webknjaz webknjaz force-pushed the maintenance/pip-tools-constraint-lockfiles branch 7 times, most recently from e33772d to 0d3879b Compare May 19, 2024 01:00
@webknjaz webknjaz force-pushed the maintenance/pip-tools-constraint-lockfiles branch 8 times, most recently from ac2fa09 to 36a2026 Compare May 27, 2024 00:59
@webknjaz webknjaz force-pushed the maintenance/pip-tools-constraint-lockfiles branch 3 times, most recently from 4749adb to 2579582 Compare May 30, 2024 00:59
Copy link

codecov bot commented May 30, 2024

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
883 1 882 47
View the top 1 failed test(s) by shortest run time
cheroot.test.test_conn::test_keepalive_conn_management
Stack Traces | 4.84s run time
test_client = <cheroot.testing._TestClient object at 0x10d96c190>

    #x1B[0m#x1B[94mdef#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[92mtest_keepalive_conn_management#x1B[39;49;00m(test_client):#x1B[90m#x1B[39;49;00m
    #x1B[90m    #x1B[39;49;00m#x1B[33m"""Test management of Keep-Alive connections."""#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        test_client.server_instance.timeout = #x1B[94m2#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        #x1B[94mdef#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[92mconnection#x1B[39;49;00m():#x1B[90m#x1B[39;49;00m
            #x1B[90m# Initialize a persistent HTTP connection#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
            http_connection = test_client.get_connection()#x1B[90m#x1B[39;49;00m
            http_connection.auto_open = #x1B[94mFalse#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
            http_connection.connect()#x1B[90m#x1B[39;49;00m
            #x1B[94mreturn#x1B[39;49;00m http_connection#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        #x1B[94mdef#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[92mrequest#x1B[39;49;00m(conn, keepalive=#x1B[94mTrue#x1B[39;49;00m):#x1B[90m#x1B[39;49;00m
            status_line, actual_headers, actual_resp_body = test_client.get(#x1B[90m#x1B[39;49;00m
                #x1B[33m'#x1B[39;49;00m#x1B[33m/page3#x1B[39;49;00m#x1B[33m'#x1B[39;49;00m,#x1B[90m#x1B[39;49;00m
                headers=[(#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[33mKeep-Alive#x1B[39;49;00m#x1B[33m'#x1B[39;49;00m)],#x1B[90m#x1B[39;49;00m
                http_conn=conn,#x1B[90m#x1B[39;49;00m
                protocol=#x1B[33m'#x1B[39;49;00m#x1B[33mHTTP/1.0#x1B[39;49;00m#x1B[33m'#x1B[39;49;00m,#x1B[90m#x1B[39;49;00m
            )#x1B[90m#x1B[39;49;00m
            actual_status = #x1B[96mint#x1B[39;49;00m(status_line[:#x1B[94m3#x1B[39;49;00m])#x1B[90m#x1B[39;49;00m
            #x1B[94massert#x1B[39;49;00m actual_status == #x1B[94m200#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
            #x1B[94massert#x1B[39;49;00m status_line[#x1B[94m4#x1B[39;49;00m:] == #x1B[33m'#x1B[39;49;00m#x1B[33mOK#x1B[39;49;00m#x1B[33m'#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
            #x1B[94massert#x1B[39;49;00m actual_resp_body == pov.encode()#x1B[90m#x1B[39;49;00m
            #x1B[94mif#x1B[39;49;00m keepalive:#x1B[90m#x1B[39;49;00m
                #x1B[94massert#x1B[39;49;00m header_has_value(#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[33mKeep-Alive#x1B[39;49;00m#x1B[33m'#x1B[39;49;00m, actual_headers)#x1B[90m#x1B[39;49;00m
                #x1B[94massert#x1B[39;49;00m header_has_value(#x1B[90m#x1B[39;49;00m
                    #x1B[33m'#x1B[39;49;00m#x1B[33mKeep-Alive#x1B[39;49;00m#x1B[33m'#x1B[39;49;00m,#x1B[90m#x1B[39;49;00m
                    #x1B[33m'#x1B[39;49;00m#x1B[33mtimeout=#x1B[39;49;00m#x1B[33m{test_client.server_instance.timeout}#x1B[39;49;00m#x1B[33m'#x1B[39;49;00m.format(#x1B[90m#x1B[39;49;00m
                        **#x1B[96mlocals#x1B[39;49;00m(),#x1B[90m#x1B[39;49;00m
                    ),#x1B[90m#x1B[39;49;00m
                    actual_headers,#x1B[90m#x1B[39;49;00m
                )#x1B[90m#x1B[39;49;00m
            #x1B[94melse#x1B[39;49;00m:#x1B[90m#x1B[39;49;00m
                #x1B[94massert#x1B[39;49;00m #x1B[95mnot#x1B[39;49;00m header_exists(#x1B[33m'#x1B[39;49;00m#x1B[33mConnection#x1B[39;49;00m#x1B[33m'#x1B[39;49;00m, actual_headers)#x1B[90m#x1B[39;49;00m
                #x1B[94massert#x1B[39;49;00m #x1B[95mnot#x1B[39;49;00m header_exists(#x1B[33m'#x1B[39;49;00m#x1B[33mKeep-Alive#x1B[39;49;00m#x1B[33m'#x1B[39;49;00m, actual_headers)#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        #x1B[94mdef#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[92mcheck_server_idle_conn_count#x1B[39;49;00m(count, timeout=#x1B[94m1.0#x1B[39;49;00m):#x1B[90m#x1B[39;49;00m
            deadline = time.time() + timeout#x1B[90m#x1B[39;49;00m
            #x1B[94mwhile#x1B[39;49;00m #x1B[94mTrue#x1B[39;49;00m:#x1B[90m#x1B[39;49;00m
                n = test_client.server_instance._connections._num_connections#x1B[90m#x1B[39;49;00m
                #x1B[94mif#x1B[39;49;00m n == count:#x1B[90m#x1B[39;49;00m
                    #x1B[94mreturn#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
                #x1B[94massert#x1B[39;49;00m time.time() <= deadline, (#x1B[90m#x1B[39;49;00m
                    #x1B[33m'#x1B[39;49;00m#x1B[33midle conn count mismatch, wanted #x1B[39;49;00m#x1B[33m{count}#x1B[39;49;00m#x1B[33m, got #x1B[39;49;00m#x1B[33m{n}#x1B[39;49;00m#x1B[33m'#x1B[39;49;00m.format(#x1B[90m#x1B[39;49;00m
                        **#x1B[96mlocals#x1B[39;49;00m(),#x1B[90m#x1B[39;49;00m
                    ),#x1B[90m#x1B[39;49;00m
                )#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        disconnect_errors = (#x1B[90m#x1B[39;49;00m
            http.client.BadStatusLine,#x1B[90m#x1B[39;49;00m
            http.client.CannotSendRequest,#x1B[90m#x1B[39;49;00m
            http.client.NotConnected,#x1B[90m#x1B[39;49;00m
        )#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        #x1B[90m# Make a new connection.#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        c1 = connection()#x1B[90m#x1B[39;49;00m
        request(c1)#x1B[90m#x1B[39;49;00m
        check_server_idle_conn_count(#x1B[94m1#x1B[39;49;00m)#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        #x1B[90m# Make a second one.#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        c2 = connection()#x1B[90m#x1B[39;49;00m
        request(c2)#x1B[90m#x1B[39;49;00m
        check_server_idle_conn_count(#x1B[94m2#x1B[39;49;00m)#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        #x1B[90m# Reusing the first connection should still work.#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        request(c1)#x1B[90m#x1B[39;49;00m
        check_server_idle_conn_count(#x1B[94m2#x1B[39;49;00m)#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        #x1B[90m# Creating a new connection should still work, but we should#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        #x1B[90m# have run out of available connections to keep alive, so the#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        #x1B[90m# server should tell us to close.#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        c3 = connection()#x1B[90m#x1B[39;49;00m
        request(c3, keepalive=#x1B[94mFalse#x1B[39;49;00m)#x1B[90m#x1B[39;49;00m
        check_server_idle_conn_count(#x1B[94m2#x1B[39;49;00m)#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        #x1B[90m# Show that the third connection was closed.#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        #x1B[94mwith#x1B[39;49;00m pytest.raises(disconnect_errors):#x1B[90m#x1B[39;49;00m
            request(c3)#x1B[90m#x1B[39;49;00m
        check_server_idle_conn_count(#x1B[94m2#x1B[39;49;00m)#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        #x1B[90m# Wait for some of our timeout.#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        time.sleep(#x1B[94m1.2#x1B[39;49;00m)#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        #x1B[90m# Refresh the second connection.#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        request(c2)#x1B[90m#x1B[39;49;00m
        check_server_idle_conn_count(#x1B[94m2#x1B[39;49;00m)#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        #x1B[90m# Wait for the remainder of our timeout, plus one tick.#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        time.sleep(#x1B[94m1.2#x1B[39;49;00m)#x1B[90m#x1B[39;49;00m
        check_server_idle_conn_count(#x1B[94m1#x1B[39;49;00m)#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        #x1B[90m# First connection should now be expired.#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        #x1B[94mwith#x1B[39;49;00m pytest.raises(disconnect_errors):#x1B[90m#x1B[39;49;00m
            request(c1)#x1B[90m#x1B[39;49;00m
>       check_server_idle_conn_count(#x1B[94m1#x1B[39;49;00m)#x1B[90m#x1B[39;49;00m

c1         = <http.client.HTTPConnection object at 0x10d96c810>
c2         = <http.client.HTTPConnection object at 0x10d96d0d0>
c3         = <http.client.HTTPConnection object at 0x10d96d550>
check_server_idle_conn_count = <function test_keepalive_conn_management.<locals>.check_server_idle_conn_count at 0x10d9672e0>
connection = <function test_keepalive_conn_management.<locals>.connection at 0x10d967240>
disconnect_errors = (<class 'http.client.BadStatusLine'>, <class 'http.client.CannotSendRequest'>, <class 'http.client.NotConnected'>)
request    = <function test_keepalive_conn_management.<locals>.request at 0x10d9671a0>
test_client = <cheroot.testing._TestClient object at 0x10d96c190>

#x1B[1m#x1B[31mcheroot/test/test_conn.py#x1B[0m:598: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

count = 1, timeout = 1.0

    #x1B[0m#x1B[94mdef#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[92mcheck_server_idle_conn_count#x1B[39;49;00m(count, timeout=#x1B[94m1.0#x1B[39;49;00m):#x1B[90m#x1B[39;49;00m
        deadline = time.time() + timeout#x1B[90m#x1B[39;49;00m
        #x1B[94mwhile#x1B[39;49;00m #x1B[94mTrue#x1B[39;49;00m:#x1B[90m#x1B[39;49;00m
            n = test_client.server_instance._connections._num_connections#x1B[90m#x1B[39;49;00m
            #x1B[94mif#x1B[39;49;00m n == count:#x1B[90m#x1B[39;49;00m
                #x1B[94mreturn#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
>           #x1B[94massert#x1B[39;49;00m time.time() <= deadline, (#x1B[90m#x1B[39;49;00m
                #x1B[33m'#x1B[39;49;00m#x1B[33midle conn count mismatch, wanted #x1B[39;49;00m#x1B[33m{count}#x1B[39;49;00m#x1B[33m, got #x1B[39;49;00m#x1B[33m{n}#x1B[39;49;00m#x1B[33m'#x1B[39;49;00m.format(#x1B[90m#x1B[39;49;00m
                    **#x1B[96mlocals#x1B[39;49;00m(),#x1B[90m#x1B[39;49;00m
                ),#x1B[90m#x1B[39;49;00m
            )#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[31mE           AssertionError: ('idle conn count mismatch, wanted 1, got 0',)#x1B[0m
#x1B[1m#x1B[31mE           assert 1748742415.5158641 <= 1748742415.515861#x1B[0m
#x1B[1m#x1B[31mE            +  where 1748742415.5158641 = <built-in function time>()#x1B[0m
#x1B[1m#x1B[31mE            +    where <built-in function time> = time.time#x1B[0m

count      = 1
deadline   = 1748742415.515861
n          = 0
test_client = <cheroot.testing._TestClient object at 0x10d96c190>
timeout    = 1.0

#x1B[1m#x1B[31mcheroot/test/test_conn.py#x1B[0m:546: 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.

@webknjaz webknjaz force-pushed the maintenance/pip-tools-constraint-lockfiles branch 3 times, most recently from d2c9db9 to a81051d Compare June 2, 2024 01:16
@webknjaz webknjaz force-pushed the maintenance/pip-tools-constraint-lockfiles branch 4 times, most recently from 85ab81f to 1c684ee Compare May 31, 2025 01:19
@webknjaz webknjaz force-pushed the maintenance/pip-tools-constraint-lockfiles branch from 1c684ee to 283fe8b Compare June 1, 2025 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant