GNU bug report logs - #78722
[PATCH 0/5] Update PyTorch to 2.7.0 with dependencies

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Ayan Das <bvits@HIDDEN>; Keywords: patch; merged with #78721, #78723, #78724, #78725, #78726; dated Sun, 8 Jun 2025 15:25:03 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.
Forcibly Merged 78721 78722 78723 78724 78725 78726. Request was from Ayan Das <bvits@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Changed bug title to '[PATCH 0/5] Update PyTorch to 2.7.0 with dependencies' from '[PATCH 2/5] gnu: miniz-for-pytorch: Update to pytorch-2.7.0.' Request was from Ayan Das <bvits@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Merged 78721 78722 78723 78724 78725 78726. Request was from Ayan Das <bvits@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 8 Jun 2025 15:24:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 08 11:24:38 2025
Received: from localhost ([127.0.0.1]:52568 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uOHsz-0006pN-F4
	for submit <at> debbugs.gnu.org; Sun, 08 Jun 2025 11:24:38 -0400
Received: from lists.gnu.org ([2001:470:142::17]:57316)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <bvits@HIDDEN>) id 1uOHsp-0006oR-HF
 for submit <at> debbugs.gnu.org; Sun, 08 Jun 2025 11:24:30 -0400
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 <bvits@HIDDEN>) id 1uOHsj-0004Eb-My
 for guix-patches@HIDDEN; Sun, 08 Jun 2025 11:24:21 -0400
Received: from mx1.riseup.net ([198.252.153.129])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <bvits@HIDDEN>) id 1uOHsh-0002A0-Av
 for guix-patches@HIDDEN; Sun, 08 Jun 2025 11:24:21 -0400
Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
 (No client certificate requested)
 by mx1.riseup.net (Postfix) with ESMTPS id 4bFf3k0SLSzDqPQ
 for <guix-patches@HIDDEN>; Sun,  8 Jun 2025 15:24:18 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak;
 t=1749396258; bh=v6XpM4g6a6GgU2e0eRhCJSady4Uoi30Ctm6n0G+/LOQ=;
 h=From:To:Subject:Date:In-Reply-To:References:From;
 b=ponjJpgXIqGR8V26ite/SwxLSG38YZBhkXSynTT89zaQ+IISweqceaDCiX5xKUwFV
 VVauJx/e+b4LDnJYtB/6HNiyL4zbdxW+EDRmPytlmNVr3OQ0M5G5DjrKdhtOeQGZ0/
 6f9FcqzFahxDO/OonqNOGgakGl05Z7BWYzVvLKRI=
X-Riseup-User-ID: 73794E3EC445EDB4F48696607B542EDEC0F3085941D95ACF402DD5ABBC9FF481
Received: from [127.0.0.1] (localhost [127.0.0.1])
 by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4bFf3j0NB5zFpry
 for <guix-patches@HIDDEN>; Sun,  8 Jun 2025 15:24:16 +0000 (UTC)
From: Ayan Das <bvits@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH 2/5] gnu: miniz-for-pytorch: Update to pytorch-2.7.0.
Date: Sun,  8 Jun 2025 20:52:38 +0530
Message-ID: <6644ddd6a0d26b176c64c716498f550a8e2f992a.1749395917.git.bvits@HIDDEN>
In-Reply-To: <cover.1749395917.git.bvits@HIDDEN>
References: <cover.1749395917.git.bvits@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=198.252.153.129; envelope-from=bvits@HIDDEN;
 helo=mx1.riseup.net
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/compression.scm (miniz-for-pytorch): Update to
pytorch-2.7.0 using miniz 3.0.2.
* gnu/packages/patches/miniz-for-pytorch.patch: Update for miniz 3.0.2.

Signed-off-by: Ayan Das <bvits@HIDDEN>
---
 gnu/packages/compression.scm                 |  6 ++---
 gnu/packages/patches/miniz-for-pytorch.patch | 26 ++++++++++++--------
 2 files changed, 19 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index ed5a81be19..b64c99d2c6 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -3095,16 +3095,16 @@ (define-public miniz
 (define-public miniz-for-pytorch
   (package
     (inherit miniz)
-    (version "pytorch-2.2.0")
+    (version "pytorch-2.7.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
                     (url "https://github.com/richgel999/miniz")
-                    (commit "2.2.0")))
+                    (commit "3.0.2")))
               (file-name (git-file-name (package-name miniz) version))
               (sha256
                (base32
-                "09j9ihigfsavgcmk8l36zmbjvdf1x1w7h2v4rkww1qk1sb43y5zf"))
+                "0672q35vjrpakmsr1gwj9k5fwv5ihzhahm19bq4y74wqpn91p7fw"))
               (patches (search-patches "miniz-for-pytorch.patch"))))
     (arguments
      (substitute-keyword-arguments (package-arguments miniz)
diff --git a/gnu/packages/patches/miniz-for-pytorch.patch b/gnu/packages/patches/miniz-for-pytorch.patch
index 19fa705a31..dbcf916450 100644
--- a/gnu/packages/patches/miniz-for-pytorch.patch
+++ b/gnu/packages/patches/miniz-for-pytorch.patch
@@ -1,7 +1,7 @@
 Modifications from the internal fork of the python-pytorch package.
 
 diff --git a/miniz.h b/miniz.h
-index 42e1ea2..5869ab9 100644
+index 2f86380..336d33d 100644
 --- a/miniz.h
 +++ b/miniz.h
 @@ -123,7 +123,7 @@
@@ -11,9 +11,9 @@ index 42e1ea2..5869ab9 100644
 -/*#define MINIZ_NO_TIME */
 +#define MINIZ_NO_TIME
  
- /* Define MINIZ_NO_ARCHIVE_APIS to disable all ZIP archive API's. */
- /*#define MINIZ_NO_ARCHIVE_APIS */
-@@ -135,7 +135,7 @@
+ /* Define MINIZ_NO_DEFLATE_APIS to disable all compression API's. */
+ /*#define MINIZ_NO_DEFLATE_APIS */
+@@ -141,7 +141,7 @@
  /*#define MINIZ_NO_ZLIB_APIS */
  
  /* Define MINIZ_NO_ZLIB_COMPATIBLE_NAME to disable zlib names, to prevent conflicts against stock zlib. */
@@ -22,21 +22,27 @@ index 42e1ea2..5869ab9 100644
  
  /* Define MINIZ_NO_MALLOC to disable all calls to malloc, free, and realloc. 
     Note if MINIZ_NO_MALLOC is defined then the user must always provide custom user alloc/free/realloc
-@@ -172,8 +172,7 @@
- #if !defined(MINIZ_USE_UNALIGNED_LOADS_AND_STORES)
+@@ -209,7 +209,6 @@
  #if MINIZ_X86_OR_X64_CPU
  /* Set MINIZ_USE_UNALIGNED_LOADS_AND_STORES to 1 on CPU's that permit efficient integer loads and stores from unaligned addresses. */
--#define MINIZ_USE_UNALIGNED_LOADS_AND_STORES 1
+ #define MINIZ_USE_UNALIGNED_LOADS_AND_STORES 0
 -#define MINIZ_UNALIGNED_USE_MEMCPY
-+#define MINIZ_USE_UNALIGNED_LOADS_AND_STORES 0
  #else
  #define MINIZ_USE_UNALIGNED_LOADS_AND_STORES 0
  #endif
 diff --git a/miniz_zip.h b/miniz_zip.h
-index 82502bd..3d92255 100644
+index 876d844..c9aa987 100644
 --- a/miniz_zip.h
 +++ b/miniz_zip.h
-@@ -150,7 +150,7 @@ typedef enum {
+@@ -94,6 +94,7 @@ typedef enum {
+     MZ_ZIP_FLAG_IGNORE_PATH = 0x0200,
+     MZ_ZIP_FLAG_COMPRESSED_DATA = 0x0400,
+     MZ_ZIP_FLAG_DO_NOT_SORT_CENTRAL_DIRECTORY = 0x0800,
++    MZ_ZIP_FLAG_DO_NOT_COMPUTE_CRC32 = 0x80000,
+     MZ_ZIP_FLAG_VALIDATE_LOCATE_FILE_FLAG = 0x1000, /* if enabled, mz_zip_reader_locate_file() will be called on each file as its validated to ensure the func finds the file in the central dir (intended for testing) */
+     MZ_ZIP_FLAG_VALIDATE_HEADERS_ONLY = 0x2000,     /* validate the local headers, but don't decompress the entire file and check the crc32 */
+     MZ_ZIP_FLAG_WRITE_ZIP64 = 0x4000,               /* always use the zip64 file format, instead of the original zip file format with automatic switch to zip64. Use as flags parameter with mz_zip_writer_init*_v2 */
+@@ -151,7 +152,7 @@ typedef enum {
      MZ_ZIP_TOTAL_ERRORS
  } mz_zip_error;
  
-- 
2.49.0





Acknowledgement sent to Ayan Das <bvits@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#78722; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 8 Jun 2025 16:00:03 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.