requirements: Upgrade Python requirements.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit 2709e7a636)
This commit is contained in:
Anders Kaseorg
2024-12-20 14:25:49 -08:00
committed by Tim Abbott
parent 729d1f078b
commit 4f84a04c37
6 changed files with 1769 additions and 1723 deletions

View File

@@ -131,15 +131,13 @@ select = [
"SLOT", # __slots__
"SIM", # simplify
"T10", # debugger
"TCH", # type-checking
"TC", # type-checking
"TID", # tidy imports
"UP", # upgrade
"W", # style warnings
"YTT", # sys.version
]
ignore = [
"ANN101", # Missing type annotation for `self` in method
"ANN102", # Missing type annotation for `cls` in classmethod
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
"B007", # Loop control variable not used within the loop body
"B008", # Do not perform function calls in argument defaults
@@ -185,9 +183,9 @@ ignore = [
"SIM108", # Use ternary operator `action = "[commented]" if action == "created" else f"{action} a [comment]"` instead of if-else-block
"SIM114", # Combine `if` branches using logical `or` operator
"SIM401", # Use `d.get(key, default)` instead of an `if` block
"TCH001", # Move application import into a type-checking block
"TCH002", # Move third-party import into a type-checking block
"TCH003", # Move standard library import into a type-checking block
"TC001", # Move application import into a type-checking block
"TC002", # Move third-party import into a type-checking block
"TC003", # Move standard library import into a type-checking block
]
[tool.ruff.lint.flake8-gettext]

File diff suppressed because it is too large Load Diff

View File

@@ -15,9 +15,9 @@ babel==2.16.0 \
--hash=sha256:368b5b98b37c06b7daf6696391c3240c938b37767d4584413e8438c5c435fa8b \
--hash=sha256:d1f3554ca26605fe173f3de0c65f750f5a42f924499bf134de6423582298e316
# via sphinx
certifi==2024.8.30 \
--hash=sha256:922820b53db7a7257ffbda3f597266d435245903d80737e34f8a45ff3e3230d8 \
--hash=sha256:bec941d2aa8195e248a60b31ff9f0558284cf01a52591ceda73ea9afffd69fd9
certifi==2024.12.14 \
--hash=sha256:1275f7a45be9464efc1173084eaa30f866fe2e47d389406136d332ed4967ec56 \
--hash=sha256:b650d30f370c2b724812bee08008be0c4163b163ddaec3f2546c1caf65f191db
# via requests
charset-normalizer==3.4.0 \
--hash=sha256:0099d79bdfcf5c1f0c2c72f91516702ebf8b0b8ddd8905f97a8aecf49712c621 \

View File

@@ -7,9 +7,9 @@
#
# For details, see requirements/README.md .
#
wheel==0.45.0 \
--hash=sha256:52f0baa5e6522155090a09c6bd95718cc46956d1b51d537ea5454249edb671c7 \
--hash=sha256:a57353941a3183b3d5365346b567a260a0602a0f8a635926a7dede41b94c674a
wheel==0.45.1 \
--hash=sha256:661e1abd9198507b1409a20c02106d9670b2576e916d58f520316666abca6729 \
--hash=sha256:708e7481cc80179af0e556bbf0cc00b8444c7321e2700b8d8580231d13017248
# via -r requirements/pip.in
# The following packages are considered to be unsafe in a requirements file:

File diff suppressed because it is too large Load Diff

View File

@@ -49,4 +49,4 @@ API_FEATURE_LEVEL = 278 # Last bumped for backporting original-dimensions on sp
# historical commits sharing the same major version, in which case a
# minor version bump suffices.
PROVISION_VERSION = (294, 0) # bumped 2024-11-18 for types-defusedxml
PROVISION_VERSION = (295, 0) # bumped 2024-12-20 to upgrade Python requirements