Package: ruff
Version: 0.16.8+ds-1
Tags: patch
I hope to update rust-indicatif to version 0.18 soon
(as part of the rust-console update).
In ruff's case this means dropping a patch and updating
the Debian build-dependency.
diff -Nru ruff-0.16.8+ds/debian/changelog ruff-0.16.8+ds/debian/changelog
--- ruff-0.16.8+ds/debian/changelog 2026-10-07 13:36:11.000000000 +0000
+++ ruff-0.16.8+ds/debian/changelog 2026-10-13 16:08:35.000000000 +0000
@@ -1,3 +1,11 @@
+ruff (0.16.8+ds-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Drop patch "use-indicatif-0.17" and update build depends to use
+ indicatif 0.18.
+
+ -- Peter Michael Green <[email protected]> Tue, 13 Oct 2026 16:08:35 +0000
+
ruff (0.16.8+ds-1) unstable; urgency=medium
* New upstream version 0.16.8+ds.
diff -Nru ruff-0.16.8+ds/debian/control ruff-0.16.8+ds/debian/control
--- ruff-0.16.8+ds/debian/control 2026-10-07 13:36:11.000000000 +0000
+++ ruff-0.16.8+ds/debian/control 2026-10-13 16:06:26.000000000 +0000
@@ -59,7 +59,7 @@
librust-ignore-0.4+default-dev (>= 0.4.24),
librust-imperative-1+default-dev (>= 1.0.4),
librust-indexmap-2+default-dev (>= 2.6.0),
- librust-indicatif-0.17+default-dev,
+ librust-indicatif-0.18+default-dev,
librust-insta-1+default-dev (>= 1.35.1),
librust-insta-1+filters-dev (>= 1.35.1),
librust-is-macro-0.3+default-dev (>= 0.3.5),
diff -Nru ruff-0.16.8+ds/debian/patches/series
ruff-0.16.8+ds/debian/patches/series
--- ruff-0.16.8+ds/debian/patches/series 2026-10-07 13:36:11.000000000
+0000
+++ ruff-0.16.8+ds/debian/patches/series 2026-10-13 16:06:05.000000000
+0000
@@ -1,6 +1,5 @@
drop-benchmark
use-unicode-names2-2
-use-indicatif-0.17
use-itertools-0.14
use-lsp-server-0.7
use-matchit-0.8
diff -Nru ruff-0.16.8+ds/debian/patches/use-indicatif-0.17
ruff-0.16.8+ds/debian/patches/use-indicatif-0.17
--- ruff-0.16.8+ds/debian/patches/use-indicatif-0.17 2026-10-07
13:36:11.000000000 +0000
+++ ruff-0.16.8+ds/debian/patches/use-indicatif-0.17 1970-01-01
00:00:00.000000000 +0000
@@ -1,59 +0,0 @@
-Description: Use indicatif 0.17
- The only APIs used by ty are ProgressBar::hidden/set_length/set_message/
- set_style/set_draw_target/inc, ProgressStyle::with_template/progress_chars,
- and ProgressDrawTarget::hidden/stderr
-Forwarded: not-needed
----
-Index: ruff/Cargo.toml
-===================================================================
---- ruff.orig/Cargo.toml
-+++ ruff/Cargo.toml
-@@ -120,7 +120,7 @@ ignore = { version = "0.4.30" }
- imara-diff = { version = "0.2.0" }
- imperative = { version = "1.0.4" }
- indexmap = { version = "2.6.0" }
--indicatif = { version = "0.18.0" }
-+indicatif = { version = "0.17" }
- indoc = { version = "2.0.4" }
- insta = { version = "1.35.1" }
- insta-cmd = { version = "0.7.0" }
-Index: ruff/crates/ty/src/lib.rs
-===================================================================
---- ruff.orig/crates/ty/src/lib.rs
-+++ ruff/crates/ty/src/lib.rs
-@@ -738,7 +738,7 @@ impl ty_project::ProgressReporter for In
- .unwrap()
- .progress_chars("--"),
- );
-- self.checking_bar.force_draw();
-+ self.checking_bar.tick();
- }
-
- fn report_checked_file(&self, db: &ProjectDatabase, file: File,
diagnostics: &[Diagnostic]) {
-@@ -791,7 +791,7 @@ impl SyncProgress {
- let path = path.strip_prefix(db.project().root(db)).unwrap_or(path);
- let mut progress = self.start("Syncing", path)?;
- self.script_bar.inc_length(1);
-- self.script_bar.force_draw();
-+ self.script_bar.tick();
- progress.completion_bar = Some(self.script_bar.clone());
- Some(progress)
- }
-@@ -834,7 +834,7 @@ impl UvSyncProgress for UvSyncProgressBa
- self.bar.reset();
- self.bars.insert(0, self.bar.clone());
- // There are no periodic ticks to redraw this status line if drawing
is rate-limited.
-- self.bar.force_draw();
-+ self.bar.tick();
- }
-
- fn finished(&mut self) {
-@@ -845,7 +845,7 @@ impl UvSyncProgress for UvSyncProgressBa
- fn completed(self: Box<Self>) {
- if let Some(bar) = &self.completion_bar {
- bar.inc(1);
-- bar.force_draw();
-+ bar.tick();
- }
- }
- }