Merge pull request #314353 from fabaff/types-aiobotocore-bump

python312Packages.types-aiobotocore-*: 2.11.2 -> 2.13.0, python312Packages.types-aiobotocore: 2.12.3 -> 2.13.0
This commit is contained in:
Fabian Affolter 2024-05-25 09:03:37 +02:00 committed by GitHub
commit e5b03493ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 789 additions and 768 deletions

View File

@ -1,16 +1,15 @@
{
lib,
aiobotocore,
botocore-stubs,
botocore,
buildPythonPackage,
fetchPypi,
setuptools,
botocore-stubs,
typing-extensions,
types-aiobotocore-accessanalyzer,
types-aiobotocore-account,
types-aiobotocore-acm,
types-aiobotocore-acm-pca,
aiobotocore,
botocore,
types-aiobotocore-acm,
types-aiobotocore-alexaforbusiness,
types-aiobotocore-amp,
types-aiobotocore-amplify,
@ -34,22 +33,22 @@
types-aiobotocore-arc-zonal-shift,
types-aiobotocore-athena,
types-aiobotocore-auditmanager,
types-aiobotocore-autoscaling,
types-aiobotocore-autoscaling-plans,
types-aiobotocore-backup,
types-aiobotocore-autoscaling,
types-aiobotocore-backup-gateway,
types-aiobotocore-backup,
types-aiobotocore-backupstorage,
types-aiobotocore-batch,
types-aiobotocore-billingconductor,
types-aiobotocore-braket,
types-aiobotocore-budgets,
types-aiobotocore-ce,
types-aiobotocore-chime,
types-aiobotocore-chime-sdk-identity,
types-aiobotocore-chime-sdk-media-pipelines,
types-aiobotocore-chime-sdk-meetings,
types-aiobotocore-chime-sdk-messaging,
types-aiobotocore-chime-sdk-voice,
types-aiobotocore-chime,
types-aiobotocore-cleanrooms,
types-aiobotocore-cloud9,
types-aiobotocore-cloudcontrol,
@ -60,8 +59,8 @@
types-aiobotocore-cloudhsmv2,
types-aiobotocore-cloudsearch,
types-aiobotocore-cloudsearchdomain,
types-aiobotocore-cloudtrail,
types-aiobotocore-cloudtrail-data,
types-aiobotocore-cloudtrail,
types-aiobotocore-cloudwatch,
types-aiobotocore-codeartifact,
types-aiobotocore-codebuild,
@ -72,9 +71,9 @@
types-aiobotocore-codeguru-security,
types-aiobotocore-codeguruprofiler,
types-aiobotocore-codepipeline,
types-aiobotocore-codestar,
types-aiobotocore-codestar-connections,
types-aiobotocore-codestar-notifications,
types-aiobotocore-codestar,
types-aiobotocore-cognito-identity,
types-aiobotocore-cognito-idp,
types-aiobotocore-cognito-sync,
@ -82,8 +81,8 @@
types-aiobotocore-comprehendmedical,
types-aiobotocore-compute-optimizer,
types-aiobotocore-config,
types-aiobotocore-connect,
types-aiobotocore-connect-contact-lens,
types-aiobotocore-connect,
types-aiobotocore-connectcampaigns,
types-aiobotocore-connectcases,
types-aiobotocore-connectparticipant,
@ -102,17 +101,17 @@
types-aiobotocore-discovery,
types-aiobotocore-dlm,
types-aiobotocore-dms,
types-aiobotocore-docdb,
types-aiobotocore-docdb-elastic,
types-aiobotocore-docdb,
types-aiobotocore-drs,
types-aiobotocore-ds,
types-aiobotocore-dynamodb,
types-aiobotocore-dynamodbstreams,
types-aiobotocore-ebs,
types-aiobotocore-ec2,
types-aiobotocore-ec2-instance-connect,
types-aiobotocore-ecr,
types-aiobotocore-ec2,
types-aiobotocore-ecr-public,
types-aiobotocore-ecr,
types-aiobotocore-ecs,
types-aiobotocore-efs,
types-aiobotocore-eks,
@ -122,15 +121,15 @@
types-aiobotocore-elastictranscoder,
types-aiobotocore-elb,
types-aiobotocore-elbv2,
types-aiobotocore-emr,
types-aiobotocore-emr-containers,
types-aiobotocore-emr-serverless,
types-aiobotocore-emr,
types-aiobotocore-entityresolution,
types-aiobotocore-es,
types-aiobotocore-events,
types-aiobotocore-evidently,
types-aiobotocore-finspace,
types-aiobotocore-finspace-data,
types-aiobotocore-finspace,
types-aiobotocore-firehose,
types-aiobotocore-fis,
types-aiobotocore-fms,
@ -158,16 +157,16 @@
types-aiobotocore-inspector,
types-aiobotocore-inspector2,
types-aiobotocore-internetmonitor,
types-aiobotocore-iot,
types-aiobotocore-iot-data,
types-aiobotocore-iot-jobs-data,
types-aiobotocore-iot-roborunner,
types-aiobotocore-iot,
types-aiobotocore-iot1click-devices,
types-aiobotocore-iot1click-projects,
types-aiobotocore-iotanalytics,
types-aiobotocore-iotdeviceadvisor,
types-aiobotocore-iotevents,
types-aiobotocore-iotevents-data,
types-aiobotocore-iotevents,
types-aiobotocore-iotfleethub,
types-aiobotocore-iotfleetwise,
types-aiobotocore-iotsecuretunneling,
@ -175,19 +174,19 @@
types-aiobotocore-iotthingsgraph,
types-aiobotocore-iottwinmaker,
types-aiobotocore-iotwireless,
types-aiobotocore-ivs,
types-aiobotocore-ivs-realtime,
types-aiobotocore-ivs,
types-aiobotocore-ivschat,
types-aiobotocore-kafka,
types-aiobotocore-kafkaconnect,
types-aiobotocore-kendra,
types-aiobotocore-kendra-ranking,
types-aiobotocore-kendra,
types-aiobotocore-keyspaces,
types-aiobotocore-kinesis,
types-aiobotocore-kinesis-video-archived-media,
types-aiobotocore-kinesis-video-media,
types-aiobotocore-kinesis-video-signaling,
types-aiobotocore-kinesis-video-webrtc-storage,
types-aiobotocore-kinesis,
types-aiobotocore-kinesisanalytics,
types-aiobotocore-kinesisanalyticsv2,
types-aiobotocore-kinesisvideo,
@ -198,9 +197,9 @@
types-aiobotocore-lex-runtime,
types-aiobotocore-lexv2-models,
types-aiobotocore-lexv2-runtime,
types-aiobotocore-license-manager,
types-aiobotocore-license-manager-linux-subscriptions,
types-aiobotocore-license-manager-user-subscriptions,
types-aiobotocore-license-manager,
types-aiobotocore-lightsail,
types-aiobotocore-location,
types-aiobotocore-logs,
@ -211,19 +210,19 @@
types-aiobotocore-machinelearning,
types-aiobotocore-macie,
types-aiobotocore-macie2,
types-aiobotocore-managedblockchain,
types-aiobotocore-managedblockchain-query,
types-aiobotocore-managedblockchain,
types-aiobotocore-marketplace-catalog,
types-aiobotocore-marketplace-entitlement,
types-aiobotocore-marketplacecommerceanalytics,
types-aiobotocore-mediaconnect,
types-aiobotocore-mediaconvert,
types-aiobotocore-medialive,
types-aiobotocore-mediapackage,
types-aiobotocore-mediapackage-vod,
types-aiobotocore-mediapackage,
types-aiobotocore-mediapackagev2,
types-aiobotocore-mediastore,
types-aiobotocore-mediastore-data,
types-aiobotocore-mediastore,
types-aiobotocore-mediatailor,
types-aiobotocore-medical-imaging,
types-aiobotocore-memorydb,
@ -252,31 +251,31 @@
types-aiobotocore-osis,
types-aiobotocore-outposts,
types-aiobotocore-panorama,
types-aiobotocore-payment-cryptography,
types-aiobotocore-payment-cryptography-data,
types-aiobotocore-personalize,
types-aiobotocore-payment-cryptography,
types-aiobotocore-personalize-events,
types-aiobotocore-personalize-runtime,
types-aiobotocore-personalize,
types-aiobotocore-pi,
types-aiobotocore-pinpoint,
types-aiobotocore-pinpoint-email,
types-aiobotocore-pinpoint-sms-voice,
types-aiobotocore-pinpoint-sms-voice-v2,
types-aiobotocore-pinpoint-sms-voice,
types-aiobotocore-pinpoint,
types-aiobotocore-pipes,
types-aiobotocore-polly,
types-aiobotocore-pricing,
types-aiobotocore-privatenetworks,
types-aiobotocore-proton,
types-aiobotocore-qldb,
types-aiobotocore-qldb-session,
types-aiobotocore-qldb,
types-aiobotocore-quicksight,
types-aiobotocore-ram,
types-aiobotocore-rbin,
types-aiobotocore-rds,
types-aiobotocore-rds-data,
types-aiobotocore-redshift,
types-aiobotocore-rds,
types-aiobotocore-redshift-data,
types-aiobotocore-redshift-serverless,
types-aiobotocore-redshift,
types-aiobotocore-rekognition,
types-aiobotocore-resiliencehub,
types-aiobotocore-resource-explorer-2,
@ -284,23 +283,23 @@
types-aiobotocore-resourcegroupstaggingapi,
types-aiobotocore-robomaker,
types-aiobotocore-rolesanywhere,
types-aiobotocore-route53,
types-aiobotocore-route53-recovery-cluster,
types-aiobotocore-route53-recovery-control-config,
types-aiobotocore-route53-recovery-readiness,
types-aiobotocore-route53,
types-aiobotocore-route53domains,
types-aiobotocore-route53resolver,
types-aiobotocore-rum,
types-aiobotocore-s3,
types-aiobotocore-s3control,
types-aiobotocore-s3outposts,
types-aiobotocore-sagemaker,
types-aiobotocore-sagemaker-a2i-runtime,
types-aiobotocore-sagemaker-edge,
types-aiobotocore-sagemaker-featurestore-runtime,
types-aiobotocore-sagemaker-geospatial,
types-aiobotocore-sagemaker-metrics,
types-aiobotocore-sagemaker-runtime,
types-aiobotocore-sagemaker,
types-aiobotocore-savingsplans,
types-aiobotocore-scheduler,
types-aiobotocore-schemas,
@ -310,32 +309,32 @@
types-aiobotocore-securitylake,
types-aiobotocore-serverlessrepo,
types-aiobotocore-service-quotas,
types-aiobotocore-servicecatalog,
types-aiobotocore-servicecatalog-appregistry,
types-aiobotocore-servicecatalog,
types-aiobotocore-servicediscovery,
types-aiobotocore-ses,
types-aiobotocore-sesv2,
types-aiobotocore-shield,
types-aiobotocore-signer,
types-aiobotocore-simspaceweaver,
types-aiobotocore-sms,
types-aiobotocore-sms-voice,
types-aiobotocore-sms,
types-aiobotocore-snow-device-management,
types-aiobotocore-snowball,
types-aiobotocore-sns,
types-aiobotocore-sqs,
types-aiobotocore-ssm,
types-aiobotocore-ssm-contacts,
types-aiobotocore-ssm-incidents,
types-aiobotocore-ssm-sap,
types-aiobotocore-sso,
types-aiobotocore-ssm,
types-aiobotocore-sso-admin,
types-aiobotocore-sso-oidc,
types-aiobotocore-sso,
types-aiobotocore-stepfunctions,
types-aiobotocore-storagegateway,
types-aiobotocore-sts,
types-aiobotocore-support,
types-aiobotocore-support-app,
types-aiobotocore-support,
types-aiobotocore-swf,
types-aiobotocore-synthetics,
types-aiobotocore-textract,
@ -348,8 +347,8 @@
types-aiobotocore-verifiedpermissions,
types-aiobotocore-voice-id,
types-aiobotocore-vpc-lattice,
types-aiobotocore-waf,
types-aiobotocore-waf-regional,
types-aiobotocore-waf,
types-aiobotocore-wafv2,
types-aiobotocore-wellarchitected,
types-aiobotocore-wisdom,
@ -357,19 +356,21 @@
types-aiobotocore-worklink,
types-aiobotocore-workmail,
types-aiobotocore-workmailmessageflow,
types-aiobotocore-workspaces,
types-aiobotocore-workspaces-web,
types-aiobotocore-workspaces,
types-aiobotocore-xray,
typing-extensions,
}:
buildPythonPackage rec {
pname = "types-aiobotocore";
version = "2.12.3";
version = "2.13.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-h1dg3vgjPBYErgj8UKEcckCQuzGZr+VfhAuBS1biJ/M=";
pname = "types_aiobotocore";
inherit version;
hash = "sha256-CDDY60I1eMMIChOCvbSQi7ZsKSo0mlOccNlvjypq3+U=";
};
build-system = [ setuptools ];

View File

@ -1,15 +1,17 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p nix-update nixpkgs-fmt
#!nix-shell -i bash -p nix-update nixfmt curl jq
set -eu -o pipefail
source_file=pkgs/development/python-modules/types-aiobotocore-packages/default.nix
version="2.12.3"
#nix-update python312Packages.types-aiobotocore --commit --build
packages=(
types-aiobotocore-accessanalyzer
types-aiobotocore-account
types-aiobotocore-acm
types-aiobotocore-acm-pca
types-aiobotocore-alexaforbusiness
types-aiobotocore-amp
types-aiobotocore-amplify
@ -138,6 +140,7 @@ packages=(
types-aiobotocore-frauddetector
types-aiobotocore-fsx
types-aiobotocore-gamelift
# types-aiobotocore-gamesparks Obsolete, will be removed soon
types-aiobotocore-glacier
types-aiobotocore-globalaccelerator
types-aiobotocore-glue
@ -159,7 +162,7 @@ packages=(
types-aiobotocore-iot
types-aiobotocore-iot-data
types-aiobotocore-iot-jobs-data
types-aiobotocore-iot-roborunner
# types-aiobotocore-iot-roborunner Obsolete, will be removed soon
types-aiobotocore-iot1click-devices
types-aiobotocore-iot1click-projects
types-aiobotocore-iotanalytics
@ -207,6 +210,7 @@ packages=(
types-aiobotocore-lookoutvision
types-aiobotocore-m2
types-aiobotocore-machinelearning
# types-aiobotocore-macie Obsolete, will be removed soon
types-aiobotocore-macie2
types-aiobotocore-managedblockchain
types-aiobotocore-managedblockchain-query
@ -359,21 +363,34 @@ packages=(
types-aiobotocore-xray
)
for package in "${packages[@]}"; do
echo "Updating ${package}"
version=$(curl -s https://pypi.org/pypi/types-aiobotocore/json | jq -r '.info.version')
echo "All types-aiobotocore-* packages will be updated to ${version}"
url="https://pypi.io/packages/source/t/${package}/${package}-${version}.tar.gz"
for package in "${packages[@]}"; do
echo "Updating ${package} ..."
url="https://pypi.io/packages/source/t/${package}/${package//-/_}-${version}.tar.gz"
hash=$(nix-prefetch-url --type sha256 $url)
sri_hash="$(nix hash to-sri --type sha256 $hash)"
package_short="${package#types-aiobotocore-}"
awk -i inplace -v package="$package" -v new_version="$version" -v new_sha256="$sri_hash" '
$1 == package {
$5 = "\"" new_version "\"";
$6 = "\"" new_sha256 "\";";
}
{print}
' $source_file
awk -i inplace -v pkg="$package" -v pkg_short="$package_short" -v ver="$version" -v hash="$sri_hash" '
{
# If the line contains the package name
if ($0 ~ "^\\s*" pkg "\\s*=") {
print $0
inside_block = 1
} else if (inside_block && $0 ~ "buildTypesAiobotocorePackage") {
print " buildTypesAiobotocorePackage \"" "" pkg_short "\" \"" ver "\""
} else if (inside_block && $0 ~ "sha256-") {
print " \"" hash "\";"
inside_block = 0
} else {
# Preserve blank lines to honor nixfmt
print $0
}
}' ${source_file}
done
nixpkgs-fmt ${source_file}
nixfmt ${source_file}