From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/ruff/files/
Date: Sat, 23 Mar 2024 06:05:23 +0000 (UTC) [thread overview]
Message-ID: <1711173905.fa36568447a15b598adeaa13f69652461b4da2b7.arthurzam@gentoo> (raw)
commit: fa36568447a15b598adeaa13f69652461b4da2b7
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Tue Mar 19 19:19:25 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 23 06:05:05 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa365684
dev-util/ruff: remove unused patch
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
...ing-struct-size-test-for-Rustc-1.76-10371.patch | 29 ----------------------
1 file changed, 29 deletions(-)
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
-
reply other threads:[~2024-03-23 6:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1711173905.fa36568447a15b598adeaa13f69652461b4da2b7.arthurzam@gentoo \
--to=arthurzam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox