From 0fc4bd5d4ab0049a5e0af9f39c530c232fcd14ec Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 25 Dec 2024 11:19:29 +0000 Subject: [PATCH 1/7] Bump pytest-codspeed from 3.0.0 to 3.1.0 (#10245) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [//]: # (dependabot-start) ⚠️ **Dependabot is rebasing this PR** ⚠️ Rebasing might not happen immediately, so don't worry if this takes some time. Note: if you make any changes to this PR yourself, they will take precedence over the rebase. --- [//]: # (dependabot-end) Bumps [pytest-codspeed](https://github.com/CodSpeedHQ/pytest-codspeed) from 3.0.0 to 3.1.0.
Release notes

Sourced from pytest-codspeed's releases.

v3.1.0

What's changed

🚀 Features

Full Changelog: https://github.com/CodSpeedHQ/pytest-codspeed/compare/v3.0.0...v3.1.0

Changelog

Sourced from pytest-codspeed's changelog.

[3.1.0] - 2024-12-09

🏗️ Refactor

⚙️ Internals

[3.1.0-beta] - 2024-12-06

🚀 Features

🐛 Bug Fixes

⚙️ Internals

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest-codspeed&package-manager=pip&previous-version=3.0.0&new-version=3.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements/constraints.txt | 6 ++---- requirements/dev.txt | 6 ++---- requirements/lint.txt | 6 ++---- requirements/test.txt | 4 +--- 4 files changed, 7 insertions(+), 15 deletions(-) diff --git a/requirements/constraints.txt b/requirements/constraints.txt index 0fbe0872677..50363d0a22f 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -68,9 +68,7 @@ exceptiongroup==1.2.2 execnet==2.1.1 # via pytest-xdist filelock==3.16.1 - # via - # pytest-codspeed - # virtualenv + # via virtualenv freezegun==1.5.1 # via # -r requirements/lint.in @@ -171,7 +169,7 @@ pytest==8.1.1 # pytest-cov # pytest-mock # pytest-xdist -pytest-codspeed==3.0.0 +pytest-codspeed==3.1.0 # via # -r requirements/lint.in # -r requirements/test.in diff --git a/requirements/dev.txt b/requirements/dev.txt index c3f41f9e257..d89ff002240 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -66,9 +66,7 @@ exceptiongroup==1.2.2 execnet==2.1.1 # via pytest-xdist filelock==3.16.1 - # via - # pytest-codspeed - # virtualenv + # via virtualenv freezegun==1.5.1 # via # -r requirements/lint.in @@ -166,7 +164,7 @@ pytest==8.1.1 # pytest-cov # pytest-mock # pytest-xdist -pytest-codspeed==3.0.0 +pytest-codspeed==3.1.0 # via # -r requirements/lint.in # -r requirements/test.in diff --git a/requirements/lint.txt b/requirements/lint.txt index 7f7ef85edb1..9a58557e76d 100644 --- a/requirements/lint.txt +++ b/requirements/lint.txt @@ -32,9 +32,7 @@ distlib==0.3.9 exceptiongroup==1.2.2 # via pytest filelock==3.16.1 - # via - # pytest-codspeed - # virtualenv + # via virtualenv freezegun==1.5.1 # via -r requirements/lint.in identify==2.6.3 @@ -80,7 +78,7 @@ pytest==8.1.1 # -r requirements/lint.in # pytest-codspeed # pytest-mock -pytest-codspeed==3.0.0 +pytest-codspeed==3.1.0 # via -r requirements/lint.in pytest-mock==3.14.0 # via -r requirements/lint.in diff --git a/requirements/test.txt b/requirements/test.txt index 48077c72c7d..360f7c9d9e9 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -39,8 +39,6 @@ exceptiongroup==1.2.2 # via pytest execnet==2.1.1 # via pytest-xdist -filelock==3.16.1 - # via pytest-codspeed freezegun==1.5.1 # via -r requirements/test.in frozenlist==1.5.0 @@ -97,7 +95,7 @@ pytest==8.1.1 # pytest-cov # pytest-mock # pytest-xdist -pytest-codspeed==3.0.0 +pytest-codspeed==3.1.0 # via -r requirements/test.in pytest-cov==6.0.0 # via -r requirements/test.in From aa6f86f7b50d08e2d9284668d40527ba1f057ea5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 25 Dec 2024 11:20:06 +0000 Subject: [PATCH 2/7] Bump pycares from 4.4.0 to 4.5.0 (#10246) Bumps [pycares](https://github.com/saghul/pycares) from 4.4.0 to 4.5.0.
Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pycares&package-manager=pip&previous-version=4.4.0&new-version=4.5.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements/base.txt | 2 +- requirements/constraints.txt | 2 +- requirements/dev.txt | 2 +- requirements/lint.txt | 2 +- requirements/runtime-deps.txt | 2 +- requirements/test.txt | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/requirements/base.txt b/requirements/base.txt index 1acfbc04287..ef4f1989f18 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -34,7 +34,7 @@ propcache==0.2.1 # via # -r requirements/runtime-deps.in # yarl -pycares==4.4.0 +pycares==4.5.0 # via aiodns pycparser==2.22 # via cffi diff --git a/requirements/constraints.txt b/requirements/constraints.txt index 50363d0a22f..555c07b38ef 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -139,7 +139,7 @@ proxy-py==2.4.9 # via # -r requirements/lint.in # -r requirements/test.in -pycares==4.4.0 +pycares==4.5.0 # via aiodns pycparser==2.22 # via cffi diff --git a/requirements/dev.txt b/requirements/dev.txt index d89ff002240..75712200812 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -136,7 +136,7 @@ proxy-py==2.4.9 # via # -r requirements/lint.in # -r requirements/test.in -pycares==4.4.0 +pycares==4.5.0 # via aiodns pycparser==2.22 # via cffi diff --git a/requirements/lint.txt b/requirements/lint.txt index 9a58557e76d..4415038c693 100644 --- a/requirements/lint.txt +++ b/requirements/lint.txt @@ -63,7 +63,7 @@ pre-commit==3.5.0 # via -r requirements/lint.in proxy-py==2.4.9 # via -r requirements/lint.in -pycares==4.4.0 +pycares==4.5.0 # via aiodns pycparser==2.22 # via cffi diff --git a/requirements/runtime-deps.txt b/requirements/runtime-deps.txt index 7904535f1d8..db7999b6903 100644 --- a/requirements/runtime-deps.txt +++ b/requirements/runtime-deps.txt @@ -30,7 +30,7 @@ propcache==0.2.1 # via # -r requirements/runtime-deps.in # yarl -pycares==4.4.0 +pycares==4.5.0 # via aiodns pycparser==2.22 # via cffi diff --git a/requirements/test.txt b/requirements/test.txt index 360f7c9d9e9..34370711df0 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -78,7 +78,7 @@ propcache==0.2.1 # yarl proxy-py==2.4.9 # via -r requirements/test.in -pycares==4.4.0 +pycares==4.5.0 # via aiodns pycparser==2.22 # via cffi From 968f89522cb4a09c5ce2e694a9723e4b1f62e3ba Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 25 Dec 2024 11:20:32 +0000 Subject: [PATCH 3/7] Bump pre-commit from 3.5.0 to 4.0.1 (#10247) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.5.0 to 4.0.1.
Release notes

Sourced from pre-commit's releases.

pre-commit v4.0.1

Fixes

pre-commit v4.0.0

Features

Migrating

pre-commit v3.8.0

Features

pre-commit v3.7.1

Fixes

pre-commit v3.7.0

Features

  • Use a tty for docker and docker_image hooks when --color is specified.

Fixes

... (truncated)

Changelog

Sourced from pre-commit's changelog.

4.0.1 - 2024-10-08

Fixes

4.0.0 - 2024-10-05

Features

Migrating

3.8.0 - 2024-07-28

Features

3.7.1 - 2024-05-10

Fixes

  • Fix language: rust default language version check when rust-toolchain.toml is present.

... (truncated)

Commits
  • cc4a522 v4.0.1
  • 772d7d4 Merge pull request #3324 from pre-commit/migrate-config-purelib
  • 222c62b fix migrate-config for purelib yaml
  • 3d5548b Merge pull request #3323 from pre-commit/pre-commit-ci-update-config
  • 4235a87 [pre-commit.ci] pre-commit autoupdate
  • dbccd57 v4.0.0
  • d07e529 Merge pull request #3320 from pre-commit/remove-python-venv
  • 801b956 remove deprecated python_venv alias
  • a2f7b80 Merge pull request #3315 from pre-commit/warn-deprecated-stage-names-on-init
  • d317223 add warning for deprecates stages for remote repos on init
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pre-commit&package-manager=pip&previous-version=3.5.0&new-version=4.0.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements/constraints.txt | 2 +- requirements/dev.txt | 2 +- requirements/lint.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements/constraints.txt b/requirements/constraints.txt index 555c07b38ef..178612c1b01 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -129,7 +129,7 @@ platformdirs==4.3.6 # via virtualenv pluggy==1.5.0 # via pytest -pre-commit==3.5.0 +pre-commit==4.0.1 # via -r requirements/lint.in propcache==0.2.1 # via diff --git a/requirements/dev.txt b/requirements/dev.txt index 75712200812..9120dbc1293 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -126,7 +126,7 @@ platformdirs==4.3.6 # via virtualenv pluggy==1.5.0 # via pytest -pre-commit==3.5.0 +pre-commit==4.0.1 # via -r requirements/lint.in propcache==0.2.1 # via diff --git a/requirements/lint.txt b/requirements/lint.txt index 4415038c693..2fc1ef3be6b 100644 --- a/requirements/lint.txt +++ b/requirements/lint.txt @@ -59,7 +59,7 @@ platformdirs==4.3.6 # via virtualenv pluggy==1.5.0 # via pytest -pre-commit==3.5.0 +pre-commit==4.0.1 # via -r requirements/lint.in proxy-py==2.4.9 # via -r requirements/lint.in From 563277dc531e8a1976c5e4553e1c8d19f2ba2705 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 25 Dec 2024 11:27:40 +0000 Subject: [PATCH 4/7] Bump setuptools from 75.2.0 to 75.6.0 (#10248) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [setuptools](https://github.com/pypa/setuptools) from 75.2.0 to 75.6.0.
Changelog

Sourced from setuptools's changelog.

v75.6.0

Features

  • Preserve original PKG-INFO into METADATA when creating wheel (instead of calling wheel.metadata.pkginfo_to_metadata). This helps to be more compliant with the flow specified in PEP 517. (#4701)
  • Changed the WindowsSdkVersion, FrameworkVersion32 and FrameworkVersion64 properties of setuptools.msvc.PlatformInfo to return an empty tuple instead of None as a fallthrough case -- by :user:Avasam (#4754)

v75.5.0

Features

  • Removed support for SETUPTOOLS_DANGEROUSLY_SKIP_PYPROJECT_VALIDATION, as it is deemed prone to errors. (#4746)

v75.4.0

Features

  • Added support for the environment variable SETUPTOOLS_DANGEROUSLY_SKIP_PYPROJECT_VALIDATION=true, allowing users to bypass the validation of pyproject.toml. This option should be used only as a last resort when resolving dependency issues, as it may lead to improper functioning. Users who enable this setting are responsible for ensuring that pyproject.toml complies with setuptools requirements. (#4611)

    .. attention:: This environment variable was removed in a later version of setuptools.

  • Require Python 3.9 or later. (#4718)

  • Remove dependency on importlib_resources and the vendored copy of the library. Instead, setuptools consistently rely on stdlib's importlib.resources (available on Python 3.9+). (#4718)

  • Setuptools' bdist_wheel implementation no longer produces wheels with the m SOABI flag (pymalloc-related). This flag was removed on Python 3.8+ (see :obj:sys.abiflags). (#4718)

  • Updated vendored packaging version to 24.2. (#4740)

... (truncated)

Commits
  • bf2ced2 Bump version: 75.5.0 → 75.6.0
  • 8685c80 Empty tuple instead of None for PlatformInfo version properties fallthrough (...
  • 50d671b Rename news fragment
  • 2b471c2 Changed the WindowsSdkVersion, FrameworkVersion32 and ``FrameworkVers...
  • 2c77cd2 Runtime typing fixes for typeshed return type merge (#4753
  • 9a4c8d4 Runtime typing fixes for typeshed return type merge
  • e622859 Preserve original PKG-INFO contents when creating wheel (instead of calling...
  • 0b5b417 Mark tests that may depend on external network
  • a4fa01d Add news fragment
  • 089aca9 Ignore coverage in test code
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=setuptools&package-manager=pip&previous-version=75.2.0&new-version=75.6.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements/constraints.txt | 2 +- requirements/dev.txt | 2 +- requirements/doc-spelling.txt | 2 +- requirements/doc.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/requirements/constraints.txt b/requirements/constraints.txt index 178612c1b01..4ece2e0bb27 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -285,7 +285,7 @@ yarl==1.18.3 # The following packages are considered to be unsafe in a requirements file: pip==24.3.1 # via pip-tools -setuptools==75.2.0 +setuptools==75.6.0 # via # incremental # pip-tools diff --git a/requirements/dev.txt b/requirements/dev.txt index 9120dbc1293..30c494763e3 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -276,7 +276,7 @@ yarl==1.18.3 # The following packages are considered to be unsafe in a requirements file: pip==24.3.1 # via pip-tools -setuptools==75.2.0 +setuptools==75.6.0 # via # incremental # pip-tools diff --git a/requirements/doc-spelling.txt b/requirements/doc-spelling.txt index cd4457eecf8..bc364ba4009 100644 --- a/requirements/doc-spelling.txt +++ b/requirements/doc-spelling.txt @@ -76,5 +76,5 @@ urllib3==2.3.0 # via requests # The following packages are considered to be unsafe in a requirements file: -setuptools==75.2.0 +setuptools==75.6.0 # via incremental diff --git a/requirements/doc.txt b/requirements/doc.txt index 394fd3cf90c..f0fa2bc9712 100644 --- a/requirements/doc.txt +++ b/requirements/doc.txt @@ -69,5 +69,5 @@ urllib3==2.3.0 # via requests # The following packages are considered to be unsafe in a requirements file: -setuptools==75.2.0 +setuptools==75.6.0 # via incremental From 913b0a181cbc7c15daf9aec0f5d7f423d875ab6d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 25 Dec 2024 11:39:20 +0000 Subject: [PATCH 5/7] Bump charset-normalizer from 3.4.0 to 3.4.1 (#10251) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [charset-normalizer](https://github.com/jawah/charset_normalizer) from 3.4.0 to 3.4.1.
Release notes

Sourced from charset-normalizer's releases.

Version 3.4.1

🚀 We're still raising awareness around HTTP/2, and HTTP/3!

Did you know that Internet Explorer 11 shipped with an optional HTTP/2 support back in 2013? also libcurl did ship it in 2014[...] Using Requests today is the rough equivalent of using EOL Windows 8! We promptly invite Python developers to look at the first drop-in replacement for Requests, namely Niquests. Ship with native WebSocket, SSE, Happy Eyeballs, DNS over HTTPS, and so on[...] All of this while remaining compatible with all Requests prior plug-ins / add-ons.

It leverages charset-normalizer in a better way! Check it out, you will gain up to being 3X faster and get a real/respectable support with it.

3.4.1 (2024-12-24)

Changed

  • Project metadata are now stored using pyproject.toml instead of setup.cfg using setuptools as the build backend.
  • Enforce annotation delayed loading for a simpler and consistent types in the project.
  • Optional mypyc compilation upgraded to version 1.14 for Python >= 3.8

Added

  • pre-commit configuration.
  • noxfile.

Removed

  • build-requirements.txt as per using pyproject.toml native build configuration.
  • bin/integration.py and bin/serve.py in favor of downstream integration test (see noxfile).
  • setup.cfg in favor of pyproject.toml metadata configuration.
  • Unused utils.range_scan function.

Fixed

  • Converting content to Unicode bytes may insert utf_8 instead of preferred utf-8. (#572)
  • Deprecation warning "'count' is passed as positional argument" when converting to Unicode bytes on Python 3.13+
Changelog

Sourced from charset-normalizer's changelog.

3.4.1 (2024-12-24)

Changed

  • Project metadata are now stored using pyproject.toml instead of setup.cfg using setuptools as the build backend.
  • Enforce annotation delayed loading for a simpler and consistent types in the project.
  • Optional mypyc compilation upgraded to version 1.14 for Python >= 3.8

Added

  • pre-commit configuration.
  • noxfile.

Removed

  • build-requirements.txt as per using pyproject.toml native build configuration.
  • bin/integration.py and bin/serve.py in favor of downstream integration test (see noxfile).
  • setup.cfg in favor of pyproject.toml metadata configuration.
  • Unused utils.range_scan function.

Fixed

  • Converting content to Unicode bytes may insert utf_8 instead of preferred utf-8. (#572)
  • Deprecation warning "'count' is passed as positional argument" when converting to Unicode bytes on Python 3.13+
Commits
  • ffdf7f5 :wrench: fix long description content-type inferred as rst instead of md
  • c7197b7 :pencil: fix changelog entries (#582)
  • c390e1f Merge pull request #581 from jawah/refresh-part-2
  • f9d6b8c :lock: add CODEOWNERS
  • 7ce1ef1 :wrench: use ubuntu-22.04 for cibuildwheel in continuous deployment workflow
  • deed205 :wrench: update LICENSE copyright
  • f11f571 :wrench: include noxfile in sdist
  • 1ec7c06 :wrench: update changelog
  • 14b4649 :bug: output(...) replace declarative mark using non iana compliant encoding ...
  • 1b06bc0 Merge branch 'refresh-part-2' of github.com:jawah/charset_normalizer into ref...
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=charset-normalizer&package-manager=pip&previous-version=3.4.0&new-version=3.4.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements/constraints.txt | 2 +- requirements/dev.txt | 2 +- requirements/doc-spelling.txt | 2 +- requirements/doc.txt | 2 +- requirements/lint.txt | 2 +- requirements/test.txt | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/requirements/constraints.txt b/requirements/constraints.txt index 4ece2e0bb27..00ee912bbde 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -37,7 +37,7 @@ cffi==1.17.1 # pytest-codspeed cfgv==3.4.0 # via pre-commit -charset-normalizer==3.4.0 +charset-normalizer==3.4.1 # via requests cherry-picker==2.4.0 # via -r requirements/dev.in diff --git a/requirements/dev.txt b/requirements/dev.txt index 30c494763e3..d772cf951be 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -37,7 +37,7 @@ cffi==1.17.1 # pytest-codspeed cfgv==3.4.0 # via pre-commit -charset-normalizer==3.4.0 +charset-normalizer==3.4.1 # via requests cherry-picker==2.4.0 # via -r requirements/dev.in diff --git a/requirements/doc-spelling.txt b/requirements/doc-spelling.txt index bc364ba4009..8c7c86aaf3b 100644 --- a/requirements/doc-spelling.txt +++ b/requirements/doc-spelling.txt @@ -12,7 +12,7 @@ babel==2.16.0 # via sphinx certifi==2024.12.14 # via requests -charset-normalizer==3.4.0 +charset-normalizer==3.4.1 # via requests click==8.1.8 # via towncrier diff --git a/requirements/doc.txt b/requirements/doc.txt index f0fa2bc9712..403eb585784 100644 --- a/requirements/doc.txt +++ b/requirements/doc.txt @@ -12,7 +12,7 @@ babel==2.16.0 # via sphinx certifi==2024.12.14 # via requests -charset-normalizer==3.4.0 +charset-normalizer==3.4.1 # via requests click==8.1.8 # via towncrier diff --git a/requirements/lint.txt b/requirements/lint.txt index 2fc1ef3be6b..87981036263 100644 --- a/requirements/lint.txt +++ b/requirements/lint.txt @@ -19,7 +19,7 @@ cffi==1.17.1 # pytest-codspeed cfgv==3.4.0 # via pre-commit -charset-normalizer==3.4.0 +charset-normalizer==3.4.1 # via requests click==8.1.8 # via diff --git a/requirements/test.txt b/requirements/test.txt index 34370711df0..7159f14ebed 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -23,7 +23,7 @@ cffi==1.17.1 # cryptography # pycares # pytest-codspeed -charset-normalizer==3.4.0 +charset-normalizer==3.4.1 # via requests click==8.1.8 # via From 19227023f4b1fed87df58e381ffbb3a695e63f9c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 25 Dec 2024 12:35:53 +0000 Subject: [PATCH 6/7] Bump python-on-whales from 0.73.0 to 0.74.0 (#10250) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [python-on-whales](https://github.com/gabrieldemarmiesse/python-on-whales) from 0.73.0 to 0.74.0.
Release notes

Sourced from python-on-whales's releases.

v0.74.0

Important breaking change:

The python-on-whales command is not available anymore, meaning that you cannot download the docker client binary automatically. You need to install it yourself by using the Docker installation guide: https://docs.docker.com/engine/install/ . Note that you need only the client, you can skip the installation of the full docker engine. For example, on Ubuntu, that means you just need to do

sudo apt-get install docker-ce-cli docker-buildx-plugin
docker-compose-plugin

instead of

sudo apt-get install docker-ce docker-ce-cli containerd.io
docker-buildx-plugin docker-compose-plugin

What's Changed

Full Changelog: https://github.com/gabrieldemarmiesse/python-on-whales/compare/v0.73.0...v0.74.0

Commits
  • 5fe0ea5 Bump version to 0.74.0 (#652)
  • 140865d Use uv in github actions and recommend uv for dev (#650)
  • 9a9f090 Fix Pod property type annotations to allow for missing fields in inspect outp...
  • b590c97 Add podman is_infra and namespace fields to Container object (#641)
  • d992525 Set defer_build=True pydantic config, improving import time significantly (...
  • 4531ced Remove leftover Pydantic v1 handling (#642)
  • 43b4001 :bug: Fix buildx tests in the CI by upgrading the docker images (#646)
  • 67f75f4 Specify ubuntu-24.04 in the GitHub actions config (#645)
  • 40e1f27 Display an error message if using the python-on-whales command (#640)
  • 0a1ecad Update docs references to download-cli (#639)
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=python-on-whales&package-manager=pip&previous-version=0.73.0&new-version=0.74.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements/constraints.txt | 15 ++------------- requirements/dev.txt | 15 ++------------- requirements/lint.txt | 29 ++++------------------------- requirements/test.txt | 26 +++----------------------- 4 files changed, 11 insertions(+), 74 deletions(-) diff --git a/requirements/constraints.txt b/requirements/constraints.txt index 00ee912bbde..c2c8895274b 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -47,7 +47,6 @@ click==8.1.8 # pip-tools # slotscheck # towncrier - # typer # wait-for-it coverage==7.6.9 # via @@ -183,7 +182,7 @@ pytest-xdist==3.6.1 # via -r requirements/test.in python-dateutil==2.9.0.post0 # via freezegun -python-on-whales==0.73.0 +python-on-whales==0.74.0 # via # -r requirements/lint.in # -r requirements/test.in @@ -192,17 +191,12 @@ pyyaml==6.0.2 requests==2.32.3 # via # cherry-picker - # python-on-whales # sphinx # sphinxcontrib-spelling rich==13.9.4 - # via - # pytest-codspeed - # typer + # via pytest-codspeed setuptools-git==1.2 # via -r requirements/test.in -shellingham==1.5.4 - # via typer six==1.17.0 # via python-dateutil slotscheck==0.19.1 @@ -246,14 +240,10 @@ towncrier==23.11.0 # via # -r requirements/doc.in # sphinxcontrib-towncrier -tqdm==4.67.1 - # via python-on-whales trustme==1.2.0 ; platform_machine != "i686" # via # -r requirements/lint.in # -r requirements/test.in -typer==0.12.5 - # via python-on-whales typing-extensions==4.12.2 # via # multidict @@ -262,7 +252,6 @@ typing-extensions==4.12.2 # pydantic-core # python-on-whales # rich - # typer uritemplate==4.1.1 # via gidgethub urllib3==2.3.0 diff --git a/requirements/dev.txt b/requirements/dev.txt index d772cf951be..24f580a91e4 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -47,7 +47,6 @@ click==8.1.8 # pip-tools # slotscheck # towncrier - # typer # wait-for-it coverage==7.6.9 # via @@ -178,7 +177,7 @@ pytest-xdist==3.6.1 # via -r requirements/test.in python-dateutil==2.9.0.post0 # via freezegun -python-on-whales==0.73.0 +python-on-whales==0.74.0 # via # -r requirements/lint.in # -r requirements/test.in @@ -187,16 +186,11 @@ pyyaml==6.0.2 requests==2.32.3 # via # cherry-picker - # python-on-whales # sphinx rich==13.9.4 - # via - # pytest-codspeed - # typer + # via pytest-codspeed setuptools-git==1.2 # via -r requirements/test.in -shellingham==1.5.4 - # via typer six==1.17.0 # via python-dateutil slotscheck==0.19.1 @@ -237,14 +231,10 @@ towncrier==23.11.0 # via # -r requirements/doc.in # sphinxcontrib-towncrier -tqdm==4.67.1 - # via python-on-whales trustme==1.2.0 ; platform_machine != "i686" # via # -r requirements/lint.in # -r requirements/test.in -typer==0.12.5 - # via python-on-whales typing-extensions==4.12.2 # via # multidict @@ -253,7 +243,6 @@ typing-extensions==4.12.2 # pydantic-core # python-on-whales # rich - # typer uritemplate==4.1.1 # via gidgethub urllib3==2.3.0 diff --git a/requirements/lint.txt b/requirements/lint.txt index 87981036263..eb7818d4c87 100644 --- a/requirements/lint.txt +++ b/requirements/lint.txt @@ -10,8 +10,6 @@ annotated-types==0.7.0 # via pydantic async-timeout==5.0.1 # via valkey -certifi==2024.12.14 - # via requests cffi==1.17.1 # via # cryptography @@ -19,12 +17,8 @@ cffi==1.17.1 # pytest-codspeed cfgv==3.4.0 # via pre-commit -charset-normalizer==3.4.1 - # via requests click==8.1.8 - # via - # slotscheck - # typer + # via slotscheck cryptography==44.0.0 # via trustme distlib==0.3.9 @@ -38,9 +32,7 @@ freezegun==1.5.1 identify==2.6.3 # via pre-commit idna==3.7 - # via - # requests - # trustme + # via trustme iniconfig==2.0.0 # via pytest markdown-it-py==3.0.0 @@ -84,18 +76,12 @@ pytest-mock==3.14.0 # via -r requirements/lint.in python-dateutil==2.9.0.post0 # via freezegun -python-on-whales==0.73.0 +python-on-whales==0.74.0 # via -r requirements/lint.in pyyaml==6.0.2 # via pre-commit -requests==2.32.3 - # via python-on-whales rich==13.9.4 - # via - # pytest-codspeed - # typer -shellingham==1.5.4 - # via typer + # via pytest-codspeed six==1.17.0 # via python-dateutil slotscheck==0.19.1 @@ -105,12 +91,8 @@ tomli==2.2.1 # mypy # pytest # slotscheck -tqdm==4.67.1 - # via python-on-whales trustme==1.2.0 # via -r requirements/lint.in -typer==0.12.5 - # via python-on-whales typing-extensions==4.12.2 # via # mypy @@ -118,9 +100,6 @@ typing-extensions==4.12.2 # pydantic-core # python-on-whales # rich - # typer -urllib3==2.3.0 - # via requests uvloop==0.21.0 ; platform_system != "Windows" # via -r requirements/lint.in valkey==6.0.2 diff --git a/requirements/test.txt b/requirements/test.txt index 7159f14ebed..8f9a2196015 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -16,19 +16,13 @@ async-timeout==5.0.1 ; python_version < "3.11" # via -r requirements/runtime-deps.in brotli==1.1.0 ; platform_python_implementation == "CPython" # via -r requirements/runtime-deps.in -certifi==2024.12.14 - # via requests cffi==1.17.1 # via # cryptography # pycares # pytest-codspeed -charset-normalizer==3.4.1 - # via requests click==8.1.8 - # via - # typer - # wait-for-it + # via wait-for-it coverage==7.6.9 # via # -r requirements/test.in @@ -49,7 +43,6 @@ gunicorn==23.0.0 # via -r requirements/base.in idna==3.6 # via - # requests # trustme # yarl iniconfig==2.0.0 @@ -105,18 +98,12 @@ pytest-xdist==3.6.1 # via -r requirements/test.in python-dateutil==2.9.0.post0 # via freezegun -python-on-whales==0.73.0 +python-on-whales==0.74.0 # via -r requirements/test.in -requests==2.32.3 - # via python-on-whales rich==13.9.4 - # via - # pytest-codspeed - # typer + # via pytest-codspeed setuptools-git==1.2 # via -r requirements/test.in -shellingham==1.5.4 - # via typer six==1.17.0 # via python-dateutil tomli==2.2.1 @@ -124,12 +111,8 @@ tomli==2.2.1 # coverage # mypy # pytest -tqdm==4.67.1 - # via python-on-whales trustme==1.2.0 ; platform_machine != "i686" # via -r requirements/test.in -typer==0.12.5 - # via python-on-whales typing-extensions==4.12.2 # via # multidict @@ -138,9 +121,6 @@ typing-extensions==4.12.2 # pydantic-core # python-on-whales # rich - # typer -urllib3==2.3.0 - # via requests uvloop==0.21.0 ; platform_system != "Windows" and implementation_name == "cpython" # via -r requirements/base.in wait-for-it==2.3.0 From 701ad1e4ffff8c2b95d3c7a870e6ef892680aa9d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 25 Dec 2024 15:16:27 +0000 Subject: [PATCH 7/7] Bump mypy from 1.13.0 to 1.14.0 (#10249) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [mypy](https://github.com/python/mypy) from 1.13.0 to 1.14.0.
Changelog

Sourced from mypy's changelog.

Mypy Release Notes

Next release

...

Mypy 1.14

We’ve just uploaded mypy 1.14 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features and bug fixes. You can install it as follows:

python3 -m pip install -U mypy

You can read the full documentation for this release on Read the Docs.

Change to Enum Membership Semantics

As per the updated typing specification for enums, enum members must be left unannotated.

class Pet(Enum):
    CAT = 1  # Member attribute
    DOG = 2  # Member attribute
# New error: Enum members must be left unannotated
WOLF: int = 3

species: str  # Considered a non-member attribute

In particular, the specification change can result in issues in type stubs (.pyi files), since historically it was common to leave the value absent:

# In a type stub (.pyi file)

class Pet(Enum): # Change in semantics: previously considered members, # now non-member attributes CAT: int DOG: int

# Mypy will now issue a warning if it detects this
# situation in type stubs:
# &gt; Detected enum &quot;Pet&quot; in a type stub with
zero
# &gt; members. There is a chance this is due to a recent
# &gt; change in the semantics of enum membership. If so,
# &gt; use `member = value` to mark an enum member,

</tr></table>

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=mypy&package-manager=pip&previous-version=1.13.0&new-version=1.14.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sam Bull Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- aiohttp/client.py | 2 +- aiohttp/client_reqrep.py | 7 ++----- aiohttp/connector.py | 10 +++++----- requirements/constraints.txt | 2 +- requirements/dev.txt | 2 +- requirements/lint.txt | 2 +- requirements/test.txt | 2 +- 7 files changed, 12 insertions(+), 15 deletions(-) diff --git a/aiohttp/client.py b/aiohttp/client.py index eabebf469a5..942bfcfa04a 100644 --- a/aiohttp/client.py +++ b/aiohttp/client.py @@ -683,7 +683,7 @@ async def _request( except ClientError: raise except OSError as exc: - if exc.errno is None and isinstance(exc, asyncio.TimeoutError): # type: ignore[unreachable] + if exc.errno is None and isinstance(exc, asyncio.TimeoutError): raise raise ClientOSError(*exc.args) from exc diff --git a/aiohttp/client_reqrep.py b/aiohttp/client_reqrep.py index 8c927a49bf0..d3d9ced4044 100644 --- a/aiohttp/client_reqrep.py +++ b/aiohttp/client_reqrep.py @@ -603,11 +603,8 @@ async def write_bytes( except OSError as underlying_exc: reraised_exc = underlying_exc - exc_is_not_timeout = ( - underlying_exc.errno is not None - or not isinstance( # type: ignore[unreachable] - underlying_exc, asyncio.TimeoutError - ) + exc_is_not_timeout = underlying_exc.errno is not None or not isinstance( + underlying_exc, asyncio.TimeoutError ) if exc_is_not_timeout: reraised_exc = ClientOSError( diff --git a/aiohttp/connector.py b/aiohttp/connector.py index d48356ae87a..263a4823334 100644 --- a/aiohttp/connector.py +++ b/aiohttp/connector.py @@ -1118,7 +1118,7 @@ async def _wrap_create_connection( except ssl_errors as exc: raise ClientConnectorSSLError(req.connection_key, exc) from exc except OSError as exc: - if exc.errno is None and isinstance(exc, asyncio.TimeoutError): # type: ignore[unreachable] + if exc.errno is None and isinstance(exc, asyncio.TimeoutError): raise raise client_error(req.connection_key, exc) from exc @@ -1207,7 +1207,7 @@ async def _start_tls_connection( except ssl_errors as exc: raise ClientConnectorSSLError(req.connection_key, exc) from exc except OSError as exc: - if exc.errno is None and isinstance(exc, asyncio.TimeoutError): # type: ignore[unreachable] + if exc.errno is None and isinstance(exc, asyncio.TimeoutError): raise raise client_error(req.connection_key, exc) from exc except TypeError as type_err: @@ -1278,7 +1278,7 @@ async def _create_direct_connection( # across all connections. hosts = await self._resolve_host(host, port, traces=traces) except OSError as exc: - if exc.errno is None and isinstance(exc, asyncio.TimeoutError): # type: ignore[unreachable] + if exc.errno is None and isinstance(exc, asyncio.TimeoutError): raise # in case of proxy it is not ClientProxyConnectionError # it is problem of resolving proxy ip itself @@ -1472,7 +1472,7 @@ async def _create_connection( self._factory, self._path ) except OSError as exc: - if exc.errno is None and isinstance(exc, asyncio.TimeoutError): # type: ignore[unreachable] + if exc.errno is None and isinstance(exc, asyncio.TimeoutError): raise raise UnixClientConnectorError(self.path, req.connection_key, exc) from exc @@ -1541,7 +1541,7 @@ async def _create_connection( # other option is to manually set transport like # `proto.transport = trans` except OSError as exc: - if exc.errno is None and isinstance(exc, asyncio.TimeoutError): # type: ignore[unreachable] + if exc.errno is None and isinstance(exc, asyncio.TimeoutError): raise raise ClientConnectorError(req.connection_key, exc) from exc diff --git a/requirements/constraints.txt b/requirements/constraints.txt index c2c8895274b..ad38eb54489 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -108,7 +108,7 @@ multidict==6.1.0 # -r requirements/multidict.in # -r requirements/runtime-deps.in # yarl -mypy==1.13.0 ; implementation_name == "cpython" +mypy==1.14.0 ; implementation_name == "cpython" # via # -r requirements/lint.in # -r requirements/test.in diff --git a/requirements/dev.txt b/requirements/dev.txt index 24f580a91e4..1284aa47d9e 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -105,7 +105,7 @@ multidict==6.1.0 # via # -r requirements/runtime-deps.in # yarl -mypy==1.13.0 ; implementation_name == "cpython" +mypy==1.14.0 ; implementation_name == "cpython" # via # -r requirements/lint.in # -r requirements/test.in diff --git a/requirements/lint.txt b/requirements/lint.txt index eb7818d4c87..9fd6f79a0f7 100644 --- a/requirements/lint.txt +++ b/requirements/lint.txt @@ -39,7 +39,7 @@ markdown-it-py==3.0.0 # via rich mdurl==0.1.2 # via markdown-it-py -mypy==1.13.0 ; implementation_name == "cpython" +mypy==1.14.0 ; implementation_name == "cpython" # via -r requirements/lint.in mypy-extensions==1.0.0 # via mypy diff --git a/requirements/test.txt b/requirements/test.txt index 8f9a2196015..2181e142c45 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -55,7 +55,7 @@ multidict==6.1.0 # via # -r requirements/runtime-deps.in # yarl -mypy==1.13.0 ; implementation_name == "cpython" +mypy==1.14.0 ; implementation_name == "cpython" # via -r requirements/test.in mypy-extensions==1.0.0 # via mypy