numerique-gouv / people

Teams management application
MIT License
9 stars 0 forks source link

⬆️(dependencies) update python dependencies #201

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 2 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
boto3 ==1.34.88 -> ==1.34.101 age adoption passing confidence
dev/drf-spectacular-sidecar ==2024.4.1 -> ==2024.5.1 age adoption passing confidence
dev/freezegun (changelog) ==1.4.0 -> ==1.5.0 age adoption passing confidence
dev/ipython ==8.23.0 -> ==8.24.0 age adoption passing confidence
dev/pytest (changelog) ==8.1.1 -> ==8.2.0 age adoption passing confidence
dev/pytest-xdist (changelog) ==3.5.0 -> ==3.6.1 age adoption passing confidence
dev/ruff (source, changelog) ==0.4.1 -> ==0.4.4 age adoption passing confidence
django (source, changelog) ==5.0.4 -> ==5.0.6 age adoption passing confidence
django-storages (changelog) ==1.14.2 -> ==1.14.3 age adoption passing confidence
dockerflow ==2024.4.1 -> ==2024.4.2 age adoption passing confidence
jsonschema (changelog) ==4.21.1 -> ==4.22.0 age adoption passing confidence
redis (changelog) ==5.0.3 -> ==5.0.4 age adoption passing confidence
sentry-sdk (changelog) ==1.45.0 -> ==2.1.1 age adoption passing confidence

Release Notes

boto/boto3 (boto3) ### [`v1.34.101`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#134101) [Compare Source](https://togithub.com/boto/boto3/compare/1.34.100...1.34.101) \======== - api-change:`cognito-idp`: \[`botocore`] Add EXTERNAL_PROVIDER enum value to UserStatusType. - api-change:`ec2`: \[`botocore`] Adding Precision Hardware Clock (PHC) to public API DescribeInstanceTypes - api-change:`ecr`: \[`botocore`] This release adds pull through cache rules support for GitLab container registry in Amazon ECR. - api-change:`fms`: \[`botocore`] The policy scope resource tag is always a string value, either a non-empty string or an empty string. - api-change:`polly`: \[`botocore`] Add new engine - generative - that builds the most expressive conversational voices. - api-change:`sqs`: \[`botocore`] This release adds MessageSystemAttributeNames to ReceiveMessageRequest to replace AttributeNames. ### [`v1.34.100`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#134100) [Compare Source](https://togithub.com/boto/boto3/compare/1.34.99...1.34.100) \======== - api-change:`b2bi`: \[`botocore`] Documentation update to clarify the MappingTemplate definition. - api-change:`budgets`: \[`botocore`] This release adds tag support for budgets and budget actions. - api-change:`resiliencehub`: \[`botocore`] AWS Resilience Hub has expanded its drift detection capabilities by introducing a new type of drift detection - application resource drift. This new enhancement detects changes, such as the addition or deletion of resources within the application's input sources. - api-change:`route53profiles`: \[`botocore`] Doc only update for Route 53 profiles that fixes some link issues ### [`v1.34.99`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#13499) [Compare Source](https://togithub.com/boto/boto3/compare/1.34.98...1.34.99) \======= - api-change:`medialive`: \[`botocore`] AWS Elemental MediaLive now supports configuring how SCTE 35 passthrough triggers segment breaks in HLS and MediaPackage output groups. Previously, messages triggered breaks in all these output groups. The new option is to trigger segment breaks only in groups that have SCTE 35 passthrough enabled. ### [`v1.34.98`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#13498) [Compare Source](https://togithub.com/boto/boto3/compare/1.34.97...1.34.98) \======= - api-change:`bedrock-agent`: \[`botocore`] This release adds support for using Provisioned Throughput with Bedrock Agents. - api-change:`connect`: \[`botocore`] This release adds 5 new APIs for managing attachments: StartAttachedFileUpload, CompleteAttachedFileUpload, GetAttachedFile, BatchGetAttachedFileMetadata, DeleteAttachedFile. These APIs can be used to programmatically upload and download attachments to Connect resources, like cases. - api-change:`connectcases`: \[`botocore`] This feature supports the release of Files related items - api-change:`datasync`: \[`botocore`] Updated guidance on using private or self-signed certificate authorities (CAs) with AWS DataSync object storage locations. - api-change:`inspector2`: \[`botocore`] This release adds CSV format to GetCisScanReport for Inspector v2 - api-change:`sagemaker`: \[`botocore`] Amazon SageMaker Inference now supports m6i, c6i, r6i, m7i, c7i, r7i and g5 instance types for Batch Transform Jobs - api-change:`sesv2`: \[`botocore`] Adds support for specifying replacement headers per BulkEmailEntry in SendBulkEmail in SESv2. ### [`v1.34.97`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#13497) [Compare Source](https://togithub.com/boto/boto3/compare/1.34.96...1.34.97) \======= - api-change:`dynamodb`: \[`botocore`] This release adds support to specify an optional, maximum OnDemandThroughput for DynamoDB tables and global secondary indexes in the CreateTable or UpdateTable APIs. You can also override the OnDemandThroughput settings by calling the ImportTable, RestoreFromPointInTime, or RestoreFromBackup APIs. - api-change:`ec2`: \[`botocore`] This release includes a new API for retrieving the public endorsement key of the EC2 instance's Nitro Trusted Platform Module (NitroTPM). - api-change:`personalize`: \[`botocore`] This releases ability to delete users and their data, including their metadata and interactions data, from a dataset group. - api-change:`redshift-serverless`: \[`botocore`] Update Redshift Serverless List Scheduled Actions Output Response to include Namespace Name. ### [`v1.34.96`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#13496) [Compare Source](https://togithub.com/boto/boto3/compare/1.34.95...1.34.96) \======= - api-change:`bedrock-agent`: \[`botocore`] This release adds support for using MongoDB Atlas as a vector store when creating a knowledge base. - api-change:`ec2`: \[`botocore`] Documentation updates for Amazon EC2. - api-change:`personalize-runtime`: \[`botocore`] This release adds support for a Reason attribute for predicted items generated by User-Personalization-v2. - api-change:`securityhub`: \[`botocore`] Updated CreateMembers API request with limits. - api-change:`sesv2`: \[`botocore`] Fixes ListContacts and ListImportJobs APIs to use POST instead of GET. ### [`v1.34.95`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#13495) [Compare Source](https://togithub.com/boto/boto3/compare/1.34.94...1.34.95) \======= - api-change:`chime-sdk-voice`: \[`botocore`] Due to changes made by the Amazon Alexa service, GetSipMediaApplicationAlexaSkillConfiguration and PutSipMediaApplicationAlexaSkillConfiguration APIs are no longer available for use. For more information, refer to the Alexa Smart Properties page. - api-change:`codeartifact`: \[`botocore`] Add support for the Ruby package format. - api-change:`fms`: \[`botocore`] AWS Firewall Manager now supports the network firewall service stream exception policy feature for accounts within your organization. - api-change:`omics`: \[`botocore`] Add support for workflow sharing and dynamic run storage - api-change:`opensearch`: \[`botocore`] This release enables customers to create Route53 A and AAAA alias record types to point custom endpoint domain to OpenSearch domain's dualstack search endpoint. - api-change:`pinpoint-sms-voice-v2`: \[`botocore`] Amazon Pinpoint has added two new features Multimedia services (MMS) and protect configurations. Use the three new MMS APIs to send media messages to a mobile phone which includes image, audio, text, or video files. Use the ten new protect configurations APIs to block messages to specific countries. - api-change:`qbusiness`: \[`botocore`] This is a general availability (GA) release of Amazon Q Business. Q Business enables employees in an enterprise to get comprehensive answers to complex questions and take actions through a unified, intuitive web-based chat experience - using an enterprise's existing content, data, and systems. - api-change:`quicksight`: \[`botocore`] New Q embedding supporting Generative Q\&A - api-change:`route53resolver`: \[`botocore`] Release of FirewallDomainRedirectionAction parameter on the Route 53 DNS Firewall Rule. This allows customers to configure a DNS Firewall rule to inspect all the domains in the DNS redirection chain (default) , such as CNAME, ALIAS, DNAME, etc., or just the first domain and trust the rest. - api-change:`sagemaker`: \[`botocore`] Amazon SageMaker Training now supports the use of attribute-based access control (ABAC) roles for training job execution roles. Amazon SageMaker Inference now supports G6 instance types. - api-change:`signer`: \[`botocore`] Documentation updates for AWS Signer. Adds cross-account signing constraint and definitions for cross-account actions. ### [`v1.34.94`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#13494) [Compare Source](https://togithub.com/boto/boto3/compare/1.34.93...1.34.94) \======= - api-change:`amplify`: \[`botocore`] Updating max results limit for listing any resources (Job, Artifacts, Branch, BackendResources, DomainAssociation) to 50 with the exception of list apps that where max results can be up to 100. - api-change:`connectcases`: \[`botocore`] This feature releases DeleteField, DeletedLayout, and DeleteTemplate API's - api-change:`inspector2`: \[`botocore`] Update Inspector2 to include new Agentless API parameters. - api-change:`timestream-query`: \[`botocore`] This change allows users to update and describe account settings associated with their accounts. - api-change:`transcribe`: \[`botocore`] This update provides error messaging for generative call summarization in Transcribe Call Analytics - api-change:`trustedadvisor`: \[`botocore`] This release adds the BatchUpdateRecommendationResourceExclusion API to support batch updates of Recommendation Resource exclusion statuses and introduces a new exclusion status filter to the ListRecommendationResources and ListOrganizationRecommendationResources APIs. ### [`v1.34.93`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#13493) [Compare Source](https://togithub.com/boto/boto3/compare/1.34.92...1.34.93) \======= - api-change:`codepipeline`: \[`botocore`] Add ability to manually and automatically roll back a pipeline stage to a previously successful execution. - api-change:`cognito-idp`: \[`botocore`] Add LimitExceededException to SignUp errors - api-change:`connectcampaigns`: \[`botocore`] This release adds support for specifying if Answering Machine should wait for prompt sound. - api-change:`marketplace-entitlement`: \[`botocore`] Releasing minor endpoint updates. - api-change:`oam`: \[`botocore`] This release introduces support for Source Accounts to define which Metrics and Logs to share with the Monitoring Account - api-change:`rds`: \[`botocore`] SupportsLimitlessDatabase field added to describe-db-engine-versions to indicate whether the DB engine version supports Aurora Limitless Database. - api-change:`support`: \[`botocore`] Releasing minor endpoint updates. ### [`v1.34.92`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#13492) [Compare Source](https://togithub.com/boto/boto3/compare/1.34.91...1.34.92) \======= - api-change:`appsync`: \[`botocore`] UpdateGraphQLAPI documentation update and datasource introspection secret arn update - api-change:`fms`: \[`botocore`] AWS Firewall Manager adds support for network ACL policies to manage Amazon Virtual Private Cloud (VPC) network access control lists (ACLs) for accounts in your organization. - api-change:`ivs`: \[`botocore`] Bug Fix: IVS does not support arns with the `svs` prefix - api-change:`ivs-realtime`: \[`botocore`] Bug Fix: IVS Real Time does not support ARNs using the `svs` prefix. - api-change:`rds`: \[`botocore`] Updates Amazon RDS documentation for setting local time zones for RDS for Db2 DB instances. - api-change:`stepfunctions`: \[`botocore`] Add new ValidateStateMachineDefinition operation, which performs syntax checking on the definition of a Amazon States Language (ASL) state machine. ### [`v1.34.91`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#13491) [Compare Source](https://togithub.com/boto/boto3/compare/1.34.90...1.34.91) \======= - api-change:`datasync`: \[`botocore`] This change allows users to disable and enable the schedules associated with their tasks. - api-change:`ec2`: \[`botocore`] Launching capability for customers to enable or disable automatic assignment of public IPv4 addresses to their network interface - api-change:`emr-containers`: \[`botocore`] EMRonEKS Service support for SecurityConfiguration enforcement for Spark Jobs. - api-change:`entityresolution`: \[`botocore`] Support Batch Unique IDs Deletion. - api-change:`gamelift`: \[`botocore`] Amazon GameLift releases container fleets support for public preview. Deploy Linux-based containerized game server software for hosting on Amazon GameLift. - api-change:`ssm`: \[`botocore`] Add SSM DescribeInstanceProperties API to public AWS SDK. ### [`v1.34.90`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#13490) [Compare Source](https://togithub.com/boto/boto3/compare/1.34.89...1.34.90) \======= - api-change:`bedrock`: \[`botocore`] This release introduces Model Evaluation and Guardrails for Amazon Bedrock. - api-change:`bedrock-agent`: \[`botocore`] Introducing the ability to create multiple data sources per knowledge base, specify S3 buckets as data sources from external accounts, and exposing levers to define the deletion behavior of the underlying vector store data. - api-change:`bedrock-agent-runtime`: \[`botocore`] This release introduces zero-setup file upload support for the RetrieveAndGenerate API. This allows you to chat with your data without setting up a Knowledge Base. - api-change:`bedrock-runtime`: \[`botocore`] This release introduces Guardrails for Amazon Bedrock. - api-change:`ce`: \[`botocore`] Added additional metadata that might be applicable to your reservation recommendations. - api-change:`ec2`: \[`botocore`] This release introduces EC2 AMI Deregistration Protection, a new AMI property that can be enabled by customers to protect an AMI against an unintended deregistration. This release also enables the AMI owners to view the AMI 'LastLaunchedTime' in DescribeImages API. - api-change:`pi`: \[`botocore`] Clarifies how aggregation works for GetResourceMetrics in the Performance Insights API. - api-change:`rds`: \[`botocore`] Fix the example ARN for ModifyActivityStreamRequest - api-change:`workspaces-web`: \[`botocore`] Added InstanceType and MaxConcurrentSessions parameters on CreatePortal and UpdatePortal Operations as well as the ability to read Customer Managed Key & Additional Encryption Context parameters on supported resources (Portal, BrowserSettings, UserSettings, IPAccessSettings) ### [`v1.34.89`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#13489) [Compare Source](https://togithub.com/boto/boto3/compare/1.34.88...1.34.89) \======= - api-change:`bedrock-agent`: \[`botocore`] Releasing the support for simplified configuration and return of control - api-change:`bedrock-agent-runtime`: \[`botocore`] Releasing the support for simplified configuration and return of control - api-change:`payment-cryptography`: \[`botocore`] Adding support to TR-31/TR-34 exports for optional headers, allowing customers to add additional metadata (such as key version and KSN) when exporting keys from the service. - api-change:`redshift-serverless`: \[`botocore`] Updates description of schedule field for scheduled actions. - api-change:`route53profiles`: \[`botocore`] Route 53 Profiles allows you to apply a central DNS configuration across many VPCs regardless of account. - api-change:`sagemaker`: \[`botocore`] This release adds support for Real-Time Collaboration and Shared Space for JupyterLab App on SageMaker Studio. - api-change:`servicediscovery`: \[`botocore`] This release adds examples to several Cloud Map actions. - api-change:`transfer`: \[`botocore`] Adding new API to support remote directory listing using SFTP connector
tfranzel/drf-spectacular-sidecar (dev/drf-spectacular-sidecar) ### [`v2024.5.1`](https://togithub.com/tfranzel/drf-spectacular-sidecar/compare/2024.4.1...2024.5.1) [Compare Source](https://togithub.com/tfranzel/drf-spectacular-sidecar/compare/2024.4.1...2024.5.1)
spulec/freezegun (dev/freezegun) ### [`v1.5.0`](https://togithub.com/spulec/freezegun/blob/HEAD/CHANGELOG#150) [Compare Source](https://togithub.com/spulec/freezegun/compare/1.4.0...1.5.0) - The default ignore list now contains the `queue`-package - Added a missing `move_to`-function when calling `freeze_time(tick=True)` - Fixes a rounding error in `time.time_ns()` - Fixed a bug where the default ignore list could not be empty (`configure(default_ignore_list=[])`) - All `tick()` methods now return the new datetime (instead of None) - Type improvements
ipython/ipython (dev/ipython) ### [`v8.24.0`](https://togithub.com/ipython/ipython/compare/8.23.0...8.24.0) [Compare Source](https://togithub.com/ipython/ipython/compare/8.23.0...8.24.0)
pytest-dev/pytest (dev/pytest) ### [`v8.2.0`](https://togithub.com/pytest-dev/pytest/releases/tag/8.2.0) [Compare Source](https://togithub.com/pytest-dev/pytest/compare/8.1.2...8.2.0) # pytest 8.2.0 (2024-04-27) ## Deprecations - [#​12069](https://togithub.com/pytest-dev/pytest/issues/12069): A deprecation warning is now raised when implementations of one of the following hooks request a deprecated `py.path.local` parameter instead of the `pathlib.Path` parameter which replaced it: - `pytest_ignore_collect`{.interpreted-text role="hook"} - the `path` parameter - use `collection_path` instead. - `pytest_collect_file`{.interpreted-text role="hook"} - the `path` parameter - use `file_path` instead. - `pytest_pycollect_makemodule`{.interpreted-text role="hook"} - the `path` parameter - use `module_path` instead. - `pytest_report_header`{.interpreted-text role="hook"} - the `startdir` parameter - use `start_path` instead. - `pytest_report_collectionfinish`{.interpreted-text role="hook"} - the `startdir` parameter - use `start_path` instead. The replacement parameters are available since pytest 7.0.0. The old parameters will be removed in pytest 9.0.0. See `legacy-path-hooks-deprecated`{.interpreted-text role="ref"} for more details. ## Features - [#​11871](https://togithub.com/pytest-dev/pytest/issues/11871): Added support for reading command line arguments from a file using the prefix character `@`, like e.g.: `pytest @​tests.txt`. The file must have one argument per line. See `Read arguments from file `{.interpreted-text role="ref"} for details. ## Improvements - [#​11523](https://togithub.com/pytest-dev/pytest/issues/11523): `pytest.importorskip`{.interpreted-text role="func"} will now issue a warning if the module could be found, but raised `ImportError`{.interpreted-text role="class"} instead of `ModuleNotFoundError`{.interpreted-text role="class"}. The warning can be suppressed by passing `exc_type=ImportError` to `pytest.importorskip`{.interpreted-text role="func"}. See `import-or-skip-import-error`{.interpreted-text role="ref"} for details. - [#​11728](https://togithub.com/pytest-dev/pytest/issues/11728): For `unittest`-based tests, exceptions during class cleanup (as raised by functions registered with `TestCase.addClassCleanup `{.interpreted-text role="meth"}) are now reported instead of silently failing. - [#​11777](https://togithub.com/pytest-dev/pytest/issues/11777): Text is no longer truncated in the `short test summary info` section when `-vv` is given. - [#​12112](https://togithub.com/pytest-dev/pytest/issues/12112): Improved namespace packages detection when `consider_namespace_packages`{.interpreted-text role="confval"} is enabled, covering more situations (like editable installs). - [#​9502](https://togithub.com/pytest-dev/pytest/issues/9502): Added `PYTEST_VERSION`{.interpreted-text role="envvar"} environment variable which is defined at the start of the pytest session and undefined afterwards. It contains the value of `pytest.__version__`, and among other things can be used to easily check if code is running from within a pytest run. ## Bug Fixes - [#​12065](https://togithub.com/pytest-dev/pytest/issues/12065): Fixed a regression in pytest 8.0.0 where test classes containing `setup_method` and tests using `@staticmethod` or `@classmethod` would crash with `AttributeError: 'NoneType' object has no attribute 'setup_method'`. Now the `request.instance `{.interpreted-text role="attr"} attribute of tests using `@staticmethod` and `@classmethod` is no longer `None`, but a fresh instance of the class, like in non-static methods. Previously it was `None`, and all fixtures of such tests would share a single `self`. - [#​12135](https://togithub.com/pytest-dev/pytest/issues/12135): Fixed issue where fixtures adding their finalizer multiple times to fixtures they request would cause unreliable and non-intuitive teardown ordering in some instances. - [#​12194](https://togithub.com/pytest-dev/pytest/issues/12194): Fixed a bug with `--importmode=importlib` and `--doctest-modules` where child modules did not appear as attributes in parent modules. - [#​1489](https://togithub.com/pytest-dev/pytest/issues/1489): Fixed some instances where teardown of higher-scoped fixtures was not happening in the reverse order they were initialized in. ## Trivial/Internal Changes - [#​12069](https://togithub.com/pytest-dev/pytest/issues/12069): `pluggy>=1.5.0` is now required. - [#​12167](https://togithub.com/pytest-dev/pytest/issues/12167): `cache `{.interpreted-text role="ref"}: create supporting files (`CACHEDIR.TAG`, `.gitignore`, etc.) in a temporary directory to provide atomic semantics. ### [`v8.1.2`](https://togithub.com/pytest-dev/pytest/releases/tag/8.1.2) [Compare Source](https://togithub.com/pytest-dev/pytest/compare/8.1.1...8.1.2) # pytest 8.1.2 (2024-04-26) ## Bug Fixes - [#​12114](https://togithub.com/pytest-dev/pytest/issues/12114): Fixed error in `pytest.approx`{.interpreted-text role="func"} when used with \[numpy]{.title-ref} arrays and comparing with other types.
pytest-dev/pytest-xdist (dev/pytest-xdist) ### [`v3.6.1`](https://togithub.com/pytest-dev/pytest-xdist/blob/HEAD/CHANGELOG.rst#pytest-xdist-361-2024-04-28) [Compare Source](https://togithub.com/pytest-dev/pytest-xdist/compare/v3.6.0...v3.6.1) \=============================== ## Bug Fixes - `#​1071 `\_: Add backward compatibility for deadlock issue with the `execnet` new `main_thread_only` "execmodel" triggered when pytest-cov accesses rinfo. ### [`v3.6.0`](https://togithub.com/pytest-dev/pytest-xdist/blob/HEAD/CHANGELOG.rst#pytest-xdist-360-2024-04-19) [Compare Source](https://togithub.com/pytest-dev/pytest-xdist/compare/v3.5.0...v3.6.0) \=============================== This release was YANKED due to a regression fixed in 3.6.1. ## Features - `#​1027 `\_:`pytest-xdist` workers now always execute the tests in the main thread. Previously some tests might end up executing in a separate thread other than `main` in the workers, due to some internal ` execnet`` details. This can cause problems specially with async frameworks where the event loop is running in the ``main`` thread (for example `[#​620](https://togithub.com/pytest-dev/pytest-xdist/issues/620) [#​620](https://togithub.com/pytest-dev/pytest-xdist/issues/620)\`\__). ## Bug Fixes - `#​1024 `\_: Added proper handling of `shouldstop` (such as set by `--max-fail`) and `shouldfail` conditions in workers. Previously, a worker might have continued executing further tests before the controller could terminate the session. - `#​1028 `\_: Fixed compatibility issue between `looponfail` and editable installs. - `#​620 `\_: Use the new `main_thread_only` `execnet` "execmodel" so that code which expects to only run in the main thread will now work as expected. - `#​937 `\_: Fixed a bug where plugin would raise an incompatibility error with `--pdb` despite using `-n0`. ## Removals - `#​1053 `\_: Dropped support for Python 3.7. - `#​1057 `\_: pytest>=7.0.0 is now required. execnet>=2.1.0 is now required. ## Trivial Changes - `#​1020 `\_: pytest-xdist's `setup.py` file is removed. If you relied on this file, e.g. to install pytest using `setup.py install`, please see `Why you shouldn't invoke setup.py directly `\_ for alternatives. - `#​1057 `\_: The internals of pytest-xdist are now fully typed. The typing is not exposed yet. - `#​996 `\_: Adjusted license file format and content to ensure security scanners will identity the license.
astral-sh/ruff (dev/ruff) ### [`v0.4.4`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#044) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.4.3...v0.4.4) ##### Preview features - \[`pycodestyle`] Ignore end-of-line comments when determining blank line rules ([#​11342](https://togithub.com/astral-sh/ruff/pull/11342)) - \[`pylint`] Detect `pathlib.Path.open` calls in `unspecified-encoding` (`PLW1514`) ([#​11288](https://togithub.com/astral-sh/ruff/pull/11288)) - \[`flake8-pyi`] Implement `PYI059` (`generic-not-last-base-class`) ([#​11233](https://togithub.com/astral-sh/ruff/pull/11233)) - \[`flake8-pyi`] Implement `PYI062` (`duplicate-literal-member`) ([#​11269](https://togithub.com/astral-sh/ruff/pull/11269)) ##### Rule changes - \[`flake8-boolean-trap`] Allow passing booleans as positional-only arguments in code such as `set(True)` ([#​11287](https://togithub.com/astral-sh/ruff/pull/11287)) - \[`flake8-bugbear`] Ignore enum classes in `cached-instance-method` (`B019`) ([#​11312](https://togithub.com/astral-sh/ruff/pull/11312)) ##### Server - Expand tildes when resolving Ruff server configuration file ([#​11283](https://togithub.com/astral-sh/ruff/pull/11283)) - Fix `ruff server` hanging after Neovim closes ([#​11291](https://togithub.com/astral-sh/ruff/pull/11291)) - Editor settings are used by default if no file-based configuration exists ([#​11266](https://togithub.com/astral-sh/ruff/pull/11266)) ##### Bug fixes - \[`pylint`] Consider `with` statements for `too-many-branches` (`PLR0912`) ([#​11321](https://togithub.com/astral-sh/ruff/pull/11321)) - \[`flake8-blind-except`, `tryceratops`] Respect logged and re-raised expressions in nested statements (`BLE001`, `TRY201`) ([#​11301](https://togithub.com/astral-sh/ruff/pull/11301)) - Recognise assignments such as `__all__ = builtins.list(["foo", "bar"])` as valid `__all__` definitions ([#​11335](https://togithub.com/astral-sh/ruff/pull/11335)) ### [`v0.4.3`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#043) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.4.2...v0.4.3) ##### Enhancements - Add support for PEP 696 syntax ([#​11120](https://togithub.com/astral-sh/ruff/pull/11120)) ##### Preview features - \[`refurb`] Use function range for `reimplemented-operator` diagnostics ([#​11271](https://togithub.com/astral-sh/ruff/pull/11271)) - \[`refurb`] Ignore methods in `reimplemented-operator` (`FURB118`) ([#​11270](https://togithub.com/astral-sh/ruff/pull/11270)) - \[`refurb`] Implement `fstring-number-format` (`FURB116`) ([#​10921](https://togithub.com/astral-sh/ruff/pull/10921)) - \[`ruff`] Implement `redirected-noqa` (`RUF101`) ([#​11052](https://togithub.com/astral-sh/ruff/pull/11052)) - \[`pyflakes`] Distinguish between first-party and third-party imports for fix suggestions ([#​11168](https://togithub.com/astral-sh/ruff/pull/11168)) ##### Rule changes - \[`flake8-bugbear`] Ignore non-abstract class attributes when enforcing `B024` ([#​11210](https://togithub.com/astral-sh/ruff/pull/11210)) - \[`flake8-logging`] Include inline instantiations when detecting loggers ([#​11154](https://togithub.com/astral-sh/ruff/pull/11154)) - \[`pylint`] Also emit `PLR0206` for properties with variadic parameters ([#​11200](https://togithub.com/astral-sh/ruff/pull/11200)) - \[`ruff`] Detect duplicate codes as part of `unused-noqa` (`RUF100`) ([#​10850](https://togithub.com/astral-sh/ruff/pull/10850)) ##### Formatter - Avoid multiline expression if format specifier is present ([#​11123](https://togithub.com/astral-sh/ruff/pull/11123)) ##### LSP - Write `ruff server` setup guide for Helix ([#​11183](https://togithub.com/astral-sh/ruff/pull/11183)) - `ruff server` no longer hangs after shutdown ([#​11222](https://togithub.com/astral-sh/ruff/pull/11222)) - `ruff server` reads from a configuration TOML file in the user configuration directory if no local configuration exists ([#​11225](https://togithub.com/astral-sh/ruff/pull/11225)) - `ruff server` respects `per-file-ignores` configuration ([#​11224](https://togithub.com/astral-sh/ruff/pull/11224)) - `ruff server`: Support a custom TOML configuration file ([#​11140](https://togithub.com/astral-sh/ruff/pull/11140)) - `ruff server`: Support setting to prioritize project configuration over editor configuration ([#​11086](https://togithub.com/astral-sh/ruff/pull/11086)) ##### Bug fixes - Avoid debug assertion around NFKC renames ([#​11249](https://togithub.com/astral-sh/ruff/pull/11249)) - \[`pyflakes`] Prioritize `redefined-while-unused` over `unused-import` ([#​11173](https://togithub.com/astral-sh/ruff/pull/11173)) - \[`ruff`] Respect `async` expressions in comprehension bodies ([#​11219](https://togithub.com/astral-sh/ruff/pull/11219)) - \[`pygrep_hooks`] Fix `blanket-noqa` panic when last line has noqa with no newline (`PGH004`) ([#​11108](https://togithub.com/astral-sh/ruff/pull/11108)) - \[`perflint`] Ignore list-copy recommendations for async `for` loops ([#​11250](https://togithub.com/astral-sh/ruff/pull/11250)) - \[`pyflakes`] Improve `invalid-print-syntax` documentation ([#​11171](https://togithub.com/astral-sh/ruff/pull/11171)) ##### Performance - Avoid allocations for isort module names ([#​11251](https://togithub.com/astral-sh/ruff/pull/11251)) - Build a separate ARM wheel for macOS ([#​11149](https://togithub.com/astral-sh/ruff/pull/11149)) ### [`v0.4.2`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#042) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.4.1...v0.4.2) ##### Rule changes - \[`flake8-pyi`] Allow for overloaded `__exit__` and `__aexit__` definitions (`PYI036`) ([#​11057](https://togithub.com/astral-sh/ruff/pull/11057)) - \[`pyupgrade`] Catch usages of `"%s" % var` and provide an unsafe fix (`UP031`) ([#​11019](https://togithub.com/astral-sh/ruff/pull/11019)) - \[`refurb`] Implement new rule that suggests min/max over `sorted()` (`FURB192`) ([#​10868](https://togithub.com/astral-sh/ruff/pull/10868)) ##### Server - Fix an issue with missing diagnostics for Neovim and Helix ([#​11092](https://togithub.com/astral-sh/ruff/pull/11092)) - Implement hover documentation for `noqa` codes ([#​11096](https://togithub.com/astral-sh/ruff/pull/11096)) - Introduce common Ruff configuration options with new server settings ([#​11062](https://togithub.com/astral-sh/ruff/pull/11062)) ##### Bug fixes - Use `macos-12` for building release wheels to enable macOS 11 compatibility ([#​11146](https://togithub.com/astral-sh/ruff/pull/11146)) - \[`flake8-blind-expect`] Allow raise from in `BLE001` ([#​11131](https://togithub.com/astral-sh/ruff/pull/11131)) - \[`flake8-pyi`] Allow simple assignments to `None` in enum class scopes (`PYI026`) ([#​11128](https://togithub.com/astral-sh/ruff/pull/11128)) - \[`flake8-simplify`] Avoid raising `SIM911` for non-`zip` attribute calls ([#​11126](https://togithub.com/astral-sh/ruff/pull/11126)) - \[`refurb`] Avoid `operator.itemgetter` suggestion for single-item tuple ([#​11095](https://togithub.com/astral-sh/ruff/pull/11095)) - \[`ruff`] Respect per-file-ignores for `RUF100` with no other diagnostics ([#​11058](https://togithub.com/astral-sh/ruff/pull/11058)) - \[`ruff`] Fix async comprehension false positive (`RUF029`) ([#​11070](https://togithub.com/astral-sh/ruff/pull/11070)) ##### Documentation - \[`flake8-bugbear`] Document explicitly disabling strict zip (`B905`) ([#​11040](https://togithub.com/astral-sh/ruff/pull/11040)) - \[`flake8-type-checking`] Mention `lint.typing-modules` in `TCH001`, `TCH002`, and `TCH003` ([#​11144](https://togithub.com/astral-sh/ruff/pull/11144)) - \[`isort`] Improve documentation around custom `isort` sections ([#​11050](https://togithub.com/astral-sh/ruff/pull/11050)) - \[`pylint`] Fix documentation oversight for `invalid-X-returns` ([#​11094](https://togithub.com/astral-sh/ruff/pull/11094)) ##### Performance - Use `matchit` to resolve per-file settings ([#​11111](https://togithub.com/astral-sh/ruff/pull/11111))
django/django (django) ### [`v5.0.6`](https://togithub.com/django/django/compare/5.0.5...5.0.6) [Compare Source](https://togithub.com/django/django/compare/5.0.5...5.0.6) ### [`v5.0.5`](https://togithub.com/django/django/compare/5.0.4...5.0.5) [Compare Source](https://togithub.com/django/django/compare/5.0.4...5.0.5)
jschneier/django-storages (django-storages) ### [`v1.14.3`](https://togithub.com/jschneier/django-storages/compare/1.14.2...1.14.3) [Compare Source](https://togithub.com/jschneier/django-storages/compare/1.14.2...1.14.3)
mozilla-services/python-dockerflow (dockerflow) ### [`v2024.4.2`](https://togithub.com/mozilla-services/python-dockerflow/compare/2024.4.1...2024.04.2) [Compare Source](https://togithub.com/mozilla-services/python-dockerflow/compare/2024.4.1...2024.04.2)
python-jsonschema/jsonschema (jsonschema) ### [`v4.22.0`](https://togithub.com/python-jsonschema/jsonschema/blob/HEAD/CHANGELOG.rst#v4220) [Compare Source](https://togithub.com/python-jsonschema/jsonschema/compare/v4.21.1...v4.22.0) \======= - Improve `best_match` (and thereby error messages from `jsonschema.validate`) in cases where there are multiple *sibling* errors from applying `anyOf` / `allOf` -- i.e. when multiple elements of a JSON array have errors, we now do prefer showing errors from earlier elements rather than simply showing an error for the full array ([#​1250](https://togithub.com/python-jsonschema/jsonschema/issues/1250)). - (Micro-)optimize equality checks when comparing for JSON Schema equality by first checking for object identity, as `==` would.
redis/redis-py (redis) ### [`v5.0.4`](https://togithub.com/redis/redis-py/releases/tag/v5.0.4): 5.0.4 [Compare Source](https://togithub.com/redis/redis-py/compare/v5.0.3...v5.0.4) ### Changes #### 🐛 Bug Fixes - Make it possible to customize SSL ciphers [(#​3212)](https://togithub.com/redis/redis-py/pull/3212)
getsentry/sentry-python (sentry-sdk) ### [`v2.1.1`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#211) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/2.1.0...2.1.1) - Fix trace propagation in Celery tasks started by Celery Beat. ([#​3047](https://togithub.com/getsentry/sentry-python/issues/3047)) by [@​antonpirker](https://togithub.com/antonpirker) ### [`v2.1.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#210) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/2.0.1...2.1.0) - fix(quart): Fix Quart integration ([#​3043](https://togithub.com/getsentry/sentry-python/issues/3043)) by [@​szokeasaurusrex](https://togithub.com/szokeasaurusrex) - **New integration:** [Langchain](https://docs.sentry.io/platforms/python/integrations/langchain/) ([#​2911](https://togithub.com/getsentry/sentry-python/issues/2911)) by [@​colin-sentry](https://togithub.com/colin-sentry) Usage: (Langchain is auto enabling, so you do not need to do anything special) ```python from langchain_openai import ChatOpenAI import sentry_sdk sentry_sdk.init( dsn="...", enable_tracing=True, traces_sample_rate=1.0, ) llm = ChatOpenAI(model="gpt-3.5-turbo-0125", temperature=0) ``` Check out [the LangChain docs](https://docs.sentry.io/platforms/python/integrations/langchain/) for details. - **New integration:** [Anthropic](https://docs.sentry.io/platforms/python/integrations/anthropic/) ([#​2831](https://togithub.com/getsentry/sentry-python/issues/2831)) by [@​czyber](https://togithub.com/czyber) Usage: (add the AnthropicIntegration to your `sentry_sdk.init()` call) ```python from anthropic import Anthropic import sentry_sdk sentry_sdk.init( dsn="...", enable_tracing=True, traces_sample_rate=1.0, integrations=[AnthropicIntegration()], ) client = Anthropic() ``` Check out [the Anthropic docs](https://docs.sentry.io/platforms/python/integrations/anthropic/) for details. - **New integration:** [Huggingface Hub](https://docs.sentry.io/platforms/python/integrations/huggingface/) ([#​3033](https://togithub.com/getsentry/sentry-python/issues/3033)) by [@​colin-sentry](https://togithub.com/colin-sentry) Usage: (Huggingface Hub is auto enabling, so you do not need to do anything special) ```python import sentry_sdk from huggingface_hub import InferenceClient sentry_sdk.init( dsn="...", enable_tracing=True, traces_sample_rate=1.0, ) client = InferenceClient("some-model") ``` Check out [the Huggingface docs](https://docs.sentry.io/platforms/python/integrations/huggingface/) for details. (comming soon!) - fix(huggingface): Reduce API cross-section for huggingface in test ([#​3042](https://togithub.com/getsentry/sentry-python/issues/3042)) by [@​colin-sentry](https://togithub.com/colin-sentry) - fix(django): Fix Django ASGI integration on Python 3.12 ([#​3027](https://togithub.com/getsentry/sentry-python/issues/3027)) by [@​bellini666](https://togithub.com/bellini666) - feat(perf): Add ability to put measurements directly on spans. ([#​2967](https://togithub.com/getsentry/sentry-python/issues/2967)) by [@​colin-sentry](https://togithub.com/colin-sentry) - fix(tests): Fix trytond tests ([#​3031](https://togithub.com/getsentry/sentry-python/issues/3031)) by [@​sentrivana](https://togithub.com/sentrivana) - fix(tests): Update `pytest-asyncio` to fix CI ([#​3030](https://togithub.com/getsentry/sentry-python/issues/3030)) by [@​sentrivana](https://togithub.com/sentrivana) - fix(docs): Link to respective migration guides directly ([#​3020](https://togithub.com/getsentry/sentry-python/issues/3020)) by [@​sentrivana](https://togithub.com/sentrivana) - docs(scope): Add docstring to `Scope.set_tags` ([#​2978](https://togithub.com/getsentry/sentry-python/issues/2978)) by [@​szokeasaurusrex](https://togithub.com/szokeasaurusrex) - test(scope): Fix typos in assert error message ([#​2978](https://togithub.com/getsentry/sentry-python/issues/2978)) by [@​szokeasaurusrex](https://togithub.com/szokeasaurusrex) - feat(scope): New `set_tags` function ([#​2978](https://togithub.com/getsentry/sentry-python/issues/2978)) by [@​szokeasaurusrex](https://togithub.com/szokeasaurusrex) - test(scope): Add unit test for `Scope.set_tags` ([#​2978](https://togithub.com/getsentry/sentry-python/issues/2978)) by [@​szokeasaurusrex](https://togithub.com/szokeasaurusrex) - feat(scope): Add `set_tags` to top-level API ([#​2978](https://togithub.com/getsentry/sentry-python/issues/2978)) by [@​szokeasaurusrex](https://togithub.com/szokeasaurusrex) - test(scope): Add unit test for top-level API `set_tags` ([#​2978](https://togithub.com/getsentry/sentry-python/issues/2978)) by [@​szokeasaurusrex](https://togithub.com/szokeasaurusrex) - feat(tests): Parallelize tox ([#​3025](https://togithub.com/getsentry/sentry-python/issues/3025)) by [@​sentrivana](https://togithub.com/sentrivana) - build(deps): Bump checkouts/data-schemas from `4aa14a7` to `4381a97` ([#​3028](https://togithub.com/getsentry/sentry-python/issues/3028)) by [@​dependabot](https://togithub.com/dependabot) - meta(license): Bump copyright year ([#​3029](https://togithub.com/getsentry/sentry-python/issues/3029)) by [@​szokeasaurusrex](https://togithub.com/szokeasaurusrex) ### [`v2.0.1`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#201) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/2.0.0...2.0.1) ##### Various fixes & improvements - Fix: Do not use convenience decorator ([#​3022](https://togithub.com/getsentry/sentry-python/issues/3022)) by [@​sentrivana](https://togithub.com/sentrivana) - Refactoring propagation context ([#​2970](https://togithub.com/getsentry/sentry-python/issues/2970)) by [@​antonpirker](https://togithub.com/antonpirker) - Use `pid` for test database name in Django tests ([#​2998](https://togithub.com/getsentry/sentry-python/issues/2998)) by [@​antonpirker](https://togithub.com/antonpirker) - Remove outdated RC mention in docs ([#​3018](https://togithub.com/getsentry/sentry-python/issues/3018)) by [@​sentrivana](https://togithub.com/sentrivana) - Delete inaccurate comment from docs ([#​3002](https://togithub.com/getsentry/sentry-python/issues/3002)) by [@​szokeasaurusrex](https://togithub.com/szokeasaurusrex) - Add Lambda function that deletes test Lambda functions ([#​2960](https://togithub.com/getsentry/sentry-python/issues/2960)) by [@​antonpirker](https://togithub.com/antonpirker) - Correct discarded transaction debug message ([#​3002](https://togithub.com/getsentry/sentry-python/issues/3002)) by [@​szokeasaurusrex](https://togithub.com/szokeasaurusrex) - Add tests for discarded transaction debug messages ([#​3002](https://togithub.com/getsentry/sentry-python/issues/3002)) by [@​szokeasaurusrex](https://togithub.com/szokeasaurusrex) - Fix comment typo in metrics ([#​2992](https://togithub.com/getsentry/sentry-python/issues/2992)) by [@​szokeasaurusrex](https://togithub.com/szokeasaurusrex) - build(deps): bump actions/checkout from 4.1.1 to 4.1.4 ([#​3011](https://togithub.com/getsentry/sentry-python/issues/3011)) by [@​dependabot](https://togithub.com/dependabot) - build(deps): bump checkouts/data-schemas from `1e17eb5` to `4aa14a7` ([#​2997](https://togithub.com/getsentry/sentry-python/issues/2997)) by [@​dependabot](https://togithub.com/dependabot) ### [`v2.0.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#200) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.45.0...2.0.0) This is the first major update in a *long* time! We dropped support for some ancient languages and frameworks (Yes, Python 2.7 is no longer supported). Additionally we refactored a big part of the foundation of the SDK (how data inside the SDK is handled). We hope you like it! For a shorter version of what you need to do, to upgrade to Sentry SDK 2.0 see: https://docs.sentry.io/platforms/python/migration/1.x-to-2.x ##### New Features - Additional integrations will now be activated automatically if the SDK detects the respective package is installed: Ariadne, ARQ, asyncpg, Chalice, clickhouse-driver, GQL, Graphene, huey, Loguru, PyMongo, Quart, Starlite, Strawberry. - Added new API for custom instrumentation: `new_scope`, `isolation_scope`. See the [Deprecated](#deprecated) section to see how they map to the existing APIs. ##### Changed (These changes are all backwards-incompatible. **Breaking Change** (if you are just skimming for that phrase)) - The Pyramid integration will not capture errors that might happen in `authenticated_userid()` in a custom `AuthenticationPolicy` class. - The method `need_code_loation` of the `MetricsAggregator` was renamed to `need_code_location`. - The `BackgroundWorker` thread used to process events was renamed from `raven-sentry.BackgroundWorker` to `sentry-sdk.BackgroundWorker`. - The `reraise` function was moved from `sentry_sdk._compat` to `sentry_sdk.utils`. - The `_ScopeManager` was moved from `sentry_sdk.hub` to `sentry_sdk.scope`. - Moved the contents of `tracing_utils_py3.py` to `tracing_utils.py`. The `start_child_span_decorator` is now in `sentry_sdk.tracing_utils`. - The actual implementation of `get_current_span` was moved to `sentry_sdk.tracing_utils`. `sentry_sdk.get_current_span` is still accessible as part of the top-level API. - `sentry_sdk.tracing_utils.add_query_source()`: Removed the `hub` parameter. It is not necessary anymore. - `sentry_sdk.tracing_utils.record_sql_queries()`: Removed the `hub` parameter. It is not necessary anymore. - `sentry_sdk.tracing_utils.get_current_span()` does now take a `scope` instead of a `hub` as parameter. - `sentry_sdk.tracing_utils.should_propagate_trace()` now takes a `Client` instead of a `Hub` as first parameter. - `sentry_sdk.utils.is_sentry_url()` now takes a `Client` instead of a `Hub` as first parameter. - `sentry_sdk.utils._get_contextvars` does not return a tuple with three values, but a tuple with two values. The `copy_context` was removed. - If you create a transaction manually and later mutate the transaction in a `configure_scope` block this does not work anymore. Here is a recipe on how to change your code to make it work: Your existing implementation: ```python transaction = sentry_sdk.transaction(...) ``` ### later in the code execution: with sentry_sdk.configure_scope() as scope: scope.set_transaction_name("new-transaction-name") ``` needs to be changed to this: ```python transaction = sentry_sdk.transaction(...) ### later in the code execution: scope = sentry_sdk.Scope.get_current_scope() scope.set_transaction_name("new-transaction-name") ``` - The classes listed in the table below are now abstract base classes. Therefore, they can no longer be instantiated. Subclasses can only be instantiated if they implement all of the abstract methods.
Show table | Class | Abstract methods | | ------------------------------------- | -------------------------------------- | | `sentry_sdk.integrations.Integration` | `setup_once` | | `sentry_sdk.metrics.Metric` | `add`, `serialize_value`, and `weight` | | `sentry_sdk.profiler.Scheduler` | `setup` and `teardown` | | `sentry_sdk.transport.Transport` | `capture_envelope` |
##### Removed (These changes are all backwards-incompatible. **Breaking Change** (if you are just skimming for that phrase)) - Removed support for Python 2 and Python 3.5. The SDK now requires at least Python 3.6. - Removed support for Celery 3.\*. - Removed support for Django 1.8, 1.9, 1.10. - Removed support for Flask 0.\*. - Removed support for gRPC < 1.39. - Removed support for Tornado < 6. - Removed `last_event_id()` top level API. The last event ID is still returned by `capture_event()`, `capture_exception()` and `capture_message()` but the top level API `sentry_sdk.last_event_id()` has been removed. - Removed support for sending events to the `/store` endpoint. Everything is now sent to the `/envelope` endpoint. If you're on SaaS you don't have to worry about this, but if you're running Sentry yourself you'll need version `20.6.0` or higher of self-hosted Sentry. - The deprecated `with_locals` configuration option was removed. Use `include_local_variables` instead. See https://docs.sentry.io/platforms/python/configuration/options/#inclu

Configuration

📅 Schedule: Branch creation - "before 7am on monday" (UTC), 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.