File tree Expand file tree Collapse file tree 7 files changed +30
-24
lines changed Expand file tree Collapse file tree 7 files changed +30
-24
lines changed Original file line number Diff line number Diff line change @@ -50,16 +50,17 @@ jobs:
50
50
os : ubuntu-24.04
51
51
no-httpx : true
52
52
experimental : false
53
- # add experimental 3.14 runs. Move this to being a 3.14 python-version
54
- # entry when stable.
55
- - python-version : 3.14
56
- os : ubuntu-24.04
57
- no-httpx : false
58
- experimental : true
59
- - python-version : 3.14
60
- os : ubuntu-24.04-arm
61
- no-httpx : false
62
- experimental : true
53
+
54
+ # add experimental 3.14 runs. Move this to being a 3.14 python-version
55
+ # entry when stable.
56
+ # - python-version: 3.14
57
+ # os: ubuntu-24.04
58
+ # no-httpx: false
59
+ # experimental: true
60
+ # - python-version: 3.14
61
+ # os: ubuntu-24.04-arm
62
+ # no-httpx: false
63
+ # experimental: true
63
64
fail-fast : false
64
65
uses : ./.github/workflows/reusable-test.yml
65
66
with :
Original file line number Diff line number Diff line change 1
1
Changes
2
2
-------
3
+ 2.24.1 (2025-08-15)
4
+ ^^^^^^^^^^^^^^^^^^^
5
+ * fix endpoint circular import error
3
6
4
7
2.24.0 (2025-07-31)
5
8
^^^^^^^^^^^^^^^^^^^
Original file line number Diff line number Diff line change 1
- __version__ = '2.24.0 '
1
+ __version__ = '2.24.1 '
Original file line number Diff line number Diff line change
1
+ # AWS has a 20 second idle timeout:
2
+ # https://web.archive.org/web/20150926192339/https://forums.aws.amazon.com/message.jspa?messageID=215367
3
+ # and aiohttp default timeout is 30s so we set it to something
4
+ # reasonable here
5
+ DEFAULT_KEEPALIVE_TIMEOUT = 12
Original file line number Diff line number Diff line change 3
3
import botocore .client
4
4
from botocore .exceptions import ParamValidationError
5
5
6
- from aiobotocore .endpoint import DEFAULT_HTTP_SESSION_CLS
7
- from aiobotocore .httpxsession import HttpxSession
8
-
9
- # AWS has a 20 second idle timeout:
10
- # https://web.archive.org/web/20150926192339/https://forums.aws.amazon.com/message.jspa?messageID=215367
11
- # and aiohttp default timeout is 30s so we set it to something
12
- # reasonable here
13
- DEFAULT_KEEPALIVE_TIMEOUT = 12
6
+ from ._constants import DEFAULT_KEEPALIVE_TIMEOUT
7
+ from .endpoint import DEFAULT_HTTP_SESSION_CLS
8
+ from .httpxsession import HttpxSession
14
9
15
10
TIMEOUT_ARGS = frozenset (
16
11
('keepalive_timeout' , 'write_timeout' , 'pool_timeout' )
Original file line number Diff line number Diff line change 40
40
from multidict import CIMultiDict
41
41
42
42
import aiobotocore .awsrequest
43
- import aiobotocore .config
44
- from aiobotocore ._endpoint_helpers import _IOBaseWrapper , _text
43
+
44
+ from ._constants import DEFAULT_KEEPALIVE_TIMEOUT
45
+ from ._endpoint_helpers import _IOBaseWrapper , _text
45
46
46
47
47
48
class AIOHTTPSession :
@@ -85,7 +86,7 @@ def __init__(
85
86
self ._connector_args = connector_args
86
87
if self ._connector_args is None :
87
88
self ._connector_args = dict (
88
- keepalive_timeout = aiobotocore . config . DEFAULT_KEEPALIVE_TIMEOUT
89
+ keepalive_timeout = DEFAULT_KEEPALIVE_TIMEOUT
89
90
)
90
91
91
92
self ._max_pool_connections = max_pool_connections
Original file line number Diff line number Diff line change 26
26
from multidict import CIMultiDict
27
27
28
28
import aiobotocore .awsrequest
29
- import aiobotocore .config # avoid circular import
30
29
from aiobotocore ._endpoint_helpers import _text
31
30
31
+ from ._constants import DEFAULT_KEEPALIVE_TIMEOUT
32
+
32
33
try :
33
34
import httpx
34
35
except ImportError :
@@ -61,7 +62,7 @@ def __init__(
61
62
62
63
if connector_args is None :
63
64
self ._connector_args : dict [str , Any ] = {
64
- 'keepalive_timeout' : aiobotocore . config . DEFAULT_KEEPALIVE_TIMEOUT
65
+ 'keepalive_timeout' : DEFAULT_KEEPALIVE_TIMEOUT
65
66
}
66
67
else :
67
68
self ._connector_args = connector_args
You can’t perform that action at this time.
0 commit comments