Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-boto3 for openSUSE:Factory checked in at 2022-07-02 15:33:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-boto3 (Old) and /work/SRC/openSUSE:Factory/.python-boto3.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-boto3" Sat Jul 2 15:33:59 2022 rev:72 rq:986107 version:1.24.20 Changes: -------- --- /work/SRC/openSUSE:Factory/python-boto3/python-boto3.changes 2022-06-05 00:45:44.440379767 +0200 +++ /work/SRC/openSUSE:Factory/.python-boto3.new.1548/python-boto3.changes 2022-07-02 15:34:09.626983395 +0200 @@ -1,0 +2,158 @@ +Thu Jun 30 10:50:27 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaub...@suse.com> + +- Update to version 1.24.20 + * api-change:``appstream``: [``botocore``] Includes support for StreamingExperienceSettings in + CreateStack and UpdateStack APIs + * api-change:``elbv2``: [``botocore``] Update elbv2 client to latest version + * api-change:``emr``: [``botocore``] Update emr client to latest version + * api-change:``medialive``: [``botocore``] This release adds support for automatic renewal of + MediaLive reservations at the end of each reservation term. Automatic renewal is optional. This + release also adds support for labelling accessibility-focused audio and caption tracks in HLS + outputs. + * api-change:``redshift-serverless``: [``botocore``] Add new API operations for Amazon Redshift + Serverless, a new way of using Amazon Redshift without needing to manually manage provisioned + clusters. The new operations let you interact with Redshift Serverless resources, such as create + snapshots, list VPC endpoints, delete resource policies, and more. + * api-change:``sagemaker``: [``botocore``] This release adds: UpdateFeatureGroup, + UpdateFeatureMetadata, DescribeFeatureMetadata APIs; FeatureMetadata type in Search API; + LastModifiedTime, LastUpdateStatus, OnlineStoreTotalSizeBytes in DescribeFeatureGroup API. + * api-change:``translate``: [``botocore``] Added ListLanguages API which can be used to list the + languages supported by Translate. +- from version 1.24.19 + * api-change:``datasync``: [``botocore``] AWS DataSync now supports Amazon FSx for NetApp ONTAP + locations. + * api-change:``ec2``: [``botocore``] This release adds a new spread placement group to EC2 + Placement Groups: host level spread, which spread instances between physical hosts, available to + Outpost customers only. CreatePlacementGroup and DescribePlacementGroups APIs were updated with a + new parameter: SpreadLevel to support this feature. + * api-change:``finspace-data``: [``botocore``] Release new API GetExternalDataViewAccessDetails + * api-change:``polly``: [``botocore``] Add 4 new neural voices - Pedro (es-US), Liam (fr-CA), + Daniel (de-DE) and Arthur (en-GB). +- from version 1.24.18 + * api-change:``iot``: [``botocore``] This release ease the restriction for the input of tag value + to align with AWS standard, now instead of min length 1, we change it to min length 0. +- from version 1.24.17 + * api-change:``glue``: [``botocore``] This release enables the new ListCrawls API for viewing the + AWS Glue Crawler run history. + * api-change:``rds-data``: [``botocore``] Documentation updates for RDS Data API +- from version 1.24.16 + * api-change:``lookoutequipment``: [``botocore``] This release adds visualizations to the scheduled + inference results. Users will be able to see interference results, including diagnostic results + from their running inference schedulers. + * api-change:``mediaconvert``: [``botocore``] AWS Elemental MediaConvert SDK has released support + for automatic DolbyVision metadata generation when converting HDR10 to DolbyVision. + * api-change:``mgn``: [``botocore``] New and modified APIs for the Post-Migration Framework + * api-change:``migration-hub-refactor-spaces``: [``botocore``] This release adds the new API + UpdateRoute that allows route to be updated to ACTIVE/INACTIVE state. In addition, CreateRoute API + will now allow users to create route in ACTIVE/INACTIVE state. + * api-change:``sagemaker``: [``botocore``] SageMaker Ground Truth now supports Virtual Private + Cloud. Customers can launch labeling jobs and access to their private workforce in VPC mode. +- from version 1.24.15 + * api-change:``apigateway``: [``botocore``] Documentation updates for Amazon API Gateway + * api-change:``pricing``: [``botocore``] This release introduces 1 update to the GetProducts API. + The serviceCode attribute is now required when you use the GetProductsRequest. + * api-change:``transfer``: [``botocore``] Until today, the service supported only RSA host keys and + user keys. Now with this launch, Transfer Family has expanded the support for ECDSA and ED25519 + host keys and user keys, enabling customers to support a broader set of clients by choosing RSA, + ECDSA, and ED25519 host and user keys. +- from version 1.24.14 + * api-change:``ec2``: [``botocore``] This release adds support for Private IP VPNs, a new feature + allowing S2S VPN connections to use private ip addresses as the tunnel outside ip address over + Direct Connect as transport. + * api-change:``ecs``: [``botocore``] Amazon ECS UpdateService now supports the following + parameters: PlacementStrategies, PlacementConstraints and CapacityProviderStrategy. + * api-change:``wellarchitected``: [``botocore``] Adds support for lens tagging, Adds support for + multiple helpful-resource urls and multiple improvement-plan urls. +- from version 1.24.13 + * api-change:``ds``: [``botocore``] This release adds support for describing and updating AWS + Managed Microsoft AD settings + * api-change:``kafka``: [``botocore``] Documentation updates to use Az Id during cluster creation. + * api-change:``outposts``: [``botocore``] This release adds the AssetLocation structure to the + ListAssets response. AssetLocation includes the RackElevation for an Asset. +- from version 1.24.12 + * api-change:``connect``: [``botocore``] This release updates these APIs: UpdateInstanceAttribute, + DescribeInstanceAttribute and ListInstanceAttributes. You can use it to programmatically + enable/disable High volume outbound communications using attribute type HIGH_VOLUME_OUTBOUND on the + specified Amazon Connect instance. + * api-change:``connectcampaigns``: [``botocore``] Added Amazon Connect high volume outbound + communications SDK. + * api-change:``dynamodb``: [``botocore``] Doc only update for DynamoDB service + * api-change:``dynamodbstreams``: [``botocore``] Update dynamodbstreams client to latest version +- from version 1.24.11 + * api-change:``redshift-data``: [``botocore``] This release adds a new --workgroup-name field to + operations that connect to an endpoint. Customers can now execute queries against their serverless + workgroups. + * api-change:``redshiftserverless``: [``botocore``] Add new API operations for Amazon Redshift + Serverless, a new way of using Amazon Redshift without needing to manually manage provisioned + clusters. The new operations let you interact with Redshift Serverless resources, such as create + snapshots, list VPC endpoints, delete resource policies, and more. + * api-change:``secretsmanager``: [``botocore``] Documentation updates for Secrets Manager + * api-change:``securityhub``: [``botocore``] Added Threats field for security findings. Added new + resource details for ECS Container, ECS Task, RDS SecurityGroup, Kinesis Stream, EC2 + TransitGateway, EFS AccessPoint, CloudFormation Stack, CloudWatch Alarm, VPC Peering Connection and + WAF Rules +- from version 1.24.10 + * api-change:``finspace-data``: [``botocore``] This release adds a new set of APIs, + GetPermissionGroup, DisassociateUserFromPermissionGroup, AssociateUserToPermissionGroup, + ListPermissionGroupsByUser, ListUsersByPermissionGroup. + * api-change:``guardduty``: [``botocore``] Adds finding fields available from GuardDuty Console. + Adds FreeTrial related operations. Deprecates the use of various APIs related to Master Accounts + and Replace them with Administrator Accounts. + * api-change:``servicecatalog-appregistry``: [``botocore``] This release adds a new API + ListAttributeGroupsForApplication that returns associated attribute groups of an application. In + addition, the UpdateApplication and UpdateAttributeGroup APIs will not allow users to update the + 'Name' attribute. + * api-change:``workspaces``: [``botocore``] Added new field "reason" to + OperationNotSupportedException. Receiving this exception in the DeregisterWorkspaceDirectory API + will now return a reason giving more context on the failure. +- from version 1.24.9 + * api-change:``budgets``: [``botocore``] Add a budgets ThrottlingException. Update the CostFilters + value pattern. + * api-change:``lookoutmetrics``: [``botocore``] Adding filters to Alert and adding new UpdateAlert + API. + * api-change:``mediaconvert``: [``botocore``] AWS Elemental MediaConvert SDK has added support for + rules that constrain Automatic-ABR rendition selection when generating ABR package ladders. +- from version 1.24.8 + * api-change:``outposts``: [``botocore``] This release adds API operations AWS uses to install + Outpost servers. +- from version 1.24.7 + * api-change:``frauddetector``: [``botocore``] Documentation updates for Amazon Fraud Detector + (AWSHawksNest) +- from version 1.24.6 + * api-change:``chime-sdk-meetings``: [``botocore``] Adds support for live transcription in AWS + GovCloud (US) Regions. +- from version 1.24.5 + * api-change:``dms``: [``botocore``] This release adds DMS Fleet Advisor APIs and exposes + functionality for DMS Fleet Advisor. It adds functionality to create and modify fleet advisor + instances, and to collect and analyze information about the local data infrastructure. + * api-change:``iam``: [``botocore``] Documentation updates for AWS Identity and Access Management + (IAM). + * api-change:``m2``: [``botocore``] AWS Mainframe Modernization service is a managed mainframe + service and set of tools for planning, migrating, modernizing, and running mainframe workloads on + AWS + * api-change:``neptune``: [``botocore``] This release adds support for Neptune to be configured as + a global database, with a primary DB cluster in one region, and up to five secondary DB clusters in + other regions. + * api-change:``redshift-serverless``: [``botocore``] Add new API operations for Amazon Redshift + Serverless, a new way of using Amazon Redshift without needing to manually manage provisioned + clusters. The new operations let you interact with Redshift Serverless resources, such as create + snapshots, list VPC endpoints, delete resource policies, and more. + * api-change:``redshift``: [``botocore``] Adds new API GetClusterCredentialsWithIAM to return + temporary credentials. +- from version 1.24.4 + * api-change:``auditmanager``: [``botocore``] This release introduces 2 updates to the Audit + Manager API. The roleType and roleArn attributes are now required when you use the CreateAssessment + or UpdateAssessment operation. We also added a throttling exception to the RegisterAccount API + operation. + * api-change:``ce``: [``botocore``] Added two new APIs to support cost allocation tags operations: + ListCostAllocationTags, UpdateCostAllocationTagsStatus. +- from version 1.24.3 + * api-change:``chime-sdk-messaging``: [``botocore``] This release adds support for searching + channels by members via the SearchChannels API, removes required restrictions for Name and Mode in + UpdateChannel API and enhances CreateChannel API by exposing member and moderator list as well as + channel id as optional parameters. + * api-change:``connect``: [``botocore``] This release adds a new API, GetCurrentUserData, which + returns real-time details about users' current activity. +- Update BuildRequires and Requires from setup.py + +------------------------------------------------------------------- Old: ---- 1.24.2.tar.gz New: ---- 1.24.20.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-boto3.spec ++++++ --- /var/tmp/diff_new_pack.GdWlrW/_old 2022-07-02 15:34:10.014983977 +0200 +++ /var/tmp/diff_new_pack.GdWlrW/_new 2022-07-02 15:34:10.018983983 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-boto3 -Version: 1.24.2 +Version: 1.24.20 Release: 0 Summary: Amazon Web Services Library License: Apache-2.0 @@ -27,7 +27,7 @@ Source: https://github.com/boto/boto3/archive/%{version}.tar.gz # Related test dependencies BuildRequires: %{python_module botocore < 1.28.0} -BuildRequires: %{python_module botocore >= 1.27.2} +BuildRequires: %{python_module botocore >= 1.27.20} BuildRequires: %{python_module pytest} BuildRequires: %{python_module s3transfer < 0.7.0} BuildRequires: %{python_module s3transfer >= 0.6.0} @@ -36,7 +36,7 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-botocore < 1.28.0 -Requires: python-botocore >= 1.27.2 +Requires: python-botocore >= 1.27.20 Requires: python-jmespath < 1.0.0 Requires: python-jmespath >= 0.7.1 Requires: python-s3transfer < 0.7.0 ++++++ 1.24.2.tar.gz -> 1.24.20.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.24.2/.changes/1.24.10.json new/boto3-1.24.20/.changes/1.24.10.json --- old/boto3-1.24.2/.changes/1.24.10.json 1970-01-01 01:00:00.000000000 +0100 +++ new/boto3-1.24.20/.changes/1.24.10.json 2022-06-29 20:09:49.000000000 +0200 @@ -0,0 +1,22 @@ +[ + { + "category": "``finspace-data``", + "description": "[``botocore``] This release adds a new set of APIs, GetPermissionGroup, DisassociateUserFromPermissionGroup, AssociateUserToPermissionGroup, ListPermissionGroupsByUser, ListUsersByPermissionGroup.", + "type": "api-change" + }, + { + "category": "``guardduty``", + "description": "[``botocore``] Adds finding fields available from GuardDuty Console. Adds FreeTrial related operations. Deprecates the use of various APIs related to Master Accounts and Replace them with Administrator Accounts.", + "type": "api-change" + }, + { + "category": "``servicecatalog-appregistry``", + "description": "[``botocore``] This release adds a new API ListAttributeGroupsForApplication that returns associated attribute groups of an application. In addition, the UpdateApplication and UpdateAttributeGroup APIs will not allow users to update the 'Name' attribute.", + "type": "api-change" + }, + { + "category": "``workspaces``", + "description": "[``botocore``] Added new field \"reason\" to OperationNotSupportedException. Receiving this exception in the DeregisterWorkspaceDirectory API will now return a reason giving more context on the failure.", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.24.2/.changes/1.24.11.json new/boto3-1.24.20/.changes/1.24.11.json --- old/boto3-1.24.2/.changes/1.24.11.json 1970-01-01 01:00:00.000000000 +0100 +++ new/boto3-1.24.20/.changes/1.24.11.json 2022-06-29 20:09:49.000000000 +0200 @@ -0,0 +1,22 @@ +[ + { + "category": "``redshift-data``", + "description": "[``botocore``] This release adds a new --workgroup-name field to operations that connect to an endpoint. Customers can now execute queries against their serverless workgroups.", + "type": "api-change" + }, + { + "category": "``redshiftserverless``", + "description": "[``botocore``] Add new API operations for Amazon Redshift Serverless, a new way of using Amazon Redshift without needing to manually manage provisioned clusters. The new operations let you interact with Redshift Serverless resources, such as create snapshots, list VPC endpoints, delete resource policies, and more.", + "type": "api-change" + }, + { + "category": "``secretsmanager``", + "description": "[``botocore``] Documentation updates for Secrets Manager", + "type": "api-change" + }, + { + "category": "``securityhub``", + "description": "[``botocore``] Added Threats field for security findings. Added new resource details for ECS Container, ECS Task, RDS SecurityGroup, Kinesis Stream, EC2 TransitGateway, EFS AccessPoint, CloudFormation Stack, CloudWatch Alarm, VPC Peering Connection and WAF Rules", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.24.2/.changes/1.24.12.json new/boto3-1.24.20/.changes/1.24.12.json --- old/boto3-1.24.2/.changes/1.24.12.json 1970-01-01 01:00:00.000000000 +0100 +++ new/boto3-1.24.20/.changes/1.24.12.json 2022-06-29 20:09:49.000000000 +0200 @@ -0,0 +1,22 @@ +[ + { + "category": "``connect``", + "description": "[``botocore``] This release updates these APIs: UpdateInstanceAttribute, DescribeInstanceAttribute and ListInstanceAttributes. You can use it to programmatically enable/disable High volume outbound communications using attribute type HIGH_VOLUME_OUTBOUND on the specified Amazon Connect instance.", + "type": "api-change" + }, + { + "category": "``connectcampaigns``", + "description": "[``botocore``] Added Amazon Connect high volume outbound communications SDK.", + "type": "api-change" + }, + { + "category": "``dynamodb``", + "description": "[``botocore``] Doc only update for DynamoDB service", + "type": "api-change" + }, + { + "category": "``dynamodbstreams``", + "description": "[``botocore``] Update dynamodbstreams client to latest version", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.24.2/.changes/1.24.13.json new/boto3-1.24.20/.changes/1.24.13.json --- old/boto3-1.24.2/.changes/1.24.13.json 1970-01-01 01:00:00.000000000 +0100 +++ new/boto3-1.24.20/.changes/1.24.13.json 2022-06-29 20:09:49.000000000 +0200 @@ -0,0 +1,17 @@ +[ + { + "category": "``ds``", + "description": "[``botocore``] This release adds support for describing and updating AWS Managed Microsoft AD settings", + "type": "api-change" + }, + { + "category": "``kafka``", + "description": "[``botocore``] Documentation updates to use Az Id during cluster creation.", + "type": "api-change" + }, + { + "category": "``outposts``", + "description": "[``botocore``] This release adds the AssetLocation structure to the ListAssets response. AssetLocation includes the RackElevation for an Asset.", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.24.2/.changes/1.24.14.json new/boto3-1.24.20/.changes/1.24.14.json --- old/boto3-1.24.2/.changes/1.24.14.json 1970-01-01 01:00:00.000000000 +0100 +++ new/boto3-1.24.20/.changes/1.24.14.json 2022-06-29 20:09:49.000000000 +0200 @@ -0,0 +1,17 @@ +[ + { + "category": "``ec2``", + "description": "[``botocore``] This release adds support for Private IP VPNs, a new feature allowing S2S VPN connections to use private ip addresses as the tunnel outside ip address over Direct Connect as transport.", + "type": "api-change" + }, + { + "category": "``ecs``", + "description": "[``botocore``] Amazon ECS UpdateService now supports the following parameters: PlacementStrategies, PlacementConstraints and CapacityProviderStrategy.", + "type": "api-change" + }, + { + "category": "``wellarchitected``", + "description": "[``botocore``] Adds support for lens tagging, Adds support for multiple helpful-resource urls and multiple improvement-plan urls.", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.24.2/.changes/1.24.15.json new/boto3-1.24.20/.changes/1.24.15.json --- old/boto3-1.24.2/.changes/1.24.15.json 1970-01-01 01:00:00.000000000 +0100 +++ new/boto3-1.24.20/.changes/1.24.15.json 2022-06-29 20:09:49.000000000 +0200 @@ -0,0 +1,17 @@ +[ + { + "category": "``apigateway``", + "description": "[``botocore``] Documentation updates for Amazon API Gateway", + "type": "api-change" + }, + { + "category": "``pricing``", + "description": "[``botocore``] This release introduces 1 update to the GetProducts API. The serviceCode attribute is now required when you use the GetProductsRequest.", + "type": "api-change" + }, + { + "category": "``transfer``", + "description": "[``botocore``] Until today, the service supported only RSA host keys and user keys. Now with this launch, Transfer Family has expanded the support for ECDSA and ED25519 host keys and user keys, enabling customers to support a broader set of clients by choosing RSA, ECDSA, and ED25519 host and user keys.", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.24.2/.changes/1.24.16.json new/boto3-1.24.20/.changes/1.24.16.json --- old/boto3-1.24.2/.changes/1.24.16.json 1970-01-01 01:00:00.000000000 +0100 +++ new/boto3-1.24.20/.changes/1.24.16.json 2022-06-29 20:09:49.000000000 +0200 @@ -0,0 +1,27 @@ +[ + { + "category": "``lookoutequipment``", + "description": "[``botocore``] This release adds visualizations to the scheduled inference results. Users will be able to see interference results, including diagnostic results from their running inference schedulers.", + "type": "api-change" + }, + { + "category": "``mediaconvert``", + "description": "[``botocore``] AWS Elemental MediaConvert SDK has released support for automatic DolbyVision metadata generation when converting HDR10 to DolbyVision.", + "type": "api-change" + }, + { + "category": "``mgn``", + "description": "[``botocore``] New and modified APIs for the Post-Migration Framework", + "type": "api-change" + }, + { + "category": "``migration-hub-refactor-spaces``", + "description": "[``botocore``] This release adds the new API UpdateRoute that allows route to be updated to ACTIVE/INACTIVE state. In addition, CreateRoute API will now allow users to create route in ACTIVE/INACTIVE state.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "[``botocore``] SageMaker Ground Truth now supports Virtual Private Cloud. Customers can launch labeling jobs and access to their private workforce in VPC mode.", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.24.2/.changes/1.24.17.json new/boto3-1.24.20/.changes/1.24.17.json --- old/boto3-1.24.2/.changes/1.24.17.json 1970-01-01 01:00:00.000000000 +0100 +++ new/boto3-1.24.20/.changes/1.24.17.json 2022-06-29 20:09:49.000000000 +0200 @@ -0,0 +1,12 @@ +[ + { + "category": "``glue``", + "description": "[``botocore``] This release enables the new ListCrawls API for viewing the AWS Glue Crawler run history.", + "type": "api-change" + }, + { + "category": "``rds-data``", + "description": "[``botocore``] Documentation updates for RDS Data API", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.24.2/.changes/1.24.18.json new/boto3-1.24.20/.changes/1.24.18.json --- old/boto3-1.24.2/.changes/1.24.18.json 1970-01-01 01:00:00.000000000 +0100 +++ new/boto3-1.24.20/.changes/1.24.18.json 2022-06-29 20:09:49.000000000 +0200 @@ -0,0 +1,7 @@ +[ + { + "category": "``iot``", + "description": "[``botocore``] This release ease the restriction for the input of tag value to align with AWS standard, now instead of min length 1, we change it to min length 0.", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.24.2/.changes/1.24.19.json new/boto3-1.24.20/.changes/1.24.19.json --- old/boto3-1.24.2/.changes/1.24.19.json 1970-01-01 01:00:00.000000000 +0100 +++ new/boto3-1.24.20/.changes/1.24.19.json 2022-06-29 20:09:49.000000000 +0200 @@ -0,0 +1,22 @@ +[ + { + "category": "``datasync``", + "description": "[``botocore``] AWS DataSync now supports Amazon FSx for NetApp ONTAP locations.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "[``botocore``] This release adds a new spread placement group to EC2 Placement Groups: host level spread, which spread instances between physical hosts, available to Outpost customers only. CreatePlacementGroup and DescribePlacementGroups APIs were updated with a new parameter: SpreadLevel to support this feature.", + "type": "api-change" + }, + { + "category": "``finspace-data``", + "description": "[``botocore``] Release new API GetExternalDataViewAccessDetails", + "type": "api-change" + }, + { + "category": "``polly``", + "description": "[``botocore``] Add 4 new neural voices - Pedro (es-US), Liam (fr-CA), Daniel (de-DE) and Arthur (en-GB).", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.24.2/.changes/1.24.20.json new/boto3-1.24.20/.changes/1.24.20.json --- old/boto3-1.24.2/.changes/1.24.20.json 1970-01-01 01:00:00.000000000 +0100 +++ new/boto3-1.24.20/.changes/1.24.20.json 2022-06-29 20:09:49.000000000 +0200 @@ -0,0 +1,37 @@ +[ + { + "category": "``appstream``", + "description": "[``botocore``] Includes support for StreamingExperienceSettings in CreateStack and UpdateStack APIs", + "type": "api-change" + }, + { + "category": "``elbv2``", + "description": "[``botocore``] Update elbv2 client to latest version", + "type": "api-change" + }, + { + "category": "``emr``", + "description": "[``botocore``] Update emr client to latest version", + "type": "api-change" + }, + { + "category": "``medialive``", + "description": "[``botocore``] This release adds support for automatic renewal of MediaLive reservations at the end of each reservation term. Automatic renewal is optional. This release also adds support for labelling accessibility-focused audio and caption tracks in HLS outputs.", + "type": "api-change" + }, + { + "category": "``redshift-serverless``", + "description": "[``botocore``] Add new API operations for Amazon Redshift Serverless, a new way of using Amazon Redshift without needing to manually manage provisioned clusters. The new operations let you interact with Redshift Serverless resources, such as create snapshots, list VPC endpoints, delete resource policies, and more.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "[``botocore``] This release adds: UpdateFeatureGroup, UpdateFeatureMetadata, DescribeFeatureMetadata APIs; FeatureMetadata type in Search API; LastModifiedTime, LastUpdateStatus, OnlineStoreTotalSizeBytes in DescribeFeatureGroup API.", + "type": "api-change" + }, + { + "category": "``translate``", + "description": "[``botocore``] Added ListLanguages API which can be used to list the languages supported by Translate.", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.24.2/.changes/1.24.3.json new/boto3-1.24.20/.changes/1.24.3.json --- old/boto3-1.24.2/.changes/1.24.3.json 1970-01-01 01:00:00.000000000 +0100 +++ new/boto3-1.24.20/.changes/1.24.3.json 2022-06-29 20:09:49.000000000 +0200 @@ -0,0 +1,12 @@ +[ + { + "category": "``chime-sdk-messaging``", + "description": "[``botocore``] This release adds support for searching channels by members via the SearchChannels API, removes required restrictions for Name and Mode in UpdateChannel API and enhances CreateChannel API by exposing member and moderator list as well as channel id as optional parameters.", + "type": "api-change" + }, + { + "category": "``connect``", + "description": "[``botocore``] This release adds a new API, GetCurrentUserData, which returns real-time details about users' current activity.", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.24.2/.changes/1.24.4.json new/boto3-1.24.20/.changes/1.24.4.json --- old/boto3-1.24.2/.changes/1.24.4.json 1970-01-01 01:00:00.000000000 +0100 +++ new/boto3-1.24.20/.changes/1.24.4.json 2022-06-29 20:09:49.000000000 +0200 @@ -0,0 +1,12 @@ +[ + { + "category": "``auditmanager``", + "description": "[``botocore``] This release introduces 2 updates to the Audit Manager API. The roleType and roleArn attributes are now required when you use the CreateAssessment or UpdateAssessment operation. We also added a throttling exception to the RegisterAccount API operation.", + "type": "api-change" + }, + { + "category": "``ce``", + "description": "[``botocore``] Added two new APIs to support cost allocation tags operations: ListCostAllocationTags, UpdateCostAllocationTagsStatus.", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.24.2/.changes/1.24.5.json new/boto3-1.24.20/.changes/1.24.5.json --- old/boto3-1.24.2/.changes/1.24.5.json 1970-01-01 01:00:00.000000000 +0100 +++ new/boto3-1.24.20/.changes/1.24.5.json 2022-06-29 20:09:49.000000000 +0200 @@ -0,0 +1,32 @@ +[ + { + "category": "``dms``", + "description": "[``botocore``] This release adds DMS Fleet Advisor APIs and exposes functionality for DMS Fleet Advisor. It adds functionality to create and modify fleet advisor instances, and to collect and analyze information about the local data infrastructure.", + "type": "api-change" + }, + { + "category": "``iam``", + "description": "[``botocore``] Documentation updates for AWS Identity and Access Management (IAM).", + "type": "api-change" + }, + { + "category": "``m2``", + "description": "[``botocore``] AWS Mainframe Modernization service is a managed mainframe service and set of tools for planning, migrating, modernizing, and running mainframe workloads on AWS", + "type": "api-change" + }, + { + "category": "``neptune``", + "description": "[``botocore``] This release adds support for Neptune to be configured as a global database, with a primary DB cluster in one region, and up to five secondary DB clusters in other regions.", + "type": "api-change" + }, + { + "category": "``redshift-serverless``", + "description": "[``botocore``] Add new API operations for Amazon Redshift Serverless, a new way of using Amazon Redshift without needing to manually manage provisioned clusters. The new operations let you interact with Redshift Serverless resources, such as create snapshots, list VPC endpoints, delete resource policies, and more.", + "type": "api-change" + }, + { + "category": "``redshift``", + "description": "[``botocore``] Adds new API GetClusterCredentialsWithIAM to return temporary credentials.", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.24.2/.changes/1.24.6.json new/boto3-1.24.20/.changes/1.24.6.json --- old/boto3-1.24.2/.changes/1.24.6.json 1970-01-01 01:00:00.000000000 +0100 +++ new/boto3-1.24.20/.changes/1.24.6.json 2022-06-29 20:09:49.000000000 +0200 @@ -0,0 +1,7 @@ +[ + { + "category": "``chime-sdk-meetings``", + "description": "[``botocore``] Adds support for live transcription in AWS GovCloud (US) Regions.", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.24.2/.changes/1.24.7.json new/boto3-1.24.20/.changes/1.24.7.json --- old/boto3-1.24.2/.changes/1.24.7.json 1970-01-01 01:00:00.000000000 +0100 +++ new/boto3-1.24.20/.changes/1.24.7.json 2022-06-29 20:09:49.000000000 +0200 @@ -0,0 +1,7 @@ +[ + { + "category": "``frauddetector``", + "description": "[``botocore``] Documentation updates for Amazon Fraud Detector (AWSHawksNest)", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.24.2/.changes/1.24.8.json new/boto3-1.24.20/.changes/1.24.8.json --- old/boto3-1.24.2/.changes/1.24.8.json 1970-01-01 01:00:00.000000000 +0100 +++ new/boto3-1.24.20/.changes/1.24.8.json 2022-06-29 20:09:49.000000000 +0200 @@ -0,0 +1,7 @@ +[ + { + "category": "``outposts``", + "description": "[``botocore``] This release adds API operations AWS uses to install Outpost servers.", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.24.2/.changes/1.24.9.json new/boto3-1.24.20/.changes/1.24.9.json --- old/boto3-1.24.2/.changes/1.24.9.json 1970-01-01 01:00:00.000000000 +0100 +++ new/boto3-1.24.20/.changes/1.24.9.json 2022-06-29 20:09:49.000000000 +0200 @@ -0,0 +1,17 @@ +[ + { + "category": "``budgets``", + "description": "[``botocore``] Add a budgets ThrottlingException. Update the CostFilters value pattern.", + "type": "api-change" + }, + { + "category": "``lookoutmetrics``", + "description": "[``botocore``] Adding filters to Alert and adding new UpdateAlert API.", + "type": "api-change" + }, + { + "category": "``mediaconvert``", + "description": "[``botocore``] AWS Elemental MediaConvert SDK has added support for rules that constrain Automatic-ABR rendition selection when generating ABR package ladders.", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.24.2/.github/workflows/run-tests.yml new/boto3-1.24.20/.github/workflows/run-tests.yml --- old/boto3-1.24.2/.github/workflows/run-tests.yml 2022-06-02 20:14:57.000000000 +0200 +++ new/boto3-1.24.20/.github/workflows/run-tests.yml 2022-06-29 20:09:49.000000000 +0200 @@ -12,7 +12,7 @@ strategy: fail-fast: false matrix: - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11-dev"] os: [ubuntu-latest, macOS-latest, windows-latest ] steps: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.24.2/.github/workflows/stale_issue.yml new/boto3-1.24.20/.github/workflows/stale_issue.yml --- old/boto3-1.24.2/.github/workflows/stale_issue.yml 2022-06-02 20:14:57.000000000 +0200 +++ new/boto3-1.24.20/.github/workflows/stale_issue.yml 2022-06-29 20:09:49.000000000 +0200 @@ -7,6 +7,10 @@ jobs: issue-cleanup: + permissions: + issues: write + contents: read + pull-requests: write runs-on: ubuntu-latest name: Stale issue job steps: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.24.2/.pre-commit-config.yaml new/boto3-1.24.20/.pre-commit-config.yaml --- old/boto3-1.24.2/.pre-commit-config.yaml 2022-06-02 20:14:57.000000000 +0200 +++ new/boto3-1.24.20/.pre-commit-config.yaml 2022-06-29 20:09:49.000000000 +0200 @@ -1,13 +1,13 @@ exclude: ^(.github|.changes|docs/|boto3/compat.py|boto3/data|CHANGELOG.rst) repos: - repo: 'https://github.com/pre-commit/pre-commit-hooks' - rev: v4.2.0 + rev: v4.3.0 hooks: - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace - repo: 'https://github.com/asottile/pyupgrade' - rev: v2.32.1 + rev: v2.34.0 hooks: - id: pyupgrade args: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.24.2/CHANGELOG.rst new/boto3-1.24.20/CHANGELOG.rst --- old/boto3-1.24.2/CHANGELOG.rst 2022-06-02 20:14:57.000000000 +0200 +++ new/boto3-1.24.20/CHANGELOG.rst 2022-06-29 20:09:49.000000000 +0200 @@ -2,6 +2,152 @@ CHANGELOG ========= +1.24.20 +======= + +* api-change:``appstream``: [``botocore``] Includes support for StreamingExperienceSettings in CreateStack and UpdateStack APIs +* api-change:``elbv2``: [``botocore``] Update elbv2 client to latest version +* api-change:``emr``: [``botocore``] Update emr client to latest version +* api-change:``medialive``: [``botocore``] This release adds support for automatic renewal of MediaLive reservations at the end of each reservation term. Automatic renewal is optional. This release also adds support for labelling accessibility-focused audio and caption tracks in HLS outputs. +* api-change:``redshift-serverless``: [``botocore``] Add new API operations for Amazon Redshift Serverless, a new way of using Amazon Redshift without needing to manually manage provisioned clusters. The new operations let you interact with Redshift Serverless resources, such as create snapshots, list VPC endpoints, delete resource policies, and more. +* api-change:``sagemaker``: [``botocore``] This release adds: UpdateFeatureGroup, UpdateFeatureMetadata, DescribeFeatureMetadata APIs; FeatureMetadata type in Search API; LastModifiedTime, LastUpdateStatus, OnlineStoreTotalSizeBytes in DescribeFeatureGroup API. +* api-change:``translate``: [``botocore``] Added ListLanguages API which can be used to list the languages supported by Translate. + + +1.24.19 +======= + +* api-change:``datasync``: [``botocore``] AWS DataSync now supports Amazon FSx for NetApp ONTAP locations. +* api-change:``ec2``: [``botocore``] This release adds a new spread placement group to EC2 Placement Groups: host level spread, which spread instances between physical hosts, available to Outpost customers only. CreatePlacementGroup and DescribePlacementGroups APIs were updated with a new parameter: SpreadLevel to support this feature. +* api-change:``finspace-data``: [``botocore``] Release new API GetExternalDataViewAccessDetails +* api-change:``polly``: [``botocore``] Add 4 new neural voices - Pedro (es-US), Liam (fr-CA), Daniel (de-DE) and Arthur (en-GB). + + +1.24.18 +======= + +* api-change:``iot``: [``botocore``] This release ease the restriction for the input of tag value to align with AWS standard, now instead of min length 1, we change it to min length 0. + + +1.24.17 +======= + +* api-change:``glue``: [``botocore``] This release enables the new ListCrawls API for viewing the AWS Glue Crawler run history. +* api-change:``rds-data``: [``botocore``] Documentation updates for RDS Data API + + +1.24.16 +======= + +* api-change:``lookoutequipment``: [``botocore``] This release adds visualizations to the scheduled inference results. Users will be able to see interference results, including diagnostic results from their running inference schedulers. +* api-change:``mediaconvert``: [``botocore``] AWS Elemental MediaConvert SDK has released support for automatic DolbyVision metadata generation when converting HDR10 to DolbyVision. +* api-change:``mgn``: [``botocore``] New and modified APIs for the Post-Migration Framework +* api-change:``migration-hub-refactor-spaces``: [``botocore``] This release adds the new API UpdateRoute that allows route to be updated to ACTIVE/INACTIVE state. In addition, CreateRoute API will now allow users to create route in ACTIVE/INACTIVE state. +* api-change:``sagemaker``: [``botocore``] SageMaker Ground Truth now supports Virtual Private Cloud. Customers can launch labeling jobs and access to their private workforce in VPC mode. + + +1.24.15 +======= + +* api-change:``apigateway``: [``botocore``] Documentation updates for Amazon API Gateway +* api-change:``pricing``: [``botocore``] This release introduces 1 update to the GetProducts API. The serviceCode attribute is now required when you use the GetProductsRequest. +* api-change:``transfer``: [``botocore``] Until today, the service supported only RSA host keys and user keys. Now with this launch, Transfer Family has expanded the support for ECDSA and ED25519 host keys and user keys, enabling customers to support a broader set of clients by choosing RSA, ECDSA, and ED25519 host and user keys. + + +1.24.14 +======= + +* api-change:``ec2``: [``botocore``] This release adds support for Private IP VPNs, a new feature allowing S2S VPN connections to use private ip addresses as the tunnel outside ip address over Direct Connect as transport. +* api-change:``ecs``: [``botocore``] Amazon ECS UpdateService now supports the following parameters: PlacementStrategies, PlacementConstraints and CapacityProviderStrategy. +* api-change:``wellarchitected``: [``botocore``] Adds support for lens tagging, Adds support for multiple helpful-resource urls and multiple improvement-plan urls. + + +1.24.13 +======= + +* api-change:``ds``: [``botocore``] This release adds support for describing and updating AWS Managed Microsoft AD settings +* api-change:``kafka``: [``botocore``] Documentation updates to use Az Id during cluster creation. +* api-change:``outposts``: [``botocore``] This release adds the AssetLocation structure to the ListAssets response. AssetLocation includes the RackElevation for an Asset. + + +1.24.12 +======= + +* api-change:``connect``: [``botocore``] This release updates these APIs: UpdateInstanceAttribute, DescribeInstanceAttribute and ListInstanceAttributes. You can use it to programmatically enable/disable High volume outbound communications using attribute type HIGH_VOLUME_OUTBOUND on the specified Amazon Connect instance. +* api-change:``connectcampaigns``: [``botocore``] Added Amazon Connect high volume outbound communications SDK. +* api-change:``dynamodb``: [``botocore``] Doc only update for DynamoDB service +* api-change:``dynamodbstreams``: [``botocore``] Update dynamodbstreams client to latest version + + +1.24.11 +======= + +* api-change:``redshift-data``: [``botocore``] This release adds a new --workgroup-name field to operations that connect to an endpoint. Customers can now execute queries against their serverless workgroups. +* api-change:``redshiftserverless``: [``botocore``] Add new API operations for Amazon Redshift Serverless, a new way of using Amazon Redshift without needing to manually manage provisioned clusters. The new operations let you interact with Redshift Serverless resources, such as create snapshots, list VPC endpoints, delete resource policies, and more. +* api-change:``secretsmanager``: [``botocore``] Documentation updates for Secrets Manager +* api-change:``securityhub``: [``botocore``] Added Threats field for security findings. Added new resource details for ECS Container, ECS Task, RDS SecurityGroup, Kinesis Stream, EC2 TransitGateway, EFS AccessPoint, CloudFormation Stack, CloudWatch Alarm, VPC Peering Connection and WAF Rules + + +1.24.10 +======= + +* api-change:``finspace-data``: [``botocore``] This release adds a new set of APIs, GetPermissionGroup, DisassociateUserFromPermissionGroup, AssociateUserToPermissionGroup, ListPermissionGroupsByUser, ListUsersByPermissionGroup. +* api-change:``guardduty``: [``botocore``] Adds finding fields available from GuardDuty Console. Adds FreeTrial related operations. Deprecates the use of various APIs related to Master Accounts and Replace them with Administrator Accounts. +* api-change:``servicecatalog-appregistry``: [``botocore``] This release adds a new API ListAttributeGroupsForApplication that returns associated attribute groups of an application. In addition, the UpdateApplication and UpdateAttributeGroup APIs will not allow users to update the 'Name' attribute. +* api-change:``workspaces``: [``botocore``] Added new field "reason" to OperationNotSupportedException. Receiving this exception in the DeregisterWorkspaceDirectory API will now return a reason giving more context on the failure. + + +1.24.9 +====== + +* api-change:``budgets``: [``botocore``] Add a budgets ThrottlingException. Update the CostFilters value pattern. +* api-change:``lookoutmetrics``: [``botocore``] Adding filters to Alert and adding new UpdateAlert API. +* api-change:``mediaconvert``: [``botocore``] AWS Elemental MediaConvert SDK has added support for rules that constrain Automatic-ABR rendition selection when generating ABR package ladders. + + +1.24.8 +====== + +* api-change:``outposts``: [``botocore``] This release adds API operations AWS uses to install Outpost servers. + + +1.24.7 +====== + +* api-change:``frauddetector``: [``botocore``] Documentation updates for Amazon Fraud Detector (AWSHawksNest) + + +1.24.6 +====== + +* api-change:``chime-sdk-meetings``: [``botocore``] Adds support for live transcription in AWS GovCloud (US) Regions. + + +1.24.5 +====== + +* api-change:``dms``: [``botocore``] This release adds DMS Fleet Advisor APIs and exposes functionality for DMS Fleet Advisor. It adds functionality to create and modify fleet advisor instances, and to collect and analyze information about the local data infrastructure. +* api-change:``iam``: [``botocore``] Documentation updates for AWS Identity and Access Management (IAM). +* api-change:``m2``: [``botocore``] AWS Mainframe Modernization service is a managed mainframe service and set of tools for planning, migrating, modernizing, and running mainframe workloads on AWS +* api-change:``neptune``: [``botocore``] This release adds support for Neptune to be configured as a global database, with a primary DB cluster in one region, and up to five secondary DB clusters in other regions. +* api-change:``redshift-serverless``: [``botocore``] Add new API operations for Amazon Redshift Serverless, a new way of using Amazon Redshift without needing to manually manage provisioned clusters. The new operations let you interact with Redshift Serverless resources, such as create snapshots, list VPC endpoints, delete resource policies, and more. +* api-change:``redshift``: [``botocore``] Adds new API GetClusterCredentialsWithIAM to return temporary credentials. + + +1.24.4 +====== + +* api-change:``auditmanager``: [``botocore``] This release introduces 2 updates to the Audit Manager API. The roleType and roleArn attributes are now required when you use the CreateAssessment or UpdateAssessment operation. We also added a throttling exception to the RegisterAccount API operation. +* api-change:``ce``: [``botocore``] Added two new APIs to support cost allocation tags operations: ListCostAllocationTags, UpdateCostAllocationTagsStatus. + + +1.24.3 +====== + +* api-change:``chime-sdk-messaging``: [``botocore``] This release adds support for searching channels by members via the SearchChannels API, removes required restrictions for Name and Mode in UpdateChannel API and enhances CreateChannel API by exposing member and moderator list as well as channel id as optional parameters. +* api-change:``connect``: [``botocore``] This release adds a new API, GetCurrentUserData, which returns real-time details about users' current activity. + + 1.24.2 ====== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.24.2/boto3/__init__.py new/boto3-1.24.20/boto3/__init__.py --- old/boto3-1.24.2/boto3/__init__.py 2022-06-02 20:14:57.000000000 +0200 +++ new/boto3-1.24.20/boto3/__init__.py 2022-06-29 20:09:49.000000000 +0200 @@ -17,7 +17,7 @@ from boto3.session import Session __author__ = 'Amazon Web Services' -__version__ = '1.24.2' +__version__ = '1.24.20' # The default Boto3 session; autoloaded when needed. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.24.2/boto3/dynamodb/table.py new/boto3-1.24.20/boto3/dynamodb/table.py --- old/boto3-1.24.2/boto3/dynamodb/table.py 2022-06-02 20:14:57.000000000 +0200 +++ new/boto3-1.24.20/boto3/dynamodb/table.py 2022-06-29 20:09:49.000000000 +0200 @@ -145,13 +145,12 @@ RequestItems={self._table_name: items_to_send} ) unprocessed_items = response['UnprocessedItems'] - - if unprocessed_items and unprocessed_items[self._table_name]: - # Any unprocessed_items are immediately added to the - # next batch we send. - self._items_buffer.extend(unprocessed_items[self._table_name]) - else: - self._items_buffer = [] + if not unprocessed_items: + unprocessed_items = {} + item_list = unprocessed_items.get(self._table_name, []) + # Any unprocessed_items are immediately added to the + # next batch we send. + self._items_buffer.extend(item_list) logger.debug( "Batch write sent %s, unprocessed: %s", len(items_to_send), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.24.2/requirements-dev-lock.txt new/boto3-1.24.20/requirements-dev-lock.txt --- old/boto3-1.24.2/requirements-dev-lock.txt 2022-06-02 20:14:57.000000000 +0200 +++ new/boto3-1.24.20/requirements-dev-lock.txt 2022-06-29 20:09:49.000000000 +0200 @@ -8,13 +8,13 @@ --hash=sha256:6d1784dea7c0c8d4a5172b6c620f40b6e4cbfdf96d783691f2e1302a7b88e197 \ --hash=sha256:ae70396ad1a434f9c7046fd2dd196fc04b12f9e91ffb859164193be8b6168a7a # via -r requirements-dev.txt -attrs==21.2.0 \ - --hash=sha256:149e90d6d8ac20db7a955ad60cf0e6881a3f20d37096140088356da6c716b0b1 \ - --hash=sha256:ef6aaac3ca6cd92904cdd0d83f629a15f18053ec84e6432106f7a4d04ae4f5fb - # via pytest -colorama==0.4.4 \ - --hash=sha256:5941b2b48a20143d2267e95b1c2a7603ce057ee39fd88e7329b0c292aa16869b \ - --hash=sha256:9f47eda37229f68eee03b24b9748937c7dc3868f906e8ba69fbcbdd3bc5dc3e2 +attrs==21.4.0 \ + --hash=sha256:2d27e3784d7a565d36ab851fe94887c5eccd6a463168875832a1be79c82828b4 \ + --hash=sha256:626ba8234211db98e869df76230a137c4c40a12d72445c45d5f5b716f076e2fd + # via pytest +colorama==0.4.5 \ + --hash=sha256:854bf444933e37f5824ae7bfc1e98d5bce2ebe4160d46b5edf346a89358e99da \ + --hash=sha256:e6c6b4334fc50988a639d9b98aa429a0b57da6e17b9a44f0451f930b6967b7a4 # via -r requirements-dev.txt coverage==5.5 \ --hash=sha256:004d1880bed2d97151facef49f08e255a20ceb6f9432df75f4eef018fdd5a78c \ @@ -72,9 +72,9 @@ # via # -r requirements-dev.txt # pytest-cov -importlib-metadata==4.8.1 \ - --hash=sha256:b618b6d2d5ffa2f16add5697cf57a46c76a56229b0ed1c438322e4e95645bd15 \ - --hash=sha256:f284b3e11256ad1e5d03ab86bb2ccd6f5339688ff17a4d797a0fe7df326f23b1 +importlib-metadata==4.11.4 \ + --hash=sha256:5d26852efe48c0a32b0509ffbc583fda1a2266545a78d104a6f4aff3db17d700 \ + --hash=sha256:c58c8eb8a762858f49e18436ff552e83914778e50e9d2f1660535ffb364552ec # via # pluggy # pytest @@ -82,25 +82,25 @@ --hash=sha256:011e24c64b7f47f6ebd835bb12a743f2fbe9a26d4cecaa7f53bc4f35ee9da8b3 \ --hash=sha256:bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32 # via pytest -packaging==21.0 \ - --hash=sha256:7dc96269f53a4ccec5c0670940a4281106dd0bb343f47b7471f779df49c2fbe7 \ - --hash=sha256:c86254f9220d55e31cc94d69bade760f0847da8000def4dfe1c6b872fd14ff14 +packaging==21.3 \ + --hash=sha256:dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb \ + --hash=sha256:ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522 # via pytest pluggy==1.0.0 \ --hash=sha256:4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159 \ --hash=sha256:74134bbf457f031a36d68416e1509f34bd5ccc019f0bcc952c7b909d06b37bd3 # via pytest -py==1.10.0 \ - --hash=sha256:21b81bda15b66ef5e1a777a21c4dcd9c20ad3efd0b3f817e7a809035269e1bd3 \ - --hash=sha256:3b80836aa6d1feeaa108e046da6423ab8f6ceda6468545ae8d02d9d58d18818a - # via pytest -pyparsing==2.4.7 \ - --hash=sha256:c203ec8783bf771a155b207279b9bccb8dea02d8f0c9e5f8ead507bc3246ecc1 \ - --hash=sha256:ef9d7589ef3c200abe66653d3f1ab1033c3c419ae9b9bdb1240a85b024efc88b +py==1.11.0 \ + --hash=sha256:51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719 \ + --hash=sha256:607c53218732647dff4acdfcd50cb62615cedf612e72d1724fb1a0cc6405b378 + # via pytest +pyparsing==3.0.9 \ + --hash=sha256:2b020ecf7d21b687f219b71ecad3631f644a47f01403fa1d1036b0c6416d70fb \ + --hash=sha256:5026bae9a10eeaefb61dab2f09052b9f4307d44aee4eda64b309723d8d206bbc # via packaging -pytest==6.2.5 \ - --hash=sha256:131b36680866a76e6781d13f101efb86cf674ebb9762eb70d3082b6f29889e89 \ - --hash=sha256:7310f8d27bc79ced999e760ca304d69f6ba6c6649c0b60fb0e04a4a77cacc134 +pytest==7.1.2 \ + --hash=sha256:13d0e3ccfc2b6e26be000cb6568c832ba67ba32e719443bfe725814d3c42433c \ + --hash=sha256:a06a0425453864a270bc45e71f783330a7428defb4230fb5e6a731fde06ecd45 # via # -r requirements-dev.txt # pytest-cov @@ -111,19 +111,20 @@ toml==0.10.2 \ --hash=sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b \ --hash=sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f - # via - # pytest - # pytest-cov -typing-extensions==3.10.0.2 \ - --hash=sha256:49f75d16ff11f1cd258e1b988ccff82a3ca5570217d7ad8c5f48205dd99a677e \ - --hash=sha256:d8226d10bc02a29bcc81df19a26e56a9647f8b0a6d4a83924139f4a8b01f17b7 \ - --hash=sha256:f1d25edafde516b146ecd0613dabcc61409817af4766fbbcfb8d1ad4ec441a34 + # via pytest-cov +tomli==2.0.1 \ + --hash=sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc \ + --hash=sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f + # via pytest +typing-extensions==4.2.0 \ + --hash=sha256:6657594ee297170d19f67d55c05852a874e7eb634f4f753dbd667855e07c1708 \ + --hash=sha256:f1c24655a0da0d1b67f07e17a5e6b2a105894e6824b92096378bb3668ef02376 # via importlib-metadata wheel==0.37.0 \ --hash=sha256:21014b2bd93c6d0034b6ba5d35e4eb284340e09d63c59aef6fc14b0f346146fd \ --hash=sha256:e2ef7239991699e3355d54f8e968a21bb940a1dbf34a4d226741e64462516fad # via -r requirements-dev.txt -zipp==3.5.0 \ - --hash=sha256:957cfda87797e389580cb8b9e3870841ca991e2125350677b2ca83a0e99390a3 \ - --hash=sha256:f5812b1e007e48cff63449a5e9f4e7ebea716b4111f9c4f9a645f91d579bf0c4 +zipp==3.8.0 \ + --hash=sha256:56bf8aadb83c24db6c4b577e13de374ccfb67da2078beba1d037c17980bf43ad \ + --hash=sha256:c4f6e5bbf48e74f7a38e7cc5b0480ff42b0ae5178957d564d18932525d5cf099 # via importlib-metadata diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.24.2/requirements-dev.txt new/boto3-1.24.20/requirements-dev.txt --- old/boto3-1.24.2/requirements-dev.txt 2022-06-02 20:14:57.000000000 +0200 +++ new/boto3-1.24.20/requirements-dev.txt 2022-06-29 20:09:49.000000000 +0200 @@ -2,7 +2,7 @@ coverage==5.5 # Pytest specific deps -pytest==6.2.5 +pytest==7.1.2 pytest-cov==2.12.1 atomicwrites>=1.0 # Windows requirement colorama>0.3.0 # Windows requirement diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.24.2/setup.cfg new/boto3-1.24.20/setup.cfg --- old/boto3-1.24.2/setup.cfg 2022-06-02 20:14:57.000000000 +0200 +++ new/boto3-1.24.20/setup.cfg 2022-06-29 20:09:49.000000000 +0200 @@ -3,7 +3,7 @@ [metadata] requires_dist = - botocore>=1.27.2,<1.28.0 + botocore>=1.27.20,<1.28.0 jmespath>=0.7.1,<2.0.0 s3transfer>=0.6.0,<0.7.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.24.2/setup.py new/boto3-1.24.20/setup.py --- old/boto3-1.24.2/setup.py 2022-06-02 20:14:57.000000000 +0200 +++ new/boto3-1.24.20/setup.py 2022-06-29 20:09:49.000000000 +0200 @@ -13,7 +13,7 @@ requires = [ - 'botocore>=1.27.2,<1.28.0', + 'botocore>=1.27.20,<1.28.0', 'jmespath>=0.7.1,<2.0.0', 's3transfer>=0.6.0,<0.7.0', ] @@ -49,6 +49,7 @@ 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', ], project_urls={ 'Documentation': 'https://boto3.amazonaws.com/v1/documentation/api/latest/index.html', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.24.2/tests/unit/dynamodb/test_table.py new/boto3-1.24.20/tests/unit/dynamodb/test_table.py --- old/boto3-1.24.2/tests/unit/dynamodb/test_table.py 2022-06-02 20:14:57.000000000 +0200 +++ new/boto3-1.24.20/tests/unit/dynamodb/test_table.py 2022-06-29 20:09:49.000000000 +0200 @@ -411,3 +411,111 @@ } } self.assert_batch_write_calls_are([first_batch, second_batch]) + + def test_added_unsent_request_not_flushed_put(self): + # If n requests that get sent fail to process where n = flush_amount + # and at least one more request gets created before the second attempt, + # then previously if n requests were successful on the next run and + # returned an empty dict, _item_buffer would be emptied before sending + # the next batch of n requests + self.client.batch_write_item.side_effect = [ + { + 'UnprocessedItems': { + self.table_name: [ + {'PutRequest': {'Item': {'Hash': 'foo1'}}}, + {'PutRequest': {'Item': {'Hash': 'foo2'}}}, + ], + }, + }, + { + 'UnprocessedItems': {}, + }, + { + 'UnprocessedItems': {}, + }, + ] + self.batch_writer.put_item({'Hash': 'foo1'}) + self.batch_writer.put_item({'Hash': 'foo2'}) + self.batch_writer.put_item({'Hash': 'foo3'}) + self.assertIn( + {'PutRequest': {'Item': {'Hash': 'foo3'}}}, + self.batch_writer._items_buffer, + ) + batch = { + 'RequestItems': { + self.table_name: [ + {'PutRequest': {'Item': {'Hash': 'foo1'}}}, + {'PutRequest': {'Item': {'Hash': 'foo2'}}}, + ] + } + } + final_batch = { + 'RequestItems': { + self.table_name: [ + {'PutRequest': {'Item': {'Hash': 'foo3'}}}, + {'PutRequest': {'Item': {'Hash': 'foo4'}}}, + ] + } + } + # same batch sent twice since all failed on first try + # and flush_items = 2 + self.assert_batch_write_calls_are([batch, batch]) + # test that the next two items get sent + self.batch_writer.put_item({'Hash': 'foo4'}) + self.assert_batch_write_calls_are([batch, batch, final_batch]) + # the buffer should be empty now + self.assertEqual(self.batch_writer._items_buffer, []) + + def test_added_unsent_request_not_flushed_delete(self): + # If n requests that get sent fail to process where n = flush_amount + # and at least one more request gets created before the second attempt, + # then previously if n requests were successful on the next run and + # returned an empty dict, _item_buffer would be emptied before sending + # the next batch of n requests + self.client.batch_write_item.side_effect = [ + { + 'UnprocessedItems': { + self.table_name: [ + {'DeleteRequest': {'Key': {'Hash': 'foo1'}}}, + {'DeleteRequest': {'Key': {'Hash': 'foo2'}}}, + ], + }, + }, + { + 'UnprocessedItems': {}, + }, + { + 'UnprocessedItems': {}, + }, + ] + self.batch_writer.delete_item({'Hash': 'foo1'}) + self.batch_writer.delete_item({'Hash': 'foo2'}) + self.batch_writer.delete_item({'Hash': 'foo3'}) + self.assertIn( + {'DeleteRequest': {'Key': {'Hash': 'foo3'}}}, + self.batch_writer._items_buffer, + ) + batch = { + 'RequestItems': { + self.table_name: [ + {'DeleteRequest': {'Key': {'Hash': 'foo1'}}}, + {'DeleteRequest': {'Key': {'Hash': 'foo2'}}}, + ] + } + } + final_batch = { + 'RequestItems': { + self.table_name: [ + {'DeleteRequest': {'Key': {'Hash': 'foo3'}}}, + {'DeleteRequest': {'Key': {'Hash': 'foo4'}}}, + ] + } + } + # same batch sent twice since all failed on first try + # and flush_items = 2 + self.assert_batch_write_calls_are([batch, batch]) + # test that the next two items get sent + self.batch_writer.delete_item({'Hash': 'foo4'}) + self.assert_batch_write_calls_are([batch, batch, final_batch]) + # the buffer should be empty now + self.assertEqual(self.batch_writer._items_buffer, [])