Skip to content

⬆️(dependencies) update python dependencies #1098

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 26, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
boto3 ==1.38.36 -> ==1.38.45 age adoption passing confidence
django-lasuite ==0.0.9 -> ==0.0.10 age adoption passing confidence
django-redis ==5.4.0 -> ==6.0.0 age adoption passing confidence
lxml (source, changelog) ==5.4.0 -> ==6.0.0 age adoption passing confidence
markdown (changelog) ==3.8 -> ==3.8.2 age adoption passing confidence
openai ==1.86.0 -> ==1.92.2 age adoption passing confidence
pycrdt ==0.12.21 -> ==0.12.22 age adoption passing confidence
pyfakefs (changelog) ==5.8.0 -> ==5.9.1 age adoption passing confidence
pytest (changelog) ==8.4.0 -> ==8.4.1 age adoption passing confidence
ruff (source, changelog) ==0.11.13 -> ==0.12.1 age adoption passing confidence
sentry-sdk (changelog) ==2.30.0 -> ==2.32.0 age adoption passing confidence

Release Notes

boto/boto3 (boto3)

v1.38.45

Compare Source

=======

  • api-change:deadline: [botocore] Added fields to track cumulative task retry attempts for steps and jobs
  • api-change:ec2: [botocore] This release adds support for OdbNetworkArn as a target in VPC Route Tables
  • api-change:iot-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.
  • api-change:keyspaces: [botocore] This release provides change data capture (CDC) streams support through updates to the Amazon Keyspaces API.
  • api-change:keyspacesstreams: [botocore] This release adds change data capture (CDC) streams support through the new Amazon Keyspaces Streams API.
  • api-change:kms: [botocore] This release updates AWS CLI examples for KMS APIs.
  • api-change:qbusiness: [botocore] Added support for App level authentication for QBusiness DataAccessor using AWS IAM Identity center Trusted Token issuer
  • api-change:workspaces: [botocore] Updated modifyStreamingProperties to support PrivateLink VPC endpoints for directories

v1.38.44

Compare Source

=======

  • api-change:ecs: [botocore] Updates for change to Amazon ECS default log driver mode from blocking to non-blocking
  • api-change:fsx: [botocore] Add support for the ability to create Amazon S3 Access Points for Amazon FSx for OpenZFS file systems.
  • api-change: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 Points
  • api-change:s3control: [botocore] Add support for the ability to use Amazon S3 Access Points with Amazon FSx for OpenZFS file systems.
  • api-change: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.
  • api-change:textract: [botocore] Add RotationAngle field to Geometry of WORD blocks for Textract AnalyzeDocument API
  • api-change:workspaces-thin-client: [botocore] Remove Tags field from Get API responses

v1.38.43

Compare Source

=======

  • api-change:aiops: [botocore] Adds support for cross account investigations for CloudWatch investigations AI Operations (AIOps).
  • api-change:batch: [botocore] Add userdataType to LaunchTemplateSpecification and LaunchTemplateSpecificationOverride.
  • api-change:bedrock: [botocore] We are making ListFoundationModelAgreementOffers, DeleteFoundationModelAgreement, CreateFoundationModelAgreement, GetFoundationModelAvailability, PutUseCaseForModelAccess and GetUseCaseForModelAccess APIs public, previously they were console.
  • api-change:ec2: [botocore] This release allows you to create and register AMIs while maintaining their underlying EBS snapshots within Local Zones.
  • api-change:elbv2: [botocore] Add Paginator for DescribeAccountLimits, and fix Paginators for DescribeTrustStoreAssociations, DescribeTrustStoreRevocations, and DescribeTrustStores
  • api-change:gamelift: [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.
  • api-change: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.
  • api-change:rds: [botocore] Adding support for RDS on Dedicated Local Zones, including local backup target, snapshot availability zone and snapshot target
  • api-change:route53resolver: [botocore] Add support for iterative DNS queries through the new INBOUND_DELEGATION endpoint. Add delegation support through the Outbound Endpoints with DELEGATE rules.
  • api-change:transcribe: [botocore] This Feature Adds Support for the "et-EE" Locale for Batch Operations

v1.38.42

Compare Source

=======

  • api-change:glue: [botocore] AWS Glue now supports sort and z-order strategy for managed automated compaction for Iceberg tables in addition to binpack.
  • api-change:s3tables: [botocore] S3 Tables now supports sort and z-order compaction strategies for Iceberg tables in addition to binpack.
  • api-change:workspaces-instances: [botocore] Added support for Amazon WorkSpaces Instances API

v1.38.41

Compare Source

=======

  • api-change:bedrock: [botocore] Add support for tiers in Content Filters and Denied Topics for Amazon Bedrock Guardrails.
  • api-change:ecs: [botocore] Add ECS support for Windows Server 2025
  • api-change:geo-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.
  • api-change: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.
  • api-change: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

=======

  • api-change: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.
  • api-change:emr-serverless: [botocore] This release adds the capability to enable IAM IdentityCenter Trusted Identity Propagation for users running Interactive Sessions on EMR Serverless Applications.
  • api-change: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.
  • api-change: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/export
  • api-change:payment-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/export
  • api-change:sagemaker: [botocore] This release introduces alternative support for utilizing CFN templates from S3 for SageMaker Projects.

v1.38.39

Compare Source

=======

  • api-change: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.
  • api-change:autoscaling: [botocore] Add IncludeInstances parameter to DescribeAutoScalingGroups API
  • api-change:imagebuilder: [botocore] Added paginators for imagebuilder.
  • api-change: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.
  • api-change:s3: [botocore] Added support for renaming objects within the same bucket using the new RenameObject API.
  • api-change:sagemaker: [botocore] Add support for p6-b200 instance type for SageMaker Hyperpod

v1.38.38

Compare Source

=======

  • api-change: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.
  • api-change:acm: [botocore] Adds support for Exportable Public Certificates
  • api-change:backup: [botocore] AWS Backup is adding support for integration of its logically air-gapped vaults with the AWS Organizations Multi-party approval capability.
  • api-change: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.
  • api-change:dms: [botocore] Add "Virtual" field to Data Provider as well as "S3Path" and "S3AccessRoleArn" fields to DataProvider settings
  • api-change:guardduty: [botocore] Adding support for extended threat detection for EKS Audit Logs and EKS Runtime Monitoring.
  • api-change:inspector2: [botocore] Add Code Repository Scanning as part of AWS InspectorV2
  • api-change:mpa: [botocore] This release enables customers to create Multi-party approval teams and approval requests to protect supported operations.
  • api-change:network-firewall: [botocore] Release of Active Threat Defense in Network Firewall
  • api-change:organizations: [botocore] Add support for policy operations on the SECURITYHUB_POLICY policy type.
  • api-change:securityhub: [botocore] Adds operations, structures, and exceptions required for public preview release of Security Hub V2.
  • api-change:sts: [botocore] The AWS Security Token Service APIs AssumeRoleWithSAML and AssumeRoleWithWebIdentity can now be invoked without pre-configured AWS credentials in the SDK configuration.
  • api-change: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

=======

  • api-change: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.
  • api-change:ecr: [botocore] The DescribeImageScanning API now includes lastInUseAt and InUseCount fields that can be used to prioritize vulnerability remediation for images that are actively being used.
  • api-change:network-firewall: [botocore] You can now create firewalls using a Transit Gateway instead of a VPC, resulting in a TGW attachment.
  • api-change: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
  • 🐛(oidc-rs) fix non base 64 authentication token #​21
  • 📝(pyproject) fix the package metadata #​23
jazzband/django-redis (django-redis)

v6.0.0

Compare Source

===============================

Features

  • Support HashMaps (#&#8203;598 <https://github.com/jazzband/django-redis/issues/598>_)
  • Support gzip compression (#&#8203;688 <https://github.com/jazzband/django-redis/issues/688>_)
  • Support for sets and support basic operations, sadd, scard, sdiff, sdiffstore, sinter, sinterstore, smismember, sismember, smembers, smove, spop, srandmember, srem, sscan, sscan_iter, sunion, sunionstore (#&#8203;730 <https://github.com/jazzband/django-redis/issues/730>_)

Bug Fixes

  • Hotfix for timeout=DEFAULT_TIMEOUT in expire and pexpire (#&#8203;724 <https://github.com/jazzband/django-redis/issues/724>_)
  • Fix is_master parsing error for write separation in sentinel mode (#&#8203;749 <https://github.com/jazzband/django-redis/issues/749>_)
  • Added blocking parameter for cache.lock (#&#8203;752 <https://github.com/jazzband/django-redis/issues/752>_)

Miscellaneous

  • Added support for Python 3.12 (#&#8203;689 <https://github.com/jazzband/django-redis/issues/689>_)
  • Pin pytest to <7.0 until compatibility issues are resolved (#&#8203;690 <https://github.com/jazzband/django-redis/issues/690>_)
  • Replace isort and flake8 with ruff (#&#8203;692 <https://github.com/jazzband/django-redis/issues/692>_)
  • Drop django 4.0 (#&#8203;693 <https://github.com/jazzband/django-redis/issues/693>_)
  • Upgrade black to 23.10.1 (#&#8203;695 <https://github.com/jazzband/django-redis/issues/695>_)
  • Typed DefaultClient (#&#8203;696 <https://github.com/jazzband/django-redis/issues/696>_)
  • Support pytest>=7 (#&#8203;697 <https://github.com/jazzband/django-redis/issues/697>_)
  • Drop support for django 3.2, python 3.6 and python 3.7 (#&#8203;699 <https://github.com/jazzband/django-redis/issues/699>_)
  • Support tox 4 (#&#8203;701 <https://github.com/jazzband/django-redis/issues/701>_)
  • Configured dependabot for github actions (#&#8203;702 <https://github.com/jazzband/django-redis/issues/702>_)
  • Use ubuntu-latest for CI (#&#8203;703 <https://github.com/jazzband/django-redis/issues/703>_)
  • Dropped support for django 4.1 and added support for django 5.0 (#&#8203;729 <https://github.com/jazzband/django-redis/issues/729>_)
  • Added support for django 5.1 (#&#8203;754 <https://github.com/jazzband/django-redis/issues/754>_)
  • Update minimum supported versions in README.md: Python to 3.8, Django to 4.2, redis-py to 4.0.2 (#&#8203;755 <https://github.com/jazzband/django-redis/issues/755>_)
  • Added support for Python 3.13 (#&#8203;756 <https://github.com/jazzband/django-redis/issues/756>_)
  • Speed up tests by using pytest-xdist and separating settings on different redis databases.
    Dropped pytest-django
    Using docker-compose for setting up redis containers for testing
    Use tox-uv (#&#8203;757 <https://github.com/jazzband/django-redis/issues/757>_)
  • Confirm support for Django 5.2.
    Fix shadowing builtin Python exceptions. (#&#8203;824 <https://github.com/jazzband/django-redis/issues/824>_)

Deprecations and Removals

  • Drop support for Python 3.8 (#&#8203;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 and ElementTree 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 incremental xmlfile() writer.
    Original patch by Lane Shaw.

  • A new parser option decompress=False was added that controls the automatic
    input 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 and etree.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 and body properties of lxml.html elements failed if no such element
    was 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() on lxml.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() and MemDebug.show() were removed completely.
    libxml2 2.13.0 discarded this feature.

Python-Markdown/markdown (markdown)

v3.8.2

Compare Source

Fixed
  • Fix codecs deprecation in Python 3.14.
  • Fix issue with unclosed comment parsing in Python 3.14.
  • Fix issue with unclosed declarations in Python 3.14.
  • Fix issue with unclosed HTML tag <foo and Python 3.14.

v3.8.1

Compare Source

Fixed
  • Ensure incomplete markup declaration in raw HTML doesn't crash parser (#​1534).
  • Fixed dropped content in md_in_html (#​1526).
  • Fixed HTML handling corner case that prevented some content from not being rendered (#​1528).
openai/openai-python (openai)

v1.92.2

Compare Source

Full Changelog: v1.92.1...v1.92.2

Chores
  • api: remove unsupported property (ec24408)

v1.92.1

Compare Source

Full Changelog: v1.92.0...v1.92.1

Chores
  • client: sync stream/parse methods over (e2536cf)
  • docs: update README to include links to docs on Webhooks (ddbf9f1)

v1.92.0

Compare Source

Full Changelog: v1.91.0...v1.92.0

Features
  • api: webhook and deep research support (d3bb116)
  • client: move stream and parse out of beta (0e358ed)
Bug Fixes
  • ci: release-doctor — report correct token name (ff8c556)
Chores
  • internal: add tests for breaking change detection (710fe8f)
  • tests: skip some failing tests on the latest python versions (93ccc38)

v1.91.0

Compare Source

Full Changelog: v1.90.0...v1.91.0

Features
  • api: update api shapes for usage and code interpreter (060d566)

v1.90.0

Compare Source

Full Changelog: v1.89.0...v1.90.0

Features
  • api: make model and inputs not required to create response (11bd62e)

v1.89.0

Compare Source

Full Changelog: v1.88.0...v1.89.0

Features
  • client: add support for aiohttp (9218b07)
Bug Fixes
  • tests: fix: tests which call HTTP endpoints directly with the example parameters (35bcc4b)
Chores

v1.88.0

Compare Source

Full Changelog: v1.87.0...v1.88.0

Features
Chores
  • ci: enable for pull requests (542b0ce)
  • internal: minor formatting (29d723d)

v1.87.0

Compare Source

Full Changelog: v1.86.0...v1.87.0

Features
  • api: add reusable prompt IDs (36bfe6e)
Bug Fixes
  • client: update service_tier on client.beta.chat.completions (aa488d5)
Chores
  • internal: codegen related update (b1a31e5)
  • internal: update conftest.py (bba0213)
  • tests: add tests for httpx client instantiation & proxies (bc93712)
y-crdt/pycrdt (pycrdt)

v0.12.22

Compare Source

  • Upgrade yrs to v0.23.5.
pytest-dev/pyfakefs (pyfakefs)

v5.9.1

Compare Source

Fixes regression in packaging in version 5.9.0.

Fixes
  • fixed handling of added strict argument in Python 3.9.23
  • make sure test files are packaged (see #​1186)

v5.9.0

Compare Source

Adds support for an API change in latest Python patch releases.

Changes
  • the message from an OSError raised in the fake filesystem has no longer the postfix
    "in the fake filesystem" (see #​1159)
  • changed implementation of FakeShutilModule to prepare it for usage without the patcher
    (see #​1171)
Enhancements
  • added convenience function add_package_metadata to add the metadata of a given
    package to the fake filesystem (see #​1155)
Fixes
  • fixed handling of dynamic imports from code in the fake filesystem in Python > 3.11
    (see #​1121)
  • fixed workaround for recursion with pytest under Windows to ignore capitalization
    of pytest executable (see #​1096)
  • added missing mode property to fake file wrapper (see #​1162)
  • fixed instantiation of a standalone FakePathlibModule for Python >= 3.11
    (see #​1169)
  • added support for new value "ALLOW_MISSING" of strict argument in os.path.realpath
    (introduced in latest patch version of Python >= 3.10, see #​1180)
Infrastructure
  • adapt test for increased default buffer size in Python 3.14a6
  • replace session-scoped with module-scoped fixture in test,
    run pytest over all tests in docker containers
    (see #​1151)
  • remove setup.py and setup.cfg in favor of pyproject.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 support
    being 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

  • #​13492: Fixed outdated warning about faulthandler not working on Windows.
astral-sh/ruff (ruff)

v0.12.1

Compare Source

Preview features
  • [flake8-errmsg] Extend EM101 to support byte strings (#​18867)
  • [flake8-use-pathlib] Add autofix for PTH202 (#​18763)
  • [pygrep-hooks] Add AsyncMock methods to invalid-mock-access (PGH005) (#​18547)
  • [pylint] Ignore __init__.py files in (PLC0414) (#​18400)
  • [ruff] Trigger RUF037 for empty string and byte strings (#​18862)
  • [formatter] Fix missing blank lines before decorated classes in .pyi files (#​18888)
Bug fixes
  • Avoid generating diagnostics with per-file ignores (#​18801)
  • Handle parenthesized arguments in remove_argument (#​18805)
  • [flake8-logging] Avoid false positive for exc_info=True outside logger.exception (LOG014) (#​18737)
  • [flake8-pytest-style] Enforce pytest import for decorators (#​18779)
  • [flake8-pytest-style] Mark autofix for PT001 and PT023 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] Fix SIM911 autofix creating a syntax error (#​18793)
  • [flake8-simplify] Fix false negatives for shadowed bindings (SIM910, SIM911) (#​18794)
  • [flake8-simplify] Preserve original behavior for except () and bare except (SIM105) (#​18213)
  • [flake8-pyi] Fix PYI041's fix causing TypeError with None | None | ... (#​18637)
  • [perflint] Fix PERF101 autofix creating a syntax error and mark autofix as unsafe if there are comments in the list call expr (#​18803)
  • [perflint] Fix false negative in PERF401 (#​18866)
  • [pylint] Avoid flattening nested min/max when outer call has single argument (PLW3301) (#​16885)
  • [pylint] Fix PLC2801 autofix creating a syntax error (#​18857)
  • [pylint] Mark PLE0241 autofix as unsafe if there's comments in the base classes (#​18832)
  • [pylint] Suppress PLE2510/PLE2512/PLE2513/PLE2514/PLE2515 autofix if the text contains an odd number of backslashes (#​18856)
  • [refurb] Detect more exotic float literals in FURB164 (#​18925)
  • [refurb] Fix FURB163 autofix creating a syntax error for yield expressions (#​18756)
  • [refurb] Mark FURB129 autofix as unsafe if there's comments in the readlines call (#​18858)
  • [ruff] Fix false positives and negatives in RUF010 (#​18690)
  • Fix casing of analyze.direction variant names (#​18892)
Rule changes
  • Fix f-string interpolation escaping in generated fixes (#​18882)
  • [flake8-return] Mark RET501 fix unsafe if comments are inside (#​18780)
  • [flake8-async] Fix detection for large integer sleep durations in ASYNC116 rule (#​18767)
  • [flake8-async] Mark autofix for ASYNC115 as unsafe if the call expression contains comments (#​18753)
  • [flake8-bugbear] Mark autofix for B004 as unsafe if the hasattr call expr contains comments (#​18755)
  • [flake8-comprehension] Mark autofix for C420 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] Mark F504/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 exotic NaN literals in PLW0177 (#​18630)
  • [pylint] Fix PLC1802 autofix creating a syntax error and mark autofix as unsafe if there's comments in the len call (#​18836)
  • [pyupgrade] Extend version detection to include sys.version_info.major (UP036) (#​18633)
  • [ruff] Add lint rule RUF064 for calling chmod with non-octal integers (#​18541)
  • [ruff] Added cls.__dict__.get('__annotations__') check (RUF063) (#​18233)
  • [ruff] Frozen dataclass default should be valid (RUF009) (#​18735)
Server
  • Consider virtual path for various server actions (#​18910)
Documentation
Other changes
  • Disallow newlines in format specifiers of single quoted f- or t-strings (#​18708)
  • [flake8-logging] Add fix safety section to LOG002 (#​18840)
  • [pyupgrade] Add fix safety section to UP010 (#​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 final
    case 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 distributions

    The rust-toolchain.toml is used to specify a higher Rust version than Ruff's
    minimum 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:

Deprecated Rules

The following rules have been deprecated:

Stabilization

The following rules have been stabilized and are no longer in preview:

The following behaviors have been stabilized:

  • [collection-literal-concatenation] (RUF005) now recognizes slices, in
    addition to list literals and variables.
  • The fix for [readlines-in-for] (FURB129) is now marked as always safe.
  • [if-else-block-instead-of-if-exp] (SIM108) will now further simplify
    expressions to use or instead of an if expression, where possible.
  • [unused-noqa] (RUF100) now checks for file-level noqa comments as well
    as 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 that
    include bool, like bool | int or typing.Optional[bool], in addition to
    plain bool annotations.
  • [non-pep604-annotation-union] (UP007) has now been split into two rules.
    UP007 now applies only to typing.Union, while
    [non-pep604-annotation-optional] (UP045) checks for use of
    typing.Optional. UP045 has also been stabilized in this release, but you
    may need to update existing include, ignore, or noqa settings to
    accommodate this change.
Preview features
  • [ruff] Check for non-context-manager use of pytest.raises, pytest.warns, and pytest.deprecated_call (RUF061) (#​17368)
  • [syntax-errors] Raise unsupported syntax error for template strings prior to Python 3.14 (#​18664)
Bug fixes
  • Add syntax error when conversion flag does not immediately follow exclamation mark (#​18706)
  • Add trailing space around readlines (#​18542)
  • Fix \r and \r\n handling in t- and f-string debug texts (#​18673)
  • Hug closing } 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] Fix RET504 autofix generating a syntax error (#​18428)
  • [pep8-naming] Suppress fix for N804 and N805 if the recommended name is already used (#​18472)
  • [pycodestyle] Avoid causing a syntax error in expressions spanning multiple lines (E731) (#​18479)
  • [pyupgrade] Suppress UP008 if super is shadowed (#​18688)
  • [refurb] Parenthesize lambda and ternary expressions (FURB122, FURB142) (#​18592)
  • [ruff] Handle extra arguments to deque (RUF037) (#​18614)
  • [ruff] Preserve parentheses around deque in fix for unnecessary-empty-iterable-within-deque-call (RUF037) (#​18598)
  • [ruff] Validate arguments before offering a fix (RUF056) (#​18631)
  • [ruff] Skip fix for RUF059 if dummy name is already bound (#​18509)
  • [pylint] Fix PLW0128 to check assignment targets in square brackets and after asterisks (#​18665)
Rule changes
  • Fix false positive on mutations in return statements (B909) (#​18408)
  • Treat ty: comments as pragma comments (#​18532)
  • [flake8-pyi] Apply custom-typevar-for-self to string annotations (PYI019) (#​18311)
  • [pyupgrade] Don't offer a fix for Optional[None] (UP007, UP045) (#​18545)
  • [pyupgrade] Fix super(__class__, self) detection (UP008) (#​18478)
  • [refurb] Make the fix for FURB163 unsafe for log2, log10, *args, and deleted comments (#​18645)
Server
Documentation
  • Drop confusing second * from glob pattern example for per-file-target-version (#​18709)
  • Update Neovim configuration examples (#​18491)
  • [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/getsen


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.


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added automated Pull request created automatically dependencies Pull requests that update a dependency file noChangeLog labels Jun 26, 2025
@renovate renovate bot force-pushed the renovate/python-dependencies branch 4 times, most recently from c8365fc to 8f692f1 Compare June 27, 2025 08:59
@renovate renovate bot force-pushed the renovate/python-dependencies branch from 8f692f1 to 627cbe2 Compare June 27, 2025 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automated Pull request created automatically dependencies Pull requests that update a dependency file noChangeLog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants