Description: Replace icu_properties with unicode-general-category (available in Debian)
 icu_properties 2.x is not packaged in Debian. The only usage is a single
 is_printable() function in ruff_python_literal that queries Unicode General
 Category. unicode-general-category 1.1.0 provides identical variant names
 (Control, Format, Surrogate, PrivateUse, Unassigned, LineSeparator,
 ParagraphSeparator, SpaceSeparator); only the lookup call changes from
 GeneralCategory::for_char(c) to get_general_category(c).
Forwarded: not-needed
---
Index: ruff/Cargo.toml
===================================================================
--- ruff.orig/Cargo.toml
+++ ruff/Cargo.toml
@@ -114,7 +114,7 @@ hashbrown = { version = "0.16", default-
     "inline-more",
 ] }
 heck = "0.5.0"
-icu_properties = { version = "2.1.2" }
+unicode-general-category = { version = "1" }
 ignore = { version = "0.4.24" }
 imara-diff = { version = "0.2.0" }
 imperative = { version = "1.0.4" }
Index: ruff/crates/ruff_python_literal/Cargo.toml
===================================================================
--- ruff.orig/crates/ruff_python_literal/Cargo.toml
+++ ruff/crates/ruff_python_literal/Cargo.toml
@@ -18,7 +18,7 @@ doctest = false
 ruff_python_ast = { workspace = true }
 
 bitflags = { workspace = true }
-icu_properties = { workspace = true }
+unicode-general-category = { workspace = true }
 itertools = { workspace = true }
 
 [dev-dependencies]
Index: ruff/crates/ruff_python_literal/src/char.rs
===================================================================
--- ruff.orig/crates/ruff_python_literal/src/char.rs
+++ ruff/crates/ruff_python_literal/src/char.rs
@@ -1,4 +1,4 @@
-use icu_properties::props::{EnumeratedProperty, GeneralCategory};
+use unicode_general_category::{get_general_category, GeneralCategory};
 
 /// According to python following categories aren't printable:
 /// * Cc (Other, Control)
@@ -10,7 +10,7 @@ use icu_properties::props::{EnumeratedPr
 /// * Zp Separator, Paragraph ('\u2029', PARAGRAPH SEPARATOR)
 /// * Zs (Separator, Space) other than ASCII space('\x20').
 pub fn is_printable(c: char) -> bool {
-    let cat = GeneralCategory::for_char(c);
+    let cat = get_general_category(c);
 
     !matches!(
         cat,
