openSUSE Commits
Threads by month
- ----- 2025 -----
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
April 2022
- 1 participants
- 2538 discussions
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-04-30 15:08:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-boto3 (Old)
and /work/SRC/openSUSE:Factory/.python-boto3.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-boto3"
Sat Apr 30 15:08:05 2022 rev:67 rq:973109 version:1.22.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-boto3/python-boto3.changes 2022-04-05 19:56:07.973779060 +0200
+++ /work/SRC/openSUSE:Factory/.python-boto3.new.1538/python-boto3.changes 2022-04-30 15:08:06.584402518 +0200
@@ -1,0 +2,187 @@
+Wed Apr 27 11:05:24 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaubitz(a)suse.com>
+
+- Update to version 1.22.1
+ * api-change:``lightsail``: [``botocore``] This release adds support for Lightsail load balancer
+ HTTP to HTTPS redirect and TLS policy configuration.
+ * api-change:``sagemaker``: [``botocore``] SageMaker Inference Recommender now accepts customer KMS
+ key ID for encryption of endpoints and compilation outputs created during inference recommendation.
+ * api-change:``pricing``: [``botocore``] Documentation updates for Price List API
+ * api-change:``glue``: [``botocore``] This release adds documentation for the APIs to create, read,
+ delete, list, and batch read of AWS Glue custom patterns, and for Lake Formation configuration
+ settings in the AWS Glue crawler.
+ * api-change:``cloudfront``: [``botocore``] CloudFront now supports the Server-Timing header in
+ HTTP responses sent from CloudFront. You can use this header to view metrics that help you gain
+ insights about the behavior and performance of CloudFront. To use this header, enable it in a
+ response headers policy.
+ * api-change:``ivschat``: [``botocore``] Adds new APIs for IVS Chat, a feature for building
+ interactive chat experiences alongside an IVS broadcast.
+ * api-change:``network-firewall``: [``botocore``] AWS Network Firewall now enables customers to use
+ a customer managed AWS KMS key for the encryption of their firewall resources.
+- from version 1.22.0
+ * api-change:``gamelift``: [``botocore``] Documentation updates for Amazon GameLift.
+ * api-change:``mq``: [``botocore``] This release adds the CRITICAL_ACTION_REQUIRED broker state and
+ the ActionRequired API property. CRITICAL_ACTION_REQUIRED informs you when your broker is degraded.
+ ActionRequired provides you with a code which you can use to find instructions in the Developer
+ Guide on how to resolve the issue.
+ * feature:IMDS: [``botocore``] Added resiliency mechanisms to IMDS Credential Fetcher
+ * api-change:``securityhub``: [``botocore``] Security Hub now lets you opt-out of auto-enabling the
+ defaults standards (CIS and FSBP) in accounts that are auto-enabled with Security Hub via Security
+ Hub's integration with AWS Organizations.
+ * api-change:``connect``: [``botocore``] This release adds SearchUsers API which can be used to
+ search for users with a Connect Instance
+ * api-change:``rds-data``: [``botocore``] Support to receive SQL query results in the form of a
+ simplified JSON string. This enables developers using the new JSON string format to more easily
+ convert it to an object using popular JSON string parsing libraries.
+- from version 1.21.46
+ * api-change:``chime-sdk-meetings``: [``botocore``] Include additional exceptions types.
+ * api-change:``ec2``: [``botocore``] Adds support for waiters that automatically poll for a deleted
+ NAT Gateway until it reaches the deleted state.
+- from version 1.21.45
+ * api-change:``wisdom``: [``botocore``] This release updates the GetRecommendations API to include
+ a trigger event list for classifying and grouping recommendations.
+ * api-change:``elasticache``: [``botocore``] Doc only update for ElastiCache
+ * api-change:``iottwinmaker``: [``botocore``] General availability (GA) for AWS IoT TwinMaker. For
+ more information, see https://docs.aws.amazon.com/iot-twinmaker/latest/apireference/Welcome.html
+ * api-change:``secretsmanager``: [``botocore``] Documentation updates for Secrets Manager
+ * api-change:``mediatailor``: [``botocore``] This release introduces tiered channels and adds
+ support for live sources. Customers using a STANDARD channel can now create programs using live
+ sources.
+ * api-change:``storagegateway``: [``botocore``] This release adds support for minimum of 5
+ character length virtual tape barcodes.
+ * api-change:``lookoutmetrics``: [``botocore``] Added DetectMetricSetConfig API for detecting
+ configuration required for creating metric set from provided S3 data source.
+ * api-change:``iotsitewise``: [``botocore``] This release adds 3 new batch data query APIs :
+ BatchGetAssetPropertyValue, BatchGetAssetPropertyValueHistory and BatchGetAssetPropertyAggregates
+ * api-change:``glue``: [``botocore``] This release adds APIs to create, read, delete, list, and
+ batch read of Glue custom entity types
+- from version 1.21.44
+ * api-change:``macie2``: [``botocore``] Sensitive data findings in Amazon Macie now indicate how
+ Macie found the sensitive data that produced a finding (originType).
+ * api-change:``rds``: [``botocore``] Added a new cluster-level attribute to set the capacity range
+ for Aurora Serverless v2 instances.
+ * api-change:``mgn``: [``botocore``] Removed required annotation from input fields in Describe
+ operations requests. Added quotaValue to ServiceQuotaExceededException
+ * api-change:``connect``: [``botocore``] This release adds APIs to search, claim, release, list,
+ update, and describe phone numbers. You can also use them to associate and disassociate contact
+ flows to phone numbers.
+- from version 1.21.43
+ * api-change:``textract``: [``botocore``] This release adds support for specifying and extracting
+ information from documents using the Queries feature within Analyze Document API
+ * api-change:``worklink``: [``botocore``] Amazon WorkLink is no longer supported. This will be
+ removed in a future version of the SDK.
+ * api-change:``ssm``: [``botocore``] Added offset support for specifying the number of days to wait
+ after the date and time specified by a CRON expression when creating SSM association.
+ * api-change:``autoscaling``: [``botocore``] EC2 Auto Scaling now adds default instance warm-up
+ times for all scaling activities, health check replacements, and other replacement events in the
+ Auto Scaling instance lifecycle.
+ * api-change:``personalize``: [``botocore``] Adding StartRecommender and StopRecommender APIs for
+ Personalize.
+ * api-change:``kendra``: [``botocore``] Amazon Kendra now provides a data source connector for
+ Quip. For more information, see https://docs.aws.amazon.com/kendra/latest/dg/data-source-quip.html
+ * api-change:``polly``: [``botocore``] Amazon Polly adds new Austrian German voice - Hannah. Hannah
+ is available as Neural voice only.
+ * api-change:``transfer``: [``botocore``] This release contains corrected HomeDirectoryMappings
+ examples for several API functions: CreateAccess, UpdateAccess, CreateUser, and UpdateUser,.
+ * api-change:``kms``: [``botocore``] Adds support for KMS keys and APIs that generate and verify
+ HMAC codes
+ * api-change:``redshift``: [``botocore``] Introduces new fields for LogDestinationType and
+ LogExports on EnableLogging requests and Enable/Disable/DescribeLogging responses. Customers can
+ now select CloudWatch Logs as a destination for their Audit Logs.
+- from version 1.21.42
+ * api-change:``lightsail``: [``botocore``] This release adds support to describe the
+ synchronization status of the account-level block public access feature for your Amazon Lightsail
+ buckets.
+ * api-change:``rds``: [``botocore``] Removes Amazon RDS on VMware with the deletion of APIs related
+ to Custom Availability Zones and Media installation
+ * api-change:``athena``: [``botocore``] This release adds subfields, ErrorMessage, Retryable, to
+ the AthenaError response object in the GetQueryExecution API when a query fails.
+- from version 1.21.41
+ * api-change:``batch``: [``botocore``] Enables configuration updates for compute environments with
+ BEST_FIT_PROGRESSIVE and SPOT_CAPACITY_OPTIMIZED allocation strategies.
+ * api-change:``ec2``: [``botocore``] Documentation updates for Amazon EC2.
+ * api-change:``cloudwatch``: [``botocore``] Update cloudwatch client to latest version
+ * api-change:``appstream``: [``botocore``] Includes updates for create and update fleet APIs to
+ manage the session scripts locations for Elastic fleets.
+ * api-change:``glue``: [``botocore``] Auto Scaling for Glue version 3.0 and later jobs to
+ dynamically scale compute resources. This SDK change provides customers with the auto-scaled DPU
+ usage
+ * api-change:``appflow``: [``botocore``] Enables users to pass custom token URL parameters for
+ Oauth2 authentication during create connector profile
+- from version 1.21.40
+ * api-change:``cloudwatch``: [``botocore``] Update cloudwatch client to latest version
+ * api-change:``fsx``: [``botocore``] This release adds support for deploying FSx for ONTAP file
+ systems in a single Availability Zone.
+- from version 1.21.39
+ * api-change:``ec2``: [``botocore``] X2idn and X2iedn instances are powered by 3rd generation Intel
+ Xeon Scalable processors with an all-core turbo frequency up to 3.5 GHzAmazon EC2. C6a instances
+ are powered by 3rd generation AMD EPYC processors.
+ * api-change:``devops-guru``: [``botocore``] This release adds new APIs DeleteInsight to deletes
+ the insight along with the associated anomalies, events and recommendations.
+ * api-change:``efs``: [``botocore``] Update efs client to latest version
+ * api-change:``iottwinmaker``: [``botocore``] This release adds the following new features: 1)
+ ListEntities API now supports search using ExternalId. 2) BatchPutPropertyValue and
+ GetPropertyValueHistory API now allows users to represent time in sub-second level precisions.
+- from version 1.21.38
+ * api-change:``amplifyuibuilder``: [``botocore``] In this release, we have added the ability to
+ bind events to component level actions.
+ * api-change:``apprunner``: [``botocore``] This release adds tracing for App Runner services with
+ X-Ray using AWS Distro for OpenTelemetry. New APIs: CreateObservabilityConfiguration,
+ DescribeObservabilityConfiguration, ListObservabilityConfigurations, and
+ DeleteObservabilityConfiguration. Updated APIs: CreateService and UpdateService.
+ * api-change:``workspaces``: [``botocore``] Added API support that allows customers to create
+ GPU-enabled WorkSpaces using EC2 G4dn instances.
+- from version 1.21.37
+ * api-change:``mediaconvert``: [``botocore``] AWS Elemental MediaConvert SDK has added support for
+ the pass-through of WebVTT styling to WebVTT outputs, pass-through of KLV metadata to supported
+ formats, and improved filter support for processing 444/RGB content.
+ * api-change:``wafv2``: [``botocore``] Add a new CurrentDefaultVersion field to
+ ListAvailableManagedRuleGroupVersions API response; add a new VersioningSupported boolean to each
+ ManagedRuleGroup returned from ListAvailableManagedRuleGroups API response.
+ * api-change:``mediapackage-vod``: [``botocore``] This release adds ScteMarkersSource as an
+ available field for Dash Packaging Configurations. When set to MANIFEST, MediaPackage will source
+ the SCTE-35 markers from the manifest. When set to SEGMENTS, MediaPackage will source the SCTE-35
+ markers from the segments.
+- from version 1.21.36
+ * api-change:``apigateway``: [``botocore``] ApiGateway CLI command get-usage now includes
+ usagePlanId, startDate, and endDate fields in the output to match documentation.
+ * api-change:``personalize``: [``botocore``] This release provides tagging support in AWS
+ Personalize.
+ * api-change:``pi``: [``botocore``] Adds support for DocumentDB to the Performance Insights API.
+ * api-change:``events``: [``botocore``] Update events client to latest version
+ * api-change:``docdb``: [``botocore``] Added support to enable/disable performance insights when
+ creating or modifying db instances
+ * api-change:``sagemaker``: [``botocore``] Amazon Sagemaker Notebook Instances now supports G5
+ instance types
+- from version 1.21.35
+ * bugfix:Proxy: [``botocore``] Fix failure case for IP proxy addresses using TLS-in-TLS.
+ `boto/botocore#2652 <https://github.com/boto/botocore/pull/2652>`__
+ * api-change:``config``: [``botocore``] Add resourceType enums for AWS::EMR::SecurityConfiguration
+ and AWS::SageMaker::CodeRepository
+ * api-change:``panorama``: [``botocore``] Added Brand field to device listings.
+ * api-change:``lambda``: [``botocore``] This release adds new APIs for creating and managing Lambda
+ Function URLs and adds a new FunctionUrlAuthType parameter to the AddPermission API. Customers can
+ use Function URLs to create built-in HTTPS endpoints on their functions.
+ * api-change:``kendra``: [``botocore``] Amazon Kendra now provides a data source connector for Box.
+ For more information, see https://docs.aws.amazon.com/kendra/latest/dg/data-source-box.html
+- from version 1.21.34
+ * api-change:``securityhub``: [``botocore``] Added additional ASFF details for RdsSecurityGroup
+ AutoScalingGroup, ElbLoadBalancer, CodeBuildProject and RedshiftCluster.
+ * api-change:``fsx``: [``botocore``] Provide customers more visibility into file system status by
+ adding new "Misconfigured Unavailable" status for Amazon FSx for Windows File Server.
+ * api-change:``s3control``: [``botocore``] Documentation-only update for doc bug fixes for the S3
+ Control API docs.
+ * api-change:``datasync``: [``botocore``] AWS DataSync now supports Amazon FSx for OpenZFS
+ locations.
+- from version 1.21.33
+ * api-change:``iot``: [``botocore``] AWS IoT - AWS IoT Device Defender adds support to list metric
+ datapoints collected for IoT devices through the ListMetricValues API
+ * api-change:``servicecatalog``: [``botocore``] This release adds ProvisioningArtifictOutputKeys to
+ DescribeProvisioningParameters to reference the outputs of a Provisioned Product and deprecates
+ ProvisioningArtifactOutputs.
+ * api-change:``sms``: [``botocore``] Revised product update notice for SMS console deprecation.
+ * api-change:``proton``: [``botocore``] SDK release to support tagging for AWS Proton Repository
+ resource
+ * enhancement:AWSCRT: [``botocore``] Upgrade awscrt version to 0.13.8
+- Update BuildRequires and Requires from setup.py
+
+-------------------------------------------------------------------
Old:
----
1.21.32.tar.gz
New:
----
1.22.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-boto3.spec ++++++
--- /var/tmp/diff_new_pack.kPGs89/_old 2022-04-30 15:08:07.320403332 +0200
+++ /var/tmp/diff_new_pack.kPGs89/_new 2022-04-30 15:08:07.328403341 +0200
@@ -19,15 +19,15 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-boto3
-Version: 1.21.32
+Version: 1.22.1
Release: 0
Summary: Amazon Web Services Library
License: Apache-2.0
URL: https://github.com/boto/boto3
Source: https://github.com/boto/boto3/archive/%{version}.tar.gz
# Related test dependencies
-BuildRequires: %{python_module botocore < 1.25.0}
-BuildRequires: %{python_module botocore >= 1.24.32}
+BuildRequires: %{python_module botocore < 1.26.0}
+BuildRequires: %{python_module botocore >= 1.25.1}
BuildRequires: %{python_module pytest >= 6.2.5}
BuildRequires: %{python_module s3transfer < 0.6.0}
BuildRequires: %{python_module s3transfer >= 0.5.0}
@@ -35,8 +35,8 @@
BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-botocore < 1.25.0
-Requires: python-botocore >= 1.24.32
+Requires: python-botocore < 1.26.0
+Requires: python-botocore >= 1.25.1
Requires: python-jmespath < 1.0.0
Requires: python-jmespath >= 0.7.1
Requires: python-s3transfer < 0.6.0
++++++ 1.21.32.tar.gz -> 1.22.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.21.32/.changes/1.21.33.json new/boto3-1.22.1/.changes/1.21.33.json
--- old/boto3-1.21.32/.changes/1.21.33.json 1970-01-01 01:00:00.000000000 +0100
+++ new/boto3-1.22.1/.changes/1.21.33.json 2022-04-26 20:10:05.000000000 +0200
@@ -0,0 +1,27 @@
+[
+ {
+ "category": "``iot``",
+ "description": "[``botocore``] AWS IoT - AWS IoT Device Defender adds support to list metric datapoints collected for IoT devices through the ListMetricValues API",
+ "type": "api-change"
+ },
+ {
+ "category": "``servicecatalog``",
+ "description": "[``botocore``] This release adds ProvisioningArtifictOutputKeys to DescribeProvisioningParameters to reference the outputs of a Provisioned Product and deprecates ProvisioningArtifactOutputs.",
+ "type": "api-change"
+ },
+ {
+ "category": "``sms``",
+ "description": "[``botocore``] Revised product update notice for SMS console deprecation.",
+ "type": "api-change"
+ },
+ {
+ "category": "``proton``",
+ "description": "[``botocore``] SDK release to support tagging for AWS Proton Repository resource",
+ "type": "api-change"
+ },
+ {
+ "category": "AWSCRT",
+ "description": "[``botocore``] Upgrade awscrt version to 0.13.8",
+ "type": "enhancement"
+ }
+]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.21.32/.changes/1.21.34.json new/boto3-1.22.1/.changes/1.21.34.json
--- old/boto3-1.21.32/.changes/1.21.34.json 1970-01-01 01:00:00.000000000 +0100
+++ new/boto3-1.22.1/.changes/1.21.34.json 2022-04-26 20:10:05.000000000 +0200
@@ -0,0 +1,22 @@
+[
+ {
+ "category": "``securityhub``",
+ "description": "[``botocore``] Added additional ASFF details for RdsSecurityGroup AutoScalingGroup, ElbLoadBalancer, CodeBuildProject and RedshiftCluster.",
+ "type": "api-change"
+ },
+ {
+ "category": "``fsx``",
+ "description": "[``botocore``] Provide customers more visibility into file system status by adding new \"Misconfigured Unavailable\" status for Amazon FSx for Windows File Server.",
+ "type": "api-change"
+ },
+ {
+ "category": "``s3control``",
+ "description": "[``botocore``] Documentation-only update for doc bug fixes for the S3 Control API docs.",
+ "type": "api-change"
+ },
+ {
+ "category": "``datasync``",
+ "description": "[``botocore``] AWS DataSync now supports Amazon FSx for OpenZFS locations.",
+ "type": "api-change"
+ }
+]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.21.32/.changes/1.21.35.json new/boto3-1.22.1/.changes/1.21.35.json
--- old/boto3-1.21.32/.changes/1.21.35.json 1970-01-01 01:00:00.000000000 +0100
+++ new/boto3-1.22.1/.changes/1.21.35.json 2022-04-26 20:10:05.000000000 +0200
@@ -0,0 +1,27 @@
+[
+ {
+ "category": "Proxy",
+ "description": "[``botocore``] Fix failure case for IP proxy addresses using TLS-in-TLS. `boto/botocore#2652 <https://github.com/boto/botocore/pull/2652>`__",
+ "type": "bugfix"
+ },
+ {
+ "category": "``config``",
+ "description": "[``botocore``] Add resourceType enums for AWS::EMR::SecurityConfiguration and AWS::SageMaker::CodeRepository",
+ "type": "api-change"
+ },
+ {
+ "category": "``panorama``",
+ "description": "[``botocore``] Added Brand field to device listings.",
+ "type": "api-change"
+ },
+ {
+ "category": "``lambda``",
+ "description": "[``botocore``] This release adds new APIs for creating and managing Lambda Function URLs and adds a new FunctionUrlAuthType parameter to the AddPermission API. Customers can use Function URLs to create built-in HTTPS endpoints on their functions.",
+ "type": "api-change"
+ },
+ {
+ "category": "``kendra``",
+ "description": "[``botocore``] Amazon Kendra now provides a data source connector for Box. For more information, see https://docs.aws.amazon.com/kendra/latest/dg/data-source-box.html",
+ "type": "api-change"
+ }
+]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.21.32/.changes/1.21.36.json new/boto3-1.22.1/.changes/1.21.36.json
--- old/boto3-1.21.32/.changes/1.21.36.json 1970-01-01 01:00:00.000000000 +0100
+++ new/boto3-1.22.1/.changes/1.21.36.json 2022-04-26 20:10:05.000000000 +0200
@@ -0,0 +1,32 @@
+[
+ {
+ "category": "``apigateway``",
+ "description": "[``botocore``] ApiGateway CLI command get-usage now includes usagePlanId, startDate, and endDate fields in the output to match documentation.",
+ "type": "api-change"
+ },
+ {
+ "category": "``personalize``",
+ "description": "[``botocore``] This release provides tagging support in AWS Personalize.",
+ "type": "api-change"
+ },
+ {
+ "category": "``pi``",
+ "description": "[``botocore``] Adds support for DocumentDB to the Performance Insights API.",
+ "type": "api-change"
+ },
+ {
+ "category": "``events``",
+ "description": "[``botocore``] Update events client to latest version",
+ "type": "api-change"
+ },
+ {
+ "category": "``docdb``",
+ "description": "[``botocore``] Added support to enable/disable performance insights when creating or modifying db instances",
+ "type": "api-change"
+ },
+ {
+ "category": "``sagemaker``",
+ "description": "[``botocore``] Amazon Sagemaker Notebook Instances now supports G5 instance types",
+ "type": "api-change"
+ }
+]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.21.32/.changes/1.21.37.json new/boto3-1.22.1/.changes/1.21.37.json
--- old/boto3-1.21.32/.changes/1.21.37.json 1970-01-01 01:00:00.000000000 +0100
+++ new/boto3-1.22.1/.changes/1.21.37.json 2022-04-26 20:10:05.000000000 +0200
@@ -0,0 +1,17 @@
+[
+ {
+ "category": "``mediaconvert``",
+ "description": "[``botocore``] AWS Elemental MediaConvert SDK has added support for the pass-through of WebVTT styling to WebVTT outputs, pass-through of KLV metadata to supported formats, and improved filter support for processing 444/RGB content.",
+ "type": "api-change"
+ },
+ {
+ "category": "``wafv2``",
+ "description": "[``botocore``] Add a new CurrentDefaultVersion field to ListAvailableManagedRuleGroupVersions API response; add a new VersioningSupported boolean to each ManagedRuleGroup returned from ListAvailableManagedRuleGroups API response.",
+ "type": "api-change"
+ },
+ {
+ "category": "``mediapackage-vod``",
+ "description": "[``botocore``] This release adds ScteMarkersSource as an available field for Dash Packaging Configurations. When set to MANIFEST, MediaPackage will source the SCTE-35 markers from the manifest. When set to SEGMENTS, MediaPackage will source the SCTE-35 markers from the segments.",
+ "type": "api-change"
+ }
+]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.21.32/.changes/1.21.38.json new/boto3-1.22.1/.changes/1.21.38.json
--- old/boto3-1.21.32/.changes/1.21.38.json 1970-01-01 01:00:00.000000000 +0100
+++ new/boto3-1.22.1/.changes/1.21.38.json 2022-04-26 20:10:05.000000000 +0200
@@ -0,0 +1,17 @@
+[
+ {
+ "category": "``amplifyuibuilder``",
+ "description": "[``botocore``] In this release, we have added the ability to bind events to component level actions.",
+ "type": "api-change"
+ },
+ {
+ "category": "``apprunner``",
+ "description": "[``botocore``] This release adds tracing for App Runner services with X-Ray using AWS Distro for OpenTelemetry. New APIs: CreateObservabilityConfiguration, DescribeObservabilityConfiguration, ListObservabilityConfigurations, and DeleteObservabilityConfiguration. Updated APIs: CreateService and UpdateService.",
+ "type": "api-change"
+ },
+ {
+ "category": "``workspaces``",
+ "description": "[``botocore``] Added API support that allows customers to create GPU-enabled WorkSpaces using EC2 G4dn instances.",
+ "type": "api-change"
+ }
+]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.21.32/.changes/1.21.39.json new/boto3-1.22.1/.changes/1.21.39.json
--- old/boto3-1.21.32/.changes/1.21.39.json 1970-01-01 01:00:00.000000000 +0100
+++ new/boto3-1.22.1/.changes/1.21.39.json 2022-04-26 20:10:05.000000000 +0200
@@ -0,0 +1,22 @@
+[
+ {
+ "category": "``ec2``",
+ "description": "[``botocore``] X2idn and X2iedn instances are powered by 3rd generation Intel Xeon Scalable processors with an all-core turbo frequency up to 3.5 GHzAmazon EC2. C6a instances are powered by 3rd generation AMD EPYC processors.",
+ "type": "api-change"
+ },
+ {
+ "category": "``devops-guru``",
+ "description": "[``botocore``] This release adds new APIs DeleteInsight to deletes the insight along with the associated anomalies, events and recommendations.",
+ "type": "api-change"
+ },
+ {
+ "category": "``efs``",
+ "description": "[``botocore``] Update efs client to latest version",
+ "type": "api-change"
+ },
+ {
+ "category": "``iottwinmaker``",
+ "description": "[``botocore``] This release adds the following new features: 1) ListEntities API now supports search using ExternalId. 2) BatchPutPropertyValue and GetPropertyValueHistory API now allows users to represent time in sub-second level precisions.",
+ "type": "api-change"
+ }
+]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.21.32/.changes/1.21.40.json new/boto3-1.22.1/.changes/1.21.40.json
--- old/boto3-1.21.32/.changes/1.21.40.json 1970-01-01 01:00:00.000000000 +0100
+++ new/boto3-1.22.1/.changes/1.21.40.json 2022-04-26 20:10:05.000000000 +0200
@@ -0,0 +1,12 @@
+[
+ {
+ "category": "``cloudwatch``",
+ "description": "[``botocore``] Update cloudwatch client to latest version",
+ "type": "api-change"
+ },
+ {
+ "category": "``fsx``",
+ "description": "[``botocore``] This release adds support for deploying FSx for ONTAP file systems in a single Availability Zone.",
+ "type": "api-change"
+ }
+]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.21.32/.changes/1.21.41.json new/boto3-1.22.1/.changes/1.21.41.json
--- old/boto3-1.21.32/.changes/1.21.41.json 1970-01-01 01:00:00.000000000 +0100
+++ new/boto3-1.22.1/.changes/1.21.41.json 2022-04-26 20:10:05.000000000 +0200
@@ -0,0 +1,32 @@
+[
+ {
+ "category": "``batch``",
+ "description": "[``botocore``] Enables configuration updates for compute environments with BEST_FIT_PROGRESSIVE and SPOT_CAPACITY_OPTIMIZED allocation strategies.",
+ "type": "api-change"
+ },
+ {
+ "category": "``ec2``",
+ "description": "[``botocore``] Documentation updates for Amazon EC2.",
+ "type": "api-change"
+ },
+ {
+ "category": "``cloudwatch``",
+ "description": "[``botocore``] Update cloudwatch client to latest version",
+ "type": "api-change"
+ },
+ {
+ "category": "``appstream``",
+ "description": "[``botocore``] Includes updates for create and update fleet APIs to manage the session scripts locations for Elastic fleets.",
+ "type": "api-change"
+ },
+ {
+ "category": "``glue``",
+ "description": "[``botocore``] Auto Scaling for Glue version 3.0 and later jobs to dynamically scale compute resources. This SDK change provides customers with the auto-scaled DPU usage",
+ "type": "api-change"
+ },
+ {
+ "category": "``appflow``",
+ "description": "[``botocore``] Enables users to pass custom token URL parameters for Oauth2 authentication during create connector profile",
+ "type": "api-change"
+ }
+]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.21.32/.changes/1.21.42.json new/boto3-1.22.1/.changes/1.21.42.json
--- old/boto3-1.21.32/.changes/1.21.42.json 1970-01-01 01:00:00.000000000 +0100
+++ new/boto3-1.22.1/.changes/1.21.42.json 2022-04-26 20:10:05.000000000 +0200
@@ -0,0 +1,17 @@
+[
+ {
+ "category": "``lightsail``",
+ "description": "[``botocore``] This release adds support to describe the synchronization status of the account-level block public access feature for your Amazon Lightsail buckets.",
+ "type": "api-change"
+ },
+ {
+ "category": "``rds``",
+ "description": "[``botocore``] Removes Amazon RDS on VMware with the deletion of APIs related to Custom Availability Zones and Media installation",
+ "type": "api-change"
+ },
+ {
+ "category": "``athena``",
+ "description": "[``botocore``] This release adds subfields, ErrorMessage, Retryable, to the AthenaError response object in the GetQueryExecution API when a query fails.",
+ "type": "api-change"
+ }
+]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.21.32/.changes/1.21.43.json new/boto3-1.22.1/.changes/1.21.43.json
--- old/boto3-1.21.32/.changes/1.21.43.json 1970-01-01 01:00:00.000000000 +0100
+++ new/boto3-1.22.1/.changes/1.21.43.json 2022-04-26 20:10:05.000000000 +0200
@@ -0,0 +1,52 @@
+[
+ {
+ "category": "``textract``",
+ "description": "[``botocore``] This release adds support for specifying and extracting information from documents using the Queries feature within Analyze Document API",
+ "type": "api-change"
+ },
+ {
+ "category": "``worklink``",
+ "description": "[``botocore``] Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.",
+ "type": "api-change"
+ },
+ {
+ "category": "``ssm``",
+ "description": "[``botocore``] Added offset support for specifying the number of days to wait after the date and time specified by a CRON expression when creating SSM association.",
+ "type": "api-change"
+ },
+ {
+ "category": "``autoscaling``",
+ "description": "[``botocore``] EC2 Auto Scaling now adds default instance warm-up times for all scaling activities, health check replacements, and other replacement events in the Auto Scaling instance lifecycle.",
+ "type": "api-change"
+ },
+ {
+ "category": "``personalize``",
+ "description": "[``botocore``] Adding StartRecommender and StopRecommender APIs for Personalize.",
+ "type": "api-change"
+ },
+ {
+ "category": "``kendra``",
+ "description": "[``botocore``] Amazon Kendra now provides a data source connector for Quip. For more information, see https://docs.aws.amazon.com/kendra/latest/dg/data-source-quip.html",
+ "type": "api-change"
+ },
+ {
+ "category": "``polly``",
+ "description": "[``botocore``] Amazon Polly adds new Austrian German voice - Hannah. Hannah is available as Neural voice only.",
+ "type": "api-change"
+ },
+ {
+ "category": "``transfer``",
+ "description": "[``botocore``] This release contains corrected HomeDirectoryMappings examples for several API functions: CreateAccess, UpdateAccess, CreateUser, and UpdateUser,.",
+ "type": "api-change"
+ },
+ {
+ "category": "``kms``",
+ "description": "[``botocore``] Adds support for KMS keys and APIs that generate and verify HMAC codes",
+ "type": "api-change"
+ },
+ {
+ "category": "``redshift``",
+ "description": "[``botocore``] Introduces new fields for LogDestinationType and LogExports on EnableLogging requests and Enable/Disable/DescribeLogging responses. Customers can now select CloudWatch Logs as a destination for their Audit Logs.",
+ "type": "api-change"
+ }
+]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.21.32/.changes/1.21.44.json new/boto3-1.22.1/.changes/1.21.44.json
--- old/boto3-1.21.32/.changes/1.21.44.json 1970-01-01 01:00:00.000000000 +0100
+++ new/boto3-1.22.1/.changes/1.21.44.json 2022-04-26 20:10:05.000000000 +0200
@@ -0,0 +1,22 @@
+[
+ {
+ "category": "``macie2``",
+ "description": "[``botocore``] Sensitive data findings in Amazon Macie now indicate how Macie found the sensitive data that produced a finding (originType).",
+ "type": "api-change"
+ },
+ {
+ "category": "``rds``",
+ "description": "[``botocore``] Added a new cluster-level attribute to set the capacity range for Aurora Serverless v2 instances.",
+ "type": "api-change"
+ },
+ {
+ "category": "``mgn``",
+ "description": "[``botocore``] Removed required annotation from input fields in Describe operations requests. Added quotaValue to ServiceQuotaExceededException",
+ "type": "api-change"
+ },
+ {
+ "category": "``connect``",
+ "description": "[``botocore``] This release adds APIs to search, claim, release, list, update, and describe phone numbers. You can also use them to associate and disassociate contact flows to phone numbers.",
+ "type": "api-change"
+ }
+]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.21.32/.changes/1.21.45.json new/boto3-1.22.1/.changes/1.21.45.json
--- old/boto3-1.21.32/.changes/1.21.45.json 1970-01-01 01:00:00.000000000 +0100
+++ new/boto3-1.22.1/.changes/1.21.45.json 2022-04-26 20:10:05.000000000 +0200
@@ -0,0 +1,47 @@
+[
+ {
+ "category": "``wisdom``",
+ "description": "[``botocore``] This release updates the GetRecommendations API to include a trigger event list for classifying and grouping recommendations.",
+ "type": "api-change"
+ },
+ {
+ "category": "``elasticache``",
+ "description": "[``botocore``] Doc only update for ElastiCache",
+ "type": "api-change"
+ },
+ {
+ "category": "``iottwinmaker``",
+ "description": "[``botocore``] General availability (GA) for AWS IoT TwinMaker. For more information, see https://docs.aws.amazon.com/iot-twinmaker/latest/apireference/Welcome.html",
+ "type": "api-change"
+ },
+ {
+ "category": "``secretsmanager``",
+ "description": "[``botocore``] Documentation updates for Secrets Manager",
+ "type": "api-change"
+ },
+ {
+ "category": "``mediatailor``",
+ "description": "[``botocore``] This release introduces tiered channels and adds support for live sources. Customers using a STANDARD channel can now create programs using live sources.",
+ "type": "api-change"
+ },
+ {
+ "category": "``storagegateway``",
+ "description": "[``botocore``] This release adds support for minimum of 5 character length virtual tape barcodes.",
+ "type": "api-change"
+ },
+ {
+ "category": "``lookoutmetrics``",
+ "description": "[``botocore``] Added DetectMetricSetConfig API for detecting configuration required for creating metric set from provided S3 data source.",
+ "type": "api-change"
+ },
+ {
+ "category": "``iotsitewise``",
+ "description": "[``botocore``] This release adds 3 new batch data query APIs : BatchGetAssetPropertyValue, BatchGetAssetPropertyValueHistory and BatchGetAssetPropertyAggregates",
+ "type": "api-change"
+ },
+ {
+ "category": "``glue``",
+ "description": "[``botocore``] This release adds APIs to create, read, delete, list, and batch read of Glue custom entity types",
+ "type": "api-change"
+ }
+]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.21.32/.changes/1.21.46.json new/boto3-1.22.1/.changes/1.21.46.json
--- old/boto3-1.21.32/.changes/1.21.46.json 1970-01-01 01:00:00.000000000 +0100
+++ new/boto3-1.22.1/.changes/1.21.46.json 2022-04-26 20:10:05.000000000 +0200
@@ -0,0 +1,12 @@
+[
+ {
+ "category": "``chime-sdk-meetings``",
+ "description": "[``botocore``] Include additional exceptions types.",
+ "type": "api-change"
+ },
+ {
+ "category": "``ec2``",
+ "description": "[``botocore``] Adds support for waiters that automatically poll for a deleted NAT Gateway until it reaches the deleted state.",
+ "type": "api-change"
+ }
+]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.21.32/.changes/1.22.0.json new/boto3-1.22.1/.changes/1.22.0.json
--- old/boto3-1.21.32/.changes/1.22.0.json 1970-01-01 01:00:00.000000000 +0100
+++ new/boto3-1.22.1/.changes/1.22.0.json 2022-04-26 20:10:05.000000000 +0200
@@ -0,0 +1,32 @@
+[
+ {
+ "category": "``gamelift``",
+ "description": "[``botocore``] Documentation updates for Amazon GameLift.",
+ "type": "api-change"
+ },
+ {
+ "category": "``mq``",
+ "description": "[``botocore``] This release adds the CRITICAL_ACTION_REQUIRED broker state and the ActionRequired API property. CRITICAL_ACTION_REQUIRED informs you when your broker is degraded. ActionRequired provides you with a code which you can use to find instructions in the Developer Guide on how to resolve the issue.",
+ "type": "api-change"
+ },
+ {
+ "category": "IMDS",
+ "description": "[``botocore``] Added resiliency mechanisms to IMDS Credential Fetcher",
+ "type": "feature"
+ },
+ {
+ "category": "``securityhub``",
+ "description": "[``botocore``] Security Hub now lets you opt-out of auto-enabling the defaults standards (CIS and FSBP) in accounts that are auto-enabled with Security Hub via Security Hub's integration with AWS Organizations.",
+ "type": "api-change"
+ },
+ {
+ "category": "``connect``",
+ "description": "[``botocore``] This release adds SearchUsers API which can be used to search for users with a Connect Instance",
+ "type": "api-change"
+ },
+ {
+ "category": "``rds-data``",
+ "description": "[``botocore``] Support to receive SQL query results in the form of a simplified JSON string. This enables developers using the new JSON string format to more easily convert it to an object using popular JSON string parsing libraries.",
+ "type": "api-change"
+ }
+]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.21.32/.changes/1.22.1.json new/boto3-1.22.1/.changes/1.22.1.json
--- old/boto3-1.21.32/.changes/1.22.1.json 1970-01-01 01:00:00.000000000 +0100
+++ new/boto3-1.22.1/.changes/1.22.1.json 2022-04-26 20:10:05.000000000 +0200
@@ -0,0 +1,37 @@
+[
+ {
+ "category": "``lightsail``",
+ "description": "[``botocore``] This release adds support for Lightsail load balancer HTTP to HTTPS redirect and TLS policy configuration.",
+ "type": "api-change"
+ },
+ {
+ "category": "``sagemaker``",
+ "description": "[``botocore``] SageMaker Inference Recommender now accepts customer KMS key ID for encryption of endpoints and compilation outputs created during inference recommendation.",
+ "type": "api-change"
+ },
+ {
+ "category": "``pricing``",
+ "description": "[``botocore``] Documentation updates for Price List API",
+ "type": "api-change"
+ },
+ {
+ "category": "``glue``",
+ "description": "[``botocore``] This release adds documentation for the APIs to create, read, delete, list, and batch read of AWS Glue custom patterns, and for Lake Formation configuration settings in the AWS Glue crawler.",
+ "type": "api-change"
+ },
+ {
+ "category": "``cloudfront``",
+ "description": "[``botocore``] CloudFront now supports the Server-Timing header in HTTP responses sent from CloudFront. You can use this header to view metrics that help you gain insights about the behavior and performance of CloudFront. To use this header, enable it in a response headers policy.",
+ "type": "api-change"
+ },
+ {
+ "category": "``ivschat``",
+ "description": "[``botocore``] Adds new APIs for IVS Chat, a feature for building interactive chat experiences alongside an IVS broadcast.",
+ "type": "api-change"
+ },
+ {
+ "category": "``network-firewall``",
+ "description": "[``botocore``] AWS Network Firewall now enables customers to use a customer managed AWS KMS key for the encryption of their firewall resources.",
+ "type": "api-change"
+ }
+]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.21.32/.pre-commit-config.yaml new/boto3-1.22.1/.pre-commit-config.yaml
--- old/boto3-1.21.32/.pre-commit-config.yaml 2022-04-01 20:07:34.000000000 +0200
+++ new/boto3-1.22.1/.pre-commit-config.yaml 2022-04-26 20:10:05.000000000 +0200
@@ -17,7 +17,7 @@
hooks:
- id: isort
- repo: 'https://github.com/psf/black'
- rev: 22.1.0
+ rev: 22.3.0
hooks:
- id: black
- repo: 'https://github.com/pycqa/flake8'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.21.32/CHANGELOG.rst new/boto3-1.22.1/CHANGELOG.rst
--- old/boto3-1.21.32/CHANGELOG.rst 2022-04-01 20:07:34.000000000 +0200
+++ new/boto3-1.22.1/CHANGELOG.rst 2022-04-26 20:10:05.000000000 +0200
@@ -2,6 +2,165 @@
CHANGELOG
=========
+1.22.1
+======
+
+* api-change:``lightsail``: [``botocore``] This release adds support for Lightsail load balancer HTTP to HTTPS redirect and TLS policy configuration.
+* api-change:``sagemaker``: [``botocore``] SageMaker Inference Recommender now accepts customer KMS key ID for encryption of endpoints and compilation outputs created during inference recommendation.
+* api-change:``pricing``: [``botocore``] Documentation updates for Price List API
+* api-change:``glue``: [``botocore``] This release adds documentation for the APIs to create, read, delete, list, and batch read of AWS Glue custom patterns, and for Lake Formation configuration settings in the AWS Glue crawler.
+* api-change:``cloudfront``: [``botocore``] CloudFront now supports the Server-Timing header in HTTP responses sent from CloudFront. You can use this header to view metrics that help you gain insights about the behavior and performance of CloudFront. To use this header, enable it in a response headers policy.
+* api-change:``ivschat``: [``botocore``] Adds new APIs for IVS Chat, a feature for building interactive chat experiences alongside an IVS broadcast.
+* api-change:``network-firewall``: [``botocore``] AWS Network Firewall now enables customers to use a customer managed AWS KMS key for the encryption of their firewall resources.
+
+
+1.22.0
+======
+
+* api-change:``gamelift``: [``botocore``] Documentation updates for Amazon GameLift.
+* api-change:``mq``: [``botocore``] This release adds the CRITICAL_ACTION_REQUIRED broker state and the ActionRequired API property. CRITICAL_ACTION_REQUIRED informs you when your broker is degraded. ActionRequired provides you with a code which you can use to find instructions in the Developer Guide on how to resolve the issue.
+* feature:IMDS: [``botocore``] Added resiliency mechanisms to IMDS Credential Fetcher
+* api-change:``securityhub``: [``botocore``] Security Hub now lets you opt-out of auto-enabling the defaults standards (CIS and FSBP) in accounts that are auto-enabled with Security Hub via Security Hub's integration with AWS Organizations.
+* api-change:``connect``: [``botocore``] This release adds SearchUsers API which can be used to search for users with a Connect Instance
+* api-change:``rds-data``: [``botocore``] Support to receive SQL query results in the form of a simplified JSON string. This enables developers using the new JSON string format to more easily convert it to an object using popular JSON string parsing libraries.
+
+
+1.21.46
+=======
+
+* api-change:``chime-sdk-meetings``: [``botocore``] Include additional exceptions types.
+* api-change:``ec2``: [``botocore``] Adds support for waiters that automatically poll for a deleted NAT Gateway until it reaches the deleted state.
+
+
+1.21.45
+=======
+
+* api-change:``wisdom``: [``botocore``] This release updates the GetRecommendations API to include a trigger event list for classifying and grouping recommendations.
+* api-change:``elasticache``: [``botocore``] Doc only update for ElastiCache
+* api-change:``iottwinmaker``: [``botocore``] General availability (GA) for AWS IoT TwinMaker. For more information, see https://docs.aws.amazon.com/iot-twinmaker/latest/apireference/Welcome.html
+* api-change:``secretsmanager``: [``botocore``] Documentation updates for Secrets Manager
+* api-change:``mediatailor``: [``botocore``] This release introduces tiered channels and adds support for live sources. Customers using a STANDARD channel can now create programs using live sources.
+* api-change:``storagegateway``: [``botocore``] This release adds support for minimum of 5 character length virtual tape barcodes.
+* api-change:``lookoutmetrics``: [``botocore``] Added DetectMetricSetConfig API for detecting configuration required for creating metric set from provided S3 data source.
+* api-change:``iotsitewise``: [``botocore``] This release adds 3 new batch data query APIs : BatchGetAssetPropertyValue, BatchGetAssetPropertyValueHistory and BatchGetAssetPropertyAggregates
+* api-change:``glue``: [``botocore``] This release adds APIs to create, read, delete, list, and batch read of Glue custom entity types
+
+
+1.21.44
+=======
+
+* api-change:``macie2``: [``botocore``] Sensitive data findings in Amazon Macie now indicate how Macie found the sensitive data that produced a finding (originType).
+* api-change:``rds``: [``botocore``] Added a new cluster-level attribute to set the capacity range for Aurora Serverless v2 instances.
+* api-change:``mgn``: [``botocore``] Removed required annotation from input fields in Describe operations requests. Added quotaValue to ServiceQuotaExceededException
+* api-change:``connect``: [``botocore``] This release adds APIs to search, claim, release, list, update, and describe phone numbers. You can also use them to associate and disassociate contact flows to phone numbers.
+
+
+1.21.43
+=======
+
+* api-change:``textract``: [``botocore``] This release adds support for specifying and extracting information from documents using the Queries feature within Analyze Document API
+* api-change:``worklink``: [``botocore``] Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.
+* api-change:``ssm``: [``botocore``] Added offset support for specifying the number of days to wait after the date and time specified by a CRON expression when creating SSM association.
+* api-change:``autoscaling``: [``botocore``] EC2 Auto Scaling now adds default instance warm-up times for all scaling activities, health check replacements, and other replacement events in the Auto Scaling instance lifecycle.
+* api-change:``personalize``: [``botocore``] Adding StartRecommender and StopRecommender APIs for Personalize.
+* api-change:``kendra``: [``botocore``] Amazon Kendra now provides a data source connector for Quip. For more information, see https://docs.aws.amazon.com/kendra/latest/dg/data-source-quip.html
+* api-change:``polly``: [``botocore``] Amazon Polly adds new Austrian German voice - Hannah. Hannah is available as Neural voice only.
+* api-change:``transfer``: [``botocore``] This release contains corrected HomeDirectoryMappings examples for several API functions: CreateAccess, UpdateAccess, CreateUser, and UpdateUser,.
+* api-change:``kms``: [``botocore``] Adds support for KMS keys and APIs that generate and verify HMAC codes
+* api-change:``redshift``: [``botocore``] Introduces new fields for LogDestinationType and LogExports on EnableLogging requests and Enable/Disable/DescribeLogging responses. Customers can now select CloudWatch Logs as a destination for their Audit Logs.
+
+
+1.21.42
+=======
+
+* api-change:``lightsail``: [``botocore``] This release adds support to describe the synchronization status of the account-level block public access feature for your Amazon Lightsail buckets.
+* api-change:``rds``: [``botocore``] Removes Amazon RDS on VMware with the deletion of APIs related to Custom Availability Zones and Media installation
+* api-change:``athena``: [``botocore``] This release adds subfields, ErrorMessage, Retryable, to the AthenaError response object in the GetQueryExecution API when a query fails.
+
+
+1.21.41
+=======
+
+* api-change:``batch``: [``botocore``] Enables configuration updates for compute environments with BEST_FIT_PROGRESSIVE and SPOT_CAPACITY_OPTIMIZED allocation strategies.
+* api-change:``ec2``: [``botocore``] Documentation updates for Amazon EC2.
+* api-change:``cloudwatch``: [``botocore``] Update cloudwatch client to latest version
+* api-change:``appstream``: [``botocore``] Includes updates for create and update fleet APIs to manage the session scripts locations for Elastic fleets.
+* api-change:``glue``: [``botocore``] Auto Scaling for Glue version 3.0 and later jobs to dynamically scale compute resources. This SDK change provides customers with the auto-scaled DPU usage
+* api-change:``appflow``: [``botocore``] Enables users to pass custom token URL parameters for Oauth2 authentication during create connector profile
+
+
+1.21.40
+=======
+
+* api-change:``cloudwatch``: [``botocore``] Update cloudwatch client to latest version
+* api-change:``fsx``: [``botocore``] This release adds support for deploying FSx for ONTAP file systems in a single Availability Zone.
+
+
+1.21.39
+=======
+
+* api-change:``ec2``: [``botocore``] X2idn and X2iedn instances are powered by 3rd generation Intel Xeon Scalable processors with an all-core turbo frequency up to 3.5 GHzAmazon EC2. C6a instances are powered by 3rd generation AMD EPYC processors.
+* api-change:``devops-guru``: [``botocore``] This release adds new APIs DeleteInsight to deletes the insight along with the associated anomalies, events and recommendations.
+* api-change:``efs``: [``botocore``] Update efs client to latest version
+* api-change:``iottwinmaker``: [``botocore``] This release adds the following new features: 1) ListEntities API now supports search using ExternalId. 2) BatchPutPropertyValue and GetPropertyValueHistory API now allows users to represent time in sub-second level precisions.
+
+
+1.21.38
+=======
+
+* api-change:``amplifyuibuilder``: [``botocore``] In this release, we have added the ability to bind events to component level actions.
+* api-change:``apprunner``: [``botocore``] This release adds tracing for App Runner services with X-Ray using AWS Distro for OpenTelemetry. New APIs: CreateObservabilityConfiguration, DescribeObservabilityConfiguration, ListObservabilityConfigurations, and DeleteObservabilityConfiguration. Updated APIs: CreateService and UpdateService.
+* api-change:``workspaces``: [``botocore``] Added API support that allows customers to create GPU-enabled WorkSpaces using EC2 G4dn instances.
+
+
+1.21.37
+=======
+
+* api-change:``mediaconvert``: [``botocore``] AWS Elemental MediaConvert SDK has added support for the pass-through of WebVTT styling to WebVTT outputs, pass-through of KLV metadata to supported formats, and improved filter support for processing 444/RGB content.
+* api-change:``wafv2``: [``botocore``] Add a new CurrentDefaultVersion field to ListAvailableManagedRuleGroupVersions API response; add a new VersioningSupported boolean to each ManagedRuleGroup returned from ListAvailableManagedRuleGroups API response.
+* api-change:``mediapackage-vod``: [``botocore``] This release adds ScteMarkersSource as an available field for Dash Packaging Configurations. When set to MANIFEST, MediaPackage will source the SCTE-35 markers from the manifest. When set to SEGMENTS, MediaPackage will source the SCTE-35 markers from the segments.
+
+
+1.21.36
+=======
+
+* api-change:``apigateway``: [``botocore``] ApiGateway CLI command get-usage now includes usagePlanId, startDate, and endDate fields in the output to match documentation.
+* api-change:``personalize``: [``botocore``] This release provides tagging support in AWS Personalize.
+* api-change:``pi``: [``botocore``] Adds support for DocumentDB to the Performance Insights API.
+* api-change:``events``: [``botocore``] Update events client to latest version
+* api-change:``docdb``: [``botocore``] Added support to enable/disable performance insights when creating or modifying db instances
+* api-change:``sagemaker``: [``botocore``] Amazon Sagemaker Notebook Instances now supports G5 instance types
+
+
+1.21.35
+=======
+
+* bugfix:Proxy: [``botocore``] Fix failure case for IP proxy addresses using TLS-in-TLS. `boto/botocore#2652 <https://github.com/boto/botocore/pull/2652>`__
+* api-change:``config``: [``botocore``] Add resourceType enums for AWS::EMR::SecurityConfiguration and AWS::SageMaker::CodeRepository
+* api-change:``panorama``: [``botocore``] Added Brand field to device listings.
+* api-change:``lambda``: [``botocore``] This release adds new APIs for creating and managing Lambda Function URLs and adds a new FunctionUrlAuthType parameter to the AddPermission API. Customers can use Function URLs to create built-in HTTPS endpoints on their functions.
+* api-change:``kendra``: [``botocore``] Amazon Kendra now provides a data source connector for Box. For more information, see https://docs.aws.amazon.com/kendra/latest/dg/data-source-box.html
+
+
+1.21.34
+=======
+
+* api-change:``securityhub``: [``botocore``] Added additional ASFF details for RdsSecurityGroup AutoScalingGroup, ElbLoadBalancer, CodeBuildProject and RedshiftCluster.
+* api-change:``fsx``: [``botocore``] Provide customers more visibility into file system status by adding new "Misconfigured Unavailable" status for Amazon FSx for Windows File Server.
+* api-change:``s3control``: [``botocore``] Documentation-only update for doc bug fixes for the S3 Control API docs.
+* api-change:``datasync``: [``botocore``] AWS DataSync now supports Amazon FSx for OpenZFS locations.
+
+
+1.21.33
+=======
+
+* api-change:``iot``: [``botocore``] AWS IoT - AWS IoT Device Defender adds support to list metric datapoints collected for IoT devices through the ListMetricValues API
+* api-change:``servicecatalog``: [``botocore``] This release adds ProvisioningArtifictOutputKeys to DescribeProvisioningParameters to reference the outputs of a Provisioned Product and deprecates ProvisioningArtifactOutputs.
+* api-change:``sms``: [``botocore``] Revised product update notice for SMS console deprecation.
+* api-change:``proton``: [``botocore``] SDK release to support tagging for AWS Proton Repository resource
+* enhancement:AWSCRT: [``botocore``] Upgrade awscrt version to 0.13.8
+
+
1.21.32
=======
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.21.32/README.rst new/boto3-1.22.1/README.rst
--- old/boto3-1.21.32/README.rst 2022-04-01 20:07:34.000000000 +0200
+++ new/boto3-1.22.1/README.rst 2022-04-26 20:10:05.000000000 +0200
@@ -12,6 +12,8 @@
Boto3 is maintained and published by `Amazon Web Services`_.
+Boto (pronounced boh-toh) was named after the fresh water dolphin native to the Amazon river. The name was chosen by the author of the original Boto library, Mitch Garnaat, as a reference to the company.
+
Notices
-------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.21.32/boto3/__init__.py new/boto3-1.22.1/boto3/__init__.py
--- old/boto3-1.21.32/boto3/__init__.py 2022-04-01 20:07:34.000000000 +0200
+++ new/boto3-1.22.1/boto3/__init__.py 2022-04-26 20:10:05.000000000 +0200
@@ -17,7 +17,7 @@
from boto3.session import Session
__author__ = 'Amazon Web Services'
-__version__ = '1.21.32'
+__version__ = '1.22.1'
# The default Boto3 session; autoloaded when needed.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.21.32/boto3/compat.py new/boto3-1.22.1/boto3/compat.py
--- old/boto3-1.21.32/boto3/compat.py 2022-04-01 20:07:34.000000000 +0200
+++ new/boto3-1.22.1/boto3/compat.py 2022-04-26 20:10:05.000000000 +0200
@@ -64,18 +64,16 @@
def _warn_deprecated_python():
- """Python 2.7 is deprecated so this code will no longer run.
-
- Use this template for future deprecation campaigns as needed.
- """
- py_27_params = {
- 'date': 'July 15, 2021',
- 'blog_link': 'https://aws.amazon.com/blogs/developer/announcing-end-'
- 'of-support-for-python-2-7-in-aws-sdk-for-python-and-'
- 'aws-cli-v1/'
+ """Use this template for future deprecation campaigns as needed."""
+ py_36_params = {
+ 'date': 'May 30, 2022',
+ 'blog_link': (
+ 'https://aws.amazon.com/blogs/developer/'
+ 'python-support-policy-updates-for-aws-sdks-and-tools/'
+ )
}
deprecated_versions = {
- (2, 7): py_27_params,
+ (3, 6): py_36_params,
}
py_version = sys.version_info[:2]
@@ -84,7 +82,7 @@
warning = (
"Boto3 will no longer support Python {}.{} "
"starting {}. To continue receiving service updates, "
- "bug fixes, and security updates please upgrade to Python 3.6 or "
+ "bug fixes, and security updates please upgrade to Python 3.7 or "
"later. More information can be found here: {}"
).format(py_version[0], py_version[1], params['date'], params['blog_link'])
warnings.warn(warning, PythonDeprecationWarning)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.21.32/docs/source/guide/quickstart.rst new/boto3-1.22.1/docs/source/guide/quickstart.rst
--- old/boto3-1.21.32/docs/source/guide/quickstart.rst 2022-04-01 20:07:34.000000000 +0200
+++ new/boto3-1.22.1/docs/source/guide/quickstart.rst 2022-04-26 20:10:05.000000000 +0200
@@ -68,13 +68,13 @@
When the AWS CRT is included, Boto3 uses it to incorporate features not otherwise
available in the AWS SDK for Python.
-At this time, Boto3 uses the AWS CRT's authentication package (`aws-c-auth
-<https://github.com/awslabs/aws-c-auth>`_) to add support for the `AWS Signature Version 4
-<https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html>`_ (sigv4) signer, which
-adds authentication to your AWS requests using your security credentials (your AWS access key and
-secret access key).
+You'll find it used in features like:
-Boto3 doesn't use the AWS CRT by default but you can opt into using it by specifying the
+- `Amazon S3 Multi-Region Access Points <https://docs.aws.amazon.com/AmazonS3/latest/userguide/MultiRegionAccessPoin…>`_
+- `Amazon S3 Object Integrity <https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integ…>`_
+- Amazon EventBridge Global Endpoints
+
+However, Boto3 doesn't use the AWS CRT by default but you can opt into using it by specifying the
:code:`crt` `extra feature <https://www.python.org/dev/peps/pep-0508/#extras>`_ when installing Boto3::
pip install boto3[crt]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.21.32/setup.cfg new/boto3-1.22.1/setup.cfg
--- old/boto3-1.21.32/setup.cfg 2022-04-01 20:07:34.000000000 +0200
+++ new/boto3-1.22.1/setup.cfg 2022-04-26 20:10:05.000000000 +0200
@@ -3,7 +3,7 @@
[metadata]
requires_dist =
- botocore>=1.24.32,<1.25.0
+ botocore>=1.25.1,<1.26.0
jmespath>=0.7.1,<2.0.0
s3transfer>=0.5.0,<0.6.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.21.32/setup.py new/boto3-1.22.1/setup.py
--- old/boto3-1.21.32/setup.py 2022-04-01 20:07:34.000000000 +0200
+++ new/boto3-1.22.1/setup.py 2022-04-26 20:10:05.000000000 +0200
@@ -13,7 +13,7 @@
requires = [
- 'botocore>=1.24.32,<1.25.0',
+ 'botocore>=1.25.1,<1.26.0',
'jmespath>=0.7.1,<2.0.0',
's3transfer>=0.5.0,<0.6.0',
]
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package 000release-packages for openSUSE:Factory checked in at 2022-04-30 01:43:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/000release-packages (Old)
and /work/SRC/openSUSE:Factory/.000release-packages.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "000release-packages"
Sat Apr 30 01:43:38 2022 rev:1582 rq: version:unknown
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ MicroOS-release.spec ++++++
--- /var/tmp/diff_new_pack.IDIWnj/_old 2022-04-30 01:43:40.341167207 +0200
+++ /var/tmp/diff_new_pack.IDIWnj/_new 2022-04-30 01:43:40.345167209 +0200
@@ -17,7 +17,7 @@
Name: MicroOS-release
-Version: 20220428
+Version: 20220429
Release: 0
Summary: openSUSE MicroOS
License: GPL-2.0-or-later
@@ -176,9 +176,9 @@
%include %{SOURCE100}
Provides: %name-%version
Provides: product() = MicroOS
-Provides: product(MicroOS) = 20220428-0
+Provides: product(MicroOS) = 20220429-0
Provides: product-label() = openSUSE%20MicroOS
-Provides: product-cpeid() = cpe%3A%2Fo%3Aopensuse%3Amicroos%3A20220428
+Provides: product-cpeid() = cpe%3A%2Fo%3Aopensuse%3Amicroos%3A20220429
Provides: product-url(releasenotes) = http%3A%2F%2Fdoc.opensuse.org%2Frelease%2Dnotes%2Fx86_64%2FopenSUSE%2FTumbleweed%2Frelease%2Dnotes%2DopenSUSE.rpm
Provides: product-endoflife()
Requires: product_flavor(MicroOS)
@@ -194,7 +194,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(dvd)
-Provides: product_flavor(MicroOS) = 20220428-0
+Provides: product_flavor(MicroOS) = 20220429-0
Summary: openSUSE MicroOS%{?betaversion: %{betaversion}}
%description dvd
@@ -210,7 +210,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(kubic-dvd)
-Provides: product_flavor(MicroOS) = 20220428-0
+Provides: product_flavor(MicroOS) = 20220429-0
Summary: openSUSE MicroOS%{?betaversion: %{betaversion}}
%description kubic-dvd
@@ -226,7 +226,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(appliance)
-Provides: product_flavor(MicroOS) = 20220428-0
+Provides: product_flavor(MicroOS) = 20220429-0
Summary: openSUSE MicroOS%{?betaversion: %{betaversion}}
%description appliance
@@ -242,7 +242,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(appliance-kubic)
-Provides: product_flavor(MicroOS) = 20220428-0
+Provides: product_flavor(MicroOS) = 20220429-0
Summary: openSUSE MicroOS%{?betaversion: %{betaversion}}
%description appliance-kubic
@@ -299,11 +299,11 @@
<product schemeversion="0">
<vendor>openSUSE</vendor>
<name>MicroOS</name>
- <version>20220428</version>
+ <version>20220429</version>
<release>0</release>
<endoflife></endoflife>
<arch>%{_target_cpu}</arch>
- <cpeid>cpe:/o:opensuse:microos:20220428</cpeid>
+ <cpeid>cpe:/o:opensuse:microos:20220429</cpeid>
<productline>MicroOS</productline>
<register>
<pool>
++++++ openSUSE-Addon-NonOss-release.spec ++++++
--- /var/tmp/diff_new_pack.IDIWnj/_old 2022-04-30 01:43:40.373167224 +0200
+++ /var/tmp/diff_new_pack.IDIWnj/_new 2022-04-30 01:43:40.373167224 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package openSUSE-Addon-NonOss-release (Version 20220428)
+# spec file for package openSUSE-Addon-NonOss-release (Version 20220429)
#
# Copyright (c) 2022 openSUSE.
#
@@ -16,16 +16,16 @@
Name: openSUSE-Addon-NonOss-release
%define product openSUSE-Addon-NonOss
Summary: openSUSE NonOSS Addon%{?betaversion: %{betaversion}}
-Version: 20220428
+Version: 20220429
Release: 0
License: BSD-3-Clause
Group: System/Fhs
Provides: %name-%version
Provides: product() = openSUSE-Addon-NonOss
-Provides: product(openSUSE-Addon-NonOss) = 20220428-0
+Provides: product(openSUSE-Addon-NonOss) = 20220429-0
Provides: product-label() = non%20oss%20addon
-Provides: product-cpeid() = cpe%3A%2Fo%3Aopensuse%3Aopensuse%2Daddon%2Dnonoss%3A20220428
+Provides: product-cpeid() = cpe%3A%2Fo%3Aopensuse%3Aopensuse%2Daddon%2Dnonoss%3A20220429
AutoReqProv: on
@@ -48,10 +48,10 @@
<product schemeversion="0">
<vendor>openSUSE</vendor>
<name>openSUSE-Addon-NonOss</name>
- <version>20220428</version>
+ <version>20220429</version>
<release>0</release>
<arch>%{_target_cpu}</arch>
- <cpeid>cpe:/o:opensuse:opensuse-addon-nonoss:20220428</cpeid>
+ <cpeid>cpe:/o:opensuse:opensuse-addon-nonoss:20220429</cpeid>
<register>
<pool>
</pool>
++++++ openSUSE-release.spec ++++++
--- /var/tmp/diff_new_pack.IDIWnj/_old 2022-04-30 01:43:40.397167238 +0200
+++ /var/tmp/diff_new_pack.IDIWnj/_new 2022-04-30 01:43:40.405167242 +0200
@@ -20,7 +20,7 @@
#define betaversion %{nil}
%define codename Tumbleweed
Name: openSUSE-release
-Version: 20220428
+Version: 20220429
Release: 0
# 0 is the product release, not the build release of this package
Summary: openSUSE Tumbleweed
@@ -178,7 +178,7 @@
%include %{SOURCE100}
Provides: %name-%version
Provides: product() = openSUSE
-Provides: product(openSUSE) = 20220428-0
+Provides: product(openSUSE) = 20220429-0
%ifarch x86_64
Provides: product-register-target() = openSUSE%2DTumbleweed%2Dx86_64
%endif
@@ -192,7 +192,7 @@
Provides: product-register-target() = openSUSE%2DTumbleweed%2Daarch64
%endif
Provides: product-label() = openSUSE
-Provides: product-cpeid() = cpe%3A%2Fo%3Aopensuse%3Aopensuse%3A20220428
+Provides: product-cpeid() = cpe%3A%2Fo%3Aopensuse%3Aopensuse%3A20220429
Provides: product-url(releasenotes) = http%3A%2F%2Fdoc.opensuse.org%2Frelease%2Dnotes%2Fx86_64%2FopenSUSE%2FTumbleweed%2Frelease%2Dnotes%2DopenSUSE.rpm
Provides: product-url(repository) = http%3A%2F%2Fdownload.opensuse.org%2Ftumbleweed%2Frepo%2Foss%2F
Requires: product_flavor(openSUSE)
@@ -206,7 +206,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(ftp)
-Provides: product_flavor(openSUSE) = 20220428-0
+Provides: product_flavor(openSUSE) = 20220429-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description ftp
@@ -221,7 +221,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(mini)
-Provides: product_flavor(openSUSE) = 20220428-0
+Provides: product_flavor(openSUSE) = 20220429-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description mini
@@ -236,7 +236,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(dvd)
-Provides: product_flavor(openSUSE) = 20220428-0
+Provides: product_flavor(openSUSE) = 20220429-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description dvd
@@ -251,7 +251,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(livecd-kde)
-Provides: product_flavor(openSUSE) = 20220428-0
+Provides: product_flavor(openSUSE) = 20220429-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description livecd-kde
@@ -266,7 +266,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(livecd-x11)
-Provides: product_flavor(openSUSE) = 20220428-0
+Provides: product_flavor(openSUSE) = 20220429-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description livecd-x11
@@ -281,7 +281,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(livecd-gnome)
-Provides: product_flavor(openSUSE) = 20220428-0
+Provides: product_flavor(openSUSE) = 20220429-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description livecd-gnome
@@ -296,7 +296,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(livecd-xfce)
-Provides: product_flavor(openSUSE) = 20220428-0
+Provides: product_flavor(openSUSE) = 20220429-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description livecd-xfce
@@ -311,7 +311,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(usb-kde)
-Provides: product_flavor(openSUSE) = 20220428-0
+Provides: product_flavor(openSUSE) = 20220429-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description usb-kde
@@ -326,7 +326,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(usb-gnome)
-Provides: product_flavor(openSUSE) = 20220428-0
+Provides: product_flavor(openSUSE) = 20220429-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description usb-gnome
@@ -341,7 +341,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(usb-x11)
-Provides: product_flavor(openSUSE) = 20220428-0
+Provides: product_flavor(openSUSE) = 20220429-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description usb-x11
@@ -356,7 +356,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(appliance)
-Provides: product_flavor(openSUSE) = 20220428-0
+Provides: product_flavor(openSUSE) = 20220429-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description appliance
@@ -371,7 +371,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(appliance-docker)
-Provides: product_flavor(openSUSE) = 20220428-0
+Provides: product_flavor(openSUSE) = 20220429-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description appliance-docker
@@ -386,7 +386,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(appliance-kvm)
-Provides: product_flavor(openSUSE) = 20220428-0
+Provides: product_flavor(openSUSE) = 20220429-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description appliance-kvm
@@ -401,7 +401,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(appliance-vmware)
-Provides: product_flavor(openSUSE) = 20220428-0
+Provides: product_flavor(openSUSE) = 20220429-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description appliance-vmware
@@ -416,7 +416,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(appliance-openstack)
-Provides: product_flavor(openSUSE) = 20220428-0
+Provides: product_flavor(openSUSE) = 20220429-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description appliance-openstack
@@ -431,7 +431,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(appliance-hyperv)
-Provides: product_flavor(openSUSE) = 20220428-0
+Provides: product_flavor(openSUSE) = 20220429-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description appliance-hyperv
@@ -446,7 +446,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(appliance-vagrant)
-Provides: product_flavor(openSUSE) = 20220428-0
+Provides: product_flavor(openSUSE) = 20220429-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description appliance-vagrant
@@ -461,7 +461,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(appliance-wsl)
-Provides: product_flavor(openSUSE) = 20220428-0
+Provides: product_flavor(openSUSE) = 20220429-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description appliance-wsl
@@ -476,7 +476,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(appliance-custom)
-Provides: product_flavor(openSUSE) = 20220428-0
+Provides: product_flavor(openSUSE) = 20220429-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description appliance-custom
@@ -557,10 +557,10 @@
<product schemeversion="0">
<vendor>openSUSE</vendor>
<name>openSUSE</name>
- <version>20220428</version>
+ <version>20220429</version>
<release>0</release>
<arch>%{_target_cpu}</arch>
- <cpeid>cpe:/o:opensuse:opensuse:20220428</cpeid>
+ <cpeid>cpe:/o:opensuse:opensuse:20220429</cpeid>
<productline>openSUSE</productline>
<register>
<pool>
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-googleapis-common-protos for openSUSE:Factory checked in at 2022-04-30 00:46:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-googleapis-common-protos (Old)
and /work/SRC/openSUSE:Factory/.python-googleapis-common-protos.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-googleapis-common-protos"
Sat Apr 30 00:46:31 2022 rev:8 rq:973993 version:1.56.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-googleapis-common-protos/python-googleapis-common-protos.changes 2020-09-23 18:49:00.001796009 +0200
+++ /work/SRC/openSUSE:Factory/.python-googleapis-common-protos.new.1538/python-googleapis-common-protos.changes 2022-04-30 00:47:01.595030771 +0200
@@ -1,0 +2,35 @@
+Mon Apr 25 09:17:13 UTC 2022 - Matej Cepl <mcepl(a)suse.com>
+
+- Upgrade to 1.56.0:
+ - add google/api/error_reason.proto (62c04b8)
+ - add google/api/visibility.proto (62c04b8)
+ - add google/type/decimal.proto (62c04b8)
+ - add google/type/interval.proto (62c04b8)
+ - add google/type/localized_text.proto (62c04b8)
+ - add google/type/phone_number.proto (62c04b8)
+ - update all protos and pb2 files (62c04b8)
+ - expose all names in longrunning _pb2's (#90) (09e9ccd)
+ - re-generate pb2 files (#87) (6260547)
+ - re-generate pb2 files using grpcio-tools<1.44.0 (#93) (76bb9f6)
+ - remove deprecated fields aliases and features from google/api/endpoint.proto (62c04b8)
+- Upgrade to 1.55.0:
+ - add location proto files. (#84) (9a33e56)
+- Upgrade to 1.54.0:
+ - add extended_operations.proto (#77) (bc85849)
+ - add google/api/routing.proto (#75) (1ae0bbc)
+- Upgrade to 1.53.0:
+ - add google.api.ResourceDescriptor.Style (4ce679c)
+ - add API method signatures to longrunning operations (8de7ae2)
+ - add gapic_metadata_pb2 (#38) (8de7ae2)
+ - add UNORDERED_LIST to field options (8de7ae2)
+ - add WaitOperation method to longrunning operations (8de7ae2)
+ - add google.api.ResourceDescriptor.Style (4ce679c)
+ - require python >=3.6 and (#31) (4ce679c)
+ - add create_key to FieldDescriptors (4ce679c)
+ - Generate gRPC files for long-running operations (#13) (a9ce288)
+ - add link to PyPI (#10) (3f79402)
+ - add create_key to FieldDescriptors (4ce679c)
+ - Generate gRPC files for long-running operations (#13) (a9ce288)
+ - add link to PyPI (#10) (3f79402)
+
+-------------------------------------------------------------------
Old:
----
LICENSE
googleapis-common-protos-1.52.0.tar.gz
New:
----
googleapis-common-protos-1.56.0.tar.gz
test_google_api_error_reason.py
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-googleapis-common-protos.spec ++++++
--- /var/tmp/diff_new_pack.19rlWy/_old 2022-04-30 00:47:02.183031700 +0200
+++ /var/tmp/diff_new_pack.19rlWy/_new 2022-04-30 00:47:02.187031707 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-googleapis-common-protos
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,23 +17,27 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define modname googleapis-common-protos
+%define pkgname %{lua:pname,_ = string.gsub(rpm.expand('%modname'), '-' , '_');print(pname)}
Name: python-googleapis-common-protos
-Version: 1.52.0
+Version: 1.56.0
Release: 0
Summary: Common protobufs used in Google APIs
License: Apache-2.0
Group: Development/Languages/Python
-URL: https://github.com/googleapis/googleapis
+URL: https://github.com/googleapis/python-api-common-protos
Source: https://files.pythonhosted.org/packages/source/g/googleapis-common-protos/g…
-# https://github.com/googleapis/python-api-common-protos/issues/21
-Source1: LICENSE
+Source1: test_google_api_error_reason.py
+BuildRequires: %{python_module pip}
+BuildRequires: %{python_module protobuf >= 3.6.0}
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-protobuf >= 3.6.0
Recommends: python-grpcio >= 1.0.0
BuildArch: noarch
-BuildRequires: %{python_module protobuf >= 3.6.0}
%python_subpackages
%description
@@ -41,21 +45,31 @@
protos in the googleapis_ repository.
%prep
-%setup -q -n googleapis-common-protos-%{version}
+%autosetup -p1 -n %{modname}-%{version}
+
+install -p -D -t tests/unit %{SOURCE1}
%build
-cp %{SOURCE1} .
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
-# no tests
+%check
+%pytest
%files %{python_files}
%license LICENSE
%doc README.md
-%{python_sitelib}/*
+%{python_sitelib}/google/type
+%{python_sitelib}/google/longrunning
+%{python_sitelib}/google/rpc
+%{python_sitelib}/google/logging
+%{python_sitelib}/google/api
+%{python_sitelib}/google/gapic
+%{python_sitelib}/google/cloud
+%{python_sitelib}/%{pkgname}-%{version}*-info
+%{python_sitelib}/%{pkgname}-%{version}*-nspkg.pth
%changelog
++++++ googleapis-common-protos-1.52.0.tar.gz -> googleapis-common-protos-1.56.0.tar.gz ++++++
++++ 19285 lines of diff (skipped)
++++++ test_google_api_error_reason.py ++++++
# Copyright 2022 Google LLC All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
def test_error_reason():
from google.api import error_reason_pb2
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-proto-plus for openSUSE:Factory checked in at 2022-04-30 00:46:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-proto-plus (Old)
and /work/SRC/openSUSE:Factory/.python-proto-plus.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-proto-plus"
Sat Apr 30 00:46:30 2022 rev:6 rq:973991 version:1.20.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-proto-plus/python-proto-plus.changes 2022-01-31 22:58:22.181158292 +0100
+++ /work/SRC/openSUSE:Factory/.python-proto-plus.new.1538/python-proto-plus.changes 2022-04-30 00:47:00.811029532 +0200
@@ -1,0 +2,12 @@
+Mon Apr 25 17:45:27 UTC 2022 - Matej Cepl <mcepl(a)suse.com>
+
+- Update to 1.20.3:
+ - additional logic to mitigate collisions with reserved terms
+ - dir(proto.Message) does not raise
+ - mitigate collisions in field names
+ - add custom dir for messages and message classes
+ - workaround for buggy pytest
+- Add pytest-staticmethod.patch which works around Pytest bug
+ gh#pytest-dev/pytest#9637.
+
+-------------------------------------------------------------------
Old:
----
proto-plus-1.19.9.tar.gz
New:
----
proto-plus-1.20.3.tar.gz
pytest-staticmethod.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-proto-plus.spec ++++++
--- /var/tmp/diff_new_pack.SguCcJ/_old 2022-04-30 00:47:01.347030379 +0200
+++ /var/tmp/diff_new_pack.SguCcJ/_new 2022-04-30 00:47:01.351030386 +0200
@@ -28,15 +28,19 @@
%define skip_python2 1
%define modname proto-plus
Name: python-proto-plus%{psuffix}
-Version: 1.19.9
+Version: 1.20.3
Release: 0
Summary: Pythonic Protocol Buffers
License: Apache-2.0
URL: https://github.com/googleapis/proto-plus-python
Source0: https://files.pythonhosted.org/packages/source/p/%{modname}/%{modname}-%{ve…
-BuildRequires: %{python_module devel}
+# PATCH-FIX-UPSTREAM pytest-staticmethod.patch gh#pytest-dev/pytest#9637 mcepl(a)suse.com
+# workaround for the problem with pytest 7.0
+Patch0: pytest-staticmethod.patch
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module protobuf >= 3.12.0}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
# SECTION test requirements
%if %{with test}
@@ -57,7 +61,7 @@
that largely behave like native Python types.
%prep
-%setup -q -n %{modname}-%{version}
+%autosetup -p1 -n %{modname}-%{version}
%build
%python_build
@@ -70,14 +74,16 @@
%check
%if %{with test}
-%pytest
+# gh#googleapis/proto-plus-python#311
+%pytest -k 'not (test_fields_mitigate_collision or test_dir or test_dir_message_base)'
%endif
%if !%{with test}
%files %{python_files}
%license LICENSE
%doc README.rst
-%{python_sitelib}/*
+%{python_sitelib}/proto
+%{python_sitelib}/proto_plus-%{version}*-info
%endif
%changelog
++++++ proto-plus-1.19.9.tar.gz -> proto-plus-1.20.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/proto-plus-1.19.9/PKG-INFO new/proto-plus-1.20.3/PKG-INFO
--- old/proto-plus-1.19.9/PKG-INFO 2022-01-25 23:48:13.936669800 +0100
+++ new/proto-plus-1.20.3/PKG-INFO 2022-02-18 04:21:25.574449800 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: proto-plus
-Version: 1.19.9
+Version: 1.20.3
Summary: Beautiful, Pythonic protocol buffers.
Home-page: https://github.com/googleapis/proto-plus-python.git
Author: Google LLC
@@ -17,6 +17,7 @@
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
+Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Software Development :: Code Generators
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/proto-plus-1.19.9/proto/message.py new/proto-plus-1.20.3/proto/message.py
--- old/proto-plus-1.19.9/proto/message.py 2022-01-25 23:48:06.000000000 +0100
+++ new/proto-plus-1.20.3/proto/message.py 2022-02-18 04:21:16.000000000 +0100
@@ -273,6 +273,30 @@
def meta(cls):
return cls._meta
+ def __dir__(self):
+ try:
+ names = set(dir(type))
+ names.update(
+ (
+ "meta",
+ "pb",
+ "wrap",
+ "serialize",
+ "deserialize",
+ "to_json",
+ "from_json",
+ "to_dict",
+ "copy_from",
+ )
+ )
+ desc = self.pb().DESCRIPTOR
+ names.update(t.name for t in desc.nested_types)
+ names.update(e.name for e in desc.enum_types)
+
+ return names
+ except AttributeError:
+ return dir(type)
+
def pb(cls, obj=None, *, coerce: bool = False):
"""Return the underlying protobuf Message class or instance.
@@ -503,9 +527,8 @@
# coerced.
marshal = self._meta.marshal
for key, value in mapping.items():
- try:
- pb_type = self._meta.fields[key].pb_type
- except KeyError:
+ (key, pb_type) = self._get_pb_type_from_key(key)
+ if pb_type is None:
if ignore_unknown_fields:
continue
@@ -513,13 +536,86 @@
"Unknown field for {}: {}".format(self.__class__.__name__, key)
)
- pb_value = marshal.to_proto(pb_type, value)
+ try:
+ pb_value = marshal.to_proto(pb_type, value)
+ except ValueError:
+ # Underscores may be appended to field names
+ # that collide with python or proto-plus keywords.
+ # In case a key only exists with a `_` suffix, coerce the key
+ # to include the `_` suffix. It's not possible to
+ # natively define the same field with a trailing underscore in protobuf.
+ # See related issue
+ # https://github.com/googleapis/python-api-core/issues/227
+ if isinstance(value, dict):
+ keys_to_update = [
+ item
+ for item in value
+ if not hasattr(pb_type, item) and hasattr(pb_type, f"{item}_")
+ ]
+ for item in keys_to_update:
+ value[f"{item}_"] = value.pop(item)
+
+ pb_value = marshal.to_proto(pb_type, value)
+
if pb_value is not None:
params[key] = pb_value
# Create the internal protocol buffer.
super().__setattr__("_pb", self._meta.pb(**params))
+ def _get_pb_type_from_key(self, key):
+ """Given a key, return the corresponding pb_type.
+
+ Args:
+ key(str): The name of the field.
+
+ Returns:
+ A tuple containing a key and pb_type. The pb_type will be
+ the composite type of the field, or the primitive type if a primitive.
+ If no corresponding field exists, return None.
+ """
+
+ pb_type = None
+
+ try:
+ pb_type = self._meta.fields[key].pb_type
+ except KeyError:
+ # Underscores may be appended to field names
+ # that collide with python or proto-plus keywords.
+ # In case a key only exists with a `_` suffix, coerce the key
+ # to include the `_` suffix. It's not possible to
+ # natively define the same field with a trailing underscore in protobuf.
+ # See related issue
+ # https://github.com/googleapis/python-api-core/issues/227
+ if f"{key}_" in self._meta.fields:
+ key = f"{key}_"
+ pb_type = self._meta.fields[key].pb_type
+
+ return (key, pb_type)
+
+ def __dir__(self):
+ desc = type(self).pb().DESCRIPTOR
+ names = {f_name for f_name in self._meta.fields.keys()}
+ names.update(m.name for m in desc.nested_types)
+ names.update(e.name for e in desc.enum_types)
+ names.update(dir(object()))
+ # Can't think of a better way of determining
+ # the special methods than manually listing them.
+ names.update(
+ (
+ "__bool__",
+ "__contains__",
+ "__dict__",
+ "__getattr__",
+ "__getstate__",
+ "__module__",
+ "__setstate__",
+ "__weakref__",
+ )
+ )
+
+ return names
+
def __bool__(self):
"""Return True if any field is truthy, False otherwise."""
return any(k in self and getattr(self, k) for k in self._meta.fields.keys())
@@ -606,13 +702,14 @@
their Python equivalents. See the ``marshal`` module for
more details.
"""
- try:
- pb_type = self._meta.fields[key].pb_type
- pb_value = getattr(self._pb, key)
- marshal = self._meta.marshal
- return marshal.to_python(pb_type, pb_value, absent=key not in self)
- except KeyError as ex:
- raise AttributeError(str(ex))
+ (key, pb_type) = self._get_pb_type_from_key(key)
+ if pb_type is None:
+ raise AttributeError(
+ "Unknown field for {}: {}".format(self.__class__.__name__, key)
+ )
+ pb_value = getattr(self._pb, key)
+ marshal = self._meta.marshal
+ return marshal.to_python(pb_type, pb_value, absent=key not in self)
def __ne__(self, other):
"""Return True if the messages are unequal, False otherwise."""
@@ -630,7 +727,12 @@
if key[0] == "_":
return super().__setattr__(key, value)
marshal = self._meta.marshal
- pb_type = self._meta.fields[key].pb_type
+ (key, pb_type) = self._get_pb_type_from_key(key)
+ if pb_type is None:
+ raise AttributeError(
+ "Unknown field for {}: {}".format(self.__class__.__name__, key)
+ )
+
pb_value = marshal.to_proto(pb_type, value)
# Clear the existing field.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/proto-plus-1.19.9/proto_plus.egg-info/PKG-INFO new/proto-plus-1.20.3/proto_plus.egg-info/PKG-INFO
--- old/proto-plus-1.19.9/proto_plus.egg-info/PKG-INFO 2022-01-25 23:48:13.000000000 +0100
+++ new/proto-plus-1.20.3/proto_plus.egg-info/PKG-INFO 2022-02-18 04:21:25.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: proto-plus
-Version: 1.19.9
+Version: 1.20.3
Summary: Beautiful, Pythonic protocol buffers.
Home-page: https://github.com/googleapis/proto-plus-python.git
Author: Google LLC
@@ -17,6 +17,7 @@
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
+Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Software Development :: Code Generators
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/proto-plus-1.19.9/proto_plus.egg-info/SOURCES.txt new/proto-plus-1.20.3/proto_plus.egg-info/SOURCES.txt
--- old/proto-plus-1.19.9/proto_plus.egg-info/SOURCES.txt 2022-01-25 23:48:13.000000000 +0100
+++ new/proto-plus-1.20.3/proto_plus.egg-info/SOURCES.txt 2022-02-18 04:21:25.000000000 +0100
@@ -45,6 +45,7 @@
tests/test_fields_int.py
tests/test_fields_map_composite.py
tests/test_fields_map_scalar.py
+tests/test_fields_mitigate_collision.py
tests/test_fields_oneof.py
tests/test_fields_optional.py
tests/test_fields_repeated_composite.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/proto-plus-1.19.9/setup.py new/proto-plus-1.20.3/setup.py
--- old/proto-plus-1.19.9/setup.py 2022-01-25 23:48:06.000000000 +0100
+++ new/proto-plus-1.20.3/setup.py 2022-02-18 04:21:16.000000000 +0100
@@ -17,7 +17,7 @@
from setuptools import find_packages, setup
-version = "1.19.9"
+version = "1.20.3"
PACKAGE_ROOT = os.path.abspath(os.path.dirname(__file__))
@@ -50,6 +50,7 @@
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
+ "Programming Language :: Python :: 3.10",
"Topic :: Software Development :: Code Generators",
"Topic :: Software Development :: Libraries :: Python Modules",
],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/proto-plus-1.19.9/tests/test_datetime_helpers.py new/proto-plus-1.20.3/tests/test_datetime_helpers.py
--- old/proto-plus-1.19.9/tests/test_datetime_helpers.py 2022-01-25 23:48:06.000000000 +0100
+++ new/proto-plus-1.20.3/tests/test_datetime_helpers.py 2022-02-18 04:21:16.000000000 +0100
@@ -173,7 +173,6 @@
assert stamp == expected
-@staticmethod
@pytest.mark.parametrize(
"fractional, nanos",
[
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/proto-plus-1.19.9/tests/test_fields_mitigate_collision.py new/proto-plus-1.20.3/tests/test_fields_mitigate_collision.py
--- old/proto-plus-1.19.9/tests/test_fields_mitigate_collision.py 1970-01-01 01:00:00.000000000 +0100
+++ new/proto-plus-1.20.3/tests/test_fields_mitigate_collision.py 2022-02-18 04:21:16.000000000 +0100
@@ -0,0 +1,81 @@
+# Copyright 2022 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+import proto
+import pytest
+
+# Underscores may be appended to field names
+# that collide with python or proto-plus keywords.
+# In case a key only exists with a `_` suffix, coerce the key
+# to include the `_` suffix. It's not possible to
+# natively define the same field with a trailing underscore in protobuf.
+# See related issue
+# https://github.com/googleapis/python-api-core/issues/227
+def test_fields_mitigate_collision():
+ class TestMessage(proto.Message):
+ spam_ = proto.Field(proto.STRING, number=1)
+ eggs = proto.Field(proto.STRING, number=2)
+
+ class TextStream(proto.Message):
+ text_stream = proto.Field(TestMessage, number=1)
+
+ obj = TestMessage(spam_="has_spam")
+ obj.eggs = "has_eggs"
+ assert obj.spam_ == "has_spam"
+
+ # Test that `spam` is coerced to `spam_`
+ modified_obj = TestMessage({"spam": "has_spam", "eggs": "has_eggs"})
+ assert modified_obj.spam_ == "has_spam"
+
+ # Test get and set
+ modified_obj.spam = "no_spam"
+ assert modified_obj.spam == "no_spam"
+
+ modified_obj.spam_ = "yes_spam"
+ assert modified_obj.spam_ == "yes_spam"
+
+ modified_obj.spam = "maybe_spam"
+ assert modified_obj.spam_ == "maybe_spam"
+
+ modified_obj.spam_ = "maybe_not_spam"
+ assert modified_obj.spam == "maybe_not_spam"
+
+ # Try nested values
+ modified_obj = TextStream(
+ text_stream=TestMessage({"spam": "has_spam", "eggs": "has_eggs"})
+ )
+ assert modified_obj.text_stream.spam_ == "has_spam"
+
+ # Test get and set for nested values
+ modified_obj.text_stream.spam = "no_spam"
+ assert modified_obj.text_stream.spam == "no_spam"
+
+ modified_obj.text_stream.spam_ = "yes_spam"
+ assert modified_obj.text_stream.spam_ == "yes_spam"
+
+ modified_obj.text_stream.spam = "maybe_spam"
+ assert modified_obj.text_stream.spam_ == "maybe_spam"
+
+ modified_obj.text_stream.spam_ = "maybe_not_spam"
+ assert modified_obj.text_stream.spam == "maybe_not_spam"
+
+ with pytest.raises(AttributeError):
+ assert modified_obj.text_stream.attribute_does_not_exist == "n/a"
+
+ with pytest.raises(AttributeError):
+ modified_obj.text_stream.attribute_does_not_exist = "n/a"
+
+ # Try using dict
+ modified_obj = TextStream(text_stream={"spam": "has_spam", "eggs": "has_eggs"})
+ assert modified_obj.text_stream.spam_ == "has_spam"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/proto-plus-1.19.9/tests/test_message.py new/proto-plus-1.20.3/tests/test_message.py
--- old/proto-plus-1.19.9/tests/test_message.py 2022-01-25 23:48:06.000000000 +0100
+++ new/proto-plus-1.20.3/tests/test_message.py 2022-02-18 04:21:16.000000000 +0100
@@ -346,3 +346,76 @@
with pytest.raises(TypeError):
Mollusc.Squid.copy_from(m.squid, (("mass_kg", 20)))
+
+
+def test_dir():
+ class Mollusc(proto.Message):
+ class Class(proto.Enum):
+ UNKNOWN = 0
+ GASTROPOD = 1
+ BIVALVE = 2
+ CEPHALOPOD = 3
+
+ class Arm(proto.Message):
+ length_cm = proto.Field(proto.INT32, number=1)
+
+ mass_kg = proto.Field(proto.INT32, number=1)
+ class_ = proto.Field(Class, number=2)
+ arms = proto.RepeatedField(Arm, number=3)
+
+ expected = (
+ {
+ # Fields and nested message and enum types
+ "arms",
+ "class_",
+ "mass_kg",
+ "Arm",
+ "Class",
+ }
+ | {
+ # Other methods and attributes
+ "__bool__",
+ "__contains__",
+ "__dict__",
+ "__getattr__",
+ "__getstate__",
+ "__module__",
+ "__setstate__",
+ "__weakref__",
+ }
+ | set(dir(object))
+ ) # Gets the long tail of dunder methods and attributes.
+
+ actual = set(dir(Mollusc()))
+
+ # Check instance names
+ assert actual == expected
+
+ # Check type names
+ expected = (
+ set(dir(type))
+ | {
+ # Class methods from the MessageMeta metaclass
+ "copy_from",
+ "deserialize",
+ "from_json",
+ "meta",
+ "pb",
+ "serialize",
+ "to_dict",
+ "to_json",
+ "wrap",
+ }
+ | {
+ # Nested message and enum types
+ "Arm",
+ "Class",
+ }
+ )
+
+ actual = set(dir(Mollusc))
+ assert actual == expected
+
+
+def test_dir_message_base():
+ assert set(dir(proto.Message)) == set(dir(type))
++++++ pytest-staticmethod.patch ++++++
---
proto/_file_info.py | 1 -
1 file changed, 1 deletion(-)
--- a/proto/_file_info.py
+++ b/proto/_file_info.py
@@ -51,7 +51,6 @@ class _FileInfo(
return descriptor
- @staticmethod
def proto_file_name(name):
return "{0}.proto".format(name.replace(".", "/"))
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package xpra for openSUSE:Factory checked in at 2022-04-30 00:46:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xpra (Old)
and /work/SRC/openSUSE:Factory/.xpra.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xpra"
Sat Apr 30 00:46:27 2022 rev:45 rq:973983 version:4.4+git20220428.94954180d
Changes:
--------
--- /work/SRC/openSUSE:Factory/xpra/xpra.changes 2022-04-27 21:41:07.072998628 +0200
+++ /work/SRC/openSUSE:Factory/.xpra.new.1538/xpra.changes 2022-04-30 00:46:58.091025824 +0200
@@ -1,0 +2,49 @@
+Thu Apr 28 16:02:03 UTC 2022 - scott.bradnick(a)suse.com
+
+- Update to version 4.4+git20220428.94954180d:
+ * #3533 newer versions of Firefox use smaller max-size
+ * make socket info more resilient
+ * only query ioctl if we have a valid file descriptor
+ * move command lookup by pid to window model
+ * #3530 don't send pixels for windows that don't overlap the screen
+ * #3530 add 'unityhub' as browser content type
+ * #3514 fix launch error on systems without X11
+ * fix tabulation
+ * log failures to undock systrays
+ * #3530 crop the damage area if the window is now smaller
+ * add the v4l2 source to the codec loader tool
+ * #3371 guess the session if the environment has it
+ * parse when called, don't return a generator
+ * #3384 pass shadow geometry options to remote server
+ * fix generic subcommand substitution
+ * file should have been removed as part of 0b23cc0e59fd55047e5e73df7a4d39439584fb2d
+ * make the code easier to parse using context managers
+ * log the previous dimensions
+ * use xsync context manager
+ * #3530 use a UI context manager for freeing X11 images
+ * don't use xsync context manager on MacOS
+ * import X11 error handlers from the correct place
+ * #3530 cleaning up the xshm handle may raise X11 errors
+ * #3530 add more context checks
+ * #3530 call context check when XShm resources are freed
+ * lintian hangs on aarch64, skip it
+ * #3524 don't modify the monitors when the client connects
+ * remove debug logging
+ * #3524 make monitor windows fullscreen when desktop-fullscreen is set
+ * #3524 remove functions identical in base class
+ * #3524 doh: modify the monitor we're setting properties on
+ * #3524 better debug logging
+ * #3524 refresh all monitors on layout changes
+ * #3524 add 'monitor' subcommand
+ * #3524 reconfigure monitor models on external resize event
+ * #3524 add stub for handling monitor resizing via xrandr
+ * add missing context check, XRRSelectInput wrapper
+ * #3486 style fixups
+ * Refactoring for PR
+ * Refactoring for PR
+ * #3524 fixups, cleanups, etc
+ * cast is not necessary here
+ * Refactoring for PR
+ * Added keycloak authentication
+
+-------------------------------------------------------------------
Old:
----
xpra-4.4+git20220419.138728c46.tar.gz
New:
----
xpra-4.4+git20220428.94954180d.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ xpra.spec ++++++
--- /var/tmp/diff_new_pack.99tABE/_old 2022-04-30 00:46:59.167026934 +0200
+++ /var/tmp/diff_new_pack.99tABE/_new 2022-04-30 00:46:59.171026940 +0200
@@ -28,7 +28,7 @@
# -----
%global __requires_exclude ^typelib\\(GtkosxApplication\\)|typelib\\(GdkGLExt\\)|typelib\\(GtkGLExt\\).*$
Name: xpra
-Version: 4.4+git20220419.138728c46
+Version: 4.4+git20220428.94954180d
Release: 0
Summary: Remote display server for applications and desktops
License: BSD-3-Clause AND GPL-2.0-or-later AND LGPL-3.0-or-later AND MIT
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.99tABE/_old 2022-04-30 00:46:59.239027048 +0200
+++ /var/tmp/diff_new_pack.99tABE/_new 2022-04-30 00:46:59.243027054 +0200
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/Xpra-org/xpra</param>
- <param name="changesrevision">138728c463784270a7ec9ae35e9b7c92d8664680</param></service></servicedata>
+ <param name="changesrevision">94954180d8097e5f18100aba2fa587fbe5ea4a57</param></service></servicedata>
(No newline at EOF)
++++++ xpra-4.4+git20220419.138728c46.tar.gz -> xpra-4.4+git20220428.94954180d.tar.gz ++++++
/work/SRC/openSUSE:Factory/xpra/xpra-4.4+git20220419.138728c46.tar.gz /work/SRC/openSUSE:Factory/.xpra.new.1538/xpra-4.4+git20220428.94954180d.tar.gz differ: char 12, line 1
++++++ xpra.obsinfo ++++++
--- /var/tmp/diff_new_pack.99tABE/_old 2022-04-30 00:46:59.307027156 +0200
+++ /var/tmp/diff_new_pack.99tABE/_new 2022-04-30 00:46:59.311027162 +0200
@@ -1,5 +1,5 @@
name: xpra
-version: 4.4+git20220419.138728c46
-mtime: 1650382170
-commit: 138728c463784270a7ec9ae35e9b7c92d8664680
+version: 4.4+git20220428.94954180d
+mtime: 1651150793
+commit: 94954180d8097e5f18100aba2fa587fbe5ea4a57
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package sbt for openSUSE:Factory checked in at 2022-04-30 00:46:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sbt (Old)
and /work/SRC/openSUSE:Factory/.sbt.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sbt"
Sat Apr 30 00:46:23 2022 rev:12 rq:973968 version:0.13.18
Changes:
--------
--- /work/SRC/openSUSE:Factory/sbt/sbt.changes 2022-03-29 21:07:16.073130687 +0200
+++ /work/SRC/openSUSE:Factory/.sbt.new.1538/sbt.changes 2022-04-30 00:46:54.535022740 +0200
@@ -1,0 +2,6 @@
+Fri Apr 29 16:39:37 UTC 2022 - Fridrich Strba <fstrba(a)suse.com>
+
+- For the sbt artifact version, since in some conditions, it is
+ not correctly resolved from ivy files
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ sbt.spec ++++++
--- /var/tmp/diff_new_pack.1ne2nb/_old 2022-04-30 00:46:56.487024433 +0200
+++ /var/tmp/diff_new_pack.1ne2nb/_new 2022-04-30 00:46:56.495024440 +0200
@@ -508,7 +508,7 @@
# sbt components
for jar in actions api apply-macro cache classfile classpath collections command compile compiler-integration compiler-ivy-integration completion control cross datatype-generator incremental-compiler interface io ivy logging logic main main-settings persist process relation run sbt scripted-framework scripted-plugin scripted-sbt tasks task-system test-agent testing tracking; do
- ./climbing-nemesis.py --jarfile %{_javadir}/%{short_name}/${jar}.jar --ivyfile %{installed_ivy_local}/org.scala-sbt/${jar}/%{sbt_bootstrap_version}/ivy.xml org.scala-sbt ${jar} %{ivy_local_dir}
+ ./climbing-nemesis.py --jarfile %{_javadir}/%{short_name}/${jar}.jar --ivyfile %{installed_ivy_local}/org.scala-sbt/${jar}/%{sbt_bootstrap_version}/ivy.xml org.scala-sbt ${jar} %{ivy_local_dir} --version %{sbt_bootstrap_version}
done
%endif # with bootstrap
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package akka for openSUSE:Factory checked in at 2022-04-30 00:46:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/akka (Old)
and /work/SRC/openSUSE:Factory/.akka.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "akka"
Sat Apr 30 00:46:22 2022 rev:7 rq:973967 version:2.3.16
Changes:
--------
--- /work/SRC/openSUSE:Factory/akka/akka.changes 2022-04-28 23:08:14.500704613 +0200
+++ /work/SRC/openSUSE:Factory/.akka.new.1538/akka.changes 2022-04-30 00:46:53.635021960 +0200
@@ -1,0 +2,6 @@
+Fri Apr 29 14:39:47 UTC 2022 - Fridrich Strba <fstrba(a)suse.com>
+
+- Use %%mvn_artifact and %%mvn_install instead of %%add_maven_depmap
+ * Allow resolution against netty3 that uses compatibility versions
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ akka.spec ++++++
--- /var/tmp/diff_new_pack.TYyvhm/_old 2022-04-30 00:46:54.243022487 +0200
+++ /var/tmp/diff_new_pack.TYyvhm/_new 2022-04-30 00:46:54.243022487 +0200
@@ -58,16 +58,9 @@
BuildRequires: mvn(org.uncommons.maths:uncommons-maths)
# requires for akka-remote
BuildRequires: protobuf-devel
+BuildRequires: xmvn-install
+BuildRequires: xmvn-resolve
Requires: java-headless >= 1.8
-Requires: mvn(com.google.protobuf:protobuf-java)
-Requires: mvn(com.typesafe:config)
-Requires: mvn(io.netty:netty:3)
-Requires: mvn(org.osgi:osgi.cmpn)
-Requires: mvn(org.osgi:osgi.core)
-Requires: mvn(org.scala-lang:scala-library)
-Requires: mvn(org.scala-stm:scala-stm_2.10)
-Requires: mvn(org.slf4j:slf4j-api)
-Requires: mvn(org.uncommons.maths:uncommons-maths)
BuildArch: noarch
%description
@@ -111,56 +104,25 @@
%{ant} dist doc
-%install
-
-mkdir -p %{buildroot}%{_javadir}/%{name}
-cp -p target/%{name}-actor.jar %{buildroot}%{_javadir}/%{name}/
-cp -p target/%{name}-agent.jar %{buildroot}%{_javadir}/%{name}/
-cp -p target/%{name}-cluster.jar %{buildroot}%{_javadir}/%{name}/
-cp -p target/%{name}-dataflow.jar %{buildroot}%{_javadir}/%{name}/
-cp -p target/%{name}-kernel.jar %{buildroot}%{_javadir}/%{name}/
-cp -p target/%{name}-osgi.jar %{buildroot}%{_javadir}/%{name}/
-cp -p target/%{name}-remote.jar %{buildroot}%{_javadir}/%{name}/
-cp -p target/%{name}-slf4j.jar %{buildroot}%{_javadir}/%{name}/
-cp -p target/%{name}-transactor.jar %{buildroot}%{_javadir}/%{name}/
-
-mkdir -p %{buildroot}%{_mavenpomdir}
-install -pm 644 %{SOURCE2} %{buildroot}%{_mavenpomdir}/JPP.%{name}-%{name}-actor.pom
-%add_maven_depmap JPP.%{name}-%{name}-actor.pom %{name}/%{name}-actor.jar
-
-install -pm 644 %{SOURCE3} %{buildroot}%{_mavenpomdir}/JPP.%{name}-%{name}-agent.pom
-%add_maven_depmap JPP.%{name}-%{name}-agent.pom %{name}/%{name}-agent.jar
-
-install -pm 644 %{SOURCE4} %{buildroot}%{_mavenpomdir}/JPP.%{name}-%{name}-cluster.pom
-%add_maven_depmap JPP.%{name}-%{name}-cluster.pom %{name}/%{name}-cluster.jar
-
-install -pm 644 %{SOURCE5} %{buildroot}%{_mavenpomdir}/JPP.%{name}-%{name}-dataflow.pom
-%add_maven_depmap JPP.%{name}-%{name}-dataflow.pom %{name}/%{name}-dataflow.jar
-
-install -pm 644 %{SOURCE6} %{buildroot}%{_mavenpomdir}/JPP.%{name}-%{name}-kernel.pom
-%add_maven_depmap JPP.%{name}-%{name}-kernel.pom %{name}/%{name}-kernel.jar
-
-install -pm 644 osgi-pom.xml %{buildroot}%{_mavenpomdir}/JPP.%{name}-%{name}-osgi.pom
-%add_maven_depmap JPP.%{name}-%{name}-osgi.pom %{name}/%{name}-osgi.jar
-
-install -pm 644 remote-pom.xml %{buildroot}%{_mavenpomdir}/JPP.%{name}-%{name}-remote.pom
-%add_maven_depmap JPP.%{name}-%{name}-remote.pom %{name}/%{name}-remote.jar
-
-install -pm 644 %{SOURCE9} %{buildroot}%{_mavenpomdir}/JPP.%{name}-%{name}-slf4j.pom
-%add_maven_depmap JPP.%{name}-%{name}-slf4j.pom %{name}/%{name}-slf4j.jar
+%{mvn_artifact} %{SOURCE2} target/%{name}-actor.jar
+%{mvn_artifact} %{SOURCE3} target/%{name}-agent.jar
+%{mvn_artifact} %{SOURCE4} target/%{name}-cluster.jar
+%{mvn_artifact} %{SOURCE5} target/%{name}-dataflow.jar
+%{mvn_artifact} %{SOURCE6} target/%{name}-kernel.jar
+%{mvn_artifact} osgi-pom.xml target/%{name}-osgi.jar
+%{mvn_artifact} remote-pom.xml target/%{name}-remote.jar
+%{mvn_artifact} %{SOURCE9} target/%{name}-slf4j.jar
+%{mvn_artifact} %{SOURCE10} target/%{name}-transactor.jar
-install -pm 644 %{SOURCE10} %{buildroot}%{_mavenpomdir}/JPP.%{name}-%{name}-transactor.pom
-%add_maven_depmap JPP.%{name}-%{name}-transactor.pom %{name}/%{name}-transactor.jar
-
-mkdir -p %{buildroot}%{_javadocdir}/%{name}
+%install
+%mvn_install -J target/apidocs/
cp -rp target/apidocs/* %{buildroot}%{_javadocdir}/%{name}
%files -f .mfiles
%license LICENSE
%doc CONTRIBUTING.md README.textile
-%files javadoc
-%{_javadocdir}/%{name}
+%files javadoc -f .mfiles-javadoc
%license LICENSE
%changelog
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pytest-base-url for openSUSE:Factory checked in at 2022-04-30 00:46:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-base-url (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-base-url.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-base-url"
Sat Apr 30 00:46:21 2022 rev:2 rq:973966 version:2.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytest-base-url/python-pytest-base-url.changes 2020-10-06 17:16:29.041804431 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest-base-url.new.1538/python-pytest-base-url.changes 2022-04-30 00:46:52.979021391 +0200
@@ -1,0 +2,7 @@
+Fri Apr 29 10:14:27 UTC 2022 - Mark��ta Machov�� <mmachova(a)suse.com>
+
+- Update to 2.0.0
+ * Drop python 2.7 and 3.6 support
+ * Switch to pyproject.toml and Poetry
+
+-------------------------------------------------------------------
Old:
----
pytest-base-url-1.4.2.tar.gz
New:
----
pytest-base-url-2.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-base-url.spec ++++++
--- /var/tmp/diff_new_pack.kQRlLf/_old 2022-04-30 00:46:53.415021769 +0200
+++ /var/tmp/diff_new_pack.kQRlLf/_new 2022-04-30 00:46:53.419021772 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-base-url
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,24 +16,25 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?!python_module:%define python_module() python3-%{**}}
Name: python-pytest-base-url
-Version: 1.4.2
+Version: 2.0.0
Release: 0
Summary: Pytest plugin for URL based testing
License: MPL-2.0
Group: Development/Languages/Python
URL: https://github.com/pytest-dev/pytest-base-url
Source: https://files.pythonhosted.org/packages/source/p/pytest-base-url/pytest-bas…
-BuildRequires: %{python_module setuptools_scm}
-BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module pip}
+BuildRequires: %{python_module poetry-core}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-pytest >= 2.7.3
+Requires: python-pytest >= 3.0.0
Requires: python-requests >= 2.9
BuildArch: noarch
# SECTION test requirements
-BuildRequires: %{python_module pytest >= 2.7.3}
+BuildRequires: %{python_module pytest >= 3.0.0}
BuildRequires: %{python_module pytest-localserver}
BuildRequires: %{python_module requests >= 2.9}
# /SECTION
@@ -46,17 +47,17 @@
%setup -q -n pytest-base-url-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
-%doc CHANGES.rst README.rst
+%doc README.rst
%license LICENSE
%{python_sitelib}/*
++++++ pytest-base-url-1.4.2.tar.gz -> pytest-base-url-2.0.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-base-url-1.4.2/.gitignore new/pytest-base-url-2.0.0/.gitignore
--- old/pytest-base-url-1.4.2/.gitignore 2020-06-20 01:20:18.000000000 +0200
+++ new/pytest-base-url-2.0.0/.gitignore 1970-01-01 01:00:00.000000000 +0100
@@ -1,10 +0,0 @@
-__pycache__
-*.egg-info/
-*.pyc
-.cache
-.DS_Store
-.tox
-.eggs
-.vscode/
-build
-dist
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-base-url-1.4.2/.pre-commit-config.yaml new/pytest-base-url-2.0.0/.pre-commit-config.yaml
--- old/pytest-base-url-1.4.2/.pre-commit-config.yaml 2020-06-20 01:20:18.000000000 +0200
+++ new/pytest-base-url-2.0.0/.pre-commit-config.yaml 1970-01-01 01:00:00.000000000 +0100
@@ -1,15 +0,0 @@
-repos:
-
-- repo: https://github.com/psf/black
- rev: stable
- hooks:
- - id: black
- args: [--safe, --quiet]
- language_version: python3
-
-- repo: https://gitlab.com/pycqa/flake8
- rev: 3.7.7
- hooks:
- - id: flake8
- exclude: docs
- language_version: python3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-base-url-1.4.2/.travis.yml new/pytest-base-url-2.0.0/.travis.yml
--- old/pytest-base-url-1.4.2/.travis.yml 2020-06-20 01:20:18.000000000 +0200
+++ new/pytest-base-url-2.0.0/.travis.yml 1970-01-01 01:00:00.000000000 +0100
@@ -1,53 +0,0 @@
-language: python
-jobs:
- include:
- - stage: Tests
- name: Linting
- python: 3.7
- dist: xenial
- sudo: required
- env: TOXENV=linting
-
- -
- python: 2.7
- env: TOXENV=py27
-
- -
- python: 3.6
- env: TOXENV=py36
-
- -
- python: 3.7
- dist: xenial
- sudo: required
- env: TOXENV=py37
-
- -
- python: pypy
- env: TOXENV=pypy
-
- -
- python: pypy3
- env: TOXENV=pypy3
-
- - stage: deploy
- python: 3.7
- dist: xenial
- sudo: required
- install: skip
- script: skip
- deploy:
- provider: pypi
- user: davehunt
- password:
- secure: "aSevNdJQLPH1S1TNaI+uSFdiZ+dEQkkvmLym5eA8vjvo0fV4FEQfjZg8rW69hfYAGA4EFkE3hQUs5IQIm5ug+A3FsMDjom4nAhCthq8g/5hviT+V6wVzoVdxf0JhlpLtDFteFTOKj5Z9PC/xhJJ/2/JrzmEwUwopiNtSNBdVwRXCOvb6L3aIU5DmTtuWokpBNmv4H2cdjCxwLROSlKdfFr4urUwiOst/A5W1HvdxWhEkQL7fLx/sUOHobYjkoL32miTpSHUJNH1L0G8uciMdtXTBY3HQ/uRfWaDs3iJ7Iwtk2hEB1ukPZiXtBX0FjTJXd71a4BvvG1FSQgeQ4zW1Fzf8Xz5qg0Z1Z+7DTFzekhd1AfcwDlr2Vh7xD6FCBSjFyAIXQ0n36mtoEfHDM6RQMQSQZm4j+4EOdFf9kfWsTn9XGWCr47r3qe+6SUzGSvHcD6LeoZZ2ZJjSk37vdQ0y28yvZr5goBFwY11MMjMVqLSA4mWhhueBWA7il9ciwfJbb6RThBfnHYdT8l4NRztkXz6QaW4KCJNVr3aE3MwPLzfux9JUUml//JUjuhChLpEvrAM6CRliZSawKdE9E2o5QOISt7yiEVdaxohAcfTkj5X+WTS5QBYjT/8+iV6KWDjghm/FH13/WZlcqMfC7be+EgXvqv3ffUanX7jnpzdg1sQ="
- distributions: sdist bdist_wheel
- on:
- tags: true
- repo: pytest-dev/pytest-base-url
-
-cache: pip
-
-install: pip install tox
-
-script: tox
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-base-url-1.4.2/CHANGES.rst new/pytest-base-url-2.0.0/CHANGES.rst
--- old/pytest-base-url-1.4.2/CHANGES.rst 2020-06-20 01:20:18.000000000 +0200
+++ new/pytest-base-url-2.0.0/CHANGES.rst 1970-01-01 01:00:00.000000000 +0100
@@ -1,41 +0,0 @@
-Release Notes
--------------
-
-**1.4.2 (2020-06-20)**
-
-* Lazy load requests dependency to reduce cost
-
- * Thanks to `@boxed <https://github.com/boxed>`_ for the PR
-
-* Fixed compatibility with ``pytest-xdist`` 2.0+ (supporting >= 1.22.3)
-
- * Thanks to `@Zac-HD <https://github.com/Zac-HD>`_ for the PR
-
-**1.4.1 (2017-06-22)**
-
-* Update dependency of requests to require v2.9 or later.
-
-**1.4.0 (2017-06-12)**
-
-* Add verify base URL timeouts
-
- * Thanks to `@jrbenny35 <https://github.com/jrbenny35>`_ for the PR
-
-**1.3.0 (2017-02-27)**
-
-* Add base URL to metadata provided by
- `pytest-metadata <https://pypi.python.org/pypi/pytest-metadata/>`_.
-
-**1.2.0 (2016-11-17)**
-
-* Added support for specifying the base URL by environment variable
-
- * Thanks to `@m8ttyB <https://github.com/m8ttyB>`_ for the PR
-
-**1.1.0 (2016-07-07)**
-
-* Added base URL to report header
-
-**1.0.0 (2016-05-10)**
-
-* Initial release
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-base-url-1.4.2/PKG-INFO new/pytest-base-url-2.0.0/PKG-INFO
--- old/pytest-base-url-1.4.2/PKG-INFO 2020-06-20 01:20:38.000000000 +0200
+++ new/pytest-base-url-2.0.0/PKG-INFO 2022-03-27 15:22:04.278767000 +0200
@@ -1,186 +1,190 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
Name: pytest-base-url
-Version: 1.4.2
+Version: 2.0.0
Summary: pytest plugin for URL based testing
Home-page: https://github.com/pytest-dev/pytest-base-url
+License: MPL-2.0
+Keywords: pytest,base,url,mozilla,automation
Author: Dave Hunt
Author-email: dhunt(a)mozilla.com
-License: Mozilla Public License 2.0 (MPL 2.0)
-Description: pytest-base-url
- ===============
-
- pytest-base-url is a simple plugin for pytest_ that provides an optional base
- URL via the command line or configuration file.
-
- .. image:: https://img.shields.io/badge/license-MPL%202.0-blue.svg
- :target: https://github.com/pytest-dev/pytest-base-url/blob/master/LICENSE
- :alt: License
- .. image:: https://img.shields.io/pypi/v/pytest-base-url.svg
- :target: https://pypi.python.org/pypi/pytest-base-url/
- :alt: PyPI
- .. image:: https://img.shields.io/travis/pytest-dev/pytest-base-url.svg
- :target: https://travis-ci.org/pytest-dev/pytest-base-url/
- :alt: Travis
- .. image:: https://img.shields.io/github/issues-raw/pytest-dev/pytest-base-url.svg
- :target: https://github.com/pytest-dev/pytest-base-url/issues
- :alt: Issues
- .. image:: https://img.shields.io/requires/github/pytest-dev/pytest-base-url.svg
- :target: https://requires.io/github/pytest-dev/pytest-base-url/requirements/?branch=…
- :alt: Requirements
-
- Requirements
- ------------
-
- You will need the following prerequisites in order to use pytest-base-url:
-
- - Python 2.7, 3.6, PyPy, or PyPy3
- - py.test 2.7 or newer
-
- Installation
- ------------
-
- To install pytest-base-url:
-
- .. code-block:: bash
-
- $ pip install pytest-base-url
-
- Contributing
- ------------
-
- We welcome contributions.
-
- To learn more, see `Development <https://github.com/pytest-dev/pytest-base-url/blob/master/development.rst>`_
-
- Specifying a Base URL
- ---------------------
-
- Rather than repeating or abstracting a base URL in your tests, pytest-base-url
- provides a ``base_url`` fixture that returns the specified base URL.
-
- .. code-block:: python
-
- import urllib2
-
- def test_example(base_url):
- assert 200 == urllib2.urlopen(base_url).getcode()
-
- Using the Command Line
- ^^^^^^^^^^^^^^^^^^^^^^
-
- You can specify the base URL on the command line:
-
- .. code-block:: bash
-
- $ py.test --base-url http://www.example.com
-
- Using a Configuration File
- ^^^^^^^^^^^^^^^^^^^^^^^^^^
-
- You can specify the base URL using a `configuration file`_:
-
- .. code-block:: ini
-
- [pytest]
- base_url = http://www.example.com
-
- Using an Environment Variable
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
- You can specify the base URL by setting the ``PYTEST_BASE_URL`` environment variable.
-
- Using a Fixture
- ^^^^^^^^^^^^^^^
-
- If your test harness takes care of launching an instance of your application
- under test, you may not have a predictable base URL to provide on the command
- line. Fortunately, it's easy to override the ``base_url`` fixture and return
- the correct URL to your test.
-
- In the following example a ``live_server`` fixture is used to start the
- application and ``live_server.url`` returns the base URL of the site.
-
- .. code-block:: python
-
- import urllib2
- import pytest
-
- @pytest.fixture
- def base_url(live_server):
- return live_server.url
-
- def test_search(base_url):
- assert 200 == urllib2.urlopen('{0}/search'.format(base_url)).getcode()
-
- Available Live Servers
- ----------------------
-
- It's relatively simple to create your own ``live_server`` fixture, however you
- may be able to take advantage of one of the following:
-
- * Django applications can use pytest-django_'s ``live_server`` fixture.
- * Flask applications can use pytest-flask_'s ``live_server`` fixture.
-
- Verifying the Base URL
- ----------------------
-
- If you specify a base URL for a site that's unavailable then all tests using
- that base URL will likely fail. To avoid running every test in this instance,
- you can enable base URL verification. This will check the base URL is
- responding before proceeding with the test suite. To enable this, specify the
- ``--verify-base-url`` command line option or set the ``VERIFY_BASE_URL``
- environment variable to ``TRUE``.
-
- Skipping Base URLs
- ------------------
-
- You can `skip tests`_ based on the value of the base URL so long as it is
- provided either by the command line or in a configuration file:
-
- .. code-block:: python
-
- import urllib2
- import pytest
-
- @pytest.mark.skipif(
- "'dev' in config.getoption('base_url')",
- reason='Search not available on dev')
- def test_search(base_url):
- assert 200 == urllib2.urlopen('{0}/search'.format(base_url)).getcode()
-
- Unfortunately if the URL is provided by a fixture, there is no way to know this
- value at test collection.
-
- Resources
- ---------
-
- - `Release Notes`_
- - `Issue Tracker`_
- - Code_
-
- .. _pytest: http://www.python.org/
- .. _configuration file: http://pytest.org/latest/customize.html#command-line-options-and-configurat…
- .. _pytest-django: http://pytest-django.readthedocs.org/
- .. _pytest-flask: http://pytest-flask.readthedocs.org/
- .. _skip tests: http://pytest.org/latest/skipping.html
- .. _Release Notes: http://github.com/pytest-dev/pytest-base-url/blob/master/CHANGES.rst
- .. _Issue Tracker: http://github.com/pytest-dev/pytest-base-url/issues
- .. _Code: http://github.com/pytest-dev/pytest-base-url
-
-Keywords: py.test pytest base url mozilla automation
-Platform: UNKNOWN
+Requires-Python: >=3.7,<4.0
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: Pytest
Classifier: Intended Audience :: Developers
-Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)
-Classifier: Operating System :: POSIX
-Classifier: Operating System :: Microsoft :: Windows
+Classifier: License :: OSI Approved
Classifier: Operating System :: MacOS :: MacOS X
+Classifier: Operating System :: Microsoft :: Windows
+Classifier: Operating System :: POSIX
+Classifier: Programming Language :: Python :: 3
+Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Topic :: Software Development :: Testing
Classifier: Topic :: Utilities
-Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2.7
-Classifier: Programming Language :: Python :: 3.6
-Classifier: Programming Language :: Python :: Implementation :: CPython
-Classifier: Programming Language :: Python :: Implementation :: PyPy
+Requires-Dist: pytest (>=3.0.0,<8.0.0)
+Requires-Dist: requests (>=2.9)
+Project-URL: Repository, https://github.com/pytest-dev/pytest-base-url
+Description-Content-Type: text/x-rst
+
+pytest-base-url
+===============
+
+pytest-base-url is a simple plugin for pytest_ that provides an optional base
+URL via the command line or configuration file.
+
+.. image:: https://img.shields.io/badge/license-MPL%202.0-blue.svg
+ :target: https://github.com/pytest-dev/pytest-base-url/blob/master/LICENSE
+ :alt: License
+.. image:: https://img.shields.io/pypi/v/pytest-base-url.svg
+ :target: https://pypi.python.org/pypi/pytest-base-url/
+ :alt: PyPI
+.. image:: https://img.shields.io/travis/pytest-dev/pytest-base-url.svg
+ :target: https://travis-ci.org/pytest-dev/pytest-base-url/
+ :alt: Travis
+.. image:: https://img.shields.io/github/issues-raw/pytest-dev/pytest-base-url.svg
+ :target: https://github.com/pytest-dev/pytest-base-url/issues
+ :alt: Issues
+.. image:: https://img.shields.io/requires/github/pytest-dev/pytest-base-url.svg
+ :target: https://requires.io/github/pytest-dev/pytest-base-url/requirements/?branch=…
+ :alt: Requirements
+
+Requirements
+------------
+
+You will need the following prerequisites in order to use pytest-base-url:
+
+- Python 3.7+ or PyPy3
+
+Installation
+------------
+
+To install pytest-base-url:
+
+.. code-block:: bash
+
+ $ pip install pytest-base-url
+
+Contributing
+------------
+
+We welcome contributions.
+
+To learn more, see `Development <https://github.com/pytest-dev/pytest-base-url/blob/master/development.rst>`_
+
+Specifying a Base URL
+---------------------
+
+Rather than repeating or abstracting a base URL in your tests, pytest-base-url
+provides a ``base_url`` fixture that returns the specified base URL.
+
+.. code-block:: python
+
+ import urllib2
+
+ def test_example(base_url):
+ assert 200 == urllib2.urlopen(base_url).getcode()
+
+Using the Command Line
+^^^^^^^^^^^^^^^^^^^^^^
+
+You can specify the base URL on the command line:
+
+.. code-block:: bash
+
+ $ py.test --base-url http://www.example.com
+
+Using a Configuration File
+^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+You can specify the base URL using a `configuration file`_:
+
+.. code-block:: ini
+
+ [pytest]
+ base_url = http://www.example.com
+
+Using an Environment Variable
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+You can specify the base URL by setting the ``PYTEST_BASE_URL`` environment variable.
+
+Using a Fixture
+^^^^^^^^^^^^^^^
+
+If your test harness takes care of launching an instance of your application
+under test, you may not have a predictable base URL to provide on the command
+line. Fortunately, it's easy to override the ``base_url`` fixture and return
+the correct URL to your test.
+
+In the following example a ``live_server`` fixture is used to start the
+application and ``live_server.url`` returns the base URL of the site.
+
+.. code-block:: python
+
+ import urllib2
+ import pytest
+
+ @pytest.fixture
+ def base_url(live_server):
+ return live_server.url
+
+ def test_search(base_url):
+ assert 200 == urllib2.urlopen('{0}/search'.format(base_url)).getcode()
+
+Available Live Servers
+----------------------
+
+It's relatively simple to create your own ``live_server`` fixture, however you
+may be able to take advantage of one of the following:
+
+* Django applications can use pytest-django_'s ``live_server`` fixture.
+* Flask applications can use pytest-flask_'s ``live_server`` fixture.
+
+Verifying the Base URL
+----------------------
+
+If you specify a base URL for a site that's unavailable then all tests using
+that base URL will likely fail. To avoid running every test in this instance,
+you can enable base URL verification. This will check the base URL is
+responding before proceeding with the test suite. To enable this, specify the
+``--verify-base-url`` command line option or set the ``VERIFY_BASE_URL``
+environment variable to ``TRUE``.
+
+Skipping Base URLs
+------------------
+
+You can `skip tests`_ based on the value of the base URL so long as it is
+provided either by the command line or in a configuration file:
+
+.. code-block:: python
+
+ import urllib2
+ import pytest
+
+ @pytest.mark.skipif(
+ "'dev' in config.getoption('base_url')",
+ reason='Search not available on dev')
+ def test_search(base_url):
+ assert 200 == urllib2.urlopen('{0}/search'.format(base_url)).getcode()
+
+Unfortunately if the URL is provided by a fixture, there is no way to know this
+value at test collection.
+
+Resources
+---------
+
+- `Release Notes`_
+- `Issue Tracker`_
+- Code_
+
+.. _pytest: http://www.python.org/
+.. _configuration file: http://pytest.org/latest/customize.html#command-line-options-and-configurat…
+.. _pytest-django: http://pytest-django.readthedocs.org/
+.. _pytest-flask: http://pytest-flask.readthedocs.org/
+.. _skip tests: http://pytest.org/latest/skipping.html
+.. _Release Notes: http://github.com/pytest-dev/pytest-base-url/blob/master/CHANGES.rst
+.. _Issue Tracker: http://github.com/pytest-dev/pytest-base-url/issues
+.. _Code: http://github.com/pytest-dev/pytest-base-url
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-base-url-1.4.2/Pipfile new/pytest-base-url-2.0.0/Pipfile
--- old/pytest-base-url-1.4.2/Pipfile 2020-06-20 01:20:18.000000000 +0200
+++ new/pytest-base-url-2.0.0/Pipfile 1970-01-01 01:00:00.000000000 +0100
@@ -1,14 +0,0 @@
-[[source]]
-name = "pypi"
-url = "https://pypi.org/simple"
-verify_ssl = true
-
-[dev-packages]
-pytest = "*"
-tox = "*"
-flake8 = "*"
-black = "*"
-pre-commit = "*"
-
-[packages]
-pytest-base-url = {editable = true,path = "."}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-base-url-1.4.2/README.rst new/pytest-base-url-2.0.0/README.rst
--- old/pytest-base-url-1.4.2/README.rst 2020-06-20 01:20:18.000000000 +0200
+++ new/pytest-base-url-2.0.0/README.rst 2022-03-27 15:21:27.015980200 +0200
@@ -25,8 +25,7 @@
You will need the following prerequisites in order to use pytest-base-url:
-- Python 2.7, 3.6, PyPy, or PyPy3
-- py.test 2.7 or newer
+- Python 3.7+ or PyPy3
Installation
------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-base-url-1.4.2/development.rst new/pytest-base-url-2.0.0/development.rst
--- old/pytest-base-url-1.4.2/development.rst 2020-06-20 01:20:18.000000000 +0200
+++ new/pytest-base-url-2.0.0/development.rst 1970-01-01 01:00:00.000000000 +0100
@@ -1,70 +0,0 @@
-Development
-===========
-
-To contribute to `pytest-base-url` you can use `Pipenv`_ to manage
-a python virtual environment and `pre-commit <https://pre-commit.com/>`_ to help you with
-styling and formatting.
-
-To setup the virtual environment and pre-commit, run:
-
-.. code-block:: bash
-
- $ pipenv install --dev
- $ pipenv run pre-commit install
-
-If you're not using `Pipenv`_, to install `pre-commit`, run:
-
-.. code-block:: bash
-
- $ pip install pre-commit
- $ pre-commit install
-
-
-Automated Testing
------------------
-
-All pull requests and merges are tested in `Travis CI <https://travis-ci.org/>`_
-based on the ``.travis.yml`` file.
-
-Usually, a link to your specific travis build appears in pull requests, but if
-not, you can find it on the
-`pull requests page <https://travis-ci.org/pytest-dev/pytest-base-url/pull_requests>`_
-
-The only way to trigger Travis CI to run again for a pull request, is to submit
-another change to the pull branch.
-
-You can do this with `git commit --allow-empty`
-
-Running Tests
--------------
-
-You will need `Tox <http://tox.testrun.org/>`_ installed to run the tests
-against the supported Python versions. If you're using `Pipenv`_ it will be
-installed for you.
-
-With `Pipenv`_, run:
-
-.. code-block:: bash
-
- $ pipenv run tox
-
-Otherwise, to install and run, do:
-
-.. code-block:: bash
-
- $ pip install tox
- $ tox
-
-Releasing a new version
------------------------
-
-Follow these steps to release a new version of the project:
-
-1. Update your local master with the upstream master (``git pull --rebase upstream master``)
-2. Create a new branch and update ``CHANGES.rst`` with the new version, today's date, and all changes/new features
-3. Commit and push the new branch and then create a new pull request
-4. Wait for tests and reviews and then merge the branch
-5. Once merged, update your local master again (``git pull --rebase upstream master``)
-6. Tag the release with the new release version (``git tag v<new tag>``)
-7. Push the tag (``git push upstream --tags``)
-8. Done. You can monitor the progress on `Travis <https://travis-ci.org/pytest-dev/pytest-base-url/>`_
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-base-url-1.4.2/pyproject.toml new/pytest-base-url-2.0.0/pyproject.toml
--- old/pytest-base-url-1.4.2/pyproject.toml 1970-01-01 01:00:00.000000000 +0100
+++ new/pytest-base-url-2.0.0/pyproject.toml 2022-03-27 15:21:27.019980400 +0200
@@ -0,0 +1,57 @@
+[build-system]
+requires = ["poetry-core>=1.0.0"]
+build-backend = "poetry.core.masonry.api"
+
+[tool.poetry]
+name = "pytest-base-url"
+version = "2.0.0"
+description = "pytest plugin for URL based testing"
+license = "MPL-2.0"
+authors = [
+ "Dave Hunt <dhunt(a)mozilla.com>",
+ "Jim Br��nnlund <jimbrannlund(a)fastmail.com>"
+]
+readme = "README.rst"
+homepage = "https://github.com/pytest-dev/pytest-base-url"
+repository = "https://github.com/pytest-dev/pytest-base-url"
+keywords = [
+ "pytest",
+ "base",
+ "url",
+ "mozilla",
+ "automation"
+]
+classifiers = [
+ "Development Status :: 5 - Production/Stable",
+ "Framework :: Pytest",
+ "Intended Audience :: Developers",
+ "Operating System :: POSIX",
+ "Operating System :: Microsoft :: Windows",
+ "Operating System :: MacOS :: MacOS X",
+ "Topic :: Software Development :: Quality Assurance",
+ "Topic :: Software Development :: Testing",
+ "Topic :: Utilities",
+]
+packages = [
+ { include = "pytest_base_url", from = "src" },
+]
+include = [
+ { path = "tests", format = "sdist" },
+]
+
+[tool.poetry.dependencies]
+python = "^3.7"
+pytest = ">=3.0.0,<8.0.0"
+requests = ">=2.9"
+
+[tool.poetry.dev-dependencies]
+black = "^22.1.0"
+flake8 = "^4.0.1"
+tox = "^3.24.5"
+pre-commit = "^2.17.0"
+
+[tool.poetry.plugins.pytest11]
+base_url = 'pytest_base_url.plugin'
+
+[tool.black]
+target-version = ['py37']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-base-url-1.4.2/pytest_base_url/plugin.py new/pytest-base-url-2.0.0/pytest_base_url/plugin.py
--- old/pytest-base-url-1.4.2/pytest_base_url/plugin.py 2020-06-20 01:20:18.000000000 +0200
+++ new/pytest-base-url-2.0.0/pytest_base_url/plugin.py 1970-01-01 01:00:00.000000000 +0100
@@ -1,65 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-
-import os
-
-import pytest
-
-
-(a)pytest.fixture(scope="session")
-def base_url(request):
- """Return a base URL"""
- config = request.config
- base_url = config.getoption("base_url")
- if base_url is not None:
- return base_url
-
-
-(a)pytest.fixture(scope="session", autouse=True)
-def _verify_url(request, base_url):
- """Verifies the base URL"""
-
- verify = request.config.option.verify_base_url
- if base_url and verify:
- # Lazy load requests to reduce cost for tests that don't use the plugin
- import requests
- from requests.packages.urllib3.util.retry import Retry
- from requests.adapters import HTTPAdapter
-
- session = requests.Session()
- retries = Retry(backoff_factor=0.1, status_forcelist=[500, 502, 503, 504])
- session.mount(base_url, HTTPAdapter(max_retries=retries))
- session.get(base_url)
-
-
-def pytest_configure(config):
- if hasattr(config, "workerinput"):
- return # don't run configure on xdist worker nodes
- base_url = config.getoption("base_url") or config.getini("base_url")
- if base_url is not None:
- config.option.base_url = base_url
- if hasattr(config, "_metadata"):
- config._metadata["Base URL"] = base_url
-
-
-def pytest_report_header(config, startdir):
- base_url = config.getoption("base_url")
- if base_url:
- return "baseurl: {0}".format(base_url)
-
-
-def pytest_addoption(parser):
- parser.addini("base_url", help="base url for the application under test.")
- parser.addoption(
- "--base-url",
- metavar="url",
- default=os.getenv("PYTEST_BASE_URL", None),
- help="base url for the application under test.",
- )
- parser.addoption(
- "--verify-base-url",
- action="store_true",
- default=not os.getenv("VERIFY_BASE_URL", "false").lower() == "false",
- help="verify the base url.",
- )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-base-url-1.4.2/pytest_base_url.egg-info/PKG-INFO new/pytest-base-url-2.0.0/pytest_base_url.egg-info/PKG-INFO
--- old/pytest-base-url-1.4.2/pytest_base_url.egg-info/PKG-INFO 2020-06-20 01:20:38.000000000 +0200
+++ new/pytest-base-url-2.0.0/pytest_base_url.egg-info/PKG-INFO 1970-01-01 01:00:00.000000000 +0100
@@ -1,186 +0,0 @@
-Metadata-Version: 1.1
-Name: pytest-base-url
-Version: 1.4.2
-Summary: pytest plugin for URL based testing
-Home-page: https://github.com/pytest-dev/pytest-base-url
-Author: Dave Hunt
-Author-email: dhunt(a)mozilla.com
-License: Mozilla Public License 2.0 (MPL 2.0)
-Description: pytest-base-url
- ===============
-
- pytest-base-url is a simple plugin for pytest_ that provides an optional base
- URL via the command line or configuration file.
-
- .. image:: https://img.shields.io/badge/license-MPL%202.0-blue.svg
- :target: https://github.com/pytest-dev/pytest-base-url/blob/master/LICENSE
- :alt: License
- .. image:: https://img.shields.io/pypi/v/pytest-base-url.svg
- :target: https://pypi.python.org/pypi/pytest-base-url/
- :alt: PyPI
- .. image:: https://img.shields.io/travis/pytest-dev/pytest-base-url.svg
- :target: https://travis-ci.org/pytest-dev/pytest-base-url/
- :alt: Travis
- .. image:: https://img.shields.io/github/issues-raw/pytest-dev/pytest-base-url.svg
- :target: https://github.com/pytest-dev/pytest-base-url/issues
- :alt: Issues
- .. image:: https://img.shields.io/requires/github/pytest-dev/pytest-base-url.svg
- :target: https://requires.io/github/pytest-dev/pytest-base-url/requirements/?branch=…
- :alt: Requirements
-
- Requirements
- ------------
-
- You will need the following prerequisites in order to use pytest-base-url:
-
- - Python 2.7, 3.6, PyPy, or PyPy3
- - py.test 2.7 or newer
-
- Installation
- ------------
-
- To install pytest-base-url:
-
- .. code-block:: bash
-
- $ pip install pytest-base-url
-
- Contributing
- ------------
-
- We welcome contributions.
-
- To learn more, see `Development <https://github.com/pytest-dev/pytest-base-url/blob/master/development.rst>`_
-
- Specifying a Base URL
- ---------------------
-
- Rather than repeating or abstracting a base URL in your tests, pytest-base-url
- provides a ``base_url`` fixture that returns the specified base URL.
-
- .. code-block:: python
-
- import urllib2
-
- def test_example(base_url):
- assert 200 == urllib2.urlopen(base_url).getcode()
-
- Using the Command Line
- ^^^^^^^^^^^^^^^^^^^^^^
-
- You can specify the base URL on the command line:
-
- .. code-block:: bash
-
- $ py.test --base-url http://www.example.com
-
- Using a Configuration File
- ^^^^^^^^^^^^^^^^^^^^^^^^^^
-
- You can specify the base URL using a `configuration file`_:
-
- .. code-block:: ini
-
- [pytest]
- base_url = http://www.example.com
-
- Using an Environment Variable
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
- You can specify the base URL by setting the ``PYTEST_BASE_URL`` environment variable.
-
- Using a Fixture
- ^^^^^^^^^^^^^^^
-
- If your test harness takes care of launching an instance of your application
- under test, you may not have a predictable base URL to provide on the command
- line. Fortunately, it's easy to override the ``base_url`` fixture and return
- the correct URL to your test.
-
- In the following example a ``live_server`` fixture is used to start the
- application and ``live_server.url`` returns the base URL of the site.
-
- .. code-block:: python
-
- import urllib2
- import pytest
-
- @pytest.fixture
- def base_url(live_server):
- return live_server.url
-
- def test_search(base_url):
- assert 200 == urllib2.urlopen('{0}/search'.format(base_url)).getcode()
-
- Available Live Servers
- ----------------------
-
- It's relatively simple to create your own ``live_server`` fixture, however you
- may be able to take advantage of one of the following:
-
- * Django applications can use pytest-django_'s ``live_server`` fixture.
- * Flask applications can use pytest-flask_'s ``live_server`` fixture.
-
- Verifying the Base URL
- ----------------------
-
- If you specify a base URL for a site that's unavailable then all tests using
- that base URL will likely fail. To avoid running every test in this instance,
- you can enable base URL verification. This will check the base URL is
- responding before proceeding with the test suite. To enable this, specify the
- ``--verify-base-url`` command line option or set the ``VERIFY_BASE_URL``
- environment variable to ``TRUE``.
-
- Skipping Base URLs
- ------------------
-
- You can `skip tests`_ based on the value of the base URL so long as it is
- provided either by the command line or in a configuration file:
-
- .. code-block:: python
-
- import urllib2
- import pytest
-
- @pytest.mark.skipif(
- "'dev' in config.getoption('base_url')",
- reason='Search not available on dev')
- def test_search(base_url):
- assert 200 == urllib2.urlopen('{0}/search'.format(base_url)).getcode()
-
- Unfortunately if the URL is provided by a fixture, there is no way to know this
- value at test collection.
-
- Resources
- ---------
-
- - `Release Notes`_
- - `Issue Tracker`_
- - Code_
-
- .. _pytest: http://www.python.org/
- .. _configuration file: http://pytest.org/latest/customize.html#command-line-options-and-configurat…
- .. _pytest-django: http://pytest-django.readthedocs.org/
- .. _pytest-flask: http://pytest-flask.readthedocs.org/
- .. _skip tests: http://pytest.org/latest/skipping.html
- .. _Release Notes: http://github.com/pytest-dev/pytest-base-url/blob/master/CHANGES.rst
- .. _Issue Tracker: http://github.com/pytest-dev/pytest-base-url/issues
- .. _Code: http://github.com/pytest-dev/pytest-base-url
-
-Keywords: py.test pytest base url mozilla automation
-Platform: UNKNOWN
-Classifier: Development Status :: 5 - Production/Stable
-Classifier: Framework :: Pytest
-Classifier: Intended Audience :: Developers
-Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)
-Classifier: Operating System :: POSIX
-Classifier: Operating System :: Microsoft :: Windows
-Classifier: Operating System :: MacOS :: MacOS X
-Classifier: Topic :: Software Development :: Quality Assurance
-Classifier: Topic :: Software Development :: Testing
-Classifier: Topic :: Utilities
-Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2.7
-Classifier: Programming Language :: Python :: 3.6
-Classifier: Programming Language :: Python :: Implementation :: CPython
-Classifier: Programming Language :: Python :: Implementation :: PyPy
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-base-url-1.4.2/pytest_base_url.egg-info/SOURCES.txt new/pytest-base-url-2.0.0/pytest_base_url.egg-info/SOURCES.txt
--- old/pytest-base-url-1.4.2/pytest_base_url.egg-info/SOURCES.txt 2020-06-20 01:20:38.000000000 +0200
+++ new/pytest-base-url-2.0.0/pytest_base_url.egg-info/SOURCES.txt 1970-01-01 01:00:00.000000000 +0100
@@ -1,23 +0,0 @@
-.gitignore
-.pre-commit-config.yaml
-.travis.yml
-CHANGES.rst
-LICENSE
-Pipfile
-README.rst
-development.rst
-setup.cfg
-setup.py
-tox.ini
-pytest_base_url/__init__.py
-pytest_base_url/plugin.py
-pytest_base_url.egg-info/PKG-INFO
-pytest_base_url.egg-info/SOURCES.txt
-pytest_base_url.egg-info/dependency_links.txt
-pytest_base_url.egg-info/entry_points.txt
-pytest_base_url.egg-info/requires.txt
-pytest_base_url.egg-info/top_level.txt
-tests/__init__.py
-tests/conftest.py
-tests/test_base_url.py
-tests/test_verify_base_url.py
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-base-url-1.4.2/pytest_base_url.egg-info/dependency_links.txt new/pytest-base-url-2.0.0/pytest_base_url.egg-info/dependency_links.txt
--- old/pytest-base-url-1.4.2/pytest_base_url.egg-info/dependency_links.txt 2020-06-20 01:20:38.000000000 +0200
+++ new/pytest-base-url-2.0.0/pytest_base_url.egg-info/dependency_links.txt 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-base-url-1.4.2/pytest_base_url.egg-info/entry_points.txt new/pytest-base-url-2.0.0/pytest_base_url.egg-info/entry_points.txt
--- old/pytest-base-url-1.4.2/pytest_base_url.egg-info/entry_points.txt 2020-06-20 01:20:38.000000000 +0200
+++ new/pytest-base-url-2.0.0/pytest_base_url.egg-info/entry_points.txt 1970-01-01 01:00:00.000000000 +0100
@@ -1,3 +0,0 @@
-[pytest11]
-base_url = pytest_base_url.plugin
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-base-url-1.4.2/pytest_base_url.egg-info/requires.txt new/pytest-base-url-2.0.0/pytest_base_url.egg-info/requires.txt
--- old/pytest-base-url-1.4.2/pytest_base_url.egg-info/requires.txt 2020-06-20 01:20:38.000000000 +0200
+++ new/pytest-base-url-2.0.0/pytest_base_url.egg-info/requires.txt 1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-pytest>=2.7.3
-requests>=2.9
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-base-url-1.4.2/pytest_base_url.egg-info/top_level.txt new/pytest-base-url-2.0.0/pytest_base_url.egg-info/top_level.txt
--- old/pytest-base-url-1.4.2/pytest_base_url.egg-info/top_level.txt 2020-06-20 01:20:38.000000000 +0200
+++ new/pytest-base-url-2.0.0/pytest_base_url.egg-info/top_level.txt 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-pytest_base_url
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-base-url-1.4.2/setup.cfg new/pytest-base-url-2.0.0/setup.cfg
--- old/pytest-base-url-1.4.2/setup.cfg 2020-06-20 01:20:38.000000000 +0200
+++ new/pytest-base-url-2.0.0/setup.cfg 1970-01-01 01:00:00.000000000 +0100
@@ -1,7 +0,0 @@
-[bdist_wheel]
-universal = 1
-
-[egg_info]
-tag_build =
-tag_date = 0
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-base-url-1.4.2/setup.py new/pytest-base-url-2.0.0/setup.py
--- old/pytest-base-url-1.4.2/setup.py 2020-06-20 01:20:18.000000000 +0200
+++ new/pytest-base-url-2.0.0/setup.py 2022-03-27 15:22:04.278417600 +0200
@@ -1,34 +1,38 @@
+# -*- coding: utf-8 -*-
from setuptools import setup
-setup(
- name="pytest-base-url",
- use_scm_version=True,
- description="pytest plugin for URL based testing",
- long_description=open("README.rst").read(),
- author="Dave Hunt",
- author_email="dhunt(a)mozilla.com",
- url="https://github.com/pytest-dev/pytest-base-url",
- packages=["pytest_base_url"],
- install_requires=["pytest>=2.7.3", "requests>=2.9"],
- setup_requires=["setuptools_scm"],
- entry_points={"pytest11": ["base_url = pytest_base_url.plugin"]},
- license="Mozilla Public License 2.0 (MPL 2.0)",
- keywords="py.test pytest base url mozilla automation",
- classifiers=[
- "Development Status :: 5 - Production/Stable",
- "Framework :: Pytest",
- "Intended Audience :: Developers",
- "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
- "Operating System :: POSIX",
- "Operating System :: Microsoft :: Windows",
- "Operating System :: MacOS :: MacOS X",
- "Topic :: Software Development :: Quality Assurance",
- "Topic :: Software Development :: Testing",
- "Topic :: Utilities",
- "Programming Language :: Python",
- "Programming Language :: Python :: 2.7",
- "Programming Language :: Python :: 3.6",
- "Programming Language :: Python :: Implementation :: CPython",
- "Programming Language :: Python :: Implementation :: PyPy",
- ],
-)
+package_dir = \
+{'': 'src'}
+
+packages = \
+['pytest_base_url']
+
+package_data = \
+{'': ['*']}
+
+install_requires = \
+['pytest>=3.0.0,<8.0.0', 'requests>=2.9']
+
+entry_points = \
+{'pytest11': ['base_url = pytest_base_url.plugin']}
+
+setup_kwargs = {
+ 'name': 'pytest-base-url',
+ 'version': '2.0.0',
+ 'description': 'pytest plugin for URL based testing',
+ 'long_description': 'pytest-base-url\n===============\n\npytest-base-url is a simple plugin for pytest_ that provides an optional base\nURL via the command line or configuration file.\n\n.. image:: https://img.shields.io/badge/license-MPL%202.0-blue.svg\n :target: https://github.com/pytest-dev/pytest-base-url/blob/master/LICENSE\n :alt: License\n.. image:: https://img.shields.io/pypi/v/pytest-base-url.svg\n :target: https://pypi.python.org/pypi/pytest-base-url/\n :alt: PyPI\n.. image:: https://img.shields.io/travis/pytest-dev/pytest-base-url.svg\n :target: https://travis-ci.org/pytest-dev/pytest-base-url/\n :alt: Travis\n.. image:: https://img.shields.io/github/issues-raw/pytest-dev/pytest-base-url.svg\n :target: https://github.com/pytest-dev/pytest-base-url/issues\n :alt: Issues\n.. image:: https://img.shields.io/requires/github/pytest-dev/pytest-base-url.svg\n :target: https://requires.io/github/pytest-dev/pytest-base-url/requirements/?branch=… :alt:
Requirements\n\nRequirements\n------------\n\nYou will need the following prerequisites in order to use pytest-base-url:\n\n- Python 3.7+ or PyPy3\n\nInstallation\n------------\n\nTo install pytest-base-url:\n\n.. code-block:: bash\n\n $ pip install pytest-base-url\n\nContributing\n------------\n\nWe welcome contributions.\n\nTo learn more, see `Development <https://github.com/pytest-dev/pytest-base-url/blob/master/development.rst>`_\n\nSpecifying a Base URL\n---------------------\n\nRather than repeating or abstracting a base URL in your tests, pytest-base-url\nprovides a ``base_url`` fixture that returns the specified base URL.\n\n.. code-block:: python\n\n import urllib2\n\n def test_example(base_url):\n assert 200 == urllib2.urlopen(base_url).getcode()\n\nUsing the Command Line\n^^^^^^^^^^^^^^^^^^^^^^\n\nYou can specify the base URL on the command line:\n\n.. code-block:: bash\n\n $ py.test --base-url http://www.example.com\n\nUsing a Configuration File\n^^^^^^^^^^^^^^
^^^^^^^^^^^^\n\nYou can specify the base URL using a `configuration file`_:\n\n.. code-block:: ini\n\n [pytest]\n base_url = http://www.example.com\n\nUsing an Environment Variable\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nYou can specify the base URL by setting the ``PYTEST_BASE_URL`` environment variable.\n\nUsing a Fixture\n^^^^^^^^^^^^^^^\n\nIf your test harness takes care of launching an instance of your application\nunder test, you may not have a predictable base URL to provide on the command\nline. Fortunately, it\'s easy to override the ``base_url`` fixture and return\nthe correct URL to your test.\n\nIn the following example a ``live_server`` fixture is used to start the\napplication and ``live_server.url`` returns the base URL of the site.\n\n.. code-block:: python\n\n import urllib2\n import pytest\n\n @pytest.fixture\n def base_url(live_server):\n return live_server.url\n\n def test_search(base_url):\n assert 200 == urllib2.urlopen(\'{0}/search\'.format(base_url
)).getcode()\n\nAvailable Live Servers\n----------------------\n\nIt\'s relatively simple to create your own ``live_server`` fixture, however you\nmay be able to take advantage of one of the following:\n\n* Django applications can use pytest-django_\'s ``live_server`` fixture.\n* Flask applications can use pytest-flask_\'s ``live_server`` fixture.\n\nVerifying the Base URL\n----------------------\n\nIf you specify a base URL for a site that\'s unavailable then all tests using\nthat base URL will likely fail. To avoid running every test in this instance,\nyou can enable base URL verification. This will check the base URL is\nresponding before proceeding with the test suite. To enable this, specify the\n``--verify-base-url`` command line option or set the ``VERIFY_BASE_URL``\nenvironment variable to ``TRUE``.\n\nSkipping Base URLs\n------------------\n\nYou can `skip tests`_ based on the value of the base URL so long as it is\nprovided either by the command line or in a configuration
file:\n\n.. code-block:: python\n\n import urllib2\n import pytest\n\n @pytest.mark.skipif(\n "\'dev\' in config.getoption(\'base_url\')",\n reason=\'Search not available on dev\')\n def test_search(base_url):\n assert 200 == urllib2.urlopen(\'{0}/search\'.format(base_url)).getcode()\n\nUnfortunately if the URL is provided by a fixture, there is no way to know this\nvalue at test collection.\n\nResources\n---------\n\n- `Release Notes`_\n- `Issue Tracker`_\n- Code_\n\n.. _pytest: http://www.python.org/\n.. _configuration file: http://pytest.org/latest/customize.html#command-line-options-and-configurat….. _pytest-django: http://pytest-django.readthedocs.org/\n.. _pytest-flask: http://pytest-flask.readthedocs.org/\n.. _skip tests: http://pytest.org/latest/skipping.html\n.. _Release Notes: http://github.com/pytest-dev/pytest-base-url/blob/master/CHANGES.rst\n.. _Issue Tracker: http://github.com/pytest-dev/pytest-base-url/issues\n.. _Code: http://g
ithub.com/pytest-dev/pytest-base-url\n',
+ 'author': 'Dave Hunt',
+ 'author_email': 'dhunt(a)mozilla.com',
+ 'maintainer': None,
+ 'maintainer_email': None,
+ 'url': 'https://github.com/pytest-dev/pytest-base-url',
+ 'package_dir': package_dir,
+ 'packages': packages,
+ 'package_data': package_data,
+ 'install_requires': install_requires,
+ 'entry_points': entry_points,
+ 'python_requires': '>=3.7,<4.0',
+}
+
+
+setup(**setup_kwargs)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-base-url-1.4.2/src/pytest_base_url/plugin.py new/pytest-base-url-2.0.0/src/pytest_base_url/plugin.py
--- old/pytest-base-url-1.4.2/src/pytest_base_url/plugin.py 1970-01-01 01:00:00.000000000 +0100
+++ new/pytest-base-url-2.0.0/src/pytest_base_url/plugin.py 2022-03-27 15:21:27.019980400 +0200
@@ -0,0 +1,65 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+import os
+
+import pytest
+
+
+(a)pytest.fixture(scope="session")
+def base_url(request):
+ """Return a base URL"""
+ config = request.config
+ base_url = config.getoption("base_url")
+ if base_url is not None:
+ return base_url
+
+
+(a)pytest.fixture(scope="session", autouse=True)
+def _verify_url(request, base_url):
+ """Verifies the base URL"""
+
+ verify = request.config.option.verify_base_url
+ if base_url and verify:
+ # Lazy load requests to reduce cost for tests that don't use the plugin
+ import requests
+ from requests.packages.urllib3.util.retry import Retry
+ from requests.adapters import HTTPAdapter
+
+ session = requests.Session()
+ retries = Retry(backoff_factor=0.1, status_forcelist=[500, 502, 503, 504])
+ session.mount(base_url, HTTPAdapter(max_retries=retries))
+ session.get(base_url)
+
+
+def pytest_configure(config):
+ if hasattr(config, "workerinput"):
+ return # don't run configure on xdist worker nodes
+ base_url = config.getoption("base_url") or config.getini("base_url")
+ if base_url is not None:
+ config.option.base_url = base_url
+ if hasattr(config, "_metadata"):
+ config._metadata["Base URL"] = base_url
+
+
+def pytest_report_header(config, startdir):
+ base_url = config.getoption("base_url")
+ if base_url:
+ return "baseurl: {0}".format(base_url)
+
+
+def pytest_addoption(parser):
+ parser.addini("base_url", help="base url for the application under test.")
+ parser.addoption(
+ "--base-url",
+ metavar="url",
+ default=os.getenv("PYTEST_BASE_URL", None),
+ help="base url for the application under test.",
+ )
+ parser.addoption(
+ "--verify-base-url",
+ action="store_true",
+ default=not os.getenv("VERIFY_BASE_URL", "false").lower() == "false",
+ help="verify the base url.",
+ )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-base-url-1.4.2/tests/test_verify_base_url.py new/pytest-base-url-2.0.0/tests/test_verify_base_url.py
--- old/pytest-base-url-1.4.2/tests/test_verify_base_url.py 2020-06-20 01:20:18.000000000 +0200
+++ new/pytest-base-url-2.0.0/tests/test_verify_base_url.py 2022-03-27 15:21:27.019980400 +0200
@@ -1,14 +1,15 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-import pytest
from requests.packages.urllib3.util.retry import Retry
+from packaging.version import Version
+from requests.packages.urllib3 import __version__ as URLLIB3_VERSION
-# TODO: Remove this when we remove support for python 2.7
-(a)pytest.fixture(autouse=True)
-def httpserver(httpserver):
- return httpserver
+if Version(URLLIB3_VERSION) < Version("1.26.8"):
+ BACKOFF_ATTRIB_NAME = "BACKOFF_MAX"
+else:
+ BACKOFF_ATTRIB_NAME = "DEFAULT_BACKOFF_MAX"
def test_ignore_bad_url_by_default(testdir, httpserver):
@@ -21,7 +22,7 @@
def test_enable_verify_via_cli(testdir, httpserver, monkeypatch):
testdir.makepyfile("def test_pass(): pass")
monkeypatch.setenv("VERIFY_BASE_URL", "false")
- monkeypatch.setattr(Retry, "BACKOFF_MAX", 0.5)
+ monkeypatch.setattr(Retry, BACKOFF_ATTRIB_NAME, 0.5)
status_code = 500
httpserver.serve_content(content="<h1>Error!</h1>", code=status_code)
reprec = testdir.inline_run("--base-url", httpserver.url, "--verify-base-url")
@@ -36,7 +37,7 @@
def test_enable_verify_via_env(testdir, httpserver, monkeypatch):
testdir.makepyfile("def test_pass(): pass")
monkeypatch.setenv("VERIFY_BASE_URL", "true")
- monkeypatch.setattr(Retry, "BACKOFF_MAX", 0.5)
+ monkeypatch.setattr(Retry, BACKOFF_ATTRIB_NAME, 0.5)
status_code = 500
httpserver.serve_content(content="<h1>Error!</h1>", code=status_code)
reprec = testdir.inline_run("--base-url", httpserver.url)
@@ -59,7 +60,7 @@
def test_url_fails(testdir, httpserver, monkeypatch):
testdir.makepyfile("def test_pass(): pass")
monkeypatch.setenv("VERIFY_BASE_URL", "false")
- monkeypatch.setattr(Retry, "BACKOFF_MAX", 0.5)
+ monkeypatch.setattr(Retry, BACKOFF_ATTRIB_NAME, 0.5)
reprec = testdir.inline_run("--base-url", "http://foo", "--verify-base-url")
passed, skipped, failed = reprec.listoutcomes()
out = failed[0].longrepr.reprcrash.message
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-base-url-1.4.2/tox.ini new/pytest-base-url-2.0.0/tox.ini
--- old/pytest-base-url-1.4.2/tox.ini 2020-06-20 01:20:18.000000000 +0200
+++ new/pytest-base-url-2.0.0/tox.ini 1970-01-01 01:00:00.000000000 +0100
@@ -1,25 +0,0 @@
-# Tox (http://tox.testrun.org/) is a tool for running tests
-# in multiple virtualenvs. This configuration file will run the
-# test suite on all supported python versions. To use it, "pip install tox"
-# and then run "tox" from this directory.
-
-[tox]
-envlist = py{27,36,37,py,py3}, linting
-
-[testenv]
-setenv = PYTHONDONTWRITEBYTECODE=1
-deps = pytest-localserver
-commands = pytest -v -r a {posargs}
-
-[testenv:linting]
-skip_install = true
-basepython = python3
-deps = pre-commit
-commands = pre-commit run --all-files --show-diff-on-failure
-
-[flake8]
-max-line-length = 88
-exclude = .eggs,.tox
-
-[pytest]
-testpaths = tests
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Minion for openSUSE:Factory checked in at 2022-04-30 00:46:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Minion (Old)
and /work/SRC/openSUSE:Factory/.perl-Minion.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Minion"
Sat Apr 30 00:46:19 2022 rev:71 rq:973964 version:10.24
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Minion/perl-Minion.changes 2022-01-28 22:13:21.422552897 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Minion.new.1538/perl-Minion.changes 2022-04-30 00:46:51.383020007 +0200
@@ -1,0 +2,9 @@
+Fri Apr 29 03:07:56 UTC 2022 - Tina M��ller <timueller+perl(a)suse.de>
+
+- updated to 10.24
+ see /usr/share/doc/packages/perl-Minion/Changes
+
+ 10.24 2022-04-28
+ - Improved Mojolicious::Plugin::Minion::Admin to log whenever a job gets removed.
+
+-------------------------------------------------------------------
Old:
----
Minion-10.23.tar.gz
New:
----
Minion-10.24.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Minion.spec ++++++
--- /var/tmp/diff_new_pack.FfEUj1/_old 2022-04-30 00:46:51.975020520 +0200
+++ /var/tmp/diff_new_pack.FfEUj1/_new 2022-04-30 00:46:51.979020524 +0200
@@ -18,10 +18,10 @@
%define cpan_name Minion
Name: perl-Minion
-Version: 10.23
+Version: 10.24
Release: 0
-Summary: Job queue
License: Artistic-2.0
+Summary: Job queue
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/S/SR/SRI/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
++++++ Minion-10.23.tar.gz -> Minion-10.24.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-10.23/Changes new/Minion-10.24/Changes
--- old/Minion-10.23/Changes 2022-01-20 17:46:47.000000000 +0100
+++ new/Minion-10.24/Changes 2022-04-28 16:42:17.000000000 +0200
@@ -1,4 +1,7 @@
+10.24 2022-04-28
+ - Improved Mojolicious::Plugin::Minion::Admin to log whenever a job gets removed.
+
10.23 2022-01-20
- Improved repair performance in Minion::Backend::Pg. (andrii-suse, ilmari, kraih)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-10.23/META.json new/Minion-10.24/META.json
--- old/Minion-10.23/META.json 2022-01-20 18:45:00.000000000 +0100
+++ new/Minion-10.24/META.json 2022-04-28 17:18:47.000000000 +0200
@@ -58,6 +58,6 @@
"web" : "https://web.libera.chat/#mojo"
}
},
- "version" : "10.23",
+ "version" : "10.24",
"x_serialization_backend" : "JSON::PP version 4.07"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-10.23/META.yml new/Minion-10.24/META.yml
--- old/Minion-10.23/META.yml 2022-01-20 18:45:00.000000000 +0100
+++ new/Minion-10.24/META.yml 2022-04-28 17:18:47.000000000 +0200
@@ -30,5 +30,5 @@
homepage: https://mojolicious.org
license: http://www.opensource.org/licenses/artistic-license-2.0
repository: https://github.com/mojolicious/minion.git
-version: '10.23'
+version: '10.24'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-10.23/lib/Minion.pm new/Minion-10.24/lib/Minion.pm
--- old/Minion-10.23/lib/Minion.pm 2022-01-20 17:43:29.000000000 +0100
+++ new/Minion-10.24/lib/Minion.pm 2022-02-23 18:51:44.000000000 +0100
@@ -21,7 +21,7 @@
has [qw(remove_after stuck_after)] => 172800;
has tasks => sub { {} };
-our $VERSION = '10.23';
+our $VERSION = '10.24';
sub add_task {
my ($self, $name, $task) = @_;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-10.23/lib/Mojolicious/Plugin/Minion/Admin.pm new/Minion-10.24/lib/Mojolicious/Plugin/Minion/Admin.pm
--- old/Minion-10.23/lib/Mojolicious/Plugin/Minion/Admin.pm 2022-01-20 17:43:30.000000000 +0100
+++ new/Minion-10.24/lib/Mojolicious/Plugin/Minion/Admin.pm 2022-04-28 16:32:36.000000000 +0200
@@ -119,8 +119,13 @@
}
elsif ($do eq 'remove') {
my $fail = grep { $minion->job($_)->remove ? () : 1 } @$ids;
- if ($fail) { $c->flash(danger => "Couldn't remove all jobs.") }
- else { $c->flash(success => 'All selected jobs removed.') }
+ if ($fail) { $c->flash(danger => "Couldn't remove all jobs.") }
+ else {
+ $c->flash(success => 'All selected jobs removed.');
+ my $id_list = join ', ', @$ids;
+ my $remote_address = $c->tx->remote_address;
+ $c->log->debug(qq{Jobs removed by user "$remote_address": $id_list});
+ }
}
elsif ($do eq 'stop') {
$minion->broadcast(stop => [$_]) for @$ids;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-10.23/t/pg_admin.t new/Minion-10.24/t/pg_admin.t
--- old/Minion-10.23/t/pg_admin.t 2022-01-20 17:43:38.000000000 +0100
+++ new/Minion-10.24/t/pg_admin.t 2022-04-28 16:40:57.000000000 +0200
@@ -81,8 +81,17 @@
->text_like('.alert-info', qr/Trying to stop all selected jobs/);
is $t->tx->previous->res->code, 302, 'right status';
like $t->tx->previous->res->headers->location, qr/id=$finished/, 'right "Location" value';
+
+ my $subscribers = $t->app->log->subscribers('message');
+ my $level = $t->app->log->level;
+ $t->app->log->unsubscribe('message');
+ my $log = '';
+ my $cb = $t->app->log->level('debug')->on(message => sub { $log .= pop });
$t->post_ok('/minion/jobs?_method=PATCH' => form => {id => $finished, do => 'remove'})
->text_like('.alert-success', qr/All selected jobs removed/);
+ $t->app->log->level($level)->unsubscribe(message => $cb);
+ $t->app->log->on(message => $_) for @$subscribers;
+ like $log, qr/Jobs removed by user ".+": $finished/, 'right log message';
is $t->tx->previous->res->code, 302, 'right status';
like $t->tx->previous->res->headers->location, qr/id=$finished/, 'right "Location" value';
is app->minion->job($finished), undef, 'job has been removed';
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pelican for openSUSE:Factory checked in at 2022-04-30 00:46:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pelican (Old)
and /work/SRC/openSUSE:Factory/.python-pelican.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pelican"
Sat Apr 30 00:46:20 2022 rev:19 rq:973965 version:4.7.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pelican/python-pelican.changes 2022-02-10 23:12:48.632319914 +0100
+++ /work/SRC/openSUSE:Factory/.python-pelican.new.1538/python-pelican.changes 2022-04-30 00:46:52.299020802 +0200
@@ -1,0 +2,5 @@
+Fri Apr 29 09:50:36 UTC 2022 - Mark��ta Machov�� <mmachova(a)suse.com>
+
+- do not require pytest-pythonpath
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pelican.spec ++++++
--- /var/tmp/diff_new_pack.flZISB/_old 2022-04-30 00:46:52.835021266 +0200
+++ /var/tmp/diff_new_pack.flZISB/_new 2022-04-30 00:46:52.839021270 +0200
@@ -46,7 +46,6 @@
BuildRequires: %{python_module lxml}
BuildRequires: %{python_module psutil}
BuildRequires: %{python_module pytest-cov}
-BuildRequires: %{python_module pytest-pythonpath}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-dateutil}
@@ -122,6 +121,7 @@
%check
export LC_ALL=C.utf8
+export PYTHONPATH=.
# gh#getpelican/pelican#2846
%pytest -k 'not (test_basic_generation_works or test_custom_generation_works or test_custom_locale_generation_works)'
1
0