public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/awscli2] f44: Update to 2.40.0 upstream release
@ 2026-11-13 15:16 Packit
  0 siblings, 0 replies; only message in thread
From: Packit @ 2026-11-13 15:16 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/awscli2
            Branch : f44
            Commit : 8239ab914bf8a4ebf70c8c94fa14d77444355ad3
            Author : Packit <hello@packit.dev>
            Date   : 2026-11-13T13:28:16+01:00
            Stats  : +36/-12 in 5 file(s)
            URL    : https://src.fedoraproject.org/rpms/awscli2/c/8239ab914bf8a4ebf70c8c94fa14d77444355ad3?branch=f44

            Log:
            Update to 2.40.0 upstream release

- Resolves: rhbz#2556394

Upstream tag: 2.40.0
Upstream commit: ebbb625e

Commit authored by Packit automation (https://packit.dev/)

---
diff --git a/.gitignore b/.gitignore
index 0810b92..50981da 100644
--- a/.gitignore
+++ b/.gitignore
@@ -53,3 +53,4 @@
 /aws-cli-2.36.0.tar.gz
 /aws-cli-2.37.0.tar.gz
 /aws-cli-2.38.0.tar.gz
+/aws-cli-2.40.0.tar.gz

diff --git a/README.packit b/README.packit
index f1307cd..d2f4bee 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.dev27+g2e3440a26.
+The file was generated using packit 1.17.0.post1.dev7+gd5cdd2e55.

diff --git a/awscli2.spec b/awscli2.spec
index 49a31e0..002bf88 100644
--- a/awscli2.spec
+++ b/awscli2.spec
@@ -1,7 +1,7 @@
 %global pkgname aws-cli
 
 Name:               awscli2
-Version:            2.38.0
+Version:            2.40.0
 Release:            %autorelease
 
 Summary:            Universal Command Line Environment for AWS, version 2

diff --git a/python315.patch b/python315.patch
index 7acc27a..f7e69b9 100644
--- a/python315.patch
+++ b/python315.patch
@@ -1,5 +1,5 @@
 diff --git a/awscli/botocore/credentials.py b/awscli/botocore/credentials.py
-index ffa8a24..dc6e6ca 100644
+index a119716..26d77d7 100644
 --- a/awscli/botocore/credentials.py
 +++ b/awscli/botocore/credentials.py
 @@ -12,7 +12,7 @@
@@ -41,7 +41,7 @@ index ffa8a24..dc6e6ca 100644
          return timestamp.strftime(self._UTC_DATE_FORMAT)
  
      def _get_credentials(self):
-@@ -2597,7 +2597,7 @@ class LoginCredentialFetcher:
+@@ -2600,7 +2600,7 @@ class LoginCredentialFetcher:
  
          expires_timestamp = self._time_fetcher().astimezone(
              tzutc()
@@ -73,7 +73,7 @@ index 01c29c1..456790a 100644
          return formatdate(value, usegmt=True)
  
 diff --git a/awscli/customizations/history/db.py b/awscli/customizations/history/db.py
-index bd1a292..c3ee985 100644
+index 4b5a0b2..c8ff1bc 100644
 --- a/awscli/customizations/history/db.py
 +++ b/awscli/customizations/history/db.py
 @@ -10,7 +10,7 @@
@@ -85,7 +85,7 @@ index bd1a292..c3ee985 100644
  import json
  import logging
  import os
-@@ -129,7 +129,7 @@ class PayloadSerializer(json.JSONEncoder):
+@@ -130,7 +130,7 @@ class PayloadSerializer(json.JSONEncoder):
              return super(PayloadSerializer, self).encode(scrubbed_obj)
  
      def default(self, obj):
@@ -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 926b503..00cf951 100644
+index 97be3b3..3b4e3aa 100644
 --- a/awscli/customizations/sso/utils.py
 +++ b/awscli/customizations/sso/utils.py
 @@ -10,7 +10,7 @@
@@ -117,7 +117,7 @@ index 926b503..00cf951 100644
      return obj
  
 diff --git a/awscli/utils.py b/awscli/utils.py
-index 270d98f..e704285 100644
+index 543f3a3..2f161c6 100644
 --- a/awscli/utils.py
 +++ b/awscli/utils.py
 @@ -13,7 +13,7 @@
@@ -129,7 +129,7 @@ index 270d98f..e704285 100644
  import logging
  import os
  import re
-@@ -376,7 +376,7 @@ def operation_uses_document_types(operation_model):
+@@ -374,7 +374,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."""
@@ -139,10 +139,10 @@ index 270d98f..e704285 100644
      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
+index e32e96e..99ff78d 100644
 --- a/tests/functional/botocore/test_retry.py
 +++ b/tests/functional/botocore/test_retry.py
-@@ -214,27 +214,20 @@ class TestRetryHeader(BaseRetryTest):
+@@ -273,27 +273,20 @@ class TestRetryHeader(BaseRetryTest):
              ],
          ]
  
@@ -172,6 +172,29 @@ index e867c7a..a33a507 100644
              ],
          ]
          expected_headers = [
+diff --git a/tests/functional/codeartifact/test_codeartifact_login.py b/tests/functional/codeartifact/test_codeartifact_login.py
+index 4df8d0f..5d24421 100644
+--- a/tests/functional/codeartifact/test_codeartifact_login.py
++++ b/tests/functional/codeartifact/test_codeartifact_login.py
+@@ -1155,12 +1155,15 @@ to an 'HTTPS' source."""
+         cmdline = self._setup_cmd(tool='pip')
+         result = self.cli_runner.run(cmdline)
+         self.assertEqual(result.rc, 255)
++        # CalledProcessError formatting differs between Python versions.
++        self.assertIn('Command ', result.stderr)
+         self.assertIn(
+-            "Command '['pip', 'config', 'set', 'global.index-url',"
+-            " 'https://aws:******@domain-domain-owner.codeartifact.aws.a2z.com/pypi/repository/simple/']'"
+-            " returned non-zero exit status 1.",
++            "['pip', 'config', 'set', 'global.index-url',"
++            " 'https://aws:******@domain-domain-owner.codeartifact.aws.a2z.com/pypi/repository/simple/']",
+             result.stderr,
+         )
++        self.assertIn('returned non-zero exit status 1.', result.stderr)
++        self.assertNotIn('auth-token', result.stderr)
+ 
+     def test_twine_login_without_domain_owner(self):
+         cmdline = self._setup_cmd(tool='twine')
 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 22f7a13..2e026f5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (aws-cli-2.38.0.tar.gz) = df85b8a46a579dfec0f7c0add69c23fe3507bd9550365b92547ec8d4b910ea1ea579a40c5ebcff3545b9f89234d262188ea436413258bdaf2aad10d77ce2a648
+SHA512 (aws-cli-2.40.0.tar.gz) = 21418137684b6dfb60e9bb2cf4a908f97212321230ce35d84bb16ce7d6b0aa5a9216aab0bc848bf56c69bb737b5a2ed2d6c9e188a9d4147a433fd4bb337226c4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-13 15:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-13 15:16 [rpms/awscli2] f44: Update to 2.40.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