cds-snc / url-shortener

An API written in Python that shortens URLs
MIT License
4 stars 1 forks source link

chore(deps): update all minor dependencies #423

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
boto3 ==1.26.155 -> ==1.27.0 age adoption passing confidence
fastapi ==0.97.0 -> ==0.99.1 age adoption passing confidence
pytest (source, changelog) ==7.3.2 -> ==7.4.0 age adoption passing confidence

Review


Release Notes

boto/boto3 (boto3) ### [`v1.27.0`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#1270) [Compare Source](https://togithub.com/boto/boto3/compare/1.26.165...1.27.0) \====== - feature:Useragent: \[`botocore`] Update User-Agent header format - api-change:`batch`: \[`botocore`] This feature allows customers to use AWS Batch with Linux with ARM64 CPU Architecture and X86\_64 CPU Architecture with Windows OS on Fargate Platform. - api-change:`sagemaker`: \[`botocore`] SageMaker Inference Recommender now accepts new fields SupportedEndpointType and ServerlessConfiguration to support serverless endpoints. ### [`v1.26.165`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#126165) [Compare Source](https://togithub.com/boto/boto3/compare/1.26.164...1.26.165) \======== - api-change:`amp`: \[`botocore`] AWS SDK service model generation tool version upgrade. - api-change:`ecs`: \[`botocore`] Added new field "credentialspecs" to the ecs task definition to support gMSA of windows/linux in both domainless and domain-joined mode - api-change:`ivs`: \[`botocore`] Corrects the HTTP response code in the generated docs for PutMetadata and DeleteRecordingConfiguration APIs. - api-change:`mediaconvert`: \[`botocore`] This release includes improved color handling of overlays and general updates to user documentation. - api-change:`sagemaker`: \[`botocore`] This release adds support for rolling deployment in SageMaker Inference. - api-change:`transfer`: \[`botocore`] Add outbound Basic authentication support to AS2 connectors - api-change:`verifiedpermissions`: \[`botocore`] This release corrects several broken links in the documentation. ### [`v1.26.164`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#126164) [Compare Source](https://togithub.com/boto/boto3/compare/1.26.163...1.26.164) \======== - api-change:`appstream`: \[`botocore`] This release introduces app block builder, allowing customers to provision a resource to package applications into an app block - api-change:`chime`: \[`botocore`] The Amazon Chime SDK APIs in the Chime namespace are no longer supported. Customers should use APIs in the dedicated Amazon Chime SDK namespaces: ChimeSDKIdentity, ChimeSDKMediaPipelines, ChimeSDKMeetings, ChimeSDKMessaging, and ChimeSDKVoice. - api-change:`cleanrooms`: \[`botocore`] This release adds support for the OR operator in RSQL join match conditions and the ability to control which operators (AND, OR) are allowed in a join match condition. - api-change:`dynamodb`: \[`botocore`] This release adds ReturnValuesOnConditionCheckFailure parameter to PutItem, UpdateItem, DeleteItem, ExecuteStatement, BatchExecuteStatement and ExecuteTransaction APIs. When set to ALL_OLD, API returns a copy of the item as it was when a conditional write failed - api-change:`gamelift`: \[`botocore`] Amazon GameLift now supports game builds that use the Amazon Linux 2023 (AL2023) operating system. - api-change:`glue`: \[`botocore`] This release adds support for AWS Glue Crawler with Iceberg Tables, allowing Crawlers to discover Iceberg Tables in S3 and register them in Glue Data Catalog for query engines to query against. - api-change:`sagemaker`: \[`botocore`] Adding support for timeseries forecasting in the CreateAutoMLJobV2 API. ### [`v1.26.163`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#126163) [Compare Source](https://togithub.com/boto/boto3/compare/1.26.162...1.26.163) \======== - api-change:`internetmonitor`: \[`botocore`] This release adds a new feature for Amazon CloudWatch Internet Monitor that enables customers to set custom thresholds, for performance and availability drops, for triggering when to create a health event. - api-change:`kinesisanalyticsv2`: \[`botocore`] Support for new runtime environment in Kinesis Data Analytics Studio: Zeppelin-0.10, Apache Flink-1.15 - api-change:`lambda`: \[`botocore`] Surface ResourceConflictException in DeleteEventSourceMapping - api-change:`omics`: \[`botocore`] Add Common Workflow Language (CWL) as a supported language for Omics workflows - api-change:`rds`: \[`botocore`] Amazon Relational Database Service (RDS) now supports joining a RDS for SQL Server instance to a self-managed Active Directory. - api-change:`s3`: \[`botocore`] The S3 LISTObjects, ListObjectsV2 and ListObjectVersions API now supports a new optional header x-amz-optional-object-attributes. If header contains RestoreStatus as the value, then S3 will include Glacier restore status i.e. isRestoreInProgress and RestoreExpiryDate in List response. - api-change:`sagemaker`: \[`botocore`] This release adds support for Model Cards Model Registry integration. ### [`v1.26.162`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#126162) [Compare Source](https://togithub.com/boto/boto3/compare/1.26.161...1.26.162) \======== - bugfix:Parsers: \[`botocore`] Fixes datetime parse error handling for out-of-range and negative timestamps (`#​2564 `\__). - api-change:`appfabric`: \[`botocore`] Initial release of AWS AppFabric for connecting SaaS applications for better productivity and security. - api-change:`appflow`: \[`botocore`] This release adds support to bypass SSO with the SAPOData connector when connecting to an SAP instance. - api-change:`emr-serverless`: \[`botocore`] This release adds support to update the release label of an EMR Serverless application to upgrade it to a different version of Amazon EMR via UpdateApplication API. - api-change:`ivs`: \[`botocore`] IVS customers can now revoke the viewer session associated with an auth token, to prevent and stop playback using that token. - api-change:`kinesisvideo`: \[`botocore`] General Availability (GA) release of Kinesis Video Streams at Edge, enabling customers to provide a configuration for the Kinesis Video Streams EdgeAgent running on an on-premise IoT device. Customers can now locally record from cameras and stream videos to the cloud on a configured schedule. - api-change:`macie2`: \[`botocore`] This release adds support for configuring new classification jobs to use the set of managed data identifiers that we recommend for jobs. For the managed data identifier selection type (managedDataIdentifierSelector), specify RECOMMENDED. - api-change:`privatenetworks`: \[`botocore`] This release allows Private5G customers to choose different commitment plans (60-days, 1-year, 3-years) when placing new orders, enables automatic renewal option for 1-year and 3-years commitments. It also allows customers to update the commitment plan of an existing radio unit. - api-change:`sagemaker-featurestore-runtime`: \[`botocore`] Introducing TTL for online store records for feature groups. - api-change:`sagemaker`: \[`botocore`] Introducing TTL for online store records in feature groups. - api-change:`ssm`: \[`botocore`] Systems Manager doc-only update for June 2023. - api-change:`verifiedpermissions`: \[`botocore`] This update fixes several broken links to the Cedar documentation. ### [`v1.26.161`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#126161) [Compare Source](https://togithub.com/boto/boto3/compare/1.26.160...1.26.161) \======== - api-change:`connect`: \[`botocore`] This release provides a way to search for existing tags within an instance. Before tagging a resource, ensure consistency by searching for pre-existing key:value pairs. - api-change:`glue`: \[`botocore`] Timestamp Starting Position For Kinesis and Kafka Data Sources in a Glue Streaming Job - api-change:`guardduty`: \[`botocore`] Add support for user.extra.sessionName in Kubernetes Audit Logs Findings. - api-change:`iam`: \[`botocore`] Support for a new API "GetMFADevice" to present MFA device metadata such as device certifications - api-change:`pinpoint`: \[`botocore`] Added time zone estimation support for journeys ### [`v1.26.160`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#126160) [Compare Source](https://togithub.com/boto/boto3/compare/1.26.159...1.26.160) \======== - api-change:`devops-guru`: \[`botocore`] This release adds support for encryption via customer managed keys. - api-change:`fsx`: \[`botocore`] Update to Amazon FSx documentation. - api-change:`rds`: \[`botocore`] Documentation improvements for create, describe, and modify DB clusters and DB instances. - api-change:`verifiedpermissions`: \[`botocore`] Added improved descriptions and new code samples to SDK documentation. ### [`v1.26.159`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#126159) [Compare Source](https://togithub.com/boto/boto3/compare/1.26.158...1.26.159) \======== - api-change:`chime-sdk-identity`: \[`botocore`] AppInstanceBots can be configured to be invoked or not using the Target or the CHIME.mentions attribute for ChannelMessages - api-change:`chime-sdk-messaging`: \[`botocore`] ChannelMessages can be made visible to sender and intended recipient rather than all channel members with the target attribute. For example, a user can send messages to a bot and receive messages back in a group channel without other members seeing them. - api-change:`kendra`: \[`botocore`] Introducing Amazon Kendra Retrieve API that can be used to retrieve relevant passages or text excerpts given an input query. - api-change:`stepfunctions`: \[`botocore`] Update stepfunctions client to latest version ### [`v1.26.158`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#126158) [Compare Source](https://togithub.com/boto/boto3/compare/1.26.157...1.26.158) \======== - api-change:`dynamodb`: \[`botocore`] Documentation updates for DynamoDB - api-change:`emr`: \[`botocore`] Update emr client to latest version - api-change:`inspector2`: \[`botocore`] This release adds support for Software Bill of Materials (SBOM) export and the general availability of code scanning for AWS Lambda functions. - api-change:`mediaconvert`: \[`botocore`] This release introduces the bandwidth reduction filter for the HEVC encoder, increases the limits of outputs per job, and updates support for the Nagra SDK to version 1.14.7. - api-change:`mq`: \[`botocore`] The Cross Region Disaster Recovery feature allows to replicate a brokers state from one region to another in order to provide customers with multi-region resiliency in the event of a regional outage. - api-change:`sagemaker`: \[`botocore`] This release provides support in SageMaker for output files in training jobs to be uploaded without compression and enable customer to deploy uncompressed model from S3 to real-time inference Endpoints. In addition, ml.trn1n.32xlarge is added to supported instance type list in training job. - api-change:`transfer`: \[`botocore`] This release adds a new parameter StructuredLogDestinations to CreateServer, UpdateServer APIs. ### [`v1.26.157`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#126157) [Compare Source](https://togithub.com/boto/boto3/compare/1.26.156...1.26.157) \======== - api-change:`appflow`: \[`botocore`] This release adds new API to reset connector metadata cache - api-change:`config`: \[`botocore`] Updated ResourceType enum with new resource types onboarded by AWS Config in May 2023. - api-change:`ec2`: \[`botocore`] Adds support for targeting Dedicated Host allocations by assetIds in AWS Outposts - api-change:`lambda`: \[`botocore`] This release adds RecursiveInvocationException to the Invoke API and InvokeWithResponseStream API. - api-change:`redshift`: \[`botocore`] Added support for custom domain names for Redshift Provisioned clusters. This feature enables customers to create a custom domain name and use ACM to generate fully secure connections to it. ### [`v1.26.156`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#126156) [Compare Source](https://togithub.com/boto/boto3/compare/1.26.155...1.26.156) \======== - api-change:`cloudformation`: \[`botocore`] Specify desired CloudFormation behavior in the event of ChangeSet execution failure using the CreateChangeSet OnStackFailure parameter - api-change:`ec2`: \[`botocore`] API changes to AWS Verified Access to include data from trust providers in logs - api-change:`ecs`: \[`botocore`] Documentation only update to address various tickets. - api-change:`glue`: \[`botocore`] This release adds support for creating cross region table/database resource links - api-change:`pricing`: \[`botocore`] This release updates the PriceListArn regex pattern. - api-change:`route53domains`: \[`botocore`] Update MaxItems upper bound to 1000 for ListPricesRequest - api-change:`sagemaker`: \[`botocore`] Amazon Sagemaker Autopilot releases CreateAutoMLJobV2 and DescribeAutoMLJobV2 for Autopilot customers with ImageClassification, TextClassification and Tabular problem type config support.
tiangolo/fastapi (fastapi) ### [`v0.99.1`](https://togithub.com/tiangolo/fastapi/releases/tag/0.99.1) [Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.99.0...0.99.1) ##### Fixes - πŸ› Fix JSON Schema accepting bools as valid JSON Schemas, e.g. `additionalProperties: false`. PR [#​9781](https://togithub.com/tiangolo/fastapi/pull/9781) by [@​tiangolo](https://togithub.com/tiangolo). ##### Docs - πŸ“ Update source examples to use new JSON Schema examples field. PR [#​9776](https://togithub.com/tiangolo/fastapi/pull/9776) by [@​tiangolo](https://togithub.com/tiangolo). ### [`v0.99.0`](https://togithub.com/tiangolo/fastapi/releases/tag/0.99.0) [Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.98.0...0.99.0) **Note**: this is the **last release before supporting Pydantic v2**. You can try out the beta with support for Pydantic v2 now, a new beta supporting Pydantic v2 with these same changes from this release will be available in the next hours/days. And the final version (0.100.0) with support for Pydantic v2 will be released in the next days (next week). Now, back to this release (this one doesn't include the beta support for Pydantic v2). This release has ✨ **OpenAPI 3.1.0** ✨ πŸŽ‰ ##### Features - ✨ Add support for OpenAPI 3.1.0. PR [#​9770](https://togithub.com/tiangolo/fastapi/pull/9770) by [@​tiangolo](https://togithub.com/tiangolo). - New support for documenting **webhooks**, read the new docs here: Advanced User Guide: OpenAPI Webhooks. - Upgrade OpenAPI 3.1.0, this uses JSON Schema 2020-12. - Upgrade Swagger UI to version 5.x.x, that supports OpenAPI 3.1.0. - Updated `examples` field in `Query()`, `Cookie()`, `Body()`, etc. based on the latest JSON Schema and OpenAPI. Now it takes a list of examples and they are included directly in the JSON Schema, not outside. Read more about it (including the historical technical details) in the updated docs: Tutorial: Declare Request Example Data. - ✨ Add support for `deque` objects and children in `jsonable_encoder`. PR [#​9433](https://togithub.com/tiangolo/fastapi/pull/9433) by [@​cranium](https://togithub.com/cranium). ##### Docs - πŸ“ Fix form for the FastAPI and friends newsletter. PR [#​9749](https://togithub.com/tiangolo/fastapi/pull/9749) by [@​tiangolo](https://togithub.com/tiangolo). ##### Translations - 🌐 Add Persian translation for `docs/fa/docs/advanced/sub-applications.md`. PR [#​9692](https://togithub.com/tiangolo/fastapi/pull/9692) by [@​mojtabapaso](https://togithub.com/mojtabapaso). - 🌐 Add Russian translation for `docs/ru/docs/tutorial/response-model.md`. PR [#​9675](https://togithub.com/tiangolo/fastapi/pull/9675) by [@​glsglsgls](https://togithub.com/glsglsgls). ##### Internal - πŸ”¨ Enable linenums in MkDocs Material during local live development to simplify highlighting code. PR [#​9769](https://togithub.com/tiangolo/fastapi/pull/9769) by [@​tiangolo](https://togithub.com/tiangolo). - ⬆ Update httpx requirement from <0.24.0,>=0.23.0 to >=0.23.0,<0.25.0. PR [#​9724](https://togithub.com/tiangolo/fastapi/pull/9724) by [@​dependabot\[bot\]](https://togithub.com/apps/dependabot). - ⬆ Bump mkdocs-material from 9.1.16 to 9.1.17. PR [#​9746](https://togithub.com/tiangolo/fastapi/pull/9746) by [@​dependabot\[bot\]](https://togithub.com/apps/dependabot). - πŸ”₯ Remove missing translation dummy pages, no longer necessary. PR [#​9751](https://togithub.com/tiangolo/fastapi/pull/9751) by [@​tiangolo](https://togithub.com/tiangolo). - ⬆ \[pre-commit.ci] pre-commit autoupdate. PR [#​9259](https://togithub.com/tiangolo/fastapi/pull/9259) by [@​pre-commit-ci\[bot\]](https://togithub.com/apps/pre-commit-ci). - ✨ Add Material for MkDocs Insiders features and cards. PR [#​9748](https://togithub.com/tiangolo/fastapi/pull/9748) by [@​tiangolo](https://togithub.com/tiangolo). - πŸ”₯ Remove languages without translations. PR [#​9743](https://togithub.com/tiangolo/fastapi/pull/9743) by [@​tiangolo](https://togithub.com/tiangolo). - ✨ Refactor docs for building scripts, use MkDocs hooks, simplify (remove) configs for languages. PR [#​9742](https://togithub.com/tiangolo/fastapi/pull/9742) by [@​tiangolo](https://togithub.com/tiangolo). - πŸ”¨ Add MkDocs hook that renames sections based on the first index file. PR [#​9737](https://togithub.com/tiangolo/fastapi/pull/9737) by [@​tiangolo](https://togithub.com/tiangolo). - πŸ‘· Make cron jobs run only on main repo, not on forks, to avoid error notifications from missing tokens. PR [#​9735](https://togithub.com/tiangolo/fastapi/pull/9735) by [@​tiangolo](https://togithub.com/tiangolo). - πŸ”§ Update MkDocs for other languages. PR [#​9734](https://togithub.com/tiangolo/fastapi/pull/9734) by [@​tiangolo](https://togithub.com/tiangolo). - πŸ‘· Refactor Docs CI, run in multiple workers with a dynamic matrix to optimize speed. PR [#​9732](https://togithub.com/tiangolo/fastapi/pull/9732) by [@​tiangolo](https://togithub.com/tiangolo). - πŸ”₯ Remove old internal GitHub Action watch-previews that is no longer needed. PR [#​9730](https://togithub.com/tiangolo/fastapi/pull/9730) by [@​tiangolo](https://togithub.com/tiangolo). - ⬆️ Upgrade MkDocs and MkDocs Material. PR [#​9729](https://togithub.com/tiangolo/fastapi/pull/9729) by [@​tiangolo](https://togithub.com/tiangolo). - πŸ‘· Build and deploy docs only on docs changes. PR [#​9728](https://togithub.com/tiangolo/fastapi/pull/9728) by [@​tiangolo](https://togithub.com/tiangolo). ### [`v0.98.0`](https://togithub.com/tiangolo/fastapi/releases/tag/0.98.0) [Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.97.0...0.98.0) **Note**: please also help me try out the beta with support for Pydantic v2: https://github.com/tiangolo/fastapi/releases/tag/0.100.0-beta1 Now, back to this release (this one doesn't include the beta support for Pydantic v2). ##### Features - ✨ Allow disabling `redirect_slashes` at the FastAPI app level. PR [#​3432](https://togithub.com/tiangolo/fastapi/pull/3432) by [@​cyberlis](https://togithub.com/cyberlis). ##### Docs - πŸ“ Update docs on Pydantic using ujson internally. PR [#​5804](https://togithub.com/tiangolo/fastapi/pull/5804) by [@​mvasilkov](https://togithub.com/mvasilkov). - ✏ Rewording in `docs/en/docs/tutorial/debugging.md`. PR [#​9581](https://togithub.com/tiangolo/fastapi/pull/9581) by [@​ivan-abc](https://togithub.com/ivan-abc). - πŸ“ Add german blog post (Domain-driven Design mit Python und FastAPI). PR [#​9261](https://togithub.com/tiangolo/fastapi/pull/9261) by [@​msander](https://togithub.com/msander). - ✏️ Tweak wording in `docs/en/docs/tutorial/security/index.md`. PR [#​9561](https://togithub.com/tiangolo/fastapi/pull/9561) by [@​jyothish-mohan](https://togithub.com/jyothish-mohan). - πŸ“ Update `Annotated` notes in `docs/en/docs/tutorial/schema-extra-example.md`. PR [#​9620](https://togithub.com/tiangolo/fastapi/pull/9620) by [@​Alexandrhub](https://togithub.com/Alexandrhub). - ✏️ Fix typo `Annotation` -> `Annotated` in `docs/en/docs/tutorial/query-params-str-validations.md`. PR [#​9625](https://togithub.com/tiangolo/fastapi/pull/9625) by [@​mccricardo](https://togithub.com/mccricardo). - πŸ“ Use in memory database for testing SQL in docs. PR [#​1223](https://togithub.com/tiangolo/fastapi/pull/1223) by [@​HarshaLaxman](https://togithub.com/HarshaLaxman). ##### Translations - 🌐 Add Russian translation for `docs/ru/docs/tutorial/metadata.md`. PR [#​9681](https://togithub.com/tiangolo/fastapi/pull/9681) by [@​TabarakoAkula](https://togithub.com/TabarakoAkula). - 🌐 Fix typo in Spanish translation for `docs/es/docs/tutorial/first-steps.md`. PR [#​9571](https://togithub.com/tiangolo/fastapi/pull/9571) by [@​lilidl-nft](https://togithub.com/lilidl-nft). - 🌐 Add Russian translation for `docs/tutorial/path-operation-configuration.md`. PR [#​9696](https://togithub.com/tiangolo/fastapi/pull/9696) by [@​TabarakoAkula](https://togithub.com/TabarakoAkula). - 🌐 Add Chinese translation for `docs/zh/docs/advanced/security/index.md`. PR [#​9666](https://togithub.com/tiangolo/fastapi/pull/9666) by [@​lordqyxz](https://togithub.com/lordqyxz). - 🌐 Add Chinese translations for `docs/zh/docs/advanced/settings.md`. PR [#​9652](https://togithub.com/tiangolo/fastapi/pull/9652) by [@​ChoyeonChern](https://togithub.com/ChoyeonChern). - 🌐 Add Chinese translations for `docs/zh/docs/advanced/websockets.md`. PR [#​9651](https://togithub.com/tiangolo/fastapi/pull/9651) by [@​ChoyeonChern](https://togithub.com/ChoyeonChern). - 🌐 Add Chinese translation for `docs/zh/docs/tutorial/testing.md`. PR [#​9641](https://togithub.com/tiangolo/fastapi/pull/9641) by [@​wdh99](https://togithub.com/wdh99). - 🌐 Add Russian translation for `docs/tutorial/extra-models.md`. PR [#​9619](https://togithub.com/tiangolo/fastapi/pull/9619) by [@​ivan-abc](https://togithub.com/ivan-abc). - 🌐 Add Russian translation for `docs/tutorial/cors.md`. PR [#​9608](https://togithub.com/tiangolo/fastapi/pull/9608) by [@​ivan-abc](https://togithub.com/ivan-abc). - 🌐 Add Polish translation for `docs/pl/docs/features.md`. PR [#​5348](https://togithub.com/tiangolo/fastapi/pull/5348) by [@​mbroton](https://togithub.com/mbroton). - 🌐 Add Russian translation for `docs/ru/docs/tutorial/body-nested-models.md`. PR [#​9605](https://togithub.com/tiangolo/fastapi/pull/9605) by [@​Alexandrhub](https://togithub.com/Alexandrhub). ##### Internal - ⬆ Bump ruff from 0.0.272 to 0.0.275. PR [#​9721](https://togithub.com/tiangolo/fastapi/pull/9721) by [@​dependabot\[bot\]](https://togithub.com/apps/dependabot). - ⬆ Update uvicorn\[standard] requirement from <0.21.0,>=0.12.0 to >=0.12.0,<0.23.0. PR [#​9463](https://togithub.com/tiangolo/fastapi/pull/9463) by [@​dependabot\[bot\]](https://togithub.com/apps/dependabot). - ⬆ Bump mypy from 1.3.0 to 1.4.0. PR [#​9719](https://togithub.com/tiangolo/fastapi/pull/9719) by [@​dependabot\[bot\]](https://togithub.com/apps/dependabot). - ⬆ Update pre-commit requirement from <3.0.0,>=2.17.0 to >=2.17.0,<4.0.0. PR [#​9251](https://togithub.com/tiangolo/fastapi/pull/9251) by [@​dependabot\[bot\]](https://togithub.com/apps/dependabot). - ⬆ Bump pypa/gh-action-pypi-publish from 1.8.5 to 1.8.6. PR [#​9482](https://togithub.com/tiangolo/fastapi/pull/9482) by [@​dependabot\[bot\]](https://togithub.com/apps/dependabot). - ✏️ Fix tooltips for light/dark theme toggler in docs. PR [#​9588](https://togithub.com/tiangolo/fastapi/pull/9588) by [@​pankaj1707k](https://togithub.com/pankaj1707k). - πŸ”§ Set minimal hatchling version needed to build the package. PR [#​9240](https://togithub.com/tiangolo/fastapi/pull/9240) by [@​mgorny](https://togithub.com/mgorny). - πŸ“ Add repo link to PyPI. PR [#​9559](https://togithub.com/tiangolo/fastapi/pull/9559) by [@​JacobCoffee](https://togithub.com/JacobCoffee). - ✏️ Fix typos in data for tests. PR [#​4958](https://togithub.com/tiangolo/fastapi/pull/4958) by [@​ryanrussell](https://togithub.com/ryanrussell). - πŸ”§ Update sponsors, add Flint. PR [#​9699](https://togithub.com/tiangolo/fastapi/pull/9699) by [@​tiangolo](https://togithub.com/tiangolo). - πŸ‘· Lint in CI only once, only with one version of Python, run tests with all of them. PR [#​9686](https://togithub.com/tiangolo/fastapi/pull/9686) by [@​tiangolo](https://togithub.com/tiangolo).
pytest-dev/pytest (pytest) ### [`v7.4.0`](https://togithub.com/pytest-dev/pytest/releases/tag/7.4.0) [Compare Source](https://togithub.com/pytest-dev/pytest/compare/7.3.2...7.4.0) # pytest 7.4.0 (2023-06-23) ## Features - [#​10901](https://togithub.com/pytest-dev/pytest/issues/10901): Added `ExceptionInfo.from_exception() `{.interpreted-text role="func"}, a simpler way to create an `~pytest.ExceptionInfo`{.interpreted-text role="class"} from an exception. This can replace `ExceptionInfo.from_exc_info() `{.interpreted-text role="func"} for most uses. ## Improvements - [#​10872](https://togithub.com/pytest-dev/pytest/issues/10872): Update test log report annotation to named tuple and fixed inconsistency in docs for `pytest_report_teststatus`{.interpreted-text role="hook"} hook. - [#​10907](https://togithub.com/pytest-dev/pytest/issues/10907): When an exception traceback to be displayed is completely filtered out (by mechanisms such as `__tracebackhide__`, internal frames, and similar), now only the exception string and the following message are shown: "All traceback entries are hidden. Pass \[--full-trace]{.title-ref} to see hidden and internal frames.". Previously, the last frame of the traceback was shown, even though it was hidden. - [#​10940](https://togithub.com/pytest-dev/pytest/issues/10940): Improved verbose output (`-vv`) of `skip` and `xfail` reasons by performing text wrapping while leaving a clear margin for progress output. Added `TerminalReporter.wrap_write()` as a helper for that. - [#​10991](https://togithub.com/pytest-dev/pytest/issues/10991): Added handling of `%f` directive to print microseconds in log format options, such as `log-date-format`. - [#​11005](https://togithub.com/pytest-dev/pytest/issues/11005): Added the underlying exception to the cache provider's path creation and write warning messages. - [#​11013](https://togithub.com/pytest-dev/pytest/issues/11013): Added warning when `testpaths`{.interpreted-text role="confval"} is set, but paths are not found by glob. In this case, pytest will fall back to searching from the current directory. - [#​11043](https://togithub.com/pytest-dev/pytest/issues/11043): When \[--confcutdir]{.title-ref} is not specified, and there is no config file present, the conftest cutoff directory (\[--confcutdir]{.title-ref}) is now set to the `rootdir `{.interpreted-text role="ref"}. Previously in such cases, \[conftest.py]{.title-ref} files would be probed all the way to the root directory of the filesystem. If you are badly affected by this change, consider adding an empty config file to your desired cutoff directory, or explicitly set \[--confcutdir]{.title-ref}. - [#​11081](https://togithub.com/pytest-dev/pytest/issues/11081): The `norecursedirs`{.interpreted-text role="confval"} check is now performed in a `pytest_ignore_collect`{.interpreted-text role="hook"} implementation, so plugins can affect it. If after updating to this version you see that your \[norecursedirs]{.title-ref} setting is not being respected, it means that a conftest or a plugin you use has a bad \[pytest_ignore_collect]{.title-ref} implementation. Most likely, your hook returns \[False]{.title-ref} for paths it does not want to ignore, which ends the processing and doesn't allow other plugins, including pytest itself, to ignore the path. The fix is to return \[None]{.title-ref} instead of \[False]{.title-ref} for paths your hook doesn't want to ignore. - [#​8711](https://togithub.com/pytest-dev/pytest/issues/8711): `caplog.set_level() `{.interpreted-text role="func"} and `caplog.at_level() `{.interpreted-text role="func"} will temporarily enable the requested `level` if `level` was disabled globally via `logging.disable(LEVEL)`. ## Bug Fixes - [#​10831](https://togithub.com/pytest-dev/pytest/issues/10831): Terminal Reporting: Fixed bug when running in `--tb=line` mode where `pytest.fail(pytrace=False)` tests report `None`. - [#​11068](https://togithub.com/pytest-dev/pytest/issues/11068): Fixed the `--last-failed` whole-file skipping functionality ("skipped N files") for `non-python test files `{.interpreted-text role="ref"}. - [#​11104](https://togithub.com/pytest-dev/pytest/issues/11104): Fixed a regression in pytest 7.3.2 which caused to `testpaths`{.interpreted-text role="confval"} to be considered for loading initial conftests, even when it was not utilized (e.g. when explicit paths were given on the command line). Now the `testpaths` are only considered when they are in use. - [#​1904](https://togithub.com/pytest-dev/pytest/issues/1904): Fixed traceback entries hidden with `__tracebackhide__ = True` still being shown for chained exceptions (parts after "... the above exception ..." message). - [#​7781](https://togithub.com/pytest-dev/pytest/issues/7781): Fix writing non-encodable text to log file when using `--debug`. ## Improved Documentation - [#​9146](https://togithub.com/pytest-dev/pytest/issues/9146): Improved documentation for `caplog.set_level() `{.interpreted-text role="func"}. ## Trivial/Internal Changes - [#​11031](https://togithub.com/pytest-dev/pytest/issues/11031): Enhanced the CLI flag for `-c` to now include `--config-file` to make it clear that this flag applies to the usage of a custom config file.

Configuration

πŸ“… Schedule: Branch creation - "every weekend" in timezone America/Montreal, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

β™» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

πŸ‘» Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR has been generated by Mend Renovate. View repository job log here.

patheard commented 1 year ago