⬆️(dependencies) update python dependencies #1098
Open
+11
−11
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==1.38.36
->==1.38.45
==0.0.9
->==0.0.10
==5.4.0
->==6.0.0
==5.4.0
->==6.0.0
==3.8
->==3.8.2
==1.86.0
->==1.92.2
==0.12.21
->==0.12.22
==5.8.0
->==5.9.1
==8.4.0
->==8.4.1
==0.11.13
->==0.12.1
==2.30.0
->==2.32.0
Release Notes
boto/boto3 (boto3)
v1.38.45
Compare Source
=======
deadline
: [botocore
] Added fields to track cumulative task retry attempts for steps and jobsec2
: [botocore
] This release adds support for OdbNetworkArn as a target in VPC Route Tablesiot-managed-integrations
: [botocore
] Adding managed integrations APIs for IoT Device Management to onboard and control devices across different manufacturers, connectivity protocols and third party vendor clouds. APIs include managed thing operations, provisioning profile management, and cloud connector operations.keyspaces
: [botocore
] This release provides change data capture (CDC) streams support through updates to the Amazon Keyspaces API.keyspacesstreams
: [botocore
] This release adds change data capture (CDC) streams support through the new Amazon Keyspaces Streams API.kms
: [botocore
] This release updates AWS CLI examples for KMS APIs.qbusiness
: [botocore
] Added support for App level authentication for QBusiness DataAccessor using AWS IAM Identity center Trusted Token issuerworkspaces
: [botocore
] Updated modifyStreamingProperties to support PrivateLink VPC endpoints for directoriesv1.38.44
Compare Source
=======
ecs
: [botocore
] Updates for change to Amazon ECS default log driver mode from blocking to non-blockingfsx
: [botocore
] Add support for the ability to create Amazon S3 Access Points for Amazon FSx for OpenZFS file systems.s3
: [botocore
] Adds support for additional server-side encryption mode and storage class values for accessing Amazon FSx data from Amazon S3 using S3 Access Pointss3control
: [botocore
] Add support for the ability to use Amazon S3 Access Points with Amazon FSx for OpenZFS file systems.storagegateway
: [botocore
] This release adds IPv6 support to the Storage Gateway APIs. APIs that previously only accept or return IPv4 address will now accept or return both IPv4 and IPv6 addresses.textract
: [botocore
] Add RotationAngle field to Geometry of WORD blocks for Textract AnalyzeDocument APIworkspaces-thin-client
: [botocore
] Remove Tags field from Get API responsesv1.38.43
Compare Source
=======
aiops
: [botocore
] Adds support for cross account investigations for CloudWatch investigations AI Operations (AIOps).batch
: [botocore
] Add userdataType to LaunchTemplateSpecification and LaunchTemplateSpecificationOverride.bedrock
: [botocore
] We are making ListFoundationModelAgreementOffers, DeleteFoundationModelAgreement, CreateFoundationModelAgreement, GetFoundationModelAvailability, PutUseCaseForModelAccess and GetUseCaseForModelAccess APIs public, previously they were console.ec2
: [botocore
] This release allows you to create and register AMIs while maintaining their underlying EBS snapshots within Local Zones.elbv2
: [botocore
] Add Paginator for DescribeAccountLimits, and fix Paginators for DescribeTrustStoreAssociations, DescribeTrustStoreRevocations, and DescribeTrustStoresgamelift
: [botocore
] Add support for UDP ping beacons to ListLocations API, including new PingBeacon and UDPEndpoint data types within its Locations return value. Use UDP ping beacon endpoints to help measure real-time network latency for multiplayer games.license-manager
: [botocore
] AWS License Manager now supports license type conversions for AWS Marketplace products. Customers can provide Marketplace codes in the source license context or destination license context in the CreateLicenseConversionTaskForResource requests.rds
: [botocore
] Adding support for RDS on Dedicated Local Zones, including local backup target, snapshot availability zone and snapshot targetroute53resolver
: [botocore
] Add support for iterative DNS queries through the new INBOUND_DELEGATION endpoint. Add delegation support through the Outbound Endpoints with DELEGATE rules.transcribe
: [botocore
] This Feature Adds Support for the "et-EE" Locale for Batch Operationsv1.38.42
Compare Source
=======
glue
: [botocore
] AWS Glue now supports sort and z-order strategy for managed automated compaction for Iceberg tables in addition to binpack.s3tables
: [botocore
] S3 Tables now supports sort and z-order compaction strategies for Iceberg tables in addition to binpack.workspaces-instances
: [botocore
] Added support for Amazon WorkSpaces Instances APIv1.38.41
Compare Source
=======
bedrock
: [botocore
] Add support for tiers in Content Filters and Denied Topics for Amazon Bedrock Guardrails.ecs
: [botocore
] Add ECS support for Windows Server 2025geo-places
: [botocore
] Geocode, ReverseGeocode, and GetPlace APIs added Intersections and SecondaryAddresses. To use, add to the AdditionalFeatures list in your request. This provides info about nearby intersections and secondary addresses that are associated with a main address. Also added MainAddress and ParsedQuery.glue
: [botocore
] AWS Glue Data Quality now provides aggregated metrics in evaluation results when publishAggregatedMetrics with row-level results are enabled. These metrics include summary statistics showing total counts of processed, passed, and failed rows and rules in a single view.mediaconvert
: [botocore
] This release adds a new SPECIFIED_OPTIMAL option for handling DDS when using DVB-Sub with high resolution video.v1.38.40
Compare Source
=======
bedrock
: [botocore
] This release of the SDK has the API and documentation for the createcustommodel API. This feature lets you copy a trained model into Amazon Bedrock for inference.emr-serverless
: [botocore
] This release adds the capability to enable IAM IdentityCenter Trusted Identity Propagation for users running Interactive Sessions on EMR Serverless Applications.lambda
: [botocore
] Support Schema Registry feature for Kafka Event Source Mapping. Customers can now configure a Schema Registry to enable schema validation and filtering for Avro, Protobuf, and JSON-formatted events in Lambda for Kafka Event Source.payment-cryptography
: [botocore
] Additional support for managing HMAC keys that adheres to changes documented in X9.143-2021 and provides better interoperability for key import/exportpayment-cryptography-data
: [botocore
] Additional support for managing HMAC keys that adheres to changes documented in X9.143-2021 and provides better interoperability for key import/exportsagemaker
: [botocore
] This release introduces alternative support for utilizing CFN templates from S3 for SageMaker Projects.v1.38.39
Compare Source
=======
aiops
: [botocore
] This is the initial SDK release for Amazon AI Operations (AIOps). AIOps is a generative AI-powered assistant that helps you respond to incidents in your system by scanning your system's telemetry and quickly surface suggestions that might be related to your issue.autoscaling
: [botocore
] Add IncludeInstances parameter to DescribeAutoScalingGroups APIimagebuilder
: [botocore
] Added paginators forimagebuilder
.logs
: [botocore
] Added CloudWatch Logs Transformer support for converting CloudTrail, VPC Flow, EKS Audit, AWS WAF and Route53 Resolver logs to OCSF v1.1 format.s3
: [botocore
] Added support for renaming objects within the same bucket using the new RenameObject API.sagemaker
: [botocore
] Add support for p6-b200 instance type for SageMaker Hyperpodv1.38.38
Compare Source
=======
accessanalyzer
: [botocore
] We are launching a new analyzer type, internal access analyzer. The new analyzer will generate internal access findings, which help customers understand who within their AWS organization or AWS Account has access to their critical AWS resources.acm
: [botocore
] Adds support for Exportable Public Certificatesbackup
: [botocore
] AWS Backup is adding support for integration of its logically air-gapped vaults with the AWS Organizations Multi-party approval capability.bedrock
: [botocore
] This release of the SDK has the API and documentation for the createcustommodel API. This feature lets you copy a trained model into Amazon Bedrock for inference.dms
: [botocore
] Add "Virtual" field to Data Provider as well as "S3Path" and "S3AccessRoleArn" fields to DataProvider settingsguardduty
: [botocore
] Adding support for extended threat detection for EKS Audit Logs and EKS Runtime Monitoring.inspector2
: [botocore
] Add Code Repository Scanning as part of AWS InspectorV2mpa
: [botocore
] This release enables customers to create Multi-party approval teams and approval requests to protect supported operations.network-firewall
: [botocore
] Release of Active Threat Defense in Network Firewallorganizations
: [botocore
] Add support for policy operations on the SECURITYHUB_POLICY policy type.securityhub
: [botocore
] Adds operations, structures, and exceptions required for public preview release of Security Hub V2.sts
: [botocore
] The AWS Security Token Service APIs AssumeRoleWithSAML and AssumeRoleWithWebIdentity can now be invoked without pre-configured AWS credentials in the SDK configuration.wafv2
: [botocore
] AWS WAF can now suggest protection packs for you based on the application information you provide when you create a webACL.v1.38.37
Compare Source
=======
bedrock
: [botocore
] This release of the SDK has the API and documentation for the createcustommodel API. This feature lets you copy a Amazon SageMaker trained Amazon Nova model into Amazon Bedrock for inference.ecr
: [botocore
] TheDescribeImageScanning
API now includeslastInUseAt
andInUseCount
fields that can be used to prioritize vulnerability remediation for images that are actively being used.network-firewall
: [botocore
] You can now create firewalls using a Transit Gateway instead of a VPC, resulting in a TGW attachment.sagemaker
: [botocore
] This release 1) adds a new S3DataType Converse for SageMaker training 2)adds C8g R7gd M8g C6in P6 P6e instance type for SageMaker endpoint 3) adds m7i, r7i, c7i instance type for SageMaker Training and Processing.suitenumerique/django-lasuite (django-lasuite)
v0.0.10
Compare Source
Fixed
jazzband/django-redis (django-redis)
v6.0.0
Compare Source
===============================
Features
#​598 <https://github.com/jazzband/django-redis/issues/598>
_)#​688 <https://github.com/jazzband/django-redis/issues/688>
_)#​730 <https://github.com/jazzband/django-redis/issues/730>
_)Bug Fixes
#​724 <https://github.com/jazzband/django-redis/issues/724>
_)#​749 <https://github.com/jazzband/django-redis/issues/749>
_)cache.lock
(#​752 <https://github.com/jazzband/django-redis/issues/752>
_)Miscellaneous
#​689 <https://github.com/jazzband/django-redis/issues/689>
_)#​690 <https://github.com/jazzband/django-redis/issues/690>
_)#​692 <https://github.com/jazzband/django-redis/issues/692>
_)#​693 <https://github.com/jazzband/django-redis/issues/693>
_)#​695 <https://github.com/jazzband/django-redis/issues/695>
_)#​696 <https://github.com/jazzband/django-redis/issues/696>
_)#​697 <https://github.com/jazzband/django-redis/issues/697>
_)#​699 <https://github.com/jazzband/django-redis/issues/699>
_)#​701 <https://github.com/jazzband/django-redis/issues/701>
_)#​702 <https://github.com/jazzband/django-redis/issues/702>
_)#​703 <https://github.com/jazzband/django-redis/issues/703>
_)#​729 <https://github.com/jazzband/django-redis/issues/729>
_)#​754 <https://github.com/jazzband/django-redis/issues/754>
_)#​755 <https://github.com/jazzband/django-redis/issues/755>
_)#​756 <https://github.com/jazzband/django-redis/issues/756>
_)pytest-xdist
and separating settings on different redis databases.Dropped
pytest-django
Using
docker-compose
for setting up redis containers for testingUse
tox-uv
(#​757 <https://github.com/jazzband/django-redis/issues/757>
_)Fix shadowing builtin Python exceptions. (
#​824 <https://github.com/jazzband/django-redis/issues/824>
_)Deprecations and Removals
#​852 <https://github.com/jazzband/django-redis/issues/852>
_)lxml/lxml (lxml)
v6.0.0
Compare Source
==================
Features added
GH#463:
lxml.html.diff
is faster and provides structurally better diffs.Original patch by Steven Fernandez.
GH#405: The factories
Element
andElementTree
can now be used in type hints.GH#448: Parsing from
memoryview
and other buffers is supported to allow zero-copy parsing.GH#437:
lxml.html.builder
was missing several HTML5 tag names.Patch by Nick Tarleton.
GH#458:
CDATA
can now be written into the incrementalxmlfile()
writer.Original patch by Lane Shaw.
A new parser option
decompress=False
was added that controls the automaticinput decompression when using libxml2 2.15.0 or later. Disabling this option
by default will effectively prevent decompression bombs when handling untrusted
input. Code that depends on automatic decompression must enable this option.
Note that libxml2 2.15.0 was not released yet, so this option currently has no
effect but can already be used.
The set of compile time / runtime supported libxml2 feature names is available as
etree.LIBXML_COMPILED_FEATURES
andetree.LIBXML_FEATURES
.This currently includes
catalog
,ftp
,html
,http
,iconv
,icu
,lzma
,regexp
,schematron
,xmlschema
,xpath
,zlib
.Bugs fixed
GH#353: Predicates in
.find*()
could mishandle tag indices if a default namespace is provided.Original patch by Luise K.
GH#272: The
head
andbody
properties oflxml.html
elements failed if no such elementwas found. They now return
None
instead.Original patch by FVolral.
Tag names provided by code (API, not data) that are longer than
INT_MAX
could be truncated or mishandled in other ways.
.text_content()
onlxml.html
elements accidentally returned a "smart string"without additional information. It now returns a plain string.
LP#2109931: When building lxml with coverage reporting, it now disables the
sys.monitoring
support due to the lack of support ihttps://github.com/nedbat/coveragepy/issues/179090
Other changes
Support for Python < 3.8 was removed.
Parsing directly from zlib (or lzma) compressed data is now considered an optional
feature in lxml. It may get removed from libxml2 at some point for security reasons
(compression bombs) and is therefore no longer guaranteed to be available in lxml.
As of this release, zlib support is still normally available in the binary wheels
but may get disabled or removed in later (x.y.0) releases. To test the availability,
use
"zlib" in etree.LIBXML_FEATURES
.The
Schematron
class is deprecated and will become non-functional in a future lxml version.The feature will soon be removed from libxml2 and stop being available.
GH#438: Wheels include the
arm7l
target.GH#465: Windows wheels include the
arm64
target.Patch by Finn Womack.
Binary wheels use the library versions libxml2 2.14.4 and libxslt 1.1.43.
Note that this disables direct HTTP and FTP support for parsing from URLs.
Use Python URL request tools instead (which usually also support HTTPS).
To test the availability, use
"http" in etree.LIBXML_FEATURES
.Windows binary wheels use the library versions libxml2 2.11.9, libxslt 1.1.39 and libiconv 1.17.
They are now based on VS-2022.
Built using Cython 3.1.2.
The debug methods
MemDebug.dump()
andMemDebug.show()
were removed completely.libxml2 2.13.0 discarded this feature.
Python-Markdown/markdown (markdown)
v3.8.2
Compare Source
Fixed
codecs
deprecation in Python 3.14.<foo
and Python 3.14.v3.8.1
Compare Source
Fixed
md_in_html
(#1526).openai/openai-python (openai)
v1.92.2
Compare Source
Full Changelog: v1.92.1...v1.92.2
Chores
v1.92.1
Compare Source
Full Changelog: v1.92.0...v1.92.1
Chores
v1.92.0
Compare Source
Full Changelog: v1.91.0...v1.92.0
Features
Bug Fixes
Chores
v1.91.0
Compare Source
Full Changelog: v1.90.0...v1.91.0
Features
v1.90.0
Compare Source
Full Changelog: v1.89.0...v1.90.0
Features
v1.89.0
Compare Source
Full Changelog: v1.88.0...v1.89.0
Features
Bug Fixes
Chores
v1.88.0
Compare Source
Full Changelog: v1.87.0...v1.88.0
Features
Chores
v1.87.0
Compare Source
Full Changelog: v1.86.0...v1.87.0
Features
Bug Fixes
client.beta.chat.completions
(aa488d5)Chores
y-crdt/pycrdt (pycrdt)
v0.12.22
Compare Source
yrs
to v0.23.5.pytest-dev/pyfakefs (pyfakefs)
v5.9.1
Compare Source
Fixes regression in packaging in version 5.9.0.
Fixes
strict
argument in Python 3.9.23v5.9.0
Compare Source
Adds support for an API change in latest Python patch releases.
Changes
OSError
raised in the fake filesystem has no longer the postfix"in the fake filesystem" (see #1159)
FakeShutilModule
to prepare it for usage without the patcher(see #1171)
Enhancements
add_package_metadata
to add the metadata of a givenpackage to the fake filesystem (see #1155)
Fixes
(see #1121)
of pytest executable (see #1096)
mode
property to fake file wrapper (see #1162)FakePathlibModule
for Python >= 3.11(see #1169)
strict
argument inos.path.realpath
(introduced in latest patch version of Python >= 3.10, see #1180)
Infrastructure
run pytest over all tests in docker containers
(see #1151)
setup.py
andsetup.cfg
in favor ofpyproject.toml
pytest-dev/pytest (pytest)
v8.4.1
Compare Source
pytest 8.4.1 (2025-06-17)
Bug fixes
#13461: Corrected
_pytest.terminal.TerminalReporter.isatty
to supportbeing called as a method. Before it was just a boolean which could
break correct code when using
-o log_cli=true
).#13477: Reintroduced
pytest.PytestReturnNotNoneWarning
{.interpreted-text role="class"} which was removed by accident in pytest [8.4]{.title-ref}.This warning is raised when a test functions returns a value other than
None
, which is often a mistake made by beginners.See
return-not-none
{.interpreted-text role="ref"} for more information.#13497: Fixed compatibility with
Twisted 25+
.Improved documentation
faulthandler
not working on Windows.astral-sh/ruff (ruff)
v0.12.1
Compare Source
Preview features
flake8-errmsg
] ExtendEM101
to support byte strings (#18867)flake8-use-pathlib
] Add autofix forPTH202
(#18763)pygrep-hooks
] AddAsyncMock
methods toinvalid-mock-access
(PGH005
) (#18547)pylint
] Ignore__init__.py
files in (PLC0414
) (#18400)ruff
] TriggerRUF037
for empty string and byte strings (#18862).pyi
files (#18888)Bug fixes
remove_argument
(#18805)flake8-logging
] Avoid false positive forexc_info=True
outsidelogger.exception
(LOG014
) (#18737)flake8-pytest-style
] Enforcepytest
import for decorators (#18779)flake8-pytest-style
] Mark autofix forPT001
andPT023
as unsafe if there's comments in the decorator (#18792)flake8-pytest-style
]PT001
/PT023
fix makes syntax error on parenthesized decorator (#18782)flake8-raise
] Make fix unsafe if it deletes comments (RSE102
) (#18788)flake8-simplify
] FixSIM911
autofix creating a syntax error (#18793)flake8-simplify
] Fix false negatives for shadowed bindings (SIM910
,SIM911
) (#18794)flake8-simplify
] Preserve original behavior forexcept ()
and bareexcept
(SIM105
) (#18213)flake8-pyi
] FixPYI041
's fix causingTypeError
withNone | None | ...
(#18637)perflint
] FixPERF101
autofix creating a syntax error and mark autofix as unsafe if there are comments in thelist
call expr (#18803)perflint
] Fix false negative inPERF401
(#18866)pylint
] Avoid flattening nestedmin
/max
when outer call has single argument (PLW3301
) (#16885)pylint
] FixPLC2801
autofix creating a syntax error (#18857)pylint
] MarkPLE0241
autofix as unsafe if there's comments in the base classes (#18832)pylint
] SuppressPLE2510
/PLE2512
/PLE2513
/PLE2514
/PLE2515
autofix if the text contains an odd number of backslashes (#18856)refurb
] Detect more exotic float literals inFURB164
(#18925)refurb
] FixFURB163
autofix creating a syntax error foryield
expressions (#18756)refurb
] MarkFURB129
autofix as unsafe if there's comments in thereadlines
call (#18858)ruff
] Fix false positives and negatives inRUF010
(#18690)analyze.direction
variant names (#18892)Rule changes
flake8-return
] MarkRET501
fix unsafe if comments are inside (#18780)flake8-async
] Fix detection for large integer sleep durations inASYNC116
rule (#18767)flake8-async
] Mark autofix forASYNC115
as unsafe if the call expression contains comments (#18753)flake8-bugbear
] Mark autofix forB004
as unsafe if thehasattr
call expr contains comments (#18755)flake8-comprehension
] Mark autofix forC420
as unsafe if there's comments inside the dict comprehension (#18768)flake8-comprehensions
] Handle template strings for comprehension fixes (#18710)flake8-future-annotations
] Add autofix (FA100
) (#18903)pyflakes
] MarkF504
/F522
/F523
autofix as unsafe if there's a call with side effect (#18839)pylint
] Allow fix with comments and document performance implications (PLW3301
) (#18936)pylint
] Detect more exoticNaN
literals inPLW0177
(#18630)pylint
] FixPLC1802
autofix creating a syntax error and mark autofix as unsafe if there's comments in thelen
call (#18836)pyupgrade
] Extend version detection to includesys.version_info.major
(UP036
) (#18633)ruff
] Add lint ruleRUF064
for callingchmod
with non-octal integers (#18541)ruff
] Addedcls.__dict__.get('__annotations__')
check (RUF063
) (#18233)ruff
] Frozendataclass
default should be valid (RUF009
) (#18735)Server
Documentation
perflint
] Small docs improvement toPERF401
(#18786)pyupgrade
]: Usesuper()
, not__super__
in error messages (UP008
) (#18743)flake8-pie
] Small docs fix toPIE794
(#18829)flake8-pyi
] Correctcollections-named-tuple
example to use PascalCase assignment (#16884)flake8-pie
] Add note on type checking benefits tounnecessary-dict-kwargs
(PIE804
) (#18666)pycodestyle
] Clarify PEP 8 relationship towhitespace-around-operator
rules (#18870)Other changes
flake8-logging
] Add fix safety section toLOG002
(#18840)pyupgrade
] Add fix safety section toUP010
(#18838)v0.12.0
Compare Source
Check out the blog post for a migration
guide and overview of the changes!
Breaking changes
Detection of more syntax errors
Ruff now detects version-related syntax errors, such as the use of the
match
statement on Python versions before 3.10, and syntax errors emitted by
CPython's compiler, such as irrefutable
match
patterns before the finalcase
arm.New default Python version handling for syntax errors
Ruff will default to the latest supported Python version (3.13) when
checking for the version-related syntax errors mentioned above to prevent
false positives in projects without a Python version configured. The default
in all other cases, like applying lint rules, is unchanged and remains at the
minimum supported Python version (3.9).
Updated f-string formatting
Ruff now formats multi-line f-strings with format specifiers to avoid adding a
line break after the format specifier. This addresses a change to the Python
grammar in version 3.13.4 that made such a line break a syntax error.
rust-toolchain.toml
is no longer included in source distributionsThe
rust-toolchain.toml
is used to specify a higher Rust version than Ruff'sminimum supported Rust version (MSRV) for development and building release
artifacts. However, when present in source distributions, it would also cause
downstream package maintainers to pull in the same Rust toolchain, even if
their available toolchain was MSRV-compatible.
Removed Rules
The following rules have been removed:
suspicious-xmle-tree-usage
(
S320
)Deprecated Rules
The following rules have been deprecated:
pandas-df-variable-name
Stabilization
The following rules have been stabilized and are no longer in preview:
for-loop-writes
(FURB122
)check-and-remove-from-set
(FURB132
)verbose-decimal-constructor
(FURB157
)fromisoformat-replace-z
(FURB162
)int-on-sliced-str
(FURB166
)exc-info-outside-except-handler
(LOG014
)import-outside-top-level
(PLC0415
)unnecessary-dict-index-lookup
(PLR1733
)nan-comparison
(PLW0177
)eq-without-hash
(PLW1641
)pytest-parameter-with-default-argument
(PT028
)pytest-warns-too-broad
(PT030
)pytest-warns-with-multiple-statements
(PT031
)invalid-formatter-suppression-comment
(RUF028
)dataclass-enum
(RUF049
)class-with-mixed-type-vars
(RUF053
)unnecessary-round
(RUF057
)starmap-zip
(RUF058
)non-pep604-annotation-optional
(UP045
)non-pep695-generic-class
(UP046
)non-pep695-generic-function
(UP047
)private-type-parameter
(UP049
)The following behaviors have been stabilized:
collection-literal-concatenation
] (RUF005
) now recognizes slices, inaddition to list literals and variables.
readlines-in-for
] (FURB129
) is now marked as always safe.if-else-block-instead-of-if-exp
] (SIM108
) will now further simplifyexpressions to use
or
instead of anif
expression, where possible.unused-noqa
] (RUF100
) now checks for file-levelnoqa
comments as wellas inline comments.
subprocess-without-shell-equals-true
] (S603
) now accepts literal strings,as well as lists and tuples of literal strings, as trusted input.
boolean-type-hint-positional-argument
] (FBT001
) now applies to types thatinclude
bool
, likebool | int
ortyping.Optional[bool]
, in addition toplain
bool
annotations.non-pep604-annotation-union
] (UP007
) has now been split into two rules.UP007
now applies only totyping.Union
, while[
non-pep604-annotation-optional
] (UP045
) checks for use oftyping.Optional
.UP045
has also been stabilized in this release, but youmay need to update existing
include
,ignore
, ornoqa
settings toaccommodate this change.
Preview features
ruff
] Check for non-context-manager use ofpytest.raises
,pytest.warns
, andpytest.deprecated_call
(RUF061
) (#17368)Bug fixes
readlines
(#18542)\r
and\r\n
handling in t- and f-string debug texts (#18673)}
when f-string expression has a format specifier (#18704)flake8-pyi
] Avoid syntax error in the case of starred and keyword arguments (PYI059
) (#18611)flake8-return
] FixRET504
autofix generating a syntax error (#18428)pep8-naming
] Suppress fix forN804
andN805
if the recommended name is already used (#18472)pycodestyle
] Avoid causing a syntax error in expressions spanning multiple lines (E731
) (#18479)pyupgrade
] SuppressUP008
ifsuper
is shadowed (#18688)refurb
] Parenthesize lambda and ternary expressions (FURB122
,FURB142
) (#18592)ruff
] Handle extra arguments todeque
(RUF037
) (#18614)ruff
] Preserve parentheses arounddeque
in fix forunnecessary-empty-iterable-within-deque-call
(RUF037
) (#18598)ruff
] Validate arguments before offering a fix (RUF056
) (#18631)ruff
] Skip fix forRUF059
if dummy name is already bound (#18509)pylint
] FixPLW0128
to check assignment targets in square brackets and after asterisks (#18665)Rule changes
return
statements (B909
) (#18408)ty:
comments as pragma comments (#18532)flake8-pyi
] Applycustom-typevar-for-self
to string annotations (PYI019
) (#18311)pyupgrade
] Don't offer a fix forOptional[None]
(UP007
,UP045)
(#18545)pyupgrade
] Fixsuper(__class__, self)
detection (UP008
) (#18478)refurb
] Make the fix forFURB163
unsafe forlog2
,log10
,*args
, and deleted comments (#18645)Server
Documentation
*
from glob pattern example forper-file-target-version
(#18709)pylint
] De-emphasize__hash__ = Parent.__hash__
(PLW1641
) (#18613)refurb
] Add a note about float literal handling (FURB157
) (#18615)getsentry/sentry-python (sentry-sdk)
[
v2.32.0
](https://redirect.github.com/getsenConfiguration
📅 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 was generated by Mend Renovate. View the repository job log.