From patchwork Thu Dec 5 16:50:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liliana Marie Prikler X-Patchwork-Id: 34597 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5266A27BBE2; Thu, 5 Dec 2024 17:46:22 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5642C27BBE9 for ; Thu, 5 Dec 2024 17:46:21 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJFuw-0001A5-0E; Thu, 05 Dec 2024 12:45:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tJFui-00017a-7P for guix-patches@gnu.org; Thu, 05 Dec 2024 12:45:23 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tJFua-0000C9-Bj; Thu, 05 Dec 2024 12:45:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:References:In-Reply-To:To:Subject; bh=UdkahS5rnbYjLw6IWAyZNENAq/eFbMqhniReYs6VBxQ=; b=r5cEw4sln9n6MoAvpg2uRaAUMOUyATJQFt0VlKCr+n/OaTuAVCgu+2ZqOtv5MUMXF8YSnssnEnXU7pypAKBnVhopqCL7WiQH5l++MVN+QvnlaeJ6CxIIZ6rBck5h+pO7deeo9m7XA1aQ4GBdf47vZP5kqLm2iqlFTu8bIbKEqO7vzNC5lxNvkzAL0kjqFvPUgQTS6vJ1lQ8mPyOvc/+qIzdYvhHRMKiat244Ro6w0dsMIaw+3HcOkyKsfBFZtcBL8s6agJt7MyvHviW36utIWjPManCCzPi6xfYKiKMy+4uNw40SmACEf+BnCAJOdzy4vcgod/NWQoOMDpMkJxpcBQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tJFuQ-0001PE-FO; Thu, 05 Dec 2024 12:45:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74702] [PATCH 1/4] gnu: python-pillow: Update to 11.0.0. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Thu, 05 Dec 2024 17:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74702 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74702@debbugs.gnu.org Cc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by 74702-submit@debbugs.gnu.org id=B74702.17334206515270 (code B ref 74702); Thu, 05 Dec 2024 17:45:02 +0000 Received: (at 74702) by debbugs.gnu.org; 5 Dec 2024 17:44:11 +0000 Received: from localhost ([127.0.0.1]:40565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJFta-0001Mp-9l for submit@debbugs.gnu.org; Thu, 05 Dec 2024 12:44:10 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:45291) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJFtX-0001MG-Ds for 74702@debbugs.gnu.org; Thu, 05 Dec 2024 12:44:08 -0500 Received: by mail-wr1-f68.google.com with SMTP id ffacd0b85a97d-385e1fcb0e1so656985f8f.2 for <74702@debbugs.gnu.org>; Thu, 05 Dec 2024 09:44:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733420582; x=1734025382; darn=debbugs.gnu.org; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :from:to:cc:subject:date:message-id:reply-to; bh=UdkahS5rnbYjLw6IWAyZNENAq/eFbMqhniReYs6VBxQ=; b=N1VS6hTveu9J/6be/qUW45gvoAAKH001nl6LOGd6a4fjxHTYFw8k0CDBnWrOplSjlL fmcqGp25jUpYNc67avnMr8sAc8kUKlq6Ms+a4C+7Us1ISLGmFOoFzYh3hXtqSnymTiDF Cl4w851sPOB3KHA2ui47r1A1z8+YR/ceV7UJ+rV4qL8T2b5X/1U2wT8o/S9cuWPyfbpe Mm2Zvcm7zBkK7ewk4CglEvPdlQV/EOycR34EqCte2ASMpZFAAmku/HdZLQboyzI9W31j rqh4p2z983v7Ff6qVMxRT8wrk6FSgVl/VowKrUD57SpESSreAqwASBEnv1rUpm4SotCG ScbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733420582; x=1734025382; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=UdkahS5rnbYjLw6IWAyZNENAq/eFbMqhniReYs6VBxQ=; b=xBZAgeMYBzsoPFZAtbRNBHvywW4qKetCmshOUcOIgsgIFXvEmKhvJRF6MBbSTbgbTu vGurbeGqsQArTCM+SvLSGbUu9aVvAzU7D295UdG+g6c40PDIB09MYLbUU48zDDrLiQpo o65huNRBhwfcPsx2PCy87Vw+lEHUcVcF62SG0+6PqGXxWYP2kzIPaBsNbQ94nvjpoi1N Wc4MyO1swisT/7DGusuN3vemHXYSQudusRkjwVFORhAbLvLWrT3dS9QhwPgJtfP2Ry6u gO7LIf+jrrCczo2LrxYrqdhNbLkBRpv0MCFfrQcJRMQ1B3DFQS+2/Xf16uN/DqQwB0Cd Ggrg== X-Gm-Message-State: AOJu0YxQ0A4RwWjG853isASMl47MJdO1q4OqgMhrM6p+t8Ax87krEpGl 3VyDeT3d2uwKriJfrPWKHIPShwwna28HGZEQd65yras/kJSQlFNqwE2NiRm9 X-Gm-Gg: ASbGnctXeAUg3NmUq9/MApk6HUtK1X7I+Q+Wuqg7uj+IERBth34cvgLhwLtgAlkKRD2 aUgc9UVW5dMvvfODMnYptF+Eou3v9/DJAVXU5pxXhgpwTx4xlaUNXbYuIXRZe7GPPYe9+3435ER 9elFUu8/TLVPDRBWiiUIW2KEs+NuiA/2zIwUcDsbhQM+iCQYiPZqOomgqxR2l/HBZnidRCbCed2 3BoPPkd4HhF3wTfM3IdGDI2zk7Fgi+PxaDIVK8YoO3a5Soomn5aMF2LB3JR14zXA0EbmFIbEQrj UC/WgDOXwWUxxqprNIXbU2Op5w== X-Google-Smtp-Source: AGHT+IFN8rzcEgS9vIXBiEJG4uzPxslEAWqVC8amH4s88QaojndKSXdgH88m/tKM6Khax2p9/drdpw== X-Received: by 2002:a05:6000:2c2:b0:386:2a3b:8aa with SMTP id ffacd0b85a97d-3862a3b0b2amr208615f8f.37.1733420581662; Thu, 05 Dec 2024 09:43:01 -0800 (PST) Received: from lumine.fritz.box (85-127-114-32.dsl.dynamic.surfer.at. [85.127.114.32]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-434d52c0bfasm69103205e9.32.2024.12.05.09.43.00 for <74702@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Dec 2024 09:43:01 -0800 (PST) Message-ID: <2a182584b2a13943ebd868ef58ae378f237f5edb.1733413402.git.liliana.prikler@gmail.com> In-Reply-To: References: From: Liliana Marie Prikler Date: Thu, 5 Dec 2024 17:50:00 +0100 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-pillow): Update to 11.0.0. --- gnu/packages/python-xyz.scm | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index cba99cce62..e77c5f6b65 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10388,20 +10388,25 @@ (define-public python-pikepdf (define-public python-pillow (package (name "python-pillow") - (version "9.2.0") + (version "11.0.0") (source (origin - (method url-fetch) - (uri (pypi-uri "Pillow" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/python-pillow/Pillow") + (commit version))) + (file-name (git-file-name "python-pillow" version)) (sha256 (base32 - "011wgm1mssjchpva9wsi2a07im9czyjvik137xlp5f0g7vykdrkm")) - (modules '((guix build utils))) + "0ya68a5ymxc581laidc3qlzjs9l327fyzw0mgcb9fz4r1p66lqxx")) + (modules '((guix build utils) + (ice-9 ftw))) (snippet '(begin - (delete-file-recursively "src/thirdparty"))) - (patches - (search-patches "python-pillow-CVE-2022-45199.patch" - ;; Included in 10.1.0. - "python-pillow-use-zlib-1.3.patch")))) + (let ((keep '("." ".." "pythoncapi_compat.h"))) + (with-directory-excursion "src/thirdparty" + (for-each + (lambda (f) (unless (member f keep) + (delete-file-recursively f))) + (scandir ".")))))))) (build-system python-build-system) (native-inputs (list python-pytest)) (inputs (list freetype