public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/awscli2] f43: Update to 2.36.0 upstream release
@ 2026-07-20 19:24 Packit
0 siblings, 0 replies; only message in thread
From: Packit @ 2026-07-20 19:24 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/awscli2
Branch : f43
Commit : f1469ad15d725b9b148bf76af03b8e1fc45b9d14
Author : Packit <hello@packit.dev>
Date : 2026-07-20T20:18:32+02:00
Stats : +184/-9 in 6 file(s)
URL : https://src.fedoraproject.org/rpms/awscli2/c/f1469ad15d725b9b148bf76af03b8e1fc45b9d14?branch=f43
Log:
Update to 2.36.0 upstream release
- Resolves: rhbz#2488570
Upstream tag: 2.36.0
Upstream commit: 92b4fae4
Commit authored by Packit automation (https://packit.dev/)
---
diff --git a/.gitignore b/.gitignore
index 05ff4a3..4aeb239 100644
--- a/.gitignore
+++ b/.gitignore
@@ -50,3 +50,4 @@
/aws-cli-2.33.0.tar.gz
/aws-cli-2.34.29.tar.gz
/aws-cli-2.35.0.tar.gz
+/aws-cli-2.36.0.tar.gz
diff --git a/README.packit b/README.packit
index 4e76cbe..173195e 100644
--- a/README.packit
+++ b/README.packit
@@ -1,3 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
-The file was generated using packit 1.16.0.post1.dev8+g8a0482385.
+The file was generated using packit 1.16.1.post1.dev2+gf84fe2d5b.
diff --git a/awscli2.spec b/awscli2.spec
index 0c4de60..2d8c4b6 100644
--- a/awscli2.spec
+++ b/awscli2.spec
@@ -1,7 +1,7 @@
%global pkgname aws-cli
Name: awscli2
-Version: 2.35.0
+Version: 2.36.0
Release: %autorelease
Summary: Universal Command Line Environment for AWS, version 2
diff --git a/awscrt-platforms.patch b/awscrt-platforms.patch
index 53512aa..7858fbc 100644
--- a/awscrt-platforms.patch
+++ b/awscrt-platforms.patch
@@ -1,8 +1,8 @@
diff --git a/awscli/topics/s3-config.rst b/awscli/topics/s3-config.rst
-index 1234567..abcdefg 100644
+index defa8b2..cc28113 100644
--- a/awscli/topics/s3-config.rst
+++ b/awscli/topics/s3-config.rst
-@@ -346,6 +346,10 @@ instance types:
+@@ -346,6 +346,10 @@ files to and from S3. Valid choices are:
* ``p4d.24xlarge``
* ``p4de.24xlarge``
* ``p5.48xlarge``
@@ -12,12 +12,12 @@ index 1234567..abcdefg 100644
+ * ``p6-b300.48xlarge``
* ``trn1n.32xlarge``
* ``trn1.32xlarge``
-
+ * ``p5e.48xlarge``
diff --git a/tests/unit/customizations/s3/test_factory.py b/tests/unit/customizations/s3/test_factory.py
-index 1234567..abcdefg 100644
+index 9fafd4a..7c6ea20 100644
--- a/tests/unit/customizations/s3/test_factory.py
+++ b/tests/unit/customizations/s3/test_factory.py
-@@ -76,6 +76,10 @@ def test_crt_get_optimized_platforms_match_expected_platforms():
+@@ -77,6 +77,10 @@ def test_crt_get_optimized_platforms_match_expected_platforms():
'p4d.24xlarge',
'p4de.24xlarge',
'p5.48xlarge',
@@ -27,4 +27,4 @@ index 1234567..abcdefg 100644
+ 'p6-b300.48xlarge',
'trn1n.32xlarge',
'trn1.32xlarge',
- }
+ 'p5e.48xlarge',
diff --git a/python315.patch b/python315.patch
index 288349a..51b8ae6 100644
--- a/python315.patch
+++ b/python315.patch
@@ -1,3 +1,177 @@
+diff --git a/awscli/botocore/credentials.py b/awscli/botocore/credentials.py
+index d30a3d4..2d3c184 100644
+--- a/awscli/botocore/credentials.py
++++ b/awscli/botocore/credentials.py
+@@ -12,7 +12,7 @@
+ # ANY KIND, either express or implied. See the License for the specific
+ # language governing permissions and limitations under the License.
+ import base64
+-import datetime
++import datetime as dt
+ import getpass
+ import json
+ import logging
+@@ -272,17 +272,17 @@ def get_credentials(session):
+
+
+ def _local_now():
+- return datetime.datetime.now(tzlocal())
++ return dt.datetime.now(tzlocal())
+
+
+ def _parse_if_needed(value):
+- if isinstance(value, datetime.datetime):
++ if isinstance(value, dt.datetime):
+ return value
+ return parse(value)
+
+
+ def _serialize_if_needed(value, iso=False):
+- if isinstance(value, datetime.datetime):
++ if isinstance(value, dt.datetime):
+ if iso:
+ return value.isoformat()
+ return value.strftime('%Y-%m-%dT%H:%M:%S%Z')
+@@ -2296,7 +2296,7 @@ class SSOCredentialFetcher(CachedCredentialFetcher):
+ def _parse_timestamp(self, timestamp_ms):
+ # fromtimestamp expects seconds so: milliseconds / 1000 = seconds
+ timestamp_seconds = timestamp_ms / 1000.0
+- timestamp = datetime.datetime.fromtimestamp(timestamp_seconds, tzutc())
++ timestamp = dt.datetime.fromtimestamp(timestamp_seconds, tzutc())
+ return timestamp.strftime(self._UTC_DATE_FORMAT)
+
+ def _get_credentials(self):
+@@ -2584,7 +2584,7 @@ class LoginCredentialFetcher:
+
+ expires_timestamp = self._time_fetcher().astimezone(
+ tzutc()
+- ) + datetime.timedelta(seconds=output['expiresIn'])
++ ) + dt.timedelta(seconds=output['expiresIn'])
+
+ # Overwrite token with refreshed fields
+ token.update(
+diff --git a/awscli/botocore/serialize.py b/awscli/botocore/serialize.py
+index a3b8f84..8bde18b 100644
+--- a/awscli/botocore/serialize.py
++++ b/awscli/botocore/serialize.py
+@@ -40,7 +40,7 @@ and if a str/unicode type is passed in, it will be encoded as utf-8.
+
+ import base64
+ import calendar
+-import datetime
++import datetime as dt
+ import decimal
+ import math
+ import re
+@@ -146,7 +146,7 @@ class Serializer:
+ return int(calendar.timegm(value.timetuple()))
+
+ def _timestamp_rfc822(self, value):
+- if isinstance(value, datetime.datetime):
++ if isinstance(value, dt.datetime):
+ value = self._timestamp_unixtimestamp(value)
+ return formatdate(value, usegmt=True)
+
+diff --git a/awscli/customizations/history/db.py b/awscli/customizations/history/db.py
+index bd1a292..c3ee985 100644
+--- a/awscli/customizations/history/db.py
++++ b/awscli/customizations/history/db.py
+@@ -10,7 +10,7 @@
+ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
+ # ANY KIND, either express or implied. See the License for the specific
+ # language governing permissions and limitations under the License.
+-import datetime
++import datetime as dt
+ import json
+ import logging
+ import os
+@@ -129,7 +129,7 @@ class PayloadSerializer(json.JSONEncoder):
+ return super(PayloadSerializer, self).encode(scrubbed_obj)
+
+ def default(self, obj):
+- if isinstance(obj, datetime.datetime):
++ if isinstance(obj, dt.datetime):
+ return self._encode_datetime(obj)
+ elif isinstance(obj, collections_abc.MutableMapping):
+ return self._encode_mutable_mapping(obj)
+diff --git a/awscli/customizations/sso/utils.py b/awscli/customizations/sso/utils.py
+index 564203d..c5206b3 100644
+--- a/awscli/customizations/sso/utils.py
++++ b/awscli/customizations/sso/utils.py
+@@ -10,7 +10,7 @@
+ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
+ # ANY KIND, either express or implied. See the License for the specific
+ # language governing permissions and limitations under the License.
+-import datetime
++import datetime as dt
+ import json
+ import logging
+ import os
+@@ -65,7 +65,7 @@ LOGIN_ARGS = [
+
+
+ def _serialize_utc_timestamp(obj):
+- if isinstance(obj, datetime.datetime):
++ if isinstance(obj, dt.datetime):
+ return obj.strftime('%Y-%m-%dT%H:%M:%SZ')
+ return obj
+
+diff --git a/awscli/utils.py b/awscli/utils.py
+index 270d98f..e704285 100644
+--- a/awscli/utils.py
++++ b/awscli/utils.py
+@@ -13,7 +13,7 @@
+ import base64
+ import contextlib
+ import csv
+-import datetime
++import datetime as dt
+ import logging
+ import os
+ import re
+@@ -376,7 +376,7 @@ def operation_uses_document_types(operation_model):
+ def json_encoder(obj):
+ """JSON encoder that formats datetimes as ISO8601 format
+ and encodes bytes to UTF-8 Base64 string."""
+- if isinstance(obj, datetime.datetime):
++ if isinstance(obj, dt.datetime):
+ return obj.isoformat()
+ elif isinstance(obj, bytes):
+ return base64.b64encode(obj).decode("utf-8")
+diff --git a/tests/functional/botocore/test_retry.py b/tests/functional/botocore/test_retry.py
+index e867c7a..a33a507 100644
+--- a/tests/functional/botocore/test_retry.py
++++ b/tests/functional/botocore/test_retry.py
+@@ -214,27 +214,20 @@ class TestRetryHeader(BaseRetryTest):
+ ],
+ ]
+
+- # The first, third and seventh datetime values of each
+- # utcnow_side_effects list are side_effect values for when
+- # utcnow is called in SigV4 signing.
++ # SigV4 signing now uses datetime.now(tz=utc) instead of
++ # utcnow(), so only endpoint TTL calculations consume these.
+ utcnow_side_effects = [
+ [
+- datetime.datetime(2019, 6, 1, 0, 0, 0, 0),
+ datetime.datetime(2019, 6, 1, 0, 0, 0, 0),
+ datetime.datetime(2019, 6, 1, 0, 0, 1, 0),
+- datetime.datetime(2019, 6, 1, 0, 0, 0, 0),
+ datetime.datetime(2019, 6, 1, 0, 0, 1, 0),
+ datetime.datetime(2019, 6, 1, 0, 0, 2, 0),
+- datetime.datetime(2019, 6, 1, 0, 0, 0, 0),
+ ],
+ [
+- datetime.datetime(2020, 6, 1, 0, 0, 0, 0),
+ datetime.datetime(2019, 6, 1, 0, 0, 5, 0),
+ datetime.datetime(2019, 6, 1, 0, 0, 6, 0),
+- datetime.datetime(2019, 6, 1, 0, 0, 0, 0),
+ datetime.datetime(2019, 6, 1, 0, 0, 11, 0),
+ datetime.datetime(2019, 6, 1, 0, 0, 12, 0),
+- datetime.datetime(2019, 6, 1, 0, 0, 0, 0),
+ ],
+ ]
+ expected_headers = [
diff --git a/tests/unit/botocore/test_compress.py b/tests/unit/botocore/test_compress.py
index b90579d..3617390 100644
--- a/tests/unit/botocore/test_compress.py
diff --git a/sources b/sources
index 211a84f..8a5a629 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (aws-cli-2.35.0.tar.gz) = b16909c8ca1105773c58531f4449aca731514fa23c1f011bb5f3e4d3302c68eefa9a32af3a52320fa7ab22a337f344c3cf323296077b72efc91b3e619c3d99ff
+SHA512 (aws-cli-2.36.0.tar.gz) = 5346919ae718e5d6a7aa7887b6607ef6182db5341dd26c032e4a3e6c9db9d04e29aaf19878377b0b7ad8cc3abd2ff97b7c0c56de081f74aee3fedd8672f6dbdd
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-20 19:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-20 19:24 [rpms/awscli2] f43: Update to 2.36.0 upstream release Packit
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox