boto3 1.42.4__tar.gz → 1.42.6__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. {boto3-1.42.4 → boto3-1.42.6}/PKG-INFO +3 -3
  2. {boto3-1.42.4 → boto3-1.42.6}/README.rst +1 -1
  3. {boto3-1.42.4 → boto3-1.42.6}/boto3/__init__.py +1 -1
  4. {boto3-1.42.4 → boto3-1.42.6}/boto3/resources/model.py +1 -1
  5. {boto3-1.42.4 → boto3-1.42.6}/boto3/s3/transfer.py +11 -5
  6. {boto3-1.42.4 → boto3-1.42.6}/boto3/utils.py +1 -11
  7. {boto3-1.42.4 → boto3-1.42.6}/boto3.egg-info/PKG-INFO +3 -3
  8. {boto3-1.42.4 → boto3-1.42.6}/boto3.egg-info/requires.txt +1 -1
  9. {boto3-1.42.4 → boto3-1.42.6}/pyproject.toml +9 -1
  10. {boto3-1.42.4 → boto3-1.42.6}/setup.cfg +1 -1
  11. {boto3-1.42.4 → boto3-1.42.6}/setup.py +1 -1
  12. {boto3-1.42.4 → boto3-1.42.6}/CONTRIBUTING.rst +0 -0
  13. {boto3-1.42.4 → boto3-1.42.6}/LICENSE +0 -0
  14. {boto3-1.42.4 → boto3-1.42.6}/MANIFEST.in +0 -0
  15. {boto3-1.42.4 → boto3-1.42.6}/NOTICE +0 -0
  16. {boto3-1.42.4 → boto3-1.42.6}/boto3/compat.py +0 -0
  17. {boto3-1.42.4 → boto3-1.42.6}/boto3/crt.py +0 -0
  18. {boto3-1.42.4 → boto3-1.42.6}/boto3/data/cloudformation/2010-05-15/resources-1.json +0 -0
  19. {boto3-1.42.4 → boto3-1.42.6}/boto3/data/cloudwatch/2010-08-01/resources-1.json +0 -0
  20. {boto3-1.42.4 → boto3-1.42.6}/boto3/data/dynamodb/2012-08-10/resources-1.json +0 -0
  21. {boto3-1.42.4 → boto3-1.42.6}/boto3/data/ec2/2014-10-01/resources-1.json +0 -0
  22. {boto3-1.42.4 → boto3-1.42.6}/boto3/data/ec2/2015-03-01/resources-1.json +0 -0
  23. {boto3-1.42.4 → boto3-1.42.6}/boto3/data/ec2/2015-04-15/resources-1.json +0 -0
  24. {boto3-1.42.4 → boto3-1.42.6}/boto3/data/ec2/2015-10-01/resources-1.json +0 -0
  25. {boto3-1.42.4 → boto3-1.42.6}/boto3/data/ec2/2016-04-01/resources-1.json +0 -0
  26. {boto3-1.42.4 → boto3-1.42.6}/boto3/data/ec2/2016-09-15/resources-1.json +0 -0
  27. {boto3-1.42.4 → boto3-1.42.6}/boto3/data/ec2/2016-11-15/resources-1.json +0 -0
  28. {boto3-1.42.4 → boto3-1.42.6}/boto3/data/glacier/2012-06-01/resources-1.json +0 -0
  29. {boto3-1.42.4 → boto3-1.42.6}/boto3/data/iam/2010-05-08/resources-1.json +0 -0
  30. {boto3-1.42.4 → boto3-1.42.6}/boto3/data/s3/2006-03-01/resources-1.json +0 -0
  31. {boto3-1.42.4 → boto3-1.42.6}/boto3/data/sns/2010-03-31/resources-1.json +0 -0
  32. {boto3-1.42.4 → boto3-1.42.6}/boto3/data/sqs/2012-11-05/resources-1.json +0 -0
  33. {boto3-1.42.4 → boto3-1.42.6}/boto3/docs/__init__.py +0 -0
  34. {boto3-1.42.4 → boto3-1.42.6}/boto3/docs/action.py +0 -0
  35. {boto3-1.42.4 → boto3-1.42.6}/boto3/docs/attr.py +0 -0
  36. {boto3-1.42.4 → boto3-1.42.6}/boto3/docs/base.py +0 -0
  37. {boto3-1.42.4 → boto3-1.42.6}/boto3/docs/client.py +0 -0
  38. {boto3-1.42.4 → boto3-1.42.6}/boto3/docs/collection.py +0 -0
  39. {boto3-1.42.4 → boto3-1.42.6}/boto3/docs/docstring.py +0 -0
  40. {boto3-1.42.4 → boto3-1.42.6}/boto3/docs/method.py +0 -0
  41. {boto3-1.42.4 → boto3-1.42.6}/boto3/docs/resource.py +0 -0
  42. {boto3-1.42.4 → boto3-1.42.6}/boto3/docs/service.py +0 -0
  43. {boto3-1.42.4 → boto3-1.42.6}/boto3/docs/subresource.py +0 -0
  44. {boto3-1.42.4 → boto3-1.42.6}/boto3/docs/utils.py +0 -0
  45. {boto3-1.42.4 → boto3-1.42.6}/boto3/docs/waiter.py +0 -0
  46. {boto3-1.42.4 → boto3-1.42.6}/boto3/dynamodb/__init__.py +0 -0
  47. {boto3-1.42.4 → boto3-1.42.6}/boto3/dynamodb/conditions.py +0 -0
  48. {boto3-1.42.4 → boto3-1.42.6}/boto3/dynamodb/table.py +0 -0
  49. {boto3-1.42.4 → boto3-1.42.6}/boto3/dynamodb/transform.py +0 -0
  50. {boto3-1.42.4 → boto3-1.42.6}/boto3/dynamodb/types.py +0 -0
  51. {boto3-1.42.4 → boto3-1.42.6}/boto3/ec2/__init__.py +0 -0
  52. {boto3-1.42.4 → boto3-1.42.6}/boto3/ec2/createtags.py +0 -0
  53. {boto3-1.42.4 → boto3-1.42.6}/boto3/ec2/deletetags.py +0 -0
  54. {boto3-1.42.4 → boto3-1.42.6}/boto3/examples/cloudfront.rst +0 -0
  55. {boto3-1.42.4 → boto3-1.42.6}/boto3/examples/s3.rst +0 -0
  56. {boto3-1.42.4 → boto3-1.42.6}/boto3/exceptions.py +0 -0
  57. {boto3-1.42.4 → boto3-1.42.6}/boto3/resources/__init__.py +0 -0
  58. {boto3-1.42.4 → boto3-1.42.6}/boto3/resources/action.py +0 -0
  59. {boto3-1.42.4 → boto3-1.42.6}/boto3/resources/base.py +0 -0
  60. {boto3-1.42.4 → boto3-1.42.6}/boto3/resources/collection.py +0 -0
  61. {boto3-1.42.4 → boto3-1.42.6}/boto3/resources/factory.py +0 -0
  62. {boto3-1.42.4 → boto3-1.42.6}/boto3/resources/params.py +0 -0
  63. {boto3-1.42.4 → boto3-1.42.6}/boto3/resources/response.py +0 -0
  64. {boto3-1.42.4 → boto3-1.42.6}/boto3/s3/__init__.py +0 -0
  65. {boto3-1.42.4 → boto3-1.42.6}/boto3/s3/constants.py +0 -0
  66. {boto3-1.42.4 → boto3-1.42.6}/boto3/s3/inject.py +0 -0
  67. {boto3-1.42.4 → boto3-1.42.6}/boto3/session.py +0 -0
  68. {boto3-1.42.4 → boto3-1.42.6}/boto3.egg-info/SOURCES.txt +0 -0
  69. {boto3-1.42.4 → boto3-1.42.6}/boto3.egg-info/dependency_links.txt +0 -0
  70. {boto3-1.42.4 → boto3-1.42.6}/boto3.egg-info/top_level.txt +0 -0
  71. {boto3-1.42.4 → boto3-1.42.6}/requirements.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: boto3
3
- Version: 1.42.4
3
+ Version: 1.42.6
4
4
  Summary: The AWS SDK for Python
5
5
  Home-page: https://github.com/boto/boto3
6
6
  Author: Amazon Web Services
@@ -22,7 +22,7 @@ Classifier: Programming Language :: Python :: 3.14
22
22
  Requires-Python: >= 3.9
23
23
  License-File: LICENSE
24
24
  License-File: NOTICE
25
- Requires-Dist: botocore<1.43.0,>=1.42.4
25
+ Requires-Dist: botocore<1.43.0,>=1.42.6
26
26
  Requires-Dist: jmespath<2.0.0,>=0.7.1
27
27
  Requires-Dist: s3transfer<0.17.0,>=0.16.0
28
28
  Provides-Extra: crt
@@ -115,7 +115,7 @@ Then, set up a default region (in e.g. ``~/.aws/config``):
115
115
  .. code-block:: ini
116
116
 
117
117
  [default]
118
- region=us-east-1
118
+ region = us-east-1
119
119
 
120
120
  Other credential configuration methods can be found `here <https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html>`__
121
121
 
@@ -85,7 +85,7 @@ Then, set up a default region (in e.g. ``~/.aws/config``):
85
85
  .. code-block:: ini
86
86
 
87
87
  [default]
88
- region=us-east-1
88
+ region = us-east-1
89
89
 
90
90
  Other credential configuration methods can be found `here <https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html>`__
91
91
 
@@ -18,7 +18,7 @@ from boto3.compat import _warn_deprecated_python
18
18
  from boto3.session import Session
19
19
 
20
20
  __author__ = 'Amazon Web Services'
21
- __version__ = '1.42.4'
21
+ __version__ = '1.42.6'
22
22
 
23
23
 
24
24
  # The default Boto3 session; autoloaded when needed.
@@ -366,7 +366,7 @@ class ResourceModel:
366
366
  name = xform_name(name)
367
367
 
368
368
  if name in names:
369
- logger.debug(f'Renaming {self.name} {category} {name}')
369
+ logger.debug('Renaming %s %s %s', self.name, category, name)
370
370
  self._renamed[(category, name)] = name + '_' + category
371
371
  name += '_' + category
372
372
 
@@ -175,13 +175,17 @@ def create_transfer_manager(client, config, osutil=None):
175
175
  crt_transfer_manager = create_crt_transfer_manager(client, config)
176
176
  if crt_transfer_manager is not None:
177
177
  logger.debug(
178
- f"Using CRT client. pid: {getpid()}, thread: {threading.get_ident()}"
178
+ "Using CRT client. pid: %s, thread: %s",
179
+ getpid(),
180
+ threading.get_ident(),
179
181
  )
180
182
  return crt_transfer_manager
181
183
 
182
184
  # If we don't resolve something above, fallback to the default.
183
185
  logger.debug(
184
- f"Using default client. pid: {getpid()}, thread: {threading.get_ident()}"
186
+ "Using default client. pid: %s, thread: %s",
187
+ getpid(),
188
+ threading.get_ident(),
185
189
  )
186
190
  return _create_default_transfer_manager(client, config, osutil)
187
191
 
@@ -214,9 +218,11 @@ def _should_use_crt(config):
214
218
  return True
215
219
 
216
220
  logger.debug(
217
- "Opting out of CRT Transfer Manager. Preferred client: "
218
- f"{pref_transfer_client}, CRT available: {HAS_CRT}, "
219
- f"Instance Optimized: {is_optimized_instance}."
221
+ "Opting out of CRT Transfer Manager. "
222
+ "Preferred client: %s, CRT available: %s, Instance Optimized: %s",
223
+ pref_transfer_client,
224
+ HAS_CRT,
225
+ is_optimized_instance,
220
226
  )
221
227
  return False
222
228
 
@@ -10,8 +10,8 @@
10
10
  # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11
11
  # ANY KIND, either express or implied. See the License for the specific
12
12
  # language governing permissions and limitations under the License.
13
- import sys
14
13
  from collections import namedtuple
14
+ from importlib import import_module
15
15
 
16
16
  _ServiceContext = namedtuple(
17
17
  'ServiceContext',
@@ -47,16 +47,6 @@ class ServiceContext(_ServiceContext):
47
47
  pass
48
48
 
49
49
 
50
- def import_module(name):
51
- """Import module given a name.
52
-
53
- Does not support relative imports.
54
-
55
- """
56
- __import__(name)
57
- return sys.modules[name]
58
-
59
-
60
50
  def lazy_call(full_name, **kwargs):
61
51
  parent_kwargs = kwargs
62
52
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: boto3
3
- Version: 1.42.4
3
+ Version: 1.42.6
4
4
  Summary: The AWS SDK for Python
5
5
  Home-page: https://github.com/boto/boto3
6
6
  Author: Amazon Web Services
@@ -22,7 +22,7 @@ Classifier: Programming Language :: Python :: 3.14
22
22
  Requires-Python: >= 3.9
23
23
  License-File: LICENSE
24
24
  License-File: NOTICE
25
- Requires-Dist: botocore<1.43.0,>=1.42.4
25
+ Requires-Dist: botocore<1.43.0,>=1.42.6
26
26
  Requires-Dist: jmespath<2.0.0,>=0.7.1
27
27
  Requires-Dist: s3transfer<0.17.0,>=0.16.0
28
28
  Provides-Extra: crt
@@ -115,7 +115,7 @@ Then, set up a default region (in e.g. ``~/.aws/config``):
115
115
  .. code-block:: ini
116
116
 
117
117
  [default]
118
- region=us-east-1
118
+ region = us-east-1
119
119
 
120
120
  Other credential configuration methods can be found `here <https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html>`__
121
121
 
@@ -1,4 +1,4 @@
1
- botocore<1.43.0,>=1.42.4
1
+ botocore<1.43.0,>=1.42.6
2
2
  jmespath<2.0.0,>=0.7.1
3
3
  s3transfer<0.17.0,>=0.16.0
4
4
 
@@ -43,7 +43,15 @@ target-version = "py39"
43
43
  # Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
44
44
  # Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
45
45
  # McCabe complexity (`C901`) by default.
46
- select = ["E4", "E7", "E9", "F", "I", "UP"]
46
+ select = [
47
+ "E4", # pycodestyle
48
+ "E7", # pycodestyle
49
+ "E9", # pycodestyle
50
+ "F", # pyflakes
51
+ "G", # flake8-logging-format
52
+ "I", # isort
53
+ "UP", # pyupgrade
54
+ ]
47
55
  ignore = []
48
56
 
49
57
  # Allow fix for all enabled rules (when `--fix`) is provided.
@@ -3,7 +3,7 @@ universal = 0
3
3
 
4
4
  [metadata]
5
5
  requires_dist =
6
- botocore>=1.42.4,<1.43.0
6
+ botocore>=1.42.6,<1.43.0
7
7
  jmespath>=0.7.1,<2.0.0
8
8
  s3transfer>=0.16.0,<0.17.0
9
9
 
@@ -14,7 +14,7 @@ VERSION_RE = re.compile(r'''__version__ = ['"]([0-9.]+)['"]''')
14
14
 
15
15
 
16
16
  requires = [
17
- 'botocore>=1.42.4,<1.43.0',
17
+ 'botocore>=1.42.6,<1.43.0',
18
18
  'jmespath>=0.7.1,<2.0.0',
19
19
  's3transfer>=0.16.0,<0.17.0',
20
20
  ]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes