Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[python ci] Update Python CI dependencies #342

Merged
merged 4 commits into from
Jan 8, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 30, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
black (changelog) ^23.11.0 -> ^23.12.1 age adoption passing confidence
boto3 ^1.33.1 -> ^1.34.11 age adoption passing confidence
coverage ^7.3.2 -> ^7.4.0 age adoption passing confidence
pytest (source, changelog) ^7.4.3 -> ^7.4.4 age adoption passing confidence
pytest-asyncio (changelog) ^0.21.1 -> ^0.23.3 age adoption passing confidence
pytest-operator ^0.31.0 -> ^0.31.1 age adoption passing confidence
ruff (source, changelog) ^0.1.6 -> ^0.1.11 age adoption passing confidence

Release Notes

psf/black (black)

v23.12.1

Compare Source

Packaging
  • Fixed a bug that included dependencies from the d extra by default (#​4108)

v23.12.0

Compare Source

Highlights

It's almost 2024, which means it's time for a new edition of Black's stable style!
Together with this release, we'll put out an alpha release 24.1a1 showcasing the draft
2024 stable style, which we'll finalize in the January release. Please try it out and
share your feedback.

This release (23.12.0) will still produce the 2023 style. Most but not all of the
changes in --preview mode will be in the 2024 stable style.

Stable style
  • Fix bug where # fmt: off automatically dedents when used with the --line-ranges
    option, even when it is not within the specified line range. (#​4084)
  • Fix feature detection for parenthesized context managers (#​4104)
Preview style
  • Prefer more equal signs before a break when splitting chained assignments (#​4010)
  • Standalone form feed characters at the module level are no longer removed (#​4021)
  • Additional cases of immediately nested tuples, lists, and dictionaries are now
    indented less (#​4012)
  • Allow empty lines at the beginning of all blocks, except immediately before a
    docstring (#​4060)
  • Fix crash in preview mode when using a short --line-length (#​4086)
  • Keep suites consisting of only an ellipsis on their own lines if they are not
    functions or class definitions (#​4066) (#​4103)
Configuration
  • --line-ranges now skips Black's internal stability check in --safe mode. This
    avoids a crash on rare inputs that have many unformatted same-content lines. (#​4034)
Packaging
Integrations
boto/boto3 (boto3)

v1.34.11

Compare Source

=======

  • api-change:apprunner: [botocore] AWS App Runner adds Python 3.11 and Node.js 18 runtimes.
  • api-change:location: [botocore] This release introduces a new parameter to bypasses an API key's expiry conditions and delete the key.
  • api-change:quicksight: [botocore] Add LinkEntityArn support for different partitions; Add UnsupportedUserEditionException in UpdateDashboardLinks API; Add support for New Reader Experience Topics

v1.34.10

Compare Source

=======

  • api-change:codestar-connections: [botocore] New integration with the GitLab self-managed provider type.
  • api-change:kinesis-video-archived-media: [botocore] NoDataRetentionException thrown when GetImages requested for a Stream that does not retain data (that is, has a DataRetentionInHours of 0).
  • api-change:sagemaker: [botocore] Amazon SageMaker Studio now supports Docker access from within app container

v1.34.9

Compare Source

======

  • api-change:emr: [botocore] Update emr client to latest version

v1.34.8

Compare Source

======

  • api-change:iam: [botocore] Documentation updates for AWS Identity and Access Management (IAM).
  • api-change:endpoint-rules: [botocore] Update endpoint-rules client to latest version

v1.34.7

Compare Source

======

  • api-change:bedrock-agent: [botocore] Adding Claude 2.1 support to Bedrock Agents
  • api-change:glue: [botocore] This release adds additional configurations for Query Session Context on the following APIs: GetUnfilteredTableMetadata, GetUnfilteredPartitionMetadata, GetUnfilteredPartitionsMetadata.
  • api-change:lakeformation: [botocore] This release adds additional configurations on GetTemporaryGlueTableCredentials for Query Session Context.
  • api-change:mediaconnect: [botocore] This release adds the DescribeSourceMetadata API. This API can be used to view the stream information of the flow's source.
  • api-change:networkmonitor: [botocore] CloudWatch Network Monitor is a new service within CloudWatch that will help network administrators and operators continuously monitor network performance metrics such as round-trip-time and packet loss between their AWS-hosted applications and their on-premises locations.
  • api-change:omics: [botocore] Provides minor corrections and an updated description of APIs.
  • api-change:secretsmanager: [botocore] Update endpoint rules and examples.
  • api-change:endpoint-rules: [botocore] Update endpoint-rules client to latest version

v1.34.6

Compare Source

======

  • enhancement:AWSCRT: [botocore] Update awscrt version to 0.19.19
  • api-change:amp: [botocore] This release updates Amazon Managed Service for Prometheus APIs to support customer managed KMS keys.
  • api-change:appintegrations: [botocore] The Amazon AppIntegrations service adds DeleteApplication API for deleting applications, and updates APIs to support third party applications reacting to workspace events and make data requests to Amazon Connect for agent and contact events.
  • api-change:bedrock-agent: [botocore] This release introduces Amazon Aurora as a vector store on Knowledge Bases for Amazon Bedrock
  • api-change:codecommit: [botocore] AWS CodeCommit now supports customer managed keys from AWS Key Management Service. UpdateRepositoryEncryptionKey is added for updating the key configuration. CreateRepository, GetRepository, BatchGetRepositories are updated with new input or output parameters.
  • api-change:connect: [botocore] Adds APIs to manage User Proficiencies and Predefined Attributes. Enhances StartOutboundVoiceContact API input. Introduces SearchContacts API. Enhances DescribeContact API. Adds an API to update Routing Attributes in QueuePriority and QueueTimeAdjustmentSeconds.
  • api-change:medialive: [botocore] MediaLive now supports the ability to configure the audio that an AWS Elemental Link UHD device produces, when the device is configured as the source for a flow in AWS Elemental MediaConnect.
  • api-change:neptune-graph: [botocore] Adds Waiters for successful creation and deletion of Graph, Graph Snapshot, Import Task and Private Endpoints for Neptune Analytics
  • api-change:rds-data: [botocore] This release adds support for using RDS Data API with Aurora PostgreSQL Serverless v2 and provisioned DB clusters.
  • api-change:rds: [botocore] This release adds support for using RDS Data API with Aurora PostgreSQL Serverless v2 and provisioned DB clusters.
  • api-change:sagemaker: [botocore] Amazon SageMaker Training now provides model training container access for debugging purposes. Amazon SageMaker Search now provides the ability to use visibility conditions to limit resource access to a single domain or multiple domains.

v1.34.5

Compare Source

======

  • api-change:appstream: [botocore] This release introduces configurable clipboard, allowing admins to specify the maximum length of text that can be copied by the users from their device to the remote session and vice-versa.
  • api-change:eks: [botocore] Add support for cluster insights, new EKS capability that surfaces potentially upgrade impacting issues.
  • api-change:guardduty: [botocore] This release 1) introduces a new API: GetOrganizationStatistics , and 2) adds a new UsageStatisticType TOP_ACCOUNTS_BY_FEATURE for GetUsageStatistics API
  • api-change:managedblockchain-query: [botocore] Adding Confirmation Status and Execution Status to GetTransaction Response.
  • api-change:mediatailor: [botocore] Adds the ability to configure time shifting on MediaTailor channels using the TimeShiftConfiguration field
  • api-change:route53: [botocore] Amazon Route 53 now supports the Canada West (Calgary) Region (ca-west-1) for latency records, geoproximity records, and private DNS for Amazon VPCs in that region.
  • api-change:endpoint-rules: [botocore] Update endpoint-rules client to latest version

v1.34.4

Compare Source

======

  • api-change:appsync: [botocore] This release adds additional configurations on GraphQL APIs for limits on query depth, resolver count, and introspection
  • api-change:chime-sdk-meetings: [botocore] Add meeting features to specify a maximum camera resolution, a maximum content sharing resolution, and a maximum number of attendees for a given meeting.
  • api-change:ec2: [botocore] Provision BYOIPv4 address ranges and advertise them by specifying the network border groups option in Los Angeles, Phoenix and Dallas AWS Local Zones.
  • api-change:fsx: [botocore] Added support for FSx for OpenZFS on-demand data replication across AWS accounts and/or regions.Added the IncludeShared attribute for DescribeSnapshots.Added the CopyStrategy attribute for OpenZFSVolumeConfiguration.
  • api-change:marketplace-catalog: [botocore] AWS Marketplace now supports a new API, BatchDescribeEntities, which returns metadata and content for multiple entities.
  • api-change:rds: [botocore] RDS - The release adds two new APIs: DescribeDBRecommendations and ModifyDBRecommendation

v1.34.3

Compare Source

======

  • api-change:cognito-idp: [botocore] Amazon Cognito now supports trigger versions that define the fields in the request sent to pre token generation Lambda triggers.
  • api-change:eks: [botocore] Add support for EKS Cluster Access Management.
  • api-change:quicksight: [botocore] A docs-only release to add missing entities to the API reference.
  • api-change:route53resolver: [botocore] Add DOH protocols in resolver endpoints.

v1.34.2

Compare Source

======

  • api-change:cloud9: [botocore] Updated Cloud9 API documentation for AL2023 release
  • api-change:connect: [botocore] Adds relatedContactId field to StartOutboundVoiceContact API input. Introduces PauseContact API and ResumeContact API for Task contacts. Adds pause duration, number of pauses, timestamps for last paused and resumed events to DescribeContact API response. Adds new Rule type and new Rule action.
  • api-change:connectcases: [botocore] Increase number of fields that can be included in CaseEventIncludedData from 50 to 200
  • api-change:kms: [botocore] Documentation updates for AWS Key Management Service
  • api-change:rds: [botocore] Updates Amazon RDS documentation by adding code examples
  • api-change:sagemaker: [botocore] This release 1) introduces a new API: DeleteCompilationJob , and 2) adds InfraCheckConfig for Create/Describe training job API

v1.34.1

Compare Source

======

  • api-change:appstream: [botocore] This release includes support for images of Windows Server 2022 platform.
  • api-change:b2bi: [botocore] Documentation updates for AWS B2B Data Interchange
  • api-change:billingconductor: [botocore] Billing Conductor is releasing a new API, GetBillingGroupCostReport, which provides the ability to retrieve/view the Billing Group Cost Report broken down by attributes for a specific billing group.
  • api-change:connect: [botocore] This release adds support for more granular billing using tags (key:value pairs)
  • api-change:controltower: [botocore] Documentation updates for AWS Control Tower.
  • api-change:firehose: [botocore] This release, 1) adds configurable buffering hints for the Splunk destination, and 2) reduces the minimum configurable buffering interval for supported destinations
  • api-change:gamelift: [botocore] Amazon GameLift adds the ability to add and update the game properties of active game sessions.
  • api-change:iot: [botocore] This release adds the ability to self-manage certificate signing in AWS IoT Core fleet provisioning using the new certificate provider resource.
  • api-change:neptune-graph: [botocore] This is the initial SDK release for Amazon Neptune Analytics
  • api-change:opensearch: [botocore] Updating documentation for Amazon OpenSearch Service support for new zero-ETL integration with Amazon S3.
  • api-change:quicksight: [botocore] Update Dashboard Links support; SingleAxisOptions support; Scatterplot Query limit support.
  • api-change:workspaces: [botocore] Updated note to ensure customers understand running modes.
  • api-change:endpoint-rules: [botocore] Update endpoint-rules client to latest version

v1.34.0

Compare Source

======

  • feature:Python: End of support for Python 3.7
  • feature:Python: [botocore] End of support for Python 3.7
  • api-change:drs: [botocore] Adding AgentVersion to SourceServer and RecoveryInstance structures

v1.33.13

Compare Source

=======

  • api-change:imagebuilder: [botocore] This release adds the Image Workflows feature to give more flexibility and control over the image building and testing process.
  • api-change:location: [botocore] This release 1) adds sub-municipality field in Places API for searching and getting places information, and 2) allows optimizing route calculation based on expected arrival time.
  • api-change:logs: [botocore] This release introduces the StartLiveTail API to tail ingested logs in near real time.

v1.33.12

Compare Source

=======

  • api-change:neptune: [botocore] This release adds a new parameter configuration setting to the Neptune cluster related APIs that can be leveraged to switch between the underlying supported storage modes.
  • api-change:pinpoint: [botocore] This release includes Amazon Pinpoint API documentation updates pertaining to campaign message sending rate limits.
  • api-change:securityhub: [botocore] Added new resource detail objects to ASFF, including resources for AwsDynamoDbTable, AwsEc2ClientVpnEndpoint, AwsMskCluster, AwsS3AccessPoint, AwsS3Bucket
  • api-change:endpoint-rules: [botocore] Update endpoint-rules client to latest version

v1.33.11

Compare Source

=======

  • api-change:cloudwatch: [botocore] Update cloudwatch client to latest version
  • api-change:ec2: [botocore] M2 Mac instances are built on Apple M2 Mac mini computers. I4i instances are powered by 3rd generation Intel Xeon Scalable processors. C7i compute optimized, M7i general purpose and R7i memory optimized instances are powered by custom 4th Generation Intel Xeon Scalable processors.
  • api-change:finspace: [botocore] Releasing Scaling Group, Dataview, and Volume APIs

v1.33.10

Compare Source

=======

  • api-change:codedeploy: [botocore] This release adds support for two new CodeDeploy features: 1) zonal deployments for Amazon EC2 in-place deployments, 2) deployments triggered by Auto Scaling group termination lifecycle hook events.

v1.33.9

Compare Source

======

  • api-change:backup: [botocore] AWS Backup - Features: Add VaultType to the output of DescribeRecoveryPoint, ListRecoveryPointByBackupVault API and add ResourceType to the input of ListRestoreJobs API
  • api-change:comprehend: [botocore] Documentation updates for Trust and Safety features.
  • api-change:connect: [botocore] Releasing Tagging Support for Instance Management APIS
  • api-change:ec2: [botocore] Releasing the new cpuManufacturer attribute within the DescribeInstanceTypes API response which notifies our customers with information on who the Manufacturer is for the processor attached to the instance, for example: Intel.
  • api-change:payment-cryptography: [botocore] AWS Payment Cryptography IPEK feature release

v1.33.8

Compare Source

======

  • api-change:athena: [botocore] Adding IdentityCenter enabled request for interactive query
  • api-change:cleanroomsml: [botocore] Updated service title from cleanroomsml to CleanRoomsML.
  • api-change:cloudformation: [botocore] Documentation update, December 2023
  • api-change:ec2: [botocore] Adds A10G, T4G, and H100 as accelerator name options and Habana as an accelerator manufacturer option for attribute based selection

v1.33.7

Compare Source

======

  • api-change:billingconductor: [botocore] This release adds the ability to specify a linked account of the billing group for the custom line item resource.
  • api-change:braket: [botocore] This release enhances service support to create quantum tasks and hybrid jobs associated with Braket Direct Reservations.
  • api-change:cloud9: [botocore] This release adds the requirement to include the imageId parameter in the CreateEnvironmentEC2 API call.
  • api-change:cloudformation: [botocore] Including UPDATE_* states as a success status for CreateStack waiter.
  • api-change:finspace: [botocore] Release General Purpose type clusters
  • api-change:medialive: [botocore] Adds support for custom color correction on channels using 3D LUT files.
  • api-change:servicecatalog-appregistry: [botocore] Documentation-only updates for Dawn
  • api-change:endpoint-rules: [botocore] Update endpoint-rules client to latest version

v1.33.6

Compare Source

======

  • api-change:qconnect: [botocore] This release adds the PutFeedback API and allows providing feedback against the specified assistant for the specified target.
  • api-change:rbin: [botocore] Added resource identifier in the output and updated error handling.
  • api-change:verifiedpermissions: [botocore] Adds description field to PolicyStore API's and namespaces field to GetSchema.

v1.33.5

Compare Source

======

  • api-change:arc-zonal-shift: [botocore] This release adds a new capability, zonal autoshift. You can configure zonal autoshift so that AWS shifts traffic for a resource away from an Availability Zone, on your behalf, when AWS determines that there is an issue that could potentially affect customers in the Availability Zone.
  • api-change:glue: [botocore] Adds observation and analyzer support to the GetDataQualityResult and BatchGetDataQualityResult APIs.
  • api-change:sagemaker: [botocore] This release adds support for 1/ Code Editor, based on Code-OSS, Visual Studio Code Open Source, a new fully managed IDE option in SageMaker Studio 2/ JupyterLab, a new fully managed JupyterLab IDE experience in SageMaker Studio

v1.33.4

Compare Source

======

  • bugfix:s3transfer: Raise floor for s3transfer to 0.8.2 to avoid any conflicts with the awscrt
  • api-change:marketplace-agreement: [botocore] The AWS Marketplace Agreement Service provides an API interface that helps AWS Marketplace sellers manage their agreements, including listing, filtering, and viewing details about their agreements.
  • api-change:marketplace-catalog: [botocore] This release enhances the ListEntities API to support new entity type-specific strongly typed filters in the request and entity type-specific strongly typed summaries in the response.
  • api-change:marketplace-deployment: [botocore] AWS Marketplace Deployment is a new service that provides essential features that facilitate the deployment of software, data, and services procured through AWS Marketplace.
  • api-change:redshift-serverless: [botocore] This release adds the following support for Amazon Redshift Serverless: 1) cross-account cross-VPCs, 2) copying snapshots across Regions, 3) scheduling snapshot creation, and 4) restoring tables from a recovery point.
  • api-change:endpoint-rules: [botocore] Update endpoint-rules client to latest version

v1.33.3

Compare Source

======

  • api-change:application-autoscaling: [botocore] Amazon SageMaker customers can now use Application Auto Scaling to automatically scale the number of Inference Component copies across an endpoint to meet the varying demand of their workloads.
  • api-change:cleanrooms: [botocore] AWS Clean Rooms now provides differential privacy to protect against user-identification attempts and machine learning modeling to allow two parties to identify similar users in their data.
  • api-change:cleanroomsml: [botocore] Public Preview SDK release of AWS Clean Rooms ML APIs
  • api-change:opensearch: [botocore] Launching Amazon OpenSearch Service support for new zero-ETL integration with Amazon S3. Customers can now manage their direct query data sources to Amazon S3 programatically
  • api-change:opensearchserverless: [botocore] Amazon OpenSearch Serverless collections support an additional attribute called standby-replicas. This allows to specify whether a collection should have redundancy enabled.
  • api-change:sagemaker-runtime: [botocore] Update sagemaker-runtime client to latest version
  • api-change:sagemaker: [botocore] This release adds following support 1/ Improved SDK tooling for model deployment. 2/ New Inference Component based features to lower inference costs and latency 3/ SageMaker HyperPod management. 4/ Additional parameters for FM Fine Tuning in Autopilot
  • api-change:sts: [botocore] Documentation updates for AWS Security Token Service.
  • api-change:endpoint-rules: [botocore] Update endpoint-rules client to latest version

v1.33.2

Compare Source

======

  • api-change:accessanalyzer: [botocore] This release adds support for external access findings for S3 directory buckets to help you easily identify cross-account access. Updated service API, documentation, and paginators.
  • api-change:bedrock-agent-runtime: [botocore] This release introduces Agents for Amazon Bedrock Runtime
  • api-change:bedrock-agent: [botocore] This release introduces Agents for Amazon Bedrock
  • api-change:bedrock-runtime: [botocore] This release adds support for minor versions/aliases for invoke model identifier.
  • api-change:bedrock: [botocore] This release adds support for customization types, model life cycle status and minor versions/aliases for model identifiers.
  • api-change:connect: [botocore] Added support for following capabilities: Amazon Connect's in-app, web, and video calling. Two-way SMS integrations. Contact Lens real-time chat analytics feature. Amazon Connect Analytics Datalake capability. Capability to configure real time chat rules.
  • api-change:customer-profiles: [botocore] This release introduces DetectProfileObjectType API to auto generate object type mapping.
  • api-change:qbusiness: [botocore] Amazon Q - a generative AI powered application that your employees can use to ask questions and get answers from knowledge spread across disparate content repositories, summarize reports, write articles, take actions, and much more - all within their company's connected content repositories.
  • api-change:qconnect: [botocore] Amazon Q in Connect, an LLM-enhanced evolution of Amazon Connect Wisdom. This release adds generative AI support to Amazon Q Connect QueryAssistant and GetRecommendations APIs.
  • api-change:s3: [botocore] Adds support for S3 Express One Zone.
  • api-change:s3control: [botocore] Adds support for S3 Express One Zone, and InvocationSchemaVersion 2.0 for S3 Batch Operations.
  • api-change:endpoint-rules: [botocore] Update endpoint-rules client to latest version
nedbat/coveragepy (coverage)

v7.4.0

Compare Source

  • In Python 3.12 and above, you can try an experimental core based on the new
    :mod:sys.monitoring <python:sys.monitoring> module by defining a
    COVERAGE_CORE=sysmon environment variable. This should be faster for
    line coverage, but not for branch coverage, and plugins and dynamic contexts
    are not yet supported with it. I am very interested to hear how it works (or
    doesn't!) for you.

.. _changes_7-3-4:

v7.3.4

Compare Source

  • Fix: the change for multi-line signature exclusions in 7.3.3 broke other
    forms of nested clauses being excluded properly. This is now fixed, closing
    issue 1713_.

  • Fix: in the HTML report, selecting code for copying won't select the line
    numbers also. Thanks, Robert Harris <pull 1717_>_.

.. _issue 1713:https://github.com/nedbat/coveragepy/issues/17133
.. _pull 1717https://github.com/nedbat/coveragepy/pull/171717

.. _changes_7-3-3:

v7.3.3

Compare Source

  • Fix: function definitions with multi-line signatures can now be excluded by
    matching any of the lines, closing issue 684. Thanks, Jan Rusak, Maciej Kowalczyk and Joanna Ejzel <pull 1705_>.

  • Fix: XML reports could fail with a TypeError if files had numeric components
    that were duplicates except for leading zeroes, like file1.py and
    file001.py. Fixes issue 1709_.

  • The coverage annotate command used to announce that it would be removed
    in a future version. Enough people got in touch to say that they use it, so
    it will stay. Don't expect it to keep up with other new features though.

  • Added new :ref:debug options <cmd_run_debug>:

    • pytest writes the pytest test name into the debug output.

    • dataop2 writes the full data being added to CoverageData objects.

.. _issue 684:https://github.com/nedbat/coveragepy/issues/6844
.. _pull 1705https://github.com/nedbat/coveragepy/pull/170505
.. _issue 170https://github.com/nedbat/coveragepy/issues/1709709

.. _changes_7-3-2:

pytest-dev/pytest (pytest)

v7.4.4

Compare Source

pytest-dev/pytest-asyncio (pytest-asyncio)

v0.23.3: pytest-asyncio 0.23.3

Compare Source

0.23.3 (2024-01-01)

  • Fixes a bug that caused event loops to be closed prematurely when using async generator fixtures with class scope or wider in a function-scoped test #​706
  • Fixes various bugs that caused an internal pytest error during test collection #​711 #​713 #​719

Known issues

As of v0.23, pytest-asyncio attaches an asyncio event loop to each item of the test suite (i.e. session, packages, modules, classes, functions) and allows tests to be run in those loops when marked accordingly. Pytest-asyncio currently assumes that async fixture scope is correlated with the new event loop scope. This prevents fixtures from being evaluated independently from the event loop scope and breaks some existing test suites (see #​706). For example, a test suite may require all fixtures and tests to run in the same event loop, but have async fixtures that are set up and torn down for each module. If you're affected by this issue, please continue using the v0.21 release, until it is resolved.

v0.23.2: pytest-asyncio 0.23.2

Compare Source

0.23.2 (2023-12-04)

  • Fixes a bug that caused an internal pytest error when collecting .txt files #​703

v0.23.1: pytest-asyncio 0.23.1

Compare Source

0.23.1 (2023-12-03)

  • Fixes a bug that caused an internal pytest error when using module-level skips #​701

v0.23.0: pytest-asyncio 0.23.0

Compare Source

This release is backwards-compatible with v0.21. Changes are
non-breaking, unless you upgrade from v0.22.

  • BREAKING: The asyncio_event_loop mark has been removed. Event
    loops with class, module, package, and session scopes can be
    requested via the scope keyword argument to the asyncio
    mark.
  • Introduces the event_loop_policy fixture which allows testing with
    non-default or multiple event loops #​662
  • Introduces pytest_asyncio.is_async_test which returns whether a
    test item is managed by pytest-asyncio #​376
  • Removes and pytest-trio, mypy, and flaky from the test
    dependencies #​620, #​674, #​678

v0.22.0: pytest-asyncio 0.22.0 (yanked)

Compare Source

This release deprecated event loop overrides, but didn't provide adequate replacement functionality for all relevant use cases. As such, the release was yanked from PyPI.

0.22.0 (2023-10-31)

  • Class-scoped and module-scoped event loops can be requested
    via the asyncio_event_loop mark. #​620
  • Deprecate redefinition of the event_loop fixture. #​587
    Users requiring a class-scoped or module-scoped asyncio event loop for their tests
    should mark the corresponding class or module with asyncio_event_loop.
  • Test items based on asynchronous generators always exit with xfail status and emit a warning during the collection phase. This behavior is consistent with synchronous yield tests. #​642
  • Remove support for Python 3.7
  • Declare support for Python 3.12
astral-sh/ruff (ruff)

v0.1.11

Compare Source

Preview features
  • [pylint] Implement super-without-brackets (W0245) (#​9257)
Bug fixes
  • Check path string properly in python -m ruff invocations (#​9367)
Documentation
  • Tweak relative-imports message (#​9365)
  • Add fix safety note for yield-in-for-loop (#​9364)

v0.1.10

Compare Source

Preview features
  • Improve dummy_implementations preview style formatting (#​9240)
  • Normalise Hex and unicode escape sequences in strings (#​9280)
  • Parenthesize long type annotations in annotated assignments (#​9210)
  • Parenthesize multi-context managers in with statements (#​9222)
  • [flake8-pyi] Implement generator-return-from-iter-method (PYI058) (#​9313)
  • [pylint] Implement empty-comment (PLR2044) (#​9174)
  • [refurb] Implement bit-count (FURB161) (#​9265)
  • [ruff] Add never-union rule to detect redundant typing.NoReturn and typing.Never (#​9217)
CLI
  • Add paths to TOML parse errors (#​9358)
  • Add row and column numbers to formatter parse errors (#​9321)
  • Improve responsiveness when invoked via Python (#​9315)
  • Short rule messages should not end with a period (#​9345)
Configuration
  • Respect runtime-required decorators on functions (#​9317)
Bug fixes
  • Avoid asyncio-dangling-task for nonlocal and global bindings (#​9263)
  • Escape trailing placeholders in rule documentation (#​9301)
  • Fix continuation detection following multi-line strings (#​9332)
  • Fix scoping for generators in named expressions in classes (#​9248)
  • Port from obsolete wsl crate to is-wsl (#​9356)
  • Remove special pre-visit for module docstrings (#​9261)
  • Respect __str__ definitions from super classes (#​9338)
  • Respect unused-noqa via per-file-ignores (#​9300)
  • Respect attribute chains when resolving builtin call paths (#​9309)
  • Treat all typing_extensions members as typing aliases (#​9335)
  • Use Display for formatter parse errors (#​9316)
  • Wrap subscripted dicts in parens for f-string conversion (#​9238)
  • [flake8-annotations] Avoid adding return types to stub methods (#​9277)
  • [flake8-annotations] Respect mixed return and raise cases in return-type analysis (#​9310)
  • [flake8-bandit] Don't report violations when SafeLoader is imported from yaml.loader (S506) (#​9299)
  • [pylint] Avoid panic when comment is preceded by Unicode (#​9331)
  • [pylint] Change PLR0917 error message to match other PLR09XX messages (#​9308)
  • [refurb] Avoid false positives for math-constant (FURB152) (#​9290)
Documentation
  • Expand target name for better rule documentation (#​9302)
  • Fix typos found by codespell (#​9346)
  • [perflint] Document PERF102 fix un-safety (#​9351)
  • [pyupgrade] Document UP007 fix un-safety (#​9306)

v0.1.9

Compare Source

Breaking changes
  • Add site-packages to default exclusions (#​9188)
Preview features
  • Fix: Avoid parenthesizing subscript targets and values (#​9209)
  • [pylint] Implement too-many-locals (PLR0914) (#​9163)
  • Implement reimplemented_operator (FURB118) (#​9171)
  • Add a rule to detect string members in runtime-evaluated unions (#​9143)
  • Implement no_blank_line_before_class_docstring preview style (#​9154)
Rule changes
  • CONSTANT_CASE variables are improperly flagged for yoda violation (SIM300) (#​9164)
  • [flake8-pyi] Cover ParamSpecs and TypeVarTuples (PYI018) (#​9198)
  • [flake8-bugbear] Add fix for zip-without-explicit-strict (B905) (#​9176)
  • Add fix to automatically remove print and pprint statements (T201, T203) (#​9208)
  • Prefer Never to NoReturn in auto-typing in Python >= 3.11 (ANN201) (#​9213)
Formatter
  • can_omit_optional_parentheses: Exit early for unparenthesized expressions (#​9125)
  • Fix dynamic mode with doctests so that it doesn't exceed configured line width (#​9129)
  • Fix can_omit_optional_parentheses for expressions with a right most fstring (#​9124)
  • Add target_version to formatter options (#​9220)
CLI
  • Update ruff format --check to display message for already formatted files (#​9153)
Bug fixes
  • Reverse order of arguments for operator.contains (#​9192)
  • Iterate over lambdas in deferred type annotations (#​9175)
  • Fix panic in D208 with multibyte indent (#​9147)
  • Add support for NoReturn in auto-return-typing (#​9206)
  • Allow removal of typing from exempt-modules (#​9214)
  • Avoid mutable-class-default violations for Pydantic subclasses (#​9187)
  • Fix dropped union expressions for piped non-types in PYI055 autofix (#​9161)
  • Enable annotation quoting for multi-line expressions (#​9142)
  • Deduplicate edits when quoting annotations (#​9140)
  • Prevent invalid utf8 indexing in cell magic detection (#​9146)
  • Avoid nested quotations in auto-quoting fix (#​9168)
  • Add base-class inheritance detection to flake8-django rules (#​9151)
  • Avoid asyncio-dangling-task violations on shadowed bindings (#​9215)
Documentation
  • Fix blog post URL in changelog (#​9119)
  • Add error suppression hint for multi-line strings (#​9205)
  • Fix typo in SemanticModel.parent_expression docstring (#​9167)
  • Document link between import sorting and formatter (#​9117)

v0.1.8

Compare Source

This release includes opt-in support for formatting Python snippets within
docstrings via the docstring-code-format setting.
Check out the blog post for more details!

Preview features
  • Add "preserve" quote-style to mimic Black's skip-string-normalization (#​8822)
  • Implement prefer_splitting_right_hand_side_of_assignments preview style (#​8943)
  • [pycodestyle] Add fix for unexpected-spaces-around-keyword-parameter-equals (#​9072)
  • [pycodestyle] Add fix for comment-related whitespace rules (#​9075)
  • [pycodestyle] Allow sys.path modifications between imports (#​9047)
  • [refurb] Implement hashlib-digest-hex (FURB181) (#​9077)
Rule changes
  • Allow flake8-type-checking rules to automatically quote runtime-evaluated references (#​6001)
  • Allow transparent cell magics in Jupyter Notebooks (#​8911)
  • [flake8-annotations] Avoid ANN2xx fixes for abstract methods with empty bodies (#​9034)
  • [flake8-self] Ignore underscore references in type annotations (#​9036)
  • [pep8-naming] Allow class names when apps.get_model is a non-string (#​9065)
  • [pycodestyle] Allow matplotlib.use calls to intersperse imports (#​9094)
  • [pyflakes] Support fixing unused assignments in tuples by renaming variables (F841) (#​9107)
  • [pylint] Add fix for subprocess-run-without-check (PLW1510) (#​6708)
Formatter
  • Add docstring-code-format knob to enable docstring snippet formatting (#​8854)
  • Use double quotes for all docstrings, including single-quoted docstrings (#​9020)
  • Implement "dynamic" line width mode for docstring code formatting (#​9098)
  • Support reformatting Markdown code blocks (#​9030)
  • add support for formatting reStructuredText code snippets (#​9003)
  • Avoid trailing comma for single-argument with positional separator (#​9076)
  • Fix handling of trailing target comment (#​9051)
CLI
  • Hide unsafe fix suggestions when explicitly disabled (#​9095)
  • Add SARIF support to --output-format (#​9078)
Bug fixes
  • Apply unnecessary index rule prior to enumerate rewrite (#​9012)
  • [flake8-err-msg] Allow EM fixes even if msg variable is defined (#​9059)
  • [flake8-pie] Prevent keyword arguments duplication (#​8450)
  • [flake8-pie] Respect trailing comma in unnecessary-dict-kwargs (PIE804) (#​9015)
  • [flake8-raise] Avoid removing parentheses on ctypes.WinError (#​9027)
  • [isort] Avoid invalid combination of force-sort-within-types and lines-between-types (#​9041)
  • [isort] Ensure that from-style imports are always ordered first in __future__ (#​9039)
  • [pycodestyle] Allow tab indentation before keyword (#​9099)
  • [pylint] Ignore @overrides and @overloads for too-many-positional (#​9000)
  • [pyupgrade] Enable printf-string-formatting fix with comments on right-hand side (#​9037)
  • [refurb] Make math-constant (FURB152) rule more targeted (#​9054)
  • [refurb] Support floating-point base in redundant-log-base (FURB163) (#​9100)
  • [ruff] Detect unused-asyncio-dangling-task (RUF006) on unused assignments (#​9060)

v0.1.7

Compare Source

Preview features
  • Implement multiline dictionary and list hugging for preview style (#​8293)
  • Implement the fix_power_op_line_length preview style (#​8947)
  • Use Python version to determine typing rewrite safety (#​8919)
  • [flake8-annotations] Enable auto-return-type involving Optional and Union annotations (#​8885)
  • [flake8-bandit] Implement django-raw-sql (S611) (#​8651)
  • [flake8-bandit] Implement tarfile-unsafe-members (S202) (#​8829)
  • [flake8-pyi] Implement fix for unnecessary-literal-union (PYI030) (#​7934)
  • [flake8-simplify] Extend dict-get-with-none-default (SIM910) to non-literals (#​8762)
  • [pylint] - add unnecessary-list-index-lookup (PLR1736) + autofix (#​7999)
  • [pylint] - implement R0202 and R0203 with autofixes (#​8335)
  • [pylint] Implement repeated-keyword (PLe1132) (#​8706)
  • [pylint] Implement too-many-positional (PLR0917) (#​8995)
  • [pylint] Implement unnecessary-dict-index-lookup (PLR1733) (#​8036)
  • [refurb] Implement redundant-log-base (FURB163) (#​8842)
Rule changes
  • [flake8-boolean-trap] Allow booleans in @override methods (#​8882)
  • [flake8-bugbear] Avoid B015,B018 for last expression in a cell (#​8815)
  • [flake8-pie] Allow ellipses for enum values in stub files (#​8825)
  • [flake8-pyi] Check PEP 695 type aliases for snake-case-type-alias and t-suffixed-type-alias (#​8966)
  • [flake8-pyi] Check for kwarg and vararg NoReturn type annotations (#​8948)
  • [flake8-simplify] Omit select context managers from SIM117 (#​8801)
  • [pep8-naming] Allow Django model loads in non-lowercase-variable-in-function (N806) (#​8917)
  • [pycodestyle] Avoid E703 for last expression in a cell (#​8821)
  • [pycodestyle] Update

Configuration

📅 Schedule: Branch creation - "after 1am and before 3am every weekday" in timezone Etc/UTC, Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

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

@renovate renovate bot force-pushed the renovate/python-ci-dependencies branch from e796826 to 70b92bd Compare December 1, 2023 01:27
taurus-forever
taurus-forever previously approved these changes Dec 1, 2023
@renovate renovate bot force-pushed the renovate/python-ci-dependencies branch 2 times, most recently from 632f084 to 2aa35cf Compare December 5, 2023 02:06
Copy link
Contributor Author

renovate bot commented Dec 5, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: poetry.lock
Updating dependencies
Resolving dependencies...

Creating virtualenv postgresql-k8s-Klek1mCi-py3.12 in /home/ubuntu/.cache/pypoetry/virtualenvs

Because pytest-operator (0.31.1) depends on pytest-asyncio (<0.23)
 and no versions of pytest-operator match >0.31.1,<0.32.0, pytest-operator (>=0.31.1,<0.32.0) requires pytest-asyncio (<0.23).
So, because postgresql-k8s depends on both pytest-asyncio (^0.23.3) and pytest-operator (^0.31.1), version solving failed.

@renovate renovate bot force-pushed the renovate/python-ci-dependencies branch 2 times, most recently from 72688b1 to 7b6b8e0 Compare December 13, 2023 01:15
@renovate renovate bot force-pushed the renovate/python-ci-dependencies branch 2 times, most recently from ec1ed87 to 9fe9cf5 Compare December 19, 2023 02:13
@renovate renovate bot force-pushed the renovate/python-ci-dependencies branch 5 times, most recently from 00195e5 to 29f8fc2 Compare January 1, 2024 02:12
@renovate renovate bot force-pushed the renovate/python-ci-dependencies branch from 29f8fc2 to 3a432b5 Compare January 2, 2024 01:45
@renovate renovate bot force-pushed the renovate/python-ci-dependencies branch from 3a432b5 to bc5f8c5 Compare January 3, 2024 11:57
Copy link
Contributor Author

renovate bot commented Jan 3, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

pytest-mock = "^3.12.0"
pytest-asyncio = "^0.21.1"
pytest-asyncio = "*"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't really need pytest-asyncio for unit tests (it suppresses warnings) so we should be fine with whatever poetry pulls (whichever version is pulled by pytest-operator)

@dragomirp dragomirp merged commit 87b8b65 into main Jan 8, 2024
39 checks passed
@dragomirp dragomirp deleted the renovate/python-ci-dependencies branch January 8, 2024 09:50
BON4 pushed a commit to BON4/postgresql-k8s-operator that referenced this pull request May 20, 2024
* [python ci] Update Python CI dependencies

* Fix dependencies

* Unpin pytest-asyncio

* Bump libs

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dragomir Penev <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants