summaryrefslogtreecommitdiff
path: root/dev-util/ruff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-23 07:01:01 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-23 07:01:01 +0000
commit2c9b8fbe41c04a94054b0540b54fcf2de0b79166 (patch)
treee83313a8db0bba5ca6d288977a45bbdf0dea81c9 /dev-util/ruff
parent6c169675dd21d25ad82ab0560f3d5b1e714219b6 (diff)
gentoo auto-resync : 23:03:2024 - 07:01:01
Diffstat (limited to 'dev-util/ruff')
-rw-r--r--dev-util/ruff/Manifest1
-rw-r--r--dev-util/ruff/files/0001-Gate-f-string-struct-size-test-for-Rustc-1.76-10371.patch29
2 files changed, 0 insertions, 30 deletions
diff --git a/dev-util/ruff/Manifest b/dev-util/ruff/Manifest
index 7a15603f58a9..da4275d10690 100644
--- a/dev-util/ruff/Manifest
+++ b/dev-util/ruff/Manifest
@@ -1,4 +1,3 @@
-AUX 0001-Gate-f-string-struct-size-test-for-Rustc-1.76-10371.patch 1232 BLAKE2B e71de8565aa0bc6e23fa48da8b0aa34c633a8613679e2ef72a50542bada2730cc49d15aba1563dd6d6ebe754b3871ff569b8cb85c767e42bb17fe723a3f97fd5 SHA512 b4b20dde59706192fcd382ae7ea93ce05077d47191b2de494f29ec6681fa95d5bd0332af024d33860937ef6541b7adee8bbe6caad5b4bcc73dcda64dc9677cd5
AUX ruff-0.1.14-tests.patch 454 BLAKE2B 0b463b44406811eed53ba0ad41da4807f8865abd4e32e56ac391cad250c1bb22b79a521ed4c7eaed9158f1660d2f15407a001600b68b2f3824376f55ba1e9435 SHA512 873f0a044f0dc662ca9ddd3c1cd0763df735618d965f2c6d849b6622e6ecefceb5495a86dc5bd8dd475473c11f03c0379f5cd910200e0a2637cfaf6e29f7e6c5
AUX ruff-0.2.0-tests.patch 482 BLAKE2B 07ed6b3f416dd43439640f8101fc0fd7272752fc03a60761e1e60d1c99b0ae1efc031565a3cea632a0ba755e4c50bb239e3da827313fd72e8199bc42e536b7dd SHA512 2603c4392cd9055fc23a5bd53d6938b8f8f7ab7fb0e7e9a5201cec86b504d235396da49fddd2ff4d91252e26858738373b9d79d6796ca6db78ff14189a068176
DIST Inflector-0.11.4.crate 17438 BLAKE2B eaf0c7f983b3186e9bc89353021a10592f2877e46585bd50b96db9b087343d1199c7b6cf3fa53cd274fb6d33de025a904b8aa31a7ac9599ae3689ecdbcec34cd SHA512 f1f6463e033b6d3c16c51dc1e1a3f5569954308b95b59058294b7f9310919bbda797e99e6a07529071bb83f0688867a243997d33795a7136b0af73977004296e
diff --git a/dev-util/ruff/files/0001-Gate-f-string-struct-size-test-for-Rustc-1.76-10371.patch b/dev-util/ruff/files/0001-Gate-f-string-struct-size-test-for-Rustc-1.76-10371.patch
deleted file mode 100644
index ea652b5efd04..000000000000
--- a/dev-util/ruff/files/0001-Gate-f-string-struct-size-test-for-Rustc-1.76-10371.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From dbf82233b81b0c3e3aedcb0a26f6c51e66df0797 Mon Sep 17 00:00:00 2001
-From: Charlie Marsh <charlie.r.marsh@gmail.com>
-Date: Tue, 12 Mar 2024 12:46:36 -0700
-Subject: [PATCH] Gate f-string struct size test for Rustc < 1.76 (#10371)
-
-Closes https://github.com/astral-sh/ruff/issues/10319.
-
-Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
----
- crates/ruff_python_ast/src/nodes.rs | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/crates/ruff_python_ast/src/nodes.rs b/crates/ruff_python_ast/src/nodes.rs
-index 32a3435e7..53cf5b8d8 100644
---- a/crates/ruff_python_ast/src/nodes.rs
-+++ b/crates/ruff_python_ast/src/nodes.rs
-@@ -4148,7 +4148,8 @@ mod tests {
- assert_eq!(std::mem::size_of::<ExprDict>(), 56);
- assert_eq!(std::mem::size_of::<ExprDictComp>(), 48);
- assert_eq!(std::mem::size_of::<ExprEllipsisLiteral>(), 8);
-- assert_eq!(std::mem::size_of::<ExprFString>(), 48);
-+ // 56 for Rustc < 1.76
-+ assert!(matches!(std::mem::size_of::<ExprFString>(), 48 | 56));
- assert_eq!(std::mem::size_of::<ExprGenerator>(), 48);
- assert_eq!(std::mem::size_of::<ExprIf>(), 32);
- assert_eq!(std::mem::size_of::<ExprIpyEscapeCommand>(), 32);
---
-2.43.2
-