Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package aws-cli for openSUSE:Factory checked 
in at 2022-12-13 20:23:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/aws-cli (Old)
 and      /work/SRC/openSUSE:Factory/.aws-cli.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "aws-cli"

Tue Dec 13 20:23:56 2022 rev:74 rq:1042394 version:1.27.26

Changes:
--------
--- /work/SRC/openSUSE:Factory/aws-cli/aws-cli.changes  2022-12-03 
10:03:34.579220225 +0100
+++ /work/SRC/openSUSE:Factory/.aws-cli.new.1835/aws-cli.changes        
2022-12-13 20:23:57.868386986 +0100
@@ -1,0 +2,8 @@
+Fri Dec  9 14:13:45 UTC 2022 - John Paul Adrian Glaubitz 
<adrian.glaub...@suse.com>
+
+- Update to version 1.27.26
+  + For detailed changes see
+    https://github.com/aws/aws-cli/blob/1.27.26/CHANGELOG.rst
+- Update Requires in spec file from setup.py
+
+-------------------------------------------------------------------

Old:
----
  1.27.21.tar.gz

New:
----
  1.27.26.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ aws-cli.spec ++++++
--- /var/tmp/diff_new_pack.z4Hqt6/_old  2022-12-13 20:23:58.500390447 +0100
+++ /var/tmp/diff_new_pack.z4Hqt6/_new  2022-12-13 20:23:58.504390469 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           aws-cli
-Version:        1.27.21
+Version:        1.27.26
 Release:        0
 Summary:        Amazon Web Services Command Line Interface
 License:        Apache-2.0
@@ -35,7 +35,7 @@
 Requires:       python3
 Requires:       python3-PyYAML <= 6.0.0
 Requires:       python3-PyYAML >= 3.10
-Requires:       python3-botocore >= 1.29.21
+Requires:       python3-botocore >= 1.29.26
 Requires:       python3-colorama <= 0.5.0
 Requires:       python3-colorama >= 0.2.5
 Requires:       python3-docutils < 0.20
@@ -52,7 +52,7 @@
 Requires:       python
 Requires:       python-PyYAML <= 5.5
 Requires:       python-PyYAML >= 3.10
-Requires:       python-botocore >= 1.29.21
+Requires:       python-botocore >= 1.29.26
 Requires:       python-colorama <= 0.5.0
 Requires:       python-colorama >= 0.2.5
 Requires:       python-docutils >= 0.10

++++++ 1.27.21.tar.gz -> 1.27.26.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aws-cli-1.27.21/.changes/1.27.22.json 
new/aws-cli-1.27.26/.changes/1.27.22.json
--- old/aws-cli-1.27.21/.changes/1.27.22.json   1970-01-01 01:00:00.000000000 
+0100
+++ new/aws-cli-1.27.26/.changes/1.27.22.json   2022-12-08 20:08:21.000000000 
+0100
@@ -0,0 +1,47 @@
+[
+  {
+    "category": "``appsync``",
+    "description": "Fixes the URI for the evaluatecode endpoint to include the 
/v1 prefix (ie. \"/v1/dataplane-evaluatecode\").",
+    "type": "api-change"
+  },
+  {
+    "category": "``ecs``",
+    "description": "Documentation updates for Amazon ECS",
+    "type": "api-change"
+  },
+  {
+    "category": "``fms``",
+    "description": "AWS Firewall Manager now supports Fortigate Cloud Native 
Firewall as a Service as a third-party policy type.",
+    "type": "api-change"
+  },
+  {
+    "category": "``mediaconvert``",
+    "description": "The AWS Elemental MediaConvert SDK has added support for 
configurable ID3 eMSG box attributes and the ability to signal them with 
InbandEventStream tags in DASH and CMAF outputs.",
+    "type": "api-change"
+  },
+  {
+    "category": "``medialive``",
+    "description": "Updates to Event Signaling and Management (ESAM) API and 
documentation.",
+    "type": "api-change"
+  },
+  {
+    "category": "``polly``",
+    "description": "Add language code for Finnish (fi-FI)",
+    "type": "api-change"
+  },
+  {
+    "category": "``proton``",
+    "description": "CreateEnvironmentAccountConnection RoleArn input is now 
optional",
+    "type": "api-change"
+  },
+  {
+    "category": "``redshift-serverless``",
+    "description": "Add Table Level Restore operations for Amazon Redshift 
Serverless. Add multi-port support for Amazon Redshift Serverless endpoints. 
Add Tagging support to Snapshots and Recovery Points in Amazon Redshift 
Serverless.",
+    "type": "api-change"
+  },
+  {
+    "category": "``sns``",
+    "description": "This release adds the message payload-filtering feature to 
the SNS Subscribe, SetSubscriptionAttributes, and GetSubscriptionAttributes API 
actions",
+    "type": "api-change"
+  }
+]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aws-cli-1.27.21/.changes/1.27.23.json 
new/aws-cli-1.27.26/.changes/1.27.23.json
--- old/aws-cli-1.27.21/.changes/1.27.23.json   1970-01-01 01:00:00.000000000 
+0100
+++ new/aws-cli-1.27.26/.changes/1.27.23.json   2022-12-08 20:08:21.000000000 
+0100
@@ -0,0 +1,32 @@
+[
+  {
+    "category": "``codeartifact login``",
+    "description": "Ignore always-auth errors for CodeArtifact login command; 
fixes `#7434 <https://github.com/aws/aws-cli/issues/7434>`__",
+    "type": "bugfix"
+  },
+  {
+    "category": "``ce``",
+    "description": "This release introduces two new APIs that offer a 1-click 
experience to refresh Savings Plans recommendations. The two APIs are 
StartSavingsPlansPurchaseRecommendationGeneration and 
ListSavingsPlansPurchaseRecommendationGeneration.",
+    "type": "api-change"
+  },
+  {
+    "category": "``ec2``",
+    "description": "Documentation updates for EC2.",
+    "type": "api-change"
+  },
+  {
+    "category": "``ivschat``",
+    "description": "Adds PendingVerification error type to messaging APIs to 
block the resource usage for accounts identified as being fraudulent.",
+    "type": "api-change"
+  },
+  {
+    "category": "``rds``",
+    "description": "This release adds the InvalidDBInstanceStateFault to the 
RestoreDBClusterFromSnapshot operation.",
+    "type": "api-change"
+  },
+  {
+    "category": "``transcribe``",
+    "description": "Amazon Transcribe now supports creating custom language 
models in the following languages: Japanese (ja-JP) and German (de-DE).",
+    "type": "api-change"
+  }
+]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aws-cli-1.27.21/.changes/1.27.24.json 
new/aws-cli-1.27.26/.changes/1.27.24.json
--- old/aws-cli-1.27.21/.changes/1.27.24.json   1970-01-01 01:00:00.000000000 
+0100
+++ new/aws-cli-1.27.26/.changes/1.27.24.json   2022-12-08 20:08:21.000000000 
+0100
@@ -0,0 +1,32 @@
+[
+  {
+    "category": "``billingconductor``",
+    "description": "This release adds the Tiering Pricing Rule feature.",
+    "type": "api-change"
+  },
+  {
+    "category": "``connect``",
+    "description": "This release provides APIs that enable you to 
programmatically manage rules for Contact Lens conversational analytics and 
third party applications. For more information, see   
https://docs.aws.amazon.com/connect/latest/APIReference/rules-api.html";,
+    "type": "api-change"
+  },
+  {
+    "category": "``dynamodb``",
+    "description": "Endpoint Ruleset update: Use http instead of https for the 
\"local\" region.",
+    "type": "api-change"
+  },
+  {
+    "category": "``dynamodbstreams``",
+    "description": "Update dynamodbstreams command to latest version",
+    "type": "api-change"
+  },
+  {
+    "category": "``rds``",
+    "description": "This release adds the BlueGreenDeploymentNotFoundFault to 
the AddTagsToResource, ListTagsForResource, and RemoveTagsFromResource 
operations.",
+    "type": "api-change"
+  },
+  {
+    "category": "``sagemaker-featurestore-runtime``",
+    "description": "For online + offline Feature Groups, added ability to 
target PutRecord and DeleteRecord actions to only online store, or only offline 
store. If target store parameter is not specified, actions will apply to both 
stores.",
+    "type": "api-change"
+  }
+]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aws-cli-1.27.21/.changes/1.27.25.json 
new/aws-cli-1.27.26/.changes/1.27.25.json
--- old/aws-cli-1.27.21/.changes/1.27.25.json   1970-01-01 01:00:00.000000000 
+0100
+++ new/aws-cli-1.27.26/.changes/1.27.25.json   2022-12-08 20:08:21.000000000 
+0100
@@ -0,0 +1,22 @@
+[
+  {
+    "category": "``ce``",
+    "description": "This release adds the LinkedAccountName field to the 
GetAnomalies API response under RootCause",
+    "type": "api-change"
+  },
+  {
+    "category": "``cloudfront``",
+    "description": "Introducing UpdateDistributionWithStagingConfig that can 
be used to promote the staging configuration to the production.",
+    "type": "api-change"
+  },
+  {
+    "category": "``eks``",
+    "description": "Adds support for EKS add-ons configurationValues fields 
and DescribeAddonConfiguration function",
+    "type": "api-change"
+  },
+  {
+    "category": "``kms``",
+    "description": "Updated examples and exceptions for External Key Store 
(XKS).",
+    "type": "api-change"
+  }
+]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aws-cli-1.27.21/.changes/1.27.26.json 
new/aws-cli-1.27.26/.changes/1.27.26.json
--- old/aws-cli-1.27.21/.changes/1.27.26.json   1970-01-01 01:00:00.000000000 
+0100
+++ new/aws-cli-1.27.26/.changes/1.27.26.json   2022-12-08 20:08:21.000000000 
+0100
@@ -0,0 +1,17 @@
+[
+  {
+    "category": "``autoscaling``",
+    "description": "Adds support for metric math for target tracking scaling 
policies, saving you the cost and effort of publishing a custom metric to 
CloudWatch. Also adds support for VPC Lattice by adding the 
Attach/Detach/DescribeTrafficSources APIs and a new health check type to the 
CreateAutoScalingGroup API.",
+    "type": "api-change"
+  },
+  {
+    "category": "``iottwinmaker``",
+    "description": "This release adds the following new features: 1) New APIs 
for managing a continuous sync of assets and asset models from AWS IoT 
SiteWise. 2) Support user friendly names for component types 
(ComponentTypeName) and properties (DisplayName).",
+    "type": "api-change"
+  },
+  {
+    "category": "``migrationhubstrategy``",
+    "description": "This release adds known application filtering, server 
selection for assessments, support for potential recommendations, and 
indications for configuration and assessment status. For more information, see 
the AWS Migration Hub documentation at 
https://docs.aws.amazon.com/migrationhub/index.html";,
+    "type": "api-change"
+  }
+]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aws-cli-1.27.21/.github/dependabot.yml 
new/aws-cli-1.27.26/.github/dependabot.yml
--- old/aws-cli-1.27.21/.github/dependabot.yml  2022-12-01 20:07:18.000000000 
+0100
+++ new/aws-cli-1.27.26/.github/dependabot.yml  2022-12-08 20:08:21.000000000 
+0100
@@ -11,5 +11,4 @@
       - dependency-name: "PyInstaller"
       - dependency-name: "flit_core"
       - dependency-name: "colorama"
-      - dependency-name: "wcwidth"
       - dependency-name: "docutils"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aws-cli-1.27.21/CHANGELOG.rst 
new/aws-cli-1.27.26/CHANGELOG.rst
--- old/aws-cli-1.27.21/CHANGELOG.rst   2022-12-01 20:07:18.000000000 +0100
+++ new/aws-cli-1.27.26/CHANGELOG.rst   2022-12-08 20:08:21.000000000 +0100
@@ -2,6 +2,59 @@
 CHANGELOG
 =========
 
+1.27.26
+=======
+
+* api-change:``autoscaling``: Adds support for metric math for target tracking 
scaling policies, saving you the cost and effort of publishing a custom metric 
to CloudWatch. Also adds support for VPC Lattice by adding the 
Attach/Detach/DescribeTrafficSources APIs and a new health check type to the 
CreateAutoScalingGroup API.
+* api-change:``iottwinmaker``: This release adds the following new features: 
1) New APIs for managing a continuous sync of assets and asset models from AWS 
IoT SiteWise. 2) Support user friendly names for component types 
(ComponentTypeName) and properties (DisplayName).
+* api-change:``migrationhubstrategy``: This release adds known application 
filtering, server selection for assessments, support for potential 
recommendations, and indications for configuration and assessment status. For 
more information, see the AWS Migration Hub documentation at 
https://docs.aws.amazon.com/migrationhub/index.html
+
+
+1.27.25
+=======
+
+* api-change:``ce``: This release adds the LinkedAccountName field to the 
GetAnomalies API response under RootCause
+* api-change:``cloudfront``: Introducing UpdateDistributionWithStagingConfig 
that can be used to promote the staging configuration to the production.
+* api-change:``eks``: Adds support for EKS add-ons configurationValues fields 
and DescribeAddonConfiguration function
+* api-change:``kms``: Updated examples and exceptions for External Key Store 
(XKS).
+
+
+1.27.24
+=======
+
+* api-change:``billingconductor``: This release adds the Tiering Pricing Rule 
feature.
+* api-change:``connect``: This release provides APIs that enable you to 
programmatically manage rules for Contact Lens conversational analytics and 
third party applications. For more information, see   
https://docs.aws.amazon.com/connect/latest/APIReference/rules-api.html
+* api-change:``dynamodb``: Endpoint Ruleset update: Use http instead of https 
for the "local" region.
+* api-change:``dynamodbstreams``: Update dynamodbstreams command to latest 
version
+* api-change:``rds``: This release adds the BlueGreenDeploymentNotFoundFault 
to the AddTagsToResource, ListTagsForResource, and RemoveTagsFromResource 
operations.
+* api-change:``sagemaker-featurestore-runtime``: For online + offline Feature 
Groups, added ability to target PutRecord and DeleteRecord actions to only 
online store, or only offline store. If target store parameter is not 
specified, actions will apply to both stores.
+
+
+1.27.23
+=======
+
+* bugfix:``codeartifact login``: Ignore always-auth errors for CodeArtifact 
login command; fixes `#7434 <https://github.com/aws/aws-cli/issues/7434>`__
+* api-change:``ce``: This release introduces two new APIs that offer a 1-click 
experience to refresh Savings Plans recommendations. The two APIs are 
StartSavingsPlansPurchaseRecommendationGeneration and 
ListSavingsPlansPurchaseRecommendationGeneration.
+* api-change:``ec2``: Documentation updates for EC2.
+* api-change:``ivschat``: Adds PendingVerification error type to messaging 
APIs to block the resource usage for accounts identified as being fraudulent.
+* api-change:``rds``: This release adds the InvalidDBInstanceStateFault to the 
RestoreDBClusterFromSnapshot operation.
+* api-change:``transcribe``: Amazon Transcribe now supports creating custom 
language models in the following languages: Japanese (ja-JP) and German (de-DE).
+
+
+1.27.22
+=======
+
+* api-change:``appsync``: Fixes the URI for the evaluatecode endpoint to 
include the /v1 prefix (ie. "/v1/dataplane-evaluatecode").
+* api-change:``ecs``: Documentation updates for Amazon ECS
+* api-change:``fms``: AWS Firewall Manager now supports Fortigate Cloud Native 
Firewall as a Service as a third-party policy type.
+* api-change:``mediaconvert``: The AWS Elemental MediaConvert SDK has added 
support for configurable ID3 eMSG box attributes and the ability to signal them 
with InbandEventStream tags in DASH and CMAF outputs.
+* api-change:``medialive``: Updates to Event Signaling and Management (ESAM) 
API and documentation.
+* api-change:``polly``: Add language code for Finnish (fi-FI)
+* api-change:``proton``: CreateEnvironmentAccountConnection RoleArn input is 
now optional
+* api-change:``redshift-serverless``: Add Table Level Restore operations for 
Amazon Redshift Serverless. Add multi-port support for Amazon Redshift 
Serverless endpoints. Add Tagging support to Snapshots and Recovery Points in 
Amazon Redshift Serverless.
+* api-change:``sns``: This release adds the message payload-filtering feature 
to the SNS Subscribe, SetSubscriptionAttributes, and GetSubscriptionAttributes 
API actions
+
+
 1.27.21
 =======
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aws-cli-1.27.21/awscli/__init__.py 
new/aws-cli-1.27.26/awscli/__init__.py
--- old/aws-cli-1.27.21/awscli/__init__.py      2022-12-01 20:07:18.000000000 
+0100
+++ new/aws-cli-1.27.26/awscli/__init__.py      2022-12-08 20:08:21.000000000 
+0100
@@ -17,7 +17,7 @@
 """
 import os
 
-__version__ = '1.27.21'
+__version__ = '1.27.26'
 
 #
 # Get our data path to be added to botocore's search path
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/aws-cli-1.27.21/awscli/customizations/codeartifact/login.py 
new/aws-cli-1.27.26/awscli/customizations/codeartifact/login.py
--- old/aws-cli-1.27.21/awscli/customizations/codeartifact/login.py     
2022-12-01 20:07:18.000000000 +0100
+++ new/aws-cli-1.27.26/awscli/customizations/codeartifact/login.py     
2022-12-08 20:08:21.000000000 +0100
@@ -78,21 +78,27 @@
             return
 
         for command in commands:
-            try:
-                self.subprocess_utils.check_call(
-                    command,
-                    stdout=self.subprocess_utils.PIPE,
-                    stderr=self.subprocess_utils.PIPE,
-                )
-            except OSError as ex:
-                if ex.errno == errno.ENOENT:
-                    raise ValueError(
-                        self._TOOL_NOT_FOUND_MESSAGE % tool
-                    )
-                raise ex
+            self._run_command(tool, command)
 
         self._write_success_message(tool)
 
+    def _run_command(self, tool, command, *, ignore_errors=False):
+        try:
+            self.subprocess_utils.check_call(
+                command,
+                stdout=self.subprocess_utils.PIPE,
+                stderr=self.subprocess_utils.PIPE
+            )
+        except subprocess.CalledProcessError as ex:
+            if not ignore_errors:
+                raise ex
+        except OSError as ex:
+            if ex.errno == errno.ENOENT:
+                raise ValueError(
+                    self._TOOL_NOT_FOUND_MESSAGE % tool
+                )
+            raise ex
+
     @classmethod
     def get_commands(cls, endpoint, auth_token, **kwargs):
         raise NotImplementedError('get_commands()')
@@ -303,6 +309,10 @@
         )
         self._run_commands('npm', commands, dry_run)
 
+    def _run_command(self, tool, command):
+        ignore_errors = any('always-auth' in arg for arg in command)
+        super()._run_command(tool, command, ignore_errors=ignore_errors)
+
     @classmethod
     def get_scope(cls, namespace):
         # Regex for valid scope name
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/aws-cli-1.27.21/awscli/customizations/emr/helptext.py 
new/aws-cli-1.27.26/awscli/customizations/emr/helptext.py
--- old/aws-cli-1.27.21/awscli/customizations/emr/helptext.py   2022-12-01 
20:07:18.000000000 +0100
+++ new/aws-cli-1.27.26/awscli/customizations/emr/helptext.py   2022-12-08 
20:08:21.000000000 +0100
@@ -283,7 +283,8 @@
     ' which allows you to browse log files using the Amazon EMR console.'
     ' Turning debugging on requires that you specify <code>--log-uri</code>'
     ' because log files must be stored in Amazon S3 so that'
-    ' Amazon EMR can index them for viewing in the console.</p>')
+    ' Amazon EMR can index them for viewing in the console.'
+    ' Effective January 23, 2023, Amazon EMR will discontinue the debugging 
tool for all versions.</p>')
 
 TAGS = (
     '<p>A list of tags to associate with a cluster, which apply to'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/aws-cli-1.27.21/awscli/examples/s3control/get-multi-region-access-point-routes.rst
 
new/aws-cli-1.27.26/awscli/examples/s3control/get-multi-region-access-point-routes.rst
--- 
old/aws-cli-1.27.21/awscli/examples/s3control/get-multi-region-access-point-routes.rst
      1970-01-01 01:00:00.000000000 +0100
+++ 
new/aws-cli-1.27.26/awscli/examples/s3control/get-multi-region-access-point-routes.rst
      2022-12-08 20:08:21.000000000 +0100
@@ -0,0 +1,26 @@
+**To query the current Multi-Region Access Point route configuration**
+
+The following ``get-multi-region-access-point-routes`` example returns the 
current routing configuration for the specified Multi-Region Access Point. ::
+
+    aws s3control get-multi-region-access-point-routes \
+        --region Region \
+        --account-id 111122223333 \
+        --mrap MultiRegionAccessPoint_ARN
+
+Output::
+
+    {
+        "Mrap": "arn:aws:s3::111122223333:accesspoint/0000000000000.mrap",
+        "Routes": [
+            {
+                "Bucket": "DOC-EXAMPLE-BUCKET-1",
+                "Region": "ap-southeast-2",
+                "TrafficDialPercentage": 100
+            },
+            {
+                "Bucket": "DOC-EXAMPLE-BUCKET-2",
+                "Region": "us-west-1",
+                "TrafficDialPercentage": 0
+            }
+        ]
+    }
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/aws-cli-1.27.21/awscli/examples/s3control/submit-multi-region-access-point-routes.rst
 
new/aws-cli-1.27.26/awscli/examples/s3control/submit-multi-region-access-point-routes.rst
--- 
old/aws-cli-1.27.21/awscli/examples/s3control/submit-multi-region-access-point-routes.rst
   1970-01-01 01:00:00.000000000 +0100
+++ 
new/aws-cli-1.27.26/awscli/examples/s3control/submit-multi-region-access-point-routes.rst
   2022-12-08 20:08:21.000000000 +0100
@@ -0,0 +1,11 @@
+**To update your Multi-Region Access Point routing configuration**
+
+The following ``submit-multi-region-access-point-routes`` example updates the 
routing statuses of ``DOC-EXAMPLE-BUCKET-1`` and ``DOC-EXAMPLE-BUCKET-2`` in 
the ``ap-southeast-2`` Region for your Multi-Region Access Point. ::
+
+    aws s3control submit-multi-region-access-point-routes \
+        --region ap-southeast-2 \
+        --account-id 111122223333 \
+        --mrap MultiRegionAccessPoint_ARN \
+        --route-updates Bucket=DOC-EXAMPLE-BUCKET-1,TrafficDialPercentage=100 
Bucket=DOC-EXAMPLE-BUCKET-2,TrafficDialPercentage=0
+
+This command produces no output.
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aws-cli-1.27.21/doc/source/conf.py 
new/aws-cli-1.27.26/doc/source/conf.py
--- old/aws-cli-1.27.21/doc/source/conf.py      2022-12-01 20:07:18.000000000 
+0100
+++ new/aws-cli-1.27.26/doc/source/conf.py      2022-12-08 20:08:21.000000000 
+0100
@@ -52,7 +52,7 @@
 # The short X.Y version.
 version = '1.27.'
 # The full version, including alpha/beta/rc tags.
-release = '1.27.21'
+release = '1.27.26'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aws-cli-1.27.21/setup.cfg 
new/aws-cli-1.27.26/setup.cfg
--- old/aws-cli-1.27.21/setup.cfg       2022-12-01 20:07:18.000000000 +0100
+++ new/aws-cli-1.27.26/setup.cfg       2022-12-08 20:08:21.000000000 +0100
@@ -3,7 +3,7 @@
 
 [metadata]
 requires_dist =
-        botocore==1.29.21
+        botocore==1.29.26
         docutils>=0.10,<0.17
         s3transfer>=0.6.0,<0.7.0
         PyYAML>=3.10,<5.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aws-cli-1.27.21/setup.py new/aws-cli-1.27.26/setup.py
--- old/aws-cli-1.27.21/setup.py        2022-12-01 20:07:18.000000000 +0100
+++ new/aws-cli-1.27.26/setup.py        2022-12-08 20:08:21.000000000 +0100
@@ -24,7 +24,7 @@
 
 
 install_requires = [
-    'botocore==1.29.21',
+    'botocore==1.29.26',
     'docutils>=0.10,<0.17',
     's3transfer>=0.6.0,<0.7.0',
     'PyYAML>=3.10,<5.5',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/aws-cli-1.27.21/tests/functional/codeartifact/test_codeartifact_login.py 
new/aws-cli-1.27.26/tests/functional/codeartifact/test_codeartifact_login.py
--- 
old/aws-cli-1.27.21/tests/functional/codeartifact/test_codeartifact_login.py    
    2022-12-01 20:07:18.000000000 +0100
+++ 
new/aws-cli-1.27.26/tests/functional/codeartifact/test_codeartifact_login.py    
    2022-12-08 20:08:21.000000000 +0100
@@ -587,6 +587,30 @@
         self._assert_operations_called(package_format='npm', result=result)
         self._assert_dry_run_execution(self._get_npm_commands(), result.stdout)
 
+    def test_npm_login_always_auth_error_ignored(self):
+        """Test login ignores error for always-auth.
+
+        This test is for NPM version >= 9 where the support of 'always-auth'
+        has been dropped. Running the command to set config gives a non-zero
+        exit code. This is to make sure that login ignores that error and all
+        other commands executes successfully.
+        """
+        def side_effect(command, stdout, stderr):
+            if any('always-auth' in arg for arg in command):
+                raise subprocess.CalledProcessError(
+                    returncode=1,
+                    cmd=command
+                )
+
+            return mock.DEFAULT
+
+        self.subprocess_mock.side_effect = side_effect
+        cmdline = self._setup_cmd(tool='npm')
+        result = self.cli_runner.run(cmdline)
+        self.assertEqual(result.rc, 0)
+        self._assert_expiration_printed_to_stdout(result.stdout)
+        self._assert_subprocess_execution(self._get_npm_commands())
+
     def test_npm_login_with_domain_owner(self):
         cmdline = self._setup_cmd(tool='npm', include_domain_owner=True)
         result = self.cli_runner.run(cmdline)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/aws-cli-1.27.21/tests/unit/customizations/codeartifact/test_adapter_login.py
 
new/aws-cli-1.27.26/tests/unit/customizations/codeartifact/test_adapter_login.py
--- 
old/aws-cli-1.27.21/tests/unit/customizations/codeartifact/test_adapter_login.py
    2022-12-01 20:07:18.000000000 +0100
+++ 
new/aws-cli-1.27.26/tests/unit/customizations/codeartifact/test_adapter_login.py
    2022-12-08 20:08:21.000000000 +0100
@@ -1,5 +1,6 @@
 import errno
 import os
+import subprocess
 
 from datetime import datetime
 from dateutil.tz import tzlocal, tzutc
@@ -450,6 +451,40 @@
             expected_calls, any_order=True
         )
 
+    def test_login_always_auth_error_ignored(self):
+        """Test login ignores error for always-auth.
+
+        This test is for NPM version >= 9 where the support of 'always-auth'
+        has been dropped. Running the command to set config gives a non-zero
+        exit code. This is to make sure that login ignores that error and all
+        other commands executes successfully.
+        """
+        def side_effect(command, stdout, stderr):
+            """Set side_effect for always-auth config setting command"""
+            if any('always-auth' in arg for arg in command):
+                raise subprocess.CalledProcessError(
+                    returncode=1,
+                    cmd=command
+                )
+
+            return mock.DEFAULT
+
+        self.subprocess_utils.check_call.side_effect = side_effect
+        expected_calls = []
+
+        for command in self.commands:
+            expected_calls.append(mock.call(
+                    command,
+                    stdout=self.subprocess_utils.PIPE,
+                    stderr=self.subprocess_utils.PIPE,
+                )
+            )
+        self.test_subject.login()
+
+        self.subprocess_utils.check_call.assert_has_calls(
+                expected_calls, any_order=True
+            )
+
     def test_get_scope(self):
         expected_value = '@{}'.format(self.namespace)
         scope = self.test_subject.get_scope(self.namespace)

Reply via email to