On 2025/06/06 15:43, Laurent Cheylus wrote:
> @@ -0,0 +1,106 @@
> +Fix tests with click >= 8.2.0
> +- https://github.com/psf/black/pull/4577
> +- https://github.com/psf/black/pull/4591
> +- https://github.com/psf/black/pull/4666

please refer to the upstream commits rather than PRs so that it's clear
whether they are likely to apply directly to a future update or not (and
also that will indicate whether upstream thought the PR was good to
merge).

personally I would do it like this i.e. copy the header from the git
patches, but something else that ends up with similar info would work
too

>From 14e1de805a5d66744a08742cad32d1660bf7617a Mon Sep 17 00:00:00 2001
From: MeggyCal <[email protected]>
Date: Tue, 18 Feb 2025 16:30:11 +0100
Subject: [PATCH] mix_stderr parameter was removed from click 8.2.0 (#4577)

>From ed64d89faa7c738c4ba0006710f7e387174478af Mon Sep 17 00:00:00 2001
From: "Michael R. Crusoe" <[email protected]>
Date: Thu, 27 Feb 2025 17:46:59 +0100
Subject: [PATCH] additional fix for click 8.2.0 (#4591)

>From b0f36f5b4233ef4cf613daca0adc3896d5424159 Mon Sep 17 00:00:00 2001
From: danigm <[email protected]>
Date: Thu, 15 May 2025 14:04:00 +0200
Subject: [PATCH] Update test_code_option_safe to work with click 8.2.0 (#4666)

Reply via email to