public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/awscli2] f44: Update to 2.38.0 upstream release
@ 2026-10-20 15:22 Packit
0 siblings, 0 replies; only message in thread
From: Packit @ 2026-10-20 15:22 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/awscli2
Branch : f44
Commit : e3610eb6216e4e8102ddca268ad859e8308ee8b1
Author : Packit <hello@packit.dev>
Date : 2026-10-20T15:07:16+02:00
Stats : +31/-40 in 6 file(s)
URL : https://src.fedoraproject.org/rpms/awscli2/c/e3610eb6216e4e8102ddca268ad859e8308ee8b1?branch=f44
Log:
Update to 2.38.0 upstream release
- Resolves: rhbz#2539828
Upstream tag: 2.38.0
Upstream commit: bfe91745
Commit authored by Packit automation (https://packit.dev/)
---
diff --git a/.gitignore b/.gitignore
index cad185e..0810b92 100644
--- a/.gitignore
+++ b/.gitignore
@@ -52,3 +52,4 @@
/aws-cli-2.35.0.tar.gz
/aws-cli-2.36.0.tar.gz
/aws-cli-2.37.0.tar.gz
+/aws-cli-2.38.0.tar.gz
diff --git a/README.packit b/README.packit
index 41bc266..f1307cd 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.3.post1.dev11+g14b012ef4.
+The file was generated using packit 1.16.3.post1.dev27+g2e3440a26.
diff --git a/awscli2.spec b/awscli2.spec
index 4febbab..49a31e0 100644
--- a/awscli2.spec
+++ b/awscli2.spec
@@ -1,7 +1,7 @@
%global pkgname aws-cli
Name: awscli2
-Version: 2.37.0
+Version: 2.38.0
Release: %autorelease
Summary: Universal Command Line Environment for AWS, version 2
@@ -27,6 +27,7 @@ Patch5: python314.patch
Patch6: prompt-toolkit-3.0.52.patch
# fix Python 3.15 incompatibilities
Patch7: python315.patch
+
BuildArch: noarch
BuildRequires: python%{python3_pkgversion}-devel
diff --git a/python312.patch b/python312.patch
index 0b83230..f965ef3 100644
--- a/python312.patch
+++ b/python312.patch
@@ -82,10 +82,10 @@ index 8cd7b37..3a1e3a3 100644
policy['expiration'] = expire_date.strftime(botocore.auth.ISO8601)
diff --git a/awscli/botocore/utils.py b/awscli/botocore/utils.py
-index dbbfcd6..d01b6b4 100644
+index ce1765c..aaa85dd 100644
--- a/awscli/botocore/utils.py
+++ b/awscli/botocore/utils.py
-@@ -625,7 +625,7 @@ class InstanceMetadataFetcher(IMDSFetcher):
+@@ -627,7 +627,7 @@ class InstanceMetadataFetcher(IMDSFetcher):
return
try:
expiration = datetime.datetime.strptime(
@@ -94,7 +94,7 @@ index dbbfcd6..d01b6b4 100644
)
refresh_interval = self._config.get(
"ec2_credential_refresh_window", 60 * 10
-@@ -633,7 +633,7 @@ class InstanceMetadataFetcher(IMDSFetcher):
+@@ -635,7 +635,7 @@ class InstanceMetadataFetcher(IMDSFetcher):
refresh_interval_with_jitter = refresh_interval + random.randint(
120, 600
)
@@ -104,7 +104,7 @@ index dbbfcd6..d01b6b4 100644
seconds=refresh_interval_with_jitter
)
diff --git a/awscli/compat.py b/awscli/compat.py
-index fd5fa19..3dce1f5 100644
+index f85d556..26abd98 100644
--- a/awscli/compat.py
+++ b/awscli/compat.py
@@ -24,6 +24,7 @@ import shlex
@@ -138,7 +138,7 @@ index a5c512f..8783ebb 100644
# Each changeset will get a unique name based on time
diff --git a/awscli/customizations/cloudtrail/validation.py b/awscli/customizations/cloudtrail/validation.py
-index a29c22e..ebb9fa2 100644
+index 150dca4..d71540b 100644
--- a/awscli/customizations/cloudtrail/validation.py
+++ b/awscli/customizations/cloudtrail/validation.py
@@ -18,7 +18,7 @@ import logging
@@ -474,10 +474,10 @@ index 5442929..06747f9 100644
def tearDown(self):
super(TestBundleInstance, self).tearDown()
diff --git a/tests/functional/ec2instanceconnect/test_opentunnel.py b/tests/functional/ec2instanceconnect/test_opentunnel.py
-index 744aea6..ee8c47f 100644
+index e174266..c84eb36 100644
--- a/tests/functional/ec2instanceconnect/test_opentunnel.py
+++ b/tests/functional/ec2instanceconnect/test_opentunnel.py
-@@ -367,10 +367,10 @@ def request_params_for_describe_eice():
+@@ -406,10 +406,10 @@ def request_params_for_describe_eice():
@pytest.fixture
@@ -490,7 +490,7 @@ index 744aea6..ee8c47f 100644
yield dt
-@@ -462,7 +462,7 @@ class TestOpenTunnel:
+@@ -501,7 +501,7 @@ class TestOpenTunnel:
fips_dns_name,
request_params_for_describe_instance,
request_params_for_describe_eice,
@@ -725,7 +725,7 @@ index b1780d9..07def3a 100644
def tearDown(self):
diff --git a/tests/unit/botocore/test_credentials.py b/tests/unit/botocore/test_credentials.py
-index 29d36ac..96c18c3 100644
+index 939f71d..1b16446 100644
--- a/tests/unit/botocore/test_credentials.py
+++ b/tests/unit/botocore/test_credentials.py
@@ -16,7 +16,7 @@ import os
@@ -757,18 +757,7 @@ index 29d36ac..96c18c3 100644
cache_key = '793d6e2f27667ab2da104824407e486bfec24a47'
cache = {
cache_key: {
-@@ -830,8 +830,8 @@ class TestAssumeRoleWithWebIdentityCredentialFetcher(BaseEnvVar):
- self.assertEqual(response, expected_response)
-
- def test_retrieves_from_cache(self):
-- date_in_future = datetime.utcnow() + timedelta(seconds=1000)
-- utc_timestamp = date_in_future.isoformat() + 'Z'
-+ date_in_future = datetime.now(timezone.utc) + timedelta(seconds=1000)
-+ utc_timestamp = date_in_future.isoformat()
- cache_key = '793d6e2f27667ab2da104824407e486bfec24a47'
- cache = {
- cache_key: {
-@@ -1019,8 +1019,8 @@ class TestAssumeRoleWithWebIdentityCredentialProvider(unittest.TestCase):
+@@ -1097,8 +1097,8 @@ class TestAssumeRoleWithWebIdentityCredentialProvider(unittest.TestCase):
mock_loader_cls.assert_called_with('/some/path/token.jwt')
def test_assume_role_retrieves_from_cache(self):
@@ -777,9 +766,9 @@ index 29d36ac..96c18c3 100644
+ date_in_future = datetime.now(timezone.utc) + timedelta(seconds=1000)
+ utc_timestamp = date_in_future.isoformat()
- cache_key = 'c29461feeacfbed43017d20612606ff76abc073d'
+ cache_key = '28500c163dbc087f6ccd4a6c1e103f76c300b953'
cache = {
-@@ -2260,8 +2260,8 @@ class TestAssumeRoleCredentialProvider(unittest.TestCase):
+@@ -2338,8 +2338,8 @@ class TestAssumeRoleCredentialProvider(unittest.TestCase):
self.assertEqual(expiry_time, '2016-11-06T01:30:00UTC')
def test_assume_role_retrieves_from_cache(self):
@@ -790,7 +779,7 @@ index 29d36ac..96c18c3 100644
self.fake_config['profiles']['development']['role_arn'] = 'myrole'
cache_key = '793d6e2f27667ab2da104824407e486bfec24a47'
-@@ -2289,8 +2289,8 @@ class TestAssumeRoleCredentialProvider(unittest.TestCase):
+@@ -2367,8 +2367,8 @@ class TestAssumeRoleCredentialProvider(unittest.TestCase):
self.assertEqual(creds.token, 'baz-cached')
def test_chain_prefers_cache(self):
@@ -827,10 +816,10 @@ index b97bf58..ed54e9a 100644
self.client, hostname, port, username
)
diff --git a/tests/unit/botocore/test_utils.py b/tests/unit/botocore/test_utils.py
-index 56bc6de..bb25ab7 100644
+index 9f225d7..8bf6841 100644
--- a/tests/unit/botocore/test_utils.py
+++ b/tests/unit/botocore/test_utils.py
-@@ -110,7 +110,7 @@ from dateutil.tz import tzoffset, tzutc
+@@ -111,7 +111,7 @@ from dateutil.tz import tzoffset, tzutc
from tests import FreezeTime, RawResponse, create_session, mock, unittest
@@ -839,7 +828,7 @@ index 56bc6de..bb25ab7 100644
DT_FORMAT = "%Y-%m-%dT%H:%M:%SZ"
-@@ -3197,7 +3197,7 @@ class TestInstanceMetadataFetcher(unittest.TestCase):
+@@ -3282,7 +3282,7 @@ class TestInstanceMetadataFetcher(unittest.TestCase):
def _get_datetime(self, dt=None, offset=None, offset_func=operator.add):
if dt is None:
diff --git a/python315.patch b/python315.patch
index 51b8ae6..7acc27a 100644
--- a/python315.patch
+++ b/python315.patch
@@ -1,5 +1,5 @@
diff --git a/awscli/botocore/credentials.py b/awscli/botocore/credentials.py
-index d30a3d4..2d3c184 100644
+index ffa8a24..dc6e6ca 100644
--- a/awscli/botocore/credentials.py
+++ b/awscli/botocore/credentials.py
@@ -12,7 +12,7 @@
@@ -32,7 +32,7 @@ index d30a3d4..2d3c184 100644
if iso:
return value.isoformat()
return value.strftime('%Y-%m-%dT%H:%M:%S%Z')
-@@ -2296,7 +2296,7 @@ class SSOCredentialFetcher(CachedCredentialFetcher):
+@@ -2309,7 +2309,7 @@ class SSOCredentialFetcher(CachedCredentialFetcher):
def _parse_timestamp(self, timestamp_ms):
# fromtimestamp expects seconds so: milliseconds / 1000 = seconds
timestamp_seconds = timestamp_ms / 1000.0
@@ -41,7 +41,7 @@ index d30a3d4..2d3c184 100644
return timestamp.strftime(self._UTC_DATE_FORMAT)
def _get_credentials(self):
-@@ -2584,7 +2584,7 @@ class LoginCredentialFetcher:
+@@ -2597,7 +2597,7 @@ class LoginCredentialFetcher:
expires_timestamp = self._time_fetcher().astimezone(
tzutc()
@@ -51,7 +51,7 @@ index d30a3d4..2d3c184 100644
# Overwrite token with refreshed fields
token.update(
diff --git a/awscli/botocore/serialize.py b/awscli/botocore/serialize.py
-index a3b8f84..8bde18b 100644
+index 01c29c1..456790a 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.
@@ -63,13 +63,13 @@ index a3b8f84..8bde18b 100644
import decimal
import math
import re
-@@ -146,7 +146,7 @@ class Serializer:
- return int(calendar.timegm(value.timetuple()))
-
+@@ -155,7 +155,7 @@ class Serializer:
def _timestamp_rfc822(self, value):
+ """Return RFC822 timestamp (always second precision - RFC doesn't support sub-second)."""
+ # RFC 2822 doesn't support sub-second precision, so always use second precision format
- if isinstance(value, datetime.datetime):
+ if isinstance(value, dt.datetime):
- value = self._timestamp_unixtimestamp(value)
+ value = int(calendar.timegm(value.timetuple()))
return formatdate(value, usegmt=True)
diff --git a/awscli/customizations/history/db.py b/awscli/customizations/history/db.py
@@ -95,7 +95,7 @@ index bd1a292..c3ee985 100644
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
+index 926b503..00cf951 100644
--- a/awscli/customizations/sso/utils.py
+++ b/awscli/customizations/sso/utils.py
@@ -10,7 +10,7 @@
@@ -107,7 +107,7 @@ index 564203d..c5206b3 100644
import json
import logging
import os
-@@ -65,7 +65,7 @@ LOGIN_ARGS = [
+@@ -91,7 +91,7 @@ def validate_redirect_port(redirect_port):
def _serialize_utc_timestamp(obj):
diff --git a/sources b/sources
index 95c2e89..22f7a13 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (aws-cli-2.37.0.tar.gz) = 4413c96945c9fdc0ea5e1099723fba5b60c707a6eb3d45f829fb88084f8f9bdbc1bbc8df95666e906dd35f5a000e99ab0a32f4c1bc8a57df42780007a7fd9657
+SHA512 (aws-cli-2.38.0.tar.gz) = df85b8a46a579dfec0f7c0add69c23fe3507bd9550365b92547ec8d4b910ea1ea579a40c5ebcff3545b9f89234d262188ea436413258bdaf2aad10d77ce2a648
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-20 15:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-20 15:22 [rpms/awscli2] f44: Update to 2.38.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