GNU logs - #60545, boring messages


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#60545: Keras h5py Version Mismatch
Resent-From: Zacchaeus Scheffer <Zacchaeus.Scheffer@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 04 Jan 2023 07:35:03 +0000
Resent-Message-ID: <handler.60545.B.167281766025923 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 60545
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 60545 <at> debbugs.gnu.org
X-Debbugs-Original-To: "bug-guix@HIDDEN" <bug-guix@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.167281766025923
          (code B ref -1); Wed, 04 Jan 2023 07:35:03 +0000
Received: (at submit) by debbugs.gnu.org; 4 Jan 2023 07:34:20 +0000
Received: from localhost ([127.0.0.1]:47537 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pCyHz-0006k3-KO
	for submit <at> debbugs.gnu.org; Wed, 04 Jan 2023 02:34:20 -0500
Received: from lists.gnu.org ([209.51.188.17]:60004)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <Zacchaeus.Scheffer@HIDDEN>)
 id 1pCsnj-0003HS-4i
 for submit <at> debbugs.gnu.org; Tue, 03 Jan 2023 20:42:46 -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 <Zacchaeus.Scheffer@HIDDEN>)
 id 1pCsni-0007zv-Ce
 for bug-guix@HIDDEN; Tue, 03 Jan 2023 20:42:42 -0500
Received: from mail-bn7nam10on20611.outbound.protection.outlook.com
 ([2a01:111:f400:7e8a::611]
 helo=NAM10-BN7-obe.outbound.protection.outlook.com)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Zacchaeus.Scheffer@HIDDEN>)
 id 1pCsng-0006mS-Av
 for bug-guix@HIDDEN; Tue, 03 Jan 2023 20:42:42 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=ngn4Z8lRx1vSx+gyr5PbwZiMV+I+K/FMcAl/Mg2rat8OTn6HolMXnYQ30YOa3c8urWkq3kWOL1Gtf+sj2hcehuIf0nsjqZouqy2Oq8JAu0n4bPC7c86p2s1OKpN/ShM0SxPqg0efYgQJtApchVKpGBuPbEolIujRTHOf/nfgkbS50z3kR27KLlACprJpml1fUzCrxzCSg/SW17jEQnPqSf+Uif46gAZPFzTphwehl9pzovXn69Fsf/jz3ZDkYjMbXW/Rrn49+7Yl/0GUGpk5X7V6LRF1KJhr+ImlcpHYZ6cc5XhJOku8N0wZtzBwRKBeyc/q7UKB/qbKXLdH2NW0AA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=W1Fo/KQajhqhpOiuMFYuSbkRpk3foNk57vVQxqwHbTE=;
 b=a3AcjjFve2hyQyDSaHMdwIMmROi/th6NgrLcb8jKdIWDeIFrogC5d4ORjADDcDYHN3o3Ozgrbsen4u9JNgJwYTeWnltSwQDdJFvzL8IRpMQn6jJFbiLyHHKjGAZvsy/0sZR/2Q+P/QxEMLkcQcnOlzcH3JMd4Ggx4GTuSfaFvq2RXE3Ss78/fvtebkYk4in68pot8pbCn6S868GGjV6qXkbPgCrvUtk7ed3S+VOkw0dO8iyVKfVBEAGjtp1mTDDbkmm9zuwZoOzLLEwwhiMg8mEDUAAy1vkmZ5DdWiUd3FYNkoyFchyk825/F8dGSDpzCsN43qebaLacu+OU8YO38w==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=synaptics.com; dmarc=pass action=none
 header.from=synaptics.com; dkim=pass header.d=synaptics.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=Synaptics.onmicrosoft.com; s=selector2-Synaptics-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=W1Fo/KQajhqhpOiuMFYuSbkRpk3foNk57vVQxqwHbTE=;
 b=Epv9d/YI63Z+8FutxkR7lgFTfWYpD8sQTjVT6DKq6L5P5CIKIliTo8IjcIr8ccWxnF5fFaSfBmGmtGb1OEC/G0IswSoFBJCEZuNbcKORWg+v5dG+YkTcay8KcT25ER34cT+RDeWZcP5x5R8/x4cs6OU0Z4mjbZe6G4iGHlcnnj8=
Received: from CY4PR03MB2759.namprd03.prod.outlook.com (2603:10b6:903:6a::10)
 by BY5PR03MB4966.namprd03.prod.outlook.com (2603:10b6:a03:1eb::16)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Wed, 4 Jan
 2023 01:37:35 +0000
Received: from CY4PR03MB2759.namprd03.prod.outlook.com
 ([fe80::affe:7339:9ca3:1ab]) by CY4PR03MB2759.namprd03.prod.outlook.com
 ([fe80::affe:7339:9ca3:1ab%10]) with mapi id 15.20.5944.019; Wed, 4 Jan 2023
 01:37:35 +0000
From: Zacchaeus Scheffer <Zacchaeus.Scheffer@HIDDEN>
Thread-Topic: Keras h5py Version Mismatch
Thread-Index: AQHZH9Wh0MLpLigzvEqp8wKBTEZluA==
Date: Wed, 4 Jan 2023 01:37:34 +0000
Message-ID: <CY4PR03MB27591E805538BEE2A385256098F59@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
msip_labels: 
authentication-results: dkim=none (message not signed)
 header.d=none;dmarc=none action=none header.from=synaptics.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: CY4PR03MB2759:EE_|BY5PR03MB4966:EE_
x-ms-office365-filtering-correlation-id: 8ec937f6-907f-4354-f109-08daedf4412a
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 4OlFfDZR1FE/CxEd8NfeKuO2WefNF+BR/oVowOcW25RVe9GetfklUWGASzUyoH7byTrGy966/vyJQumL5lMSDQVITeaWC0zIqEEjf+hVEzpVy1j4S/DJdAkyYgVs4HMhSdkYHe6P6LDNlVd+2wIajjotxm8PQtiBUpfbCf7ja6cSsjw00zWe6MTjCafwHRzfEaVbcOB9XlPklKeVstbClmvuuAh/7mtMcfq9WaP5nlZY/gXXylNt16a3taTtB4G4F2KA9Uxz8u6bMc/DKUo8BTutYAOvCyBuoZNyj2W/DVaw8NZ62z0i54FLqvhqZ/1o8eRw5WurilaHv5b6wdLUIKWg5SrcPA4b0brzh/yyAFV+W4b+LFJ2PfWF3RSLLaofGF/B0YPelOtS5hg8G0rv2vP7PMNcbVtUvmAKfwvkrqjAVox93KqLNxnCEDwWLKlZbZPDwzjYD5GGBuroD26aICrIE0c9HZTO3xqJseGveUzIchkB9orNu9nFwXRP0NaTweUFtpG6qo0GyC1tyuAMEEbia+herY2iK+qIY8hfhbxXSqAcC0xLculcUtNnR+nlHdVu0n88LzNnNld1KIvUxvYsH2x6d4eN5I2fughvQSonbTfQlc7RVQhERtWlA8IuAS6s9qvDLpdCYpk1hDJOHjxE5zX5j5LHHW2G8zrvBuo9OV5TpXAsg8mxzzhPJHmadtcm64JML4d9bPu2VkFHUI7EBcph6UoK/ZInJEBx3acav4Hdt7wt0ZumaorpWJpF
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:CY4PR03MB2759.namprd03.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(13230022)(396003)(376002)(346002)(136003)(39850400004)(366004)(451199015)(83380400001)(9686003)(26005)(55016003)(7696005)(33656002)(6506007)(38070700005)(86362001)(122000001)(38100700002)(186003)(478600001)(41300700001)(8676002)(2906002)(52536014)(19627405001)(5660300002)(8936002)(66556008)(71200400001)(66946007)(76116006)(66476007)(316002)(91956017)(64756008)(66446008)(6916009)(42413004)(32563001);
 DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: MHWyx5m8C4x5Pk/Ox2p/s6AEWh6mCYpyfiZTdAoDdheVNpNAZ1eqP1tYJrafNmFfn6+G61QgeSgGnD26H68RMn/Kw6uZoNdJqdbHfHYqxzeR900l/a56fdZCDtATR0DyVavZAnaxYg1TTcpvPj/0e59hALxGUOIt/XImlX5zaX17BWrMCicEK2EWGwgbPWmoyH/qAQ2S1dfKhJRfXjL8BWRgE/RGudPyXIG9f48SpU1d+/0lYULELEZP76V3zQadTRUSZbK+t+tRrKHBBV6wwDFvJlD6433kDwOVSzDCbS2Chi8cOjLNSSgUZR316+vRSsEkATBX7hcv5UOUS18yMru3IO0CXcV/wO0NuTBXdollZBwDvBplV5/USoWASmfX97vC7YC6hbeQNu/snRifs7cMZDEvcIqA2DctaPlikURwruqKGGMBVjyFrF7kr3cEvgXlXFP8ThLHtU3FawHzBtoWZHqEGbpja5MDSrswok/z94c/gL07IbpaFmru2mxlhOwf3f8NyhZNCkMj91GSBVf16VuaYsT3QvMtU5GLApTlsrCApME/g7BiATHZaJa7H82VpLb3igokkQ07evB6EFHrgt2e734JVrBG7jI6XkDQhw75AGZ8CIFZrUWht8PmFbC9i0aqHddCqbNrNnO7pee2U24rrKuRas3OrkIqTh51SLFF3Zy9K12YegiehCxeV7UotDwS1HHVtxhSgpvgZBkE2hN1EqNOh9NmySDY/g3HkoyiWCkuVVjsxPrkIjAd7BPgqELDka0CllweqCeQS8EChubT4fR3EFU8bXoNafd5OkeQRwz3Pj+Mwu8uU1lvKaKO+dZs2JS1EEa94Ctacec/6hIDHFtL65fwhrHYAAPR5ZZRwshCPWChEjRNmkSH34aei21NaVZqr6vffxndP1farz0ueLOyh1jiuKF+b02ch8Zbfwlz0y3oIyE8NLb20E+m+MvQzc0efauq4y9vzYn+NQis7YPGVWYHpWI6U4hiU6WxZiW7htfjHFNCbQz52mxAbmRf8YejhfIW9bRvl41j9lQPaLlgO2CkSOHkhENESfiAMgCpHjivxcb6502lYB3iIGXM9qwtepUv668DAkZpMNt+kuvjnXSkKVQ357bwfpQf2BMu+kLprRSFj+lGdwr2Dx1assxvidzeulnLPtqsaGQ7hU0oP0royY4fYcFTMx0FdL8LzcmTGWbd2i0fbnoASierX+BJHqSN02e+vgZTgQHTAi8C0oDgyWis6YUXf8hliQdUOEFoJoLIu+NAliuaR4SGw9UKLsj6BWBlVBqe2DvT5YP5sUCXax2I6QEaMPEJ6wz5AE4UA6Jt99uqgO0H8C+yephUfHkY/VNnls7aW3csaksDQgW5Zv1hdkBPTLE7fhJF3dugLrFmgvYfxFeueH4B/9z6/BfdQ4AeKs/trSRCKmIOOn3wryHx1zMXTJj+ECyb+JN0zwl4JrjSTNeas74RDwea0VZjND1Inn7Si/Feo0jtVL1SUL8juycnJlPT/WbbU9a0Qk62IVG1eqy+ksm5GkGaZoA/hriz9dOjCywBkfPtzB72aBszKO7ssj8+x6wW1ZzR0Bs03FXo
Content-Type: multipart/alternative;
 boundary="_000_CY4PR03MB27591E805538BEE2A385256098F59CY4PR03MB2759namp_"
MIME-Version: 1.0
X-OriginatorOrg: synaptics.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: CY4PR03MB2759.namprd03.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 8ec937f6-907f-4354-f109-08daedf4412a
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jan 2023 01:37:34.6857 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 335d1fbc-2124-4173-9863-17e7051a2a0e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: HoeM3oP5l6NvTMNwCCuzV6t6dTv5v0IsBpT1edT6elnonklUN15yl7fWn7nYAovPiWF+ttBYrzjqBqCVS7qwew==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR03MB4966
Received-SPF: pass client-ip=2a01:111:f400:7e8a::611;
 envelope-from=Zacchaeus.Scheffer@HIDDEN;
 helo=NAM10-BN7-obe.outbound.protection.outlook.com
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Mailman-Approved-At: Wed, 04 Jan 2023 02:34:18 -0500
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: -2.4 (--)

--_000_CY4PR03MB27591E805538BEE2A385256098F59CY4PR03MB2759namp_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Guix!


It would seem that the current keras version expects an earlier h5py versio=
n for loading models.  Specifically, running:

from tensorflow.keras.models import load_model
model =3D load_model("model.h5")

fails with:

  File "/gnu/store/idfn4l2kxil9id21v1yci4jcw6103fah-profile/lib/python3.9/s=
ite-packages/tensorflow/python/keras/engine/saving.py", line 228, in load_m=
odel
    model_config =3D json.loads(model_config.decode('utf-8'))
AttributeError: 'str' object has no attribute 'decode'

The above works fine in my local pip environment (see below).  A quick sear=
ch online indicates that this can be fixed by downgrading h5py to version 2=
.10.  The current h5py version in guix is 3.6.

My assumption is that this could also be fixed with an upgrade to keras, bu=
t upgrading keras sounds much more involved.  For a short-term fix, would i=
t be possible to add back a package definition for an earlier h5py in addit=
ion to the current version?  I'm sure an appropriate version exists somewhe=
re in guix's git history, though my git-foo is too weak for me to check.


Thanks,
Zacchae


P.S.
working (pip): keras 2.10.0, h5py 3.7.0
not working (current guix): keras 2.2.4, h5py 3.6.0

--_000_CY4PR03MB27591E805538BEE2A385256098F59CY4PR03MB2759namp_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div class=3D"elementToProof"><span style=3D"font-family: Calibri, Arial, H=
elvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-colo=
r: rgb(255, 255, 255);">Hi Guix!</span></div>
<div class=3D"elementToProof"><span style=3D"font-family: Calibri, Arial, H=
elvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-colo=
r: rgb(255, 255, 255);"><br>
</span></div>
<div class=3D"elementToProof"><span style=3D"font-family: Calibri, Arial, H=
elvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-colo=
r: rgb(255, 255, 255);"><br>
</span></div>
<div class=3D"elementToProof"><span style=3D"font-family: Calibri, Arial, H=
elvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-colo=
r: rgb(255, 255, 255);">It would seem that the current keras version expect=
s an earlier h5py version for loading
 models.&nbsp; Specifically, running:</span></div>
<div class=3D"elementToProof"><span style=3D"font-family: Calibri, Arial, H=
elvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-colo=
r: rgb(255, 255, 255);"><br>
</span></div>
<div class=3D"elementToProof"><span style=3D"font-family: Calibri, Arial, H=
elvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-colo=
r: rgb(255, 255, 255);">from tensorflow.keras.models import load_model</spa=
n></div>
<div class=3D"elementToProof"><span style=3D"font-family: Calibri, Arial, H=
elvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-colo=
r: rgb(255, 255, 255);">model =3D load_model(&quot;model.h5&quot;)</span></=
div>
<div class=3D"elementToProof"><span style=3D"font-family: Calibri, Arial, H=
elvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-colo=
r: rgb(255, 255, 255);"><br>
</span></div>
<div class=3D"elementToProof" style=3D"font-family: Calibri, Arial, Helveti=
ca, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb=
(255, 255, 255);">
fails with:</div>
<div class=3D"elementToProof ContentPasted0" style=3D"font-family: Calibri,=
 Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); backgr=
ound-color: rgb(255, 255, 255);">
<br>
</div>
<div class=3D"elementToProof ContentPasted0" style=3D"font-family: Calibri,=
 Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); backgr=
ound-color: rgb(255, 255, 255);">
&nbsp; File &quot;/gnu/store/idfn4l2kxil9id21v1yci4jcw6103fah-profile/lib/p=
ython3.9/site-packages/tensorflow/python/keras/engine/saving.py&quot;, line=
 228, in load_model
<div class=3D"FluidPluginCopy ContentPasted0">&nbsp; &nbsp; model_config =
=3D json.loads(model_config.decode('utf-8'))</div>
<div class=3D"FluidPluginCopy ContentPasted0">AttributeError: 'str' object =
has no attribute 'decode'</div>
<br>
</div>
<div class=3D"elementToProof ContentPasted0" style=3D"font-family: Calibri,=
 Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); backgr=
ound-color: rgb(255, 255, 255);">
The above works fine in my local pip environment (see below).&nbsp; A quick=
 search online indicates that this can be fixed by downgrading h5py to vers=
ion 2.10.&nbsp; The current h5py version in guix is 3.6.</div>
<div class=3D"elementToProof ContentPasted0" style=3D"font-family: Calibri,=
 Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); backgr=
ound-color: rgb(255, 255, 255);">
<br>
</div>
<div class=3D"elementToProof ContentPasted0" style=3D"font-family: Calibri,=
 Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); backgr=
ound-color: rgb(255, 255, 255);">
My assumption is that this could also be fixed with an upgrade to keras, bu=
t upgrading keras sounds much more involved.&nbsp; For a short-term fix, wo=
uld it be possible to add back a package definition for an earlier h5py in =
addition to the current version?&nbsp; I'm
 sure an appropriate version exists somewhere in guix's git history, though=
 my git-foo is too weak for me to check.</div>
<div class=3D"elementToProof ContentPasted0" style=3D"font-family: Calibri,=
 Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); backgr=
ound-color: rgb(255, 255, 255);">
<br>
</div>
<div class=3D"elementToProof ContentPasted0" style=3D"font-family: Calibri,=
 Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); backgr=
ound-color: rgb(255, 255, 255);">
<br>
</div>
<div class=3D"elementToProof ContentPasted0" style=3D"font-family: Calibri,=
 Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); backgr=
ound-color: rgb(255, 255, 255);">
Thanks,</div>
<div class=3D"elementToProof ContentPasted0" style=3D"font-family: Calibri,=
 Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); backgr=
ound-color: rgb(255, 255, 255);">
<div>Zacchae</div>
<div><br>
</div>
<div><br>
</div>
<div>P.S.</div>
<div>working (pip): keras 2.10.0, h5py 3.7.0</div>
<div>not working (current guix): keras 2.2.4, h5py 3.6.0</div>
</div>
</body>
</html>

--_000_CY4PR03MB27591E805538BEE2A385256098F59CY4PR03MB2759namp_--




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Zacchaeus Scheffer <Zacchaeus.Scheffer@HIDDEN>
Subject: bug#60545: Acknowledgement (Keras h5py Version Mismatch)
Message-ID: <handler.60545.B.167281766025923.ack <at> debbugs.gnu.org>
References: <CY4PR03MB27591E805538BEE2A385256098F59@HIDDEN>
X-Gnu-PR-Message: ack 60545
X-Gnu-PR-Package: guix
Reply-To: 60545 <at> debbugs.gnu.org
Date: Wed, 04 Jan 2023 07:35:03 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-guix@HIDDEN

If you wish to submit further information on this problem, please
send it to 60545 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
60545: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D60545
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#60545: Keras h5py Version Mismatch
Resent-From: zimoun <zimon.toutoune@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Fri, 06 Jan 2023 16:31:02 +0000
Resent-Message-ID: <handler.60545.B60545.16730226197343 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 60545
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Zacchaeus Scheffer <Zacchaeus.Scheffer@HIDDEN>, 60545 <at> debbugs.gnu.org
Received: via spool by 60545-submit <at> debbugs.gnu.org id=B60545.16730226197343
          (code B ref 60545); Fri, 06 Jan 2023 16:31:02 +0000
Received: (at 60545) by debbugs.gnu.org; 6 Jan 2023 16:30:19 +0000
Received: from localhost ([127.0.0.1]:55672 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pDpbm-0001uN-Jb
	for submit <at> debbugs.gnu.org; Fri, 06 Jan 2023 11:30:18 -0500
Received: from mail-wm1-f50.google.com ([209.85.128.50]:43736)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1pDpbj-0001u4-TX
 for 60545 <at> debbugs.gnu.org; Fri, 06 Jan 2023 11:30:17 -0500
Received: by mail-wm1-f50.google.com with SMTP id
 k22-20020a05600c1c9600b003d1ee3a6289so1440311wms.2
 for <60545 <at> debbugs.gnu.org>; Fri, 06 Jan 2023 08:30:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:message-id:date:references:in-reply-to:subject:to:from
 :from:to:cc:subject:date:message-id:reply-to;
 bh=19ptH7oWU8GeTJM336u0ODhPhxKUmBshEo3V3+fs4ic=;
 b=ALmI6L6bsVrMMmM9/lLZ1e/dwLuQxS2qcjKT8u/6UpC/XUAOJa1etSOom3cJp1VEY+
 tZ2WvIZO52yfIUVqucZGjxepU1kffULdgsPFGbscAnSUGjL8AvidWubOu5LgLFchdK4b
 hfZj5tqIivTiPD6xbnfA4r0goyPLQq7CpHl+WmlgXrQyuvoX8ixj03bh5TzPAVbsF5du
 8YV8FInnrQDyBEx/QoOtvzKld4A5uvwMzs8ooVfdD2A3j+UsjmErZaotUUMlKj/6PUX9
 UzmAyrpXvjracuM79G2uK3FJ821MEDKnKx/BPFLiz/8ybjaUoV/26vA/HR2HzVFUOD67
 1IdA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=mime-version:message-id:date:references:in-reply-to:subject:to:from
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=19ptH7oWU8GeTJM336u0ODhPhxKUmBshEo3V3+fs4ic=;
 b=VhPZUDbw+0En5FWlI6epRDxfQhS2wGZ5aYR52tLNcfzg6ZkPgoKJ/IJChBLGClLyMC
 f5Tnmyvw45zOBuW363Yxklb0eFor6Xx7DVJhGijzDQVOmBxxWYF7x4u4eTw+2177VAj6
 48McuQ2idPd8u4D743gfxeYeOspXhsxqRkobJ0SxrZ0I1tbKv1KhSMwPJz9ZKFB5UOeP
 1lMyMPiBGuRrMZZ0A84drg1biov05MEQzBwQxbYf21I21hbYEL9YbL1W01lID6elPCHf
 fC31xGWc2D1NWvmSE+yLnrT/jbivlpaHRlcZ2ojJU41zDQwW7crvMzd9O/9ddbK5bchc
 sNoQ==
X-Gm-Message-State: AFqh2kqHQjAJnKmcv1/Rt0WTGngwnTaV1eRpNWeN7MASxTFm6fx92MyE
 rxbUdnUd+wQsILXTYhAO4A+ePbc/S2w=
X-Google-Smtp-Source: AMrXdXtHT8ubdXV4QJ0dCRE3ghUz0cdc0u30sFHodkFJTeJujGFSi+KKPu9nLYdaJylekiX96h7tuQ==
X-Received: by 2002:a05:600c:1d15:b0:3d5:b45a:d792 with SMTP id
 l21-20020a05600c1d1500b003d5b45ad792mr10913576wms.0.1673022609846; 
 Fri, 06 Jan 2023 08:30:09 -0800 (PST)
Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id
 t12-20020a05600c198c00b003d9de0c39fasm2475265wmq.36.2023.01.06.08.30.09
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 06 Jan 2023 08:30:09 -0800 (PST)
From: zimoun <zimon.toutoune@HIDDEN>
In-Reply-To: <CY4PR03MB27591E805538BEE2A385256098F59@HIDDEN>
References: <CY4PR03MB27591E805538BEE2A385256098F59@HIDDEN>
Date: Fri, 06 Jan 2023 15:40:41 +0100
Message-ID: <87o7rbiv4m.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
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 (-)

Hi,

On Wed, 04 Jan 2023 at 01:37, Zacchaeus Scheffer <Zacchaeus.Scheffer@HIDDEN> wrote:

> working (pip): keras 2.10.0, h5py 3.7.0
> not working (current guix): keras 2.2.4, h5py 3.6.0

Indeed, it is collateral to ea403bf290f4bf8c7bae314e32dbb90653f92996

--8<---------------cut here---------------start------------->8---
gnu: python-h5py: Update to 3.6.0.

* gnu/packages/python-xyz.scm (python-h5py): Update to 3.6.0.
[arguments]: Set HDF5_DIR variable instead of patching files.
--8<---------------cut here---------------end--------------->8---

Well, the update of Keras to 2.11.0 (the current latest) requires some
work.  First, fetch from Github instead of PyPI because the sources are
not available after v2.6.0; e.g.,

    https://pypi.org/project/keras/2.11.0/#files

Then, second adapt the recipe.  Do you want to give a try?


Cheers,
simon





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


Received: (at control) by debbugs.gnu.org; 9 Jan 2023 12:20:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 09 07:20:33 2023
Received: from localhost ([127.0.0.1]:35952 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pEr8j-0005YQ-At
	for submit <at> debbugs.gnu.org; Mon, 09 Jan 2023 07:20:33 -0500
Received: from mail-wm1-f50.google.com ([209.85.128.50]:36402)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1pEr8d-0005XN-C6
 for control <at> debbugs.gnu.org; Mon, 09 Jan 2023 07:20:27 -0500
Received: by mail-wm1-f50.google.com with SMTP id
 c4-20020a1c3504000000b003d9e2f72093so4024282wma.1
 for <control <at> debbugs.gnu.org>; Mon, 09 Jan 2023 04:20:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=subject:from:to:message-id:date:from:to:cc:subject:date:message-id
 :reply-to; bh=WgiaIP6E4rX5bDD3v6ii69g4hA1E9csZoSkYQM8RZAw=;
 b=QwKXLMbxJ5C93x4GsU9OEB6gL9Hs6L1l1qVqguukTeAIF2Bvwzhwba5RNCk/g9psFT
 TdZqm1ktGockSb7OUmT5ZCFVaR2Jw0iFftCXhygHh7HXuq71qJrWuFSAr2+bQ3cYNl9N
 DqoK8RpEh9zdov+XOO0XVn3y7bZv14FU979WsNddFIFPuK3EEfsfJpsTY9+OrhmTZ47e
 PPeGtXWjcZahC8tCAiJatabLfO4Q+FcPW5gaJJ0zP2J/t4q9BSSH3MXFMAww6UZHTaDZ
 2SQO46pldlYkbKKqSpWlEDdQfRtdE7ECwhU1jtB0QlfGLCqRy62VTO77OsI2o0d+x3Xg
 /P9w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=subject:from:to:message-id:date:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=WgiaIP6E4rX5bDD3v6ii69g4hA1E9csZoSkYQM8RZAw=;
 b=mSTgzncRhopZPYTou/N7iVkGGntZy8EwSef+f/oPXuXL0l4e/eQBHql5TKdZo2JW6i
 1XUgc2nbwSofkP3JyvXKr7LmIBQ4GSLe1LnLuyuaQstYy8pOnmze6aMWBS7RXFEfxy4x
 lEpmFiFQnw8V6h2ubBcJrTLsYYGWfy2Lzw4Mc0SDK0X/FX3CSAI+s7zwqvNUfEG8LwmT
 niITT3LAnOa4nAEq8GcLG8wOcVaDmLoJETcHSY1jjJ//8PUrmkAll+3Ao8EPgC8LM9bX
 FPu6QnbbWmjACfw5AmqWGST1jvgGtqt399V/+IWi2ACzajm7ft2rnITiOnsILvdhDVO0
 mHSw==
X-Gm-Message-State: AFqh2kq7d8fOeHifJFegXAc1AEfcqUhzlm+Z7F3s1vIMcfI/1BiE8RLB
 hQUx6qO9TyRXkFdtonn2H50epR8ExpM=
X-Google-Smtp-Source: AMrXdXtcwDqDbo7WpZeQVkydrpwp9Qd3Nd4WMoO4BaaEymqYNBzWDhdriUYZdfanXOqNRcUi8ISI2w==
X-Received: by 2002:a05:600c:3c88:b0:3d9:8635:a901 with SMTP id
 bg8-20020a05600c3c8800b003d98635a901mr9407303wmb.3.1673266821569; 
 Mon, 09 Jan 2023 04:20:21 -0800 (PST)
Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id
 m7-20020a05600c3b0700b003cfd4cf0761sm17599549wms.1.2023.01.09.04.20.21
 for <control <at> debbugs.gnu.org>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 09 Jan 2023 04:20:21 -0800 (PST)
Date: Mon, 09 Jan 2023 13:00:23 +0100
Message-Id: <874jszzzmw.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: Simon Tournier <zimon.toutoune@HIDDEN>
Subject: control message for bug #60608
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: control
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 (-)

merge 60608 60545
quit





Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#60545: Keras h5py Version Mismatch
Resent-From: Zacchaeus Scheffer <Zacchaeus.Scheffer@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 01 Feb 2023 01:57:01 +0000
Resent-Message-ID: <handler.60545.B60545.167521660127188 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 60545
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: zimoun <zimon.toutoune@HIDDEN>, "60545 <at> debbugs.gnu.org" <60545 <at> debbugs.gnu.org>
Received: via spool by 60545-submit <at> debbugs.gnu.org id=B60545.167521660127188
          (code B ref 60545); Wed, 01 Feb 2023 01:57:01 +0000
Received: (at 60545) by debbugs.gnu.org; 1 Feb 2023 01:56:41 +0000
Received: from localhost ([127.0.0.1]:55434 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pN2Ma-00074R-5y
	for submit <at> debbugs.gnu.org; Tue, 31 Jan 2023 20:56:41 -0500
Received: from mail-dm6nam11on2040.outbound.protection.outlook.com
 ([40.107.223.40]:20128 helo=NAM11-DM6-obe.outbound.protection.outlook.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <Zacchaeus.Scheffer@HIDDEN>)
 id 1pMzd1-0002i8-12
 for 60545 <at> debbugs.gnu.org; Tue, 31 Jan 2023 18:01:30 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=NqbB4ei+S4Gy8XTv6+0zNMgn/ytv1OqwZ8SY8d2LJiIAg3GHRztDN2xEeISKzOZJG5VkrPKBep6reEcsnXHaEQy3X7YCyjuRHt9FY0Vw0w3ZQ4jIpRBd39mTDS6kukww69tFgVYGW9Ol8oyj35aLhv301UsVsgTq+T0PuvsI/AkgN+O3QRo5NfJtO6wv+LId8/ddIfvXeFxaNybGEpXbmpX018peyMVX5VvwV8uPYfnJ1jnnYdEpIMNTHgV6Vix7QqC857X22rDoHCsCuhXVl8l8APJfDyFnbvve3r6IcikH70kexGwIk8nRFesgYxkClM5yQTjj0qemTTMLO2wmog==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=O3/DRil/m0kUs/mxKCHruDll4BIdUsiePRqOYN0XlaI=;
 b=JRzkJuJoFSn5H89SIuZwbGebH5xZSd3wt4OmfxfHZdrwu4zpRrapO6uYZk0eYSAWZIDpjx2kbCxLiFGpWJoVbVd+gW0vdAg/dQbqkQV+fvP6QeLfRwX/h2OFNI15otd9QDzbA3Pn10e+28DJwfC9xFObVNcdMsUbOfDholn9kadnWUyJ9QSg9eHLDhgDP5LA1JwmDHRbgGXV/R8A0MNFGD0lqIjhUVnEt8M5FrUVTrgZIUgnusDEvcHQKSN4rqMpuISDzrRpE29HBLDXL6VdZuTqcn6Gx0NGWSUCNuAh/UdOcsiVPHPDtft1KBwZw4/Cz1/DjhaM3/ATYeY1FAL5Ow==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=synaptics.com; dmarc=pass action=none
 header.from=synaptics.com; dkim=pass header.d=synaptics.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=Synaptics.onmicrosoft.com; s=selector2-Synaptics-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=O3/DRil/m0kUs/mxKCHruDll4BIdUsiePRqOYN0XlaI=;
 b=EqXAwX45GDg7aFpggigf2NP6aNshEPTFsJDOnGzr8FO5xha9zV8npvS0ey4ivfM+E1e06DZzz6M5Sj8eUML7lc6FasmTGyYLIyta14X96bRY9hJ5O6sTCdfeI2y2pYqb2BYg1CbsxUPFzLZbYNGx2jwS73tmwdo2RZ1OEdoyYqs=
Received: from CY4PR03MB2759.namprd03.prod.outlook.com (2603:10b6:903:6a::10)
 by SJ0PR03MB5630.namprd03.prod.outlook.com (2603:10b6:a03:28b::16)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.22; Tue, 31 Jan
 2023 23:01:16 +0000
Received: from CY4PR03MB2759.namprd03.prod.outlook.com
 ([fe80::61f2:5ef2:e67b:78cd]) by CY4PR03MB2759.namprd03.prod.outlook.com
 ([fe80::61f2:5ef2:e67b:78cd%12]) with mapi id 15.20.6043.036; Tue, 31 Jan
 2023 23:01:16 +0000
From: Zacchaeus Scheffer <Zacchaeus.Scheffer@HIDDEN>
Thread-Topic: bug#60545: Keras h5py Version Mismatch
Thread-Index: AQHZH9Wh0MLpLigzvEqp8wKBTEZluK6RegeAgCfUTxc=
Date: Tue, 31 Jan 2023 23:01:16 +0000
Message-ID: <CY4PR03MB27599F8ABE114B8822E4ABFF98D09@HIDDEN>
References: <CY4PR03MB27591E805538BEE2A385256098F59@HIDDEN>
 <87o7rbiv4m.fsf@HIDDEN>
In-Reply-To: <87o7rbiv4m.fsf@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
msip_labels: 
authentication-results: dkim=none (message not signed)
 header.d=none;dmarc=none action=none header.from=synaptics.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: CY4PR03MB2759:EE_|SJ0PR03MB5630:EE_
x-ms-office365-filtering-correlation-id: 58104f79-178b-49d8-a4a0-08db03df0eb7
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Q8JAdk3F/QJ3r9IeOUiyMd7WwKgHWj97sTtNS0wfqfKineviKJH5vgfEyjBKDveCKfUuOLXzCAs9oBeA+4Mn8Hcxjd9+pLojSv1VCPvifYlXTHw+piwFuEILL/VCDTxMOYmQs29RbOXtKXfvSLkMZRn+PLICxV2jnMJwWmdTLEE5VK2qDMJ4rfa950H91HD77SHIfeMd/2F8u2/sHjrVwaTWTcyn6EChkgDzOxf5JAJ/P2O8iKBt2P8VPHiS+qW6DMIFH1bD7l+NcQo3MfNipgpoRBEvyyGFbCUlGoH9B94d/MewB9IcJFPacqSMOXrsQlRJTSJy1mxD1ntGw7sqKw+LTI6zmXiXIcQMESU7Y8rGnCIMg5jR2/hnkEkrG8NSHHc+FeFv567LYtxmhPfQiCWbc405mw496eWpsoDDvY4ypBdDDZecoacAOUDEbKCArp5ptiWzXqhJBMUTL2WwHV8ajLbadzUvkSe+Ra1W/XAFHFqzQc5o4wgmhgdKQcaK5UT9vSwsX+mBfPIXoZp1tp0eADa/56mmEKNEGQXA1Y7m0j6mDfGvwEbVvmMU+0ZZZHkUO/e4SfGysji1p/k7ZLwVShU5SnSojYhp6GUvUFqFY0DJfLvXkYidr+LzybygZl+Zs4q3VMViIRU1Y5Lnc86lcTT4F/cB96A8nlVdiH/T8TsbG4oQpz3nwODywEb4866QsWwQ566skSaYoVDou5l3xeiJgYhBrFlO1jB2RacOKhapGE2w/uC6tgiTjq+C6J8g5V8d+i1kRUbmqpeyzQISvzpQc4dAHGBTjJvRlckeYdLnHpYd5A170Ln/tKuI
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:CY4PR03MB2759.namprd03.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(13230025)(136003)(346002)(396003)(366004)(39860400002)(376002)(451199018)(8676002)(110136005)(66476007)(7696005)(966005)(55016003)(478600001)(71200400001)(2906002)(316002)(41300700001)(8936002)(66946007)(76116006)(91956017)(66446008)(64756008)(66556008)(52536014)(5660300002)(166002)(86362001)(38070700005)(38100700002)(122000001)(19627405001)(33656002)(26005)(186003)(9686003)(83380400001)(53546011)(6506007)(42413004)(32563001)(554374003);
 DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: UwAYu2jEpochZjen90ZUSHLPV8i4hyQcgOk2tY8qgaHeATBP6k9LZj2pIW69JrXMJLKLNdGMAFA0zzDltEgJomYtjTMUHqkUc9gkADfXJco1ZIULdTAGtCuGuPDcS8gw/zVp4S79VvxD219QIJ2BaTgSZzPHsWQyJmEAs7HMV8SJ92ak0E/DOAsqWO/JkK9iTlyea1Pbeiqx1RooCONSZPGReIFr3KTLyQPixILjwYoxi1NAeNdaXJ6GkA0dngLKEHOLsUgUVApGSq2DA/HfYQpBlYV253acm5Ko5fpqh81GcoWOGiX4gPkcxdl9N7bioakFxExO9dfbIcZJHofl68NtqxeUw6Or1m0SWMgb/Ia6nGsgZ6Va9p/G3wkBbu7zSZhL60Pn34G0Ewz4PRFfFeXq3pSydIwK0R6A9O7bYKXsgzci2WfPax10Fy+jOdKOGP42VZwaUUCEaHw0V2IhxhVRxqMTMi7wlTFhe9OG5tCGN9Jc3XIqNLGUSxwRAvTQfXTUM+iUnqcE3nT8b7RxuM24Ke4LZ9/b6qeuTs9YfQI5G5wwMsW5AyVekvljU87iGiwvOf6xcd6lgT+jdNYhdNo3u18oe8OCQBkZalNaMQqdr3NP1HWi8z03tM5vhvxUSCA4Jhy3/r6xYMWQChKiBG/UL54vA6gm7/9dgsJyJe/ouJn3yobBbQFlblvuV8Yy9weij2/iBA9Nn/W9X3E/WrnkzK3XYkrEJSjjy/McjF99qojqu4FwtpF0ZFz+zm3vmBMvbc/YA7gmk3LH8MlBg4sH1aPlHu4hXbye5ZnuMaunf/M5wWsMu/0vXSDxOstGQ18flzUHBGabnpbEA69O8QQJhgNpz012/P/mw/aXv5K9ZBhbD+jfcd2q0wX3l4Qpam8wFPg732KN6SmmARjb4zOeCUHdbwjC8kERjz8SW9puhozvTGvEtB4+dBPDheJaZi+lEiqSJ2WHvcqLXMo/5oxPrl05NEawKUaShZ8opxvvgE49BqUww3LTPAWKvgvUSOJtcEBAbulqgjeaKFvQqa1jSOt5TBC/1QT76jpi6iFjhrhFJW5PEbrKwo4V52cvNATF5MAzQ88qUCafTwSWupkA9Txt/U00NfBmox5h2bJhUx3rwyZX+1yVPcEKIsMSJoLVyJN/salRZXb22ikNGt5+ntRDGNBcHy6kYDOXID2W8NU6/HawylW9D+8F9ScHrVhx5u6XoISOR0+7D0zlxwUJImAQQ57uUG0g8CczBVj/efiW1M7V1veduGjb3H/G9ni2Dyc99Ux4JiS2EUkztJaz3NvGVHvzJa5xyl7mwqldpxVIcFVS5Jdr5auRyz8nHUjxAMi8JTVSJHRHzWLy96TY03VGSqvX47QWCtUtFVv8adBqcCYSjHU6+fF2s/aD2KwbfkxqsZlGwhf4HDww2SuHYuFE7jHzo7XXqp6z45l94oH0spv0fuNq48mxjMqQApFP2rWJQ/Y4+8+qRLRNyq+3AQoSnd+lVhReMUHhk7wcAikVhLNLgs941XdPLioV4LNWRK0xil6vFl4lfPSxW4eDxCRTuXiqb8c3qb84N8o1YYBuioAJq6T6kKwjzsGY
Content-Type: multipart/alternative;
 boundary="_000_CY4PR03MB27599F8ABE114B8822E4ABFF98D09CY4PR03MB2759namp_"
MIME-Version: 1.0
X-OriginatorOrg: synaptics.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: CY4PR03MB2759.namprd03.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 58104f79-178b-49d8-a4a0-08db03df0eb7
X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Jan 2023 23:01:16.2095 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 335d1fbc-2124-4173-9863-17e7051a2a0e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: sMDesNET6vcVjY7M15Jo7t2lYYgGC+922+9HWDRekZLvu/dHUIUw6ME9XLrhRzt5FjwgNzaQGHs79NyaIAq40g==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR03MB5630
X-Spam-Score: -0.0 (/)
X-Mailman-Approved-At: Tue, 31 Jan 2023 20:56:39 -0500
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 (-)

--_000_CY4PR03MB27599F8ABE114B8822E4ABFF98D09CY4PR03MB2759namp_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,

I should probably mention that I am not looking into this.  I want to learn=
 more guix, but keras and the additional dependencies required for later ve=
rsions is kind of a monster to me at the moment.

Thanks,
Zacchae
________________________________
From: zimoun <zimon.toutoune@HIDDEN>
Sent: Friday, January 6, 2023 6:40 AM
To: Zacchaeus Scheffer <Zacchaeus.Scheffer@HIDDEN>; 60545@HIDDEN=
u.org <60545 <at> debbugs.gnu.org>
Subject: Re: bug#60545: Keras h5py Version Mismatch

CAUTION: Email originated externally, do not click links or open attachment=
s unless you recognize the sender and know the content is safe.


Hi,

On Wed, 04 Jan 2023 at 01:37, Zacchaeus Scheffer <Zacchaeus.Scheffer@synapt=
ics.com> wrote:

> working (pip): keras 2.10.0, h5py 3.7.0
> not working (current guix): keras 2.2.4, h5py 3.6.0

Indeed, it is collateral to ea403bf290f4bf8c7bae314e32dbb90653f92996

--8<---------------cut here---------------start------------->8---
gnu: python-h5py: Update to 3.6.0.

* gnu/packages/python-xyz.scm (python-h5py): Update to 3.6.0.
[arguments]: Set HDF5_DIR variable instead of patching files.
--8<---------------cut here---------------end--------------->8---

Well, the update of Keras to 2.11.0 (the current latest) requires some
work.  First, fetch from Github instead of PyPI because the sources are
not available after v2.6.0; e.g.,

    https://urldefense.proofpoint.com/v2/url?u=3Dhttps-3A__pypi.org_project=
_keras_2.11.0_-23files&d=3DDwIBAg&c=3D7dfBJ8cXbWjhc0BhImu8wVIoUFmBzj1s88r8E=
GyM0UY&r=3D1moyBSYvgSFmdTYHNEHEwakZGFkPl3pixLezH1qWWXFZPpSXOvpoeGr4XIg6G8V0=
&m=3DNqD4egq46utBpoyT-8Gr6A3lESGvdg2j7CIMrB0r_y4I-pFRV2Gxn2-Lb7s7tsyD&s=3DR=
o23h-Sd5x7VKOXeIYl4j5KGqDMAyZprruKUgdacbCo&e=3D

Then, second adapt the recipe.  Do you want to give a try?


Cheers,
simon


--_000_CY4PR03MB27599F8ABE114B8822E4ABFF98D09CY4PR03MB2759namp_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class=
=3D"elementToProof">
Hi,</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class=
=3D"elementToProof">
<br>
</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class=
=3D"elementToProof">
I should probably mention that I am not looking into this.&nbsp; I want to =
learn more guix, but keras and the additional dependencies required for lat=
er versions is kind of a monster to me at the moment.</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class=
=3D"elementToProof">
<br>
</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class=
=3D"elementToProof">
Thanks,
<div>Zacchae</div>
</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class=
=3D"elementToProof">
</div>
<div id=3D"appendonsend"></div>
<hr style=3D"display:inline-block;width:98%" tabindex=3D"-1">
<div id=3D"divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" st=
yle=3D"font-size:11pt" color=3D"#000000"><b>From:</b> zimoun &lt;zimon.tout=
oune@HIDDEN&gt;<br>
<b>Sent:</b> Friday, January 6, 2023 6:40 AM<br>
<b>To:</b> Zacchaeus Scheffer &lt;Zacchaeus.Scheffer@HIDDEN&gt;; 605=
45 <at> debbugs.gnu.org &lt;60545 <at> debbugs.gnu.org&gt;<br>
<b>Subject:</b> Re: bug#60545: Keras h5py Version Mismatch</font>
<div>&nbsp;</div>
</div>
<div class=3D"BodyFragment"><font size=3D"2"><span style=3D"font-size:11pt;=
">
<div class=3D"PlainText">CAUTION: Email originated externally, do not click=
 links or open attachments unless you recognize the sender and know the con=
tent is safe.<br>
<br>
<br>
Hi,<br>
<br>
On Wed, 04 Jan 2023 at 01:37, Zacchaeus Scheffer &lt;Zacchaeus.Scheffer@syn=
aptics.com&gt; wrote:<br>
<br>
&gt; working (pip): keras 2.10.0, h5py 3.7.0<br>
&gt; not working (current guix): keras 2.2.4, h5py 3.6.0<br>
<br>
Indeed, it is collateral to ea403bf290f4bf8c7bae314e32dbb90653f92996<br>
<br>
--8&lt;---------------cut here---------------start-------------&gt;8---<br>
gnu: python-h5py: Update to 3.6.0.<br>
<br>
* gnu/packages/python-xyz.scm (python-h5py): Update to 3.6.0.<br>
[arguments]: Set HDF5_DIR variable instead of patching files.<br>
--8&lt;---------------cut here---------------end---------------&gt;8---<br>
<br>
Well, the update of Keras to 2.11.0 (the current latest) requires some<br>
work.&nbsp; First, fetch from Github instead of PyPI because the sources ar=
e<br>
not available after v2.6.0; e.g.,<br>
<br>
&nbsp;&nbsp;&nbsp; <a href=3D"https://urldefense.proofpoint.com/v2/url?u=3D=
https-3A__pypi.org_project_keras_2.11.0_-23files&amp;d=3DDwIBAg&amp;c=3D7df=
BJ8cXbWjhc0BhImu8wVIoUFmBzj1s88r8EGyM0UY&amp;r=3D1moyBSYvgSFmdTYHNEHEwakZGF=
kPl3pixLezH1qWWXFZPpSXOvpoeGr4XIg6G8V0&amp;m=3DNqD4egq46utBpoyT-8Gr6A3lESGv=
dg2j7CIMrB0r_y4I-pFRV2Gxn2-Lb7s7tsyD&amp;s=3DRo23h-Sd5x7VKOXeIYl4j5KGqDMAyZ=
prruKUgdacbCo&amp;e=3D">
https://urldefense.proofpoint.com/v2/url?u=3Dhttps-3A__pypi.org_project_ker=
as_2.11.0_-23files&amp;d=3DDwIBAg&amp;c=3D7dfBJ8cXbWjhc0BhImu8wVIoUFmBzj1s8=
8r8EGyM0UY&amp;r=3D1moyBSYvgSFmdTYHNEHEwakZGFkPl3pixLezH1qWWXFZPpSXOvpoeGr4=
XIg6G8V0&amp;m=3DNqD4egq46utBpoyT-8Gr6A3lESGvdg2j7CIMrB0r_y4I-pFRV2Gxn2-Lb7=
s7tsyD&amp;s=3DRo23h-Sd5x7VKOXeIYl4j5KGqDMAyZprruKUgdacbCo&amp;e=3D</a><br>
<br>
Then, second adapt the recipe.&nbsp; Do you want to give a try?<br>
<br>
<br>
Cheers,<br>
simon<br>
<br>
</div>
</span></font></div>
</body>
</html>

--_000_CY4PR03MB27599F8ABE114B8822E4ABFF98D09CY4PR03MB2759namp_--




Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Andreas Enge <andreas@HIDDEN>
Subject: bug#60545: closed (Keras h5py Version Mismatch)
CC: tracker <at> debbugs.gnu.org
Message-ID: <handler.60545.D60545.175231702318627.ackdone <at> debbugs.gnu.org>
References: <aHI8U8xi7UeZRFQi@jurong>
 <CY4PR03MB27591E805538BEE2A385256098F59@HIDDEN>
X-Gnu-PR-Message: closed 60545
X-Gnu-PR-Package: guix
Date: Sat, 12 Jul 2025 10:44:03 +0000
Content-Type: multipart/mixed; boundary="----------=_1752317043-18789-0"

This is a multi-part message in MIME format...

------------=_1752317043-18789-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8

Your message dated Sat, 12 Jul 2025 12:43:31 +0200
with message-id <aHI8U8xi7UeZRFQi@jurong>
and subject line Close
has caused the debbugs.gnu.org bug report #60545,
regarding Keras h5py Version Mismatch
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@HIDDEN)


--=20
60545: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D60545
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems

------------=_1752317043-18789-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by debbugs.gnu.org; 4 Jan 2023 07:34:20 +0000
Received: from localhost ([127.0.0.1]:47537 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pCyHz-0006k3-KO
	for submit <at> debbugs.gnu.org; Wed, 04 Jan 2023 02:34:20 -0500
Received: from lists.gnu.org ([209.51.188.17]:60004)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <Zacchaeus.Scheffer@HIDDEN>)
 id 1pCsnj-0003HS-4i
 for submit <at> debbugs.gnu.org; Tue, 03 Jan 2023 20:42:46 -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 <Zacchaeus.Scheffer@HIDDEN>)
 id 1pCsni-0007zv-Ce
 for bug-guix@HIDDEN; Tue, 03 Jan 2023 20:42:42 -0500
Received: from mail-bn7nam10on20611.outbound.protection.outlook.com
 ([2a01:111:f400:7e8a::611]
 helo=NAM10-BN7-obe.outbound.protection.outlook.com)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Zacchaeus.Scheffer@HIDDEN>)
 id 1pCsng-0006mS-Av
 for bug-guix@HIDDEN; Tue, 03 Jan 2023 20:42:42 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=ngn4Z8lRx1vSx+gyr5PbwZiMV+I+K/FMcAl/Mg2rat8OTn6HolMXnYQ30YOa3c8urWkq3kWOL1Gtf+sj2hcehuIf0nsjqZouqy2Oq8JAu0n4bPC7c86p2s1OKpN/ShM0SxPqg0efYgQJtApchVKpGBuPbEolIujRTHOf/nfgkbS50z3kR27KLlACprJpml1fUzCrxzCSg/SW17jEQnPqSf+Uif46gAZPFzTphwehl9pzovXn69Fsf/jz3ZDkYjMbXW/Rrn49+7Yl/0GUGpk5X7V6LRF1KJhr+ImlcpHYZ6cc5XhJOku8N0wZtzBwRKBeyc/q7UKB/qbKXLdH2NW0AA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=W1Fo/KQajhqhpOiuMFYuSbkRpk3foNk57vVQxqwHbTE=;
 b=a3AcjjFve2hyQyDSaHMdwIMmROi/th6NgrLcb8jKdIWDeIFrogC5d4ORjADDcDYHN3o3Ozgrbsen4u9JNgJwYTeWnltSwQDdJFvzL8IRpMQn6jJFbiLyHHKjGAZvsy/0sZR/2Q+P/QxEMLkcQcnOlzcH3JMd4Ggx4GTuSfaFvq2RXE3Ss78/fvtebkYk4in68pot8pbCn6S868GGjV6qXkbPgCrvUtk7ed3S+VOkw0dO8iyVKfVBEAGjtp1mTDDbkmm9zuwZoOzLLEwwhiMg8mEDUAAy1vkmZ5DdWiUd3FYNkoyFchyk825/F8dGSDpzCsN43qebaLacu+OU8YO38w==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=synaptics.com; dmarc=pass action=none
 header.from=synaptics.com; dkim=pass header.d=synaptics.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=Synaptics.onmicrosoft.com; s=selector2-Synaptics-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=W1Fo/KQajhqhpOiuMFYuSbkRpk3foNk57vVQxqwHbTE=;
 b=Epv9d/YI63Z+8FutxkR7lgFTfWYpD8sQTjVT6DKq6L5P5CIKIliTo8IjcIr8ccWxnF5fFaSfBmGmtGb1OEC/G0IswSoFBJCEZuNbcKORWg+v5dG+YkTcay8KcT25ER34cT+RDeWZcP5x5R8/x4cs6OU0Z4mjbZe6G4iGHlcnnj8=
Received: from CY4PR03MB2759.namprd03.prod.outlook.com (2603:10b6:903:6a::10)
 by BY5PR03MB4966.namprd03.prod.outlook.com (2603:10b6:a03:1eb::16)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Wed, 4 Jan
 2023 01:37:35 +0000
Received: from CY4PR03MB2759.namprd03.prod.outlook.com
 ([fe80::affe:7339:9ca3:1ab]) by CY4PR03MB2759.namprd03.prod.outlook.com
 ([fe80::affe:7339:9ca3:1ab%10]) with mapi id 15.20.5944.019; Wed, 4 Jan 2023
 01:37:35 +0000
From: Zacchaeus Scheffer <Zacchaeus.Scheffer@HIDDEN>
To: "bug-guix@HIDDEN" <bug-guix@HIDDEN>
Subject: Keras h5py Version Mismatch
Thread-Topic: Keras h5py Version Mismatch
Thread-Index: AQHZH9Wh0MLpLigzvEqp8wKBTEZluA==
Date: Wed, 4 Jan 2023 01:37:34 +0000
Message-ID: <CY4PR03MB27591E805538BEE2A385256098F59@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
msip_labels: 
authentication-results: dkim=none (message not signed)
 header.d=none;dmarc=none action=none header.from=synaptics.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: CY4PR03MB2759:EE_|BY5PR03MB4966:EE_
x-ms-office365-filtering-correlation-id: 8ec937f6-907f-4354-f109-08daedf4412a
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 4OlFfDZR1FE/CxEd8NfeKuO2WefNF+BR/oVowOcW25RVe9GetfklUWGASzUyoH7byTrGy966/vyJQumL5lMSDQVITeaWC0zIqEEjf+hVEzpVy1j4S/DJdAkyYgVs4HMhSdkYHe6P6LDNlVd+2wIajjotxm8PQtiBUpfbCf7ja6cSsjw00zWe6MTjCafwHRzfEaVbcOB9XlPklKeVstbClmvuuAh/7mtMcfq9WaP5nlZY/gXXylNt16a3taTtB4G4F2KA9Uxz8u6bMc/DKUo8BTutYAOvCyBuoZNyj2W/DVaw8NZ62z0i54FLqvhqZ/1o8eRw5WurilaHv5b6wdLUIKWg5SrcPA4b0brzh/yyAFV+W4b+LFJ2PfWF3RSLLaofGF/B0YPelOtS5hg8G0rv2vP7PMNcbVtUvmAKfwvkrqjAVox93KqLNxnCEDwWLKlZbZPDwzjYD5GGBuroD26aICrIE0c9HZTO3xqJseGveUzIchkB9orNu9nFwXRP0NaTweUFtpG6qo0GyC1tyuAMEEbia+herY2iK+qIY8hfhbxXSqAcC0xLculcUtNnR+nlHdVu0n88LzNnNld1KIvUxvYsH2x6d4eN5I2fughvQSonbTfQlc7RVQhERtWlA8IuAS6s9qvDLpdCYpk1hDJOHjxE5zX5j5LHHW2G8zrvBuo9OV5TpXAsg8mxzzhPJHmadtcm64JML4d9bPu2VkFHUI7EBcph6UoK/ZInJEBx3acav4Hdt7wt0ZumaorpWJpF
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:CY4PR03MB2759.namprd03.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(13230022)(396003)(376002)(346002)(136003)(39850400004)(366004)(451199015)(83380400001)(9686003)(26005)(55016003)(7696005)(33656002)(6506007)(38070700005)(86362001)(122000001)(38100700002)(186003)(478600001)(41300700001)(8676002)(2906002)(52536014)(19627405001)(5660300002)(8936002)(66556008)(71200400001)(66946007)(76116006)(66476007)(316002)(91956017)(64756008)(66446008)(6916009)(42413004)(32563001);
 DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?MHWyx5m8C4x5Pk/Ox2p/s6AEWh6mCYpyfiZTdAoDdheVNpNAZ1eqP1tYJr?=
 =?iso-8859-1?Q?afNmFfn6+G61QgeSgGnD26H68RMn/Kw6uZoNdJqdbHfHYqxzeR900l/a56?=
 =?iso-8859-1?Q?fdZCDtATR0DyVavZAnaxYg1TTcpvPj/0e59hALxGUOIt/XImlX5zaX17BW?=
 =?iso-8859-1?Q?rMCicEK2EWGwgbPWmoyH/qAQ2S1dfKhJRfXjL8BWRgE/RGudPyXIG9f48S?=
 =?iso-8859-1?Q?pU1d+/0lYULELEZP76V3zQadTRUSZbK+t+tRrKHBBV6wwDFvJlD6433kDw?=
 =?iso-8859-1?Q?OVSzDCbS2Chi8cOjLNSSgUZR316+vRSsEkATBX7hcv5UOUS18yMru3IO0C?=
 =?iso-8859-1?Q?XcV/wO0NuTBXdollZBwDvBplV5/USoWASmfX97vC7YC6hbeQNu/snRifs7?=
 =?iso-8859-1?Q?cMZDEvcIqA2DctaPlikURwruqKGGMBVjyFrF7kr3cEvgXlXFP8ThLHtU3F?=
 =?iso-8859-1?Q?awHzBtoWZHqEGbpja5MDSrswok/z94c/gL07IbpaFmru2mxlhOwf3f8Nyh?=
 =?iso-8859-1?Q?ZNCkMj91GSBVf16VuaYsT3QvMtU5GLApTlsrCApME/g7BiATHZaJa7H82V?=
 =?iso-8859-1?Q?pLb3igokkQ07evB6EFHrgt2e734JVrBG7jI6XkDQhw75AGZ8CIFZrUWht8?=
 =?iso-8859-1?Q?PmFbC9i0aqHddCqbNrNnO7pee2U24rrKuRas3OrkIqTh51SLFF3Zy9K12Y?=
 =?iso-8859-1?Q?egiehCxeV7UotDwS1HHVtxhSgpvgZBkE2hN1EqNOh9NmySDY/g3HkoyiWC?=
 =?iso-8859-1?Q?kuVVjsxPrkIjAd7BPgqELDka0CllweqCeQS8EChubT4fR3EFU8bXoNafd5?=
 =?iso-8859-1?Q?OkeQRwz3Pj+Mwu8uU1lvKaKO+dZs2JS1EEa94Ctacec/6hIDHFtL65fwhr?=
 =?iso-8859-1?Q?HYAAPR5ZZRwshCPWChEjRNmkSH34aei21NaVZqr6vffxndP1farz0ueLOy?=
 =?iso-8859-1?Q?h1jiuKF+b02ch8Zbfwlz0y3oIyE8NLb20E+m+MvQzc0efauq4y9vzYn+NQ?=
 =?iso-8859-1?Q?is7YPGVWYHpWI6U4hiU6WxZiW7htfjHFNCbQz52mxAbmRf8YejhfIW9bRv?=
 =?iso-8859-1?Q?l41j9lQPaLlgO2CkSOHkhENESfiAMgCpHjivxcb6502lYB3iIGXM9qwtep?=
 =?iso-8859-1?Q?Uv668DAkZpMNt+kuvjnXSkKVQ357bwfpQf2BMu+kLprRSFj+lGdwr2Dx1a?=
 =?iso-8859-1?Q?ssxvidzeulnLPtqsaGQ7hU0oP0royY4fYcFTMx0FdL8LzcmTGWbd2i0fbn?=
 =?iso-8859-1?Q?oASierX+BJHqSN02e+vgZTgQHTAi8C0oDgyWis6YUXf8hliQdUOEFoJoLI?=
 =?iso-8859-1?Q?u+NAliuaR4SGw9UKLsj6BWBlVBqe2DvT5YP5sUCXax2I6QEaMPEJ6wz5AE?=
 =?iso-8859-1?Q?4UA6Jt99uqgO0H8C+yephUfHkY/VNnls7aW3csaksDQgW5Zv1hdkBPTLE7?=
 =?iso-8859-1?Q?fhJF3dugLrFmgvYfxFeueH4B/9z6/BfdQ4AeKs/trSRCKmIOOn3wryHx1z?=
 =?iso-8859-1?Q?MXTJj+ECyb+JN0zwl4JrjSTNeas74RDwea0VZjND1Inn7Si/Feo0jtVL1S?=
 =?iso-8859-1?Q?UL8juycnJlPT/WbbU9a0Qk62IVG1eqy+ksm5GkGaZoA/hriz9dOjCywBkf?=
 =?iso-8859-1?Q?PtzB72aBszKO7ssj8+x6wW1ZzR0Bs03FXo?=
Content-Type: multipart/alternative;
 boundary="_000_CY4PR03MB27591E805538BEE2A385256098F59CY4PR03MB2759namp_"
MIME-Version: 1.0
X-OriginatorOrg: synaptics.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: CY4PR03MB2759.namprd03.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 8ec937f6-907f-4354-f109-08daedf4412a
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jan 2023 01:37:34.6857 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 335d1fbc-2124-4173-9863-17e7051a2a0e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: HoeM3oP5l6NvTMNwCCuzV6t6dTv5v0IsBpT1edT6elnonklUN15yl7fWn7nYAovPiWF+ttBYrzjqBqCVS7qwew==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR03MB4966
Received-SPF: pass client-ip=2a01:111:f400:7e8a::611;
 envelope-from=Zacchaeus.Scheffer@HIDDEN;
 helo=NAM10-BN7-obe.outbound.protection.outlook.com
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Wed, 04 Jan 2023 02:34:18 -0500
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: -2.4 (--)

--_000_CY4PR03MB27591E805538BEE2A385256098F59CY4PR03MB2759namp_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Guix!


It would seem that the current keras version expects an earlier h5py versio=
n for loading models.  Specifically, running:

from tensorflow.keras.models import load_model
model =3D load_model("model.h5")

fails with:

  File "/gnu/store/idfn4l2kxil9id21v1yci4jcw6103fah-profile/lib/python3.9/s=
ite-packages/tensorflow/python/keras/engine/saving.py", line 228, in load_m=
odel
    model_config =3D json.loads(model_config.decode('utf-8'))
AttributeError: 'str' object has no attribute 'decode'

The above works fine in my local pip environment (see below).  A quick sear=
ch online indicates that this can be fixed by downgrading h5py to version 2=
.10.  The current h5py version in guix is 3.6.

My assumption is that this could also be fixed with an upgrade to keras, bu=
t upgrading keras sounds much more involved.  For a short-term fix, would i=
t be possible to add back a package definition for an earlier h5py in addit=
ion to the current version?  I'm sure an appropriate version exists somewhe=
re in guix's git history, though my git-foo is too weak for me to check.


Thanks,
Zacchae


P.S.
working (pip): keras 2.10.0, h5py 3.7.0
not working (current guix): keras 2.2.4, h5py 3.6.0

--_000_CY4PR03MB27591E805538BEE2A385256098F59CY4PR03MB2759namp_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div class=3D"elementToProof"><span style=3D"font-family: Calibri, Arial, H=
elvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-colo=
r: rgb(255, 255, 255);">Hi Guix!</span></div>
<div class=3D"elementToProof"><span style=3D"font-family: Calibri, Arial, H=
elvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-colo=
r: rgb(255, 255, 255);"><br>
</span></div>
<div class=3D"elementToProof"><span style=3D"font-family: Calibri, Arial, H=
elvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-colo=
r: rgb(255, 255, 255);"><br>
</span></div>
<div class=3D"elementToProof"><span style=3D"font-family: Calibri, Arial, H=
elvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-colo=
r: rgb(255, 255, 255);">It would seem that the current keras version expect=
s an earlier h5py version for loading
 models.&nbsp; Specifically, running:</span></div>
<div class=3D"elementToProof"><span style=3D"font-family: Calibri, Arial, H=
elvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-colo=
r: rgb(255, 255, 255);"><br>
</span></div>
<div class=3D"elementToProof"><span style=3D"font-family: Calibri, Arial, H=
elvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-colo=
r: rgb(255, 255, 255);">from tensorflow.keras.models import load_model</spa=
n></div>
<div class=3D"elementToProof"><span style=3D"font-family: Calibri, Arial, H=
elvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-colo=
r: rgb(255, 255, 255);">model =3D load_model(&quot;model.h5&quot;)</span></=
div>
<div class=3D"elementToProof"><span style=3D"font-family: Calibri, Arial, H=
elvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-colo=
r: rgb(255, 255, 255);"><br>
</span></div>
<div class=3D"elementToProof" style=3D"font-family: Calibri, Arial, Helveti=
ca, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb=
(255, 255, 255);">
fails with:</div>
<div class=3D"elementToProof ContentPasted0" style=3D"font-family: Calibri,=
 Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); backgr=
ound-color: rgb(255, 255, 255);">
<br>
</div>
<div class=3D"elementToProof ContentPasted0" style=3D"font-family: Calibri,=
 Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); backgr=
ound-color: rgb(255, 255, 255);">
&nbsp; File &quot;/gnu/store/idfn4l2kxil9id21v1yci4jcw6103fah-profile/lib/p=
ython3.9/site-packages/tensorflow/python/keras/engine/saving.py&quot;, line=
 228, in load_model
<div class=3D"FluidPluginCopy ContentPasted0">&nbsp; &nbsp; model_config =
=3D json.loads(model_config.decode('utf-8'))</div>
<div class=3D"FluidPluginCopy ContentPasted0">AttributeError: 'str' object =
has no attribute 'decode'</div>
<br>
</div>
<div class=3D"elementToProof ContentPasted0" style=3D"font-family: Calibri,=
 Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); backgr=
ound-color: rgb(255, 255, 255);">
The above works fine in my local pip environment (see below).&nbsp; A quick=
 search online indicates that this can be fixed by downgrading h5py to vers=
ion 2.10.&nbsp; The current h5py version in guix is 3.6.</div>
<div class=3D"elementToProof ContentPasted0" style=3D"font-family: Calibri,=
 Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); backgr=
ound-color: rgb(255, 255, 255);">
<br>
</div>
<div class=3D"elementToProof ContentPasted0" style=3D"font-family: Calibri,=
 Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); backgr=
ound-color: rgb(255, 255, 255);">
My assumption is that this could also be fixed with an upgrade to keras, bu=
t upgrading keras sounds much more involved.&nbsp; For a short-term fix, wo=
uld it be possible to add back a package definition for an earlier h5py in =
addition to the current version?&nbsp; I'm
 sure an appropriate version exists somewhere in guix's git history, though=
 my git-foo is too weak for me to check.</div>
<div class=3D"elementToProof ContentPasted0" style=3D"font-family: Calibri,=
 Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); backgr=
ound-color: rgb(255, 255, 255);">
<br>
</div>
<div class=3D"elementToProof ContentPasted0" style=3D"font-family: Calibri,=
 Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); backgr=
ound-color: rgb(255, 255, 255);">
<br>
</div>
<div class=3D"elementToProof ContentPasted0" style=3D"font-family: Calibri,=
 Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); backgr=
ound-color: rgb(255, 255, 255);">
Thanks,</div>
<div class=3D"elementToProof ContentPasted0" style=3D"font-family: Calibri,=
 Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); backgr=
ound-color: rgb(255, 255, 255);">
<div>Zacchae</div>
<div><br>
</div>
<div><br>
</div>
<div>P.S.</div>
<div>working (pip): keras 2.10.0, h5py 3.7.0</div>
<div>not working (current guix): keras 2.2.4, h5py 3.6.0</div>
</div>
</body>
</html>

--_000_CY4PR03MB27591E805538BEE2A385256098F59CY4PR03MB2759namp_--



------------=_1752317043-18789-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 60545-done) by debbugs.gnu.org; 12 Jul 2025 10:43:43 +0000
Received: from localhost ([127.0.0.1]:44445 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uaXhn-0004qN-0f
	for submit <at> debbugs.gnu.org; Sat, 12 Jul 2025 06:43:43 -0400
Received: from hera.aquilenet.fr ([185.233.100.1]:50904)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <andreas@HIDDEN>) id 1uaXhk-0004px-VF
 for 60545-done <at> debbugs.gnu.org; Sat, 12 Jul 2025 06:43:41 -0400
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id EEA055FB;
 Sat, 12 Jul 2025 12:43:34 +0200 (CEST)
Authentication-Results: hera.aquilenet.fr;
	none
X-Virus-Scanned: Debian amavis at hera.aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP
 id jC9oGvpeGJz5; Sat, 12 Jul 2025 12:43:34 +0200 (CEST)
Received: from jurong (86.56.141.77.rev.sfr.net [77.141.56.86])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 51783122;
 Sat, 12 Jul 2025 12:43:33 +0200 (CEST)
Date: Sat, 12 Jul 2025 12:43:31 +0200
From: Andreas Enge <andreas@HIDDEN>
To: 60545-done <at> debbugs.gnu.org
Subject: Close
Message-ID: <aHI8U8xi7UeZRFQi@jurong>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Spamd-Result: default: False [-5.55 / 15.00]; BAYES_HAM(-3.00)[99.99%];
 NEURAL_HAM(-2.95)[-0.984]; MID_RHS_NOT_FQDN(0.50)[];
 MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_TWO(0.00)[2];
 FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+];
 RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[];
 RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[];
 FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[];
 ARC_NA(0.00)[]
X-Rspamd-Action: no action
X-Rspamd-Queue-Id: EEA055FB
X-Rspamd-Server: hera
X-Spamd-Bar: -----
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 60545-done
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 (-)

Closing this, as we have moved on to newer versions.
If you still see problems, please open an issue on codeberg.

Andreas



------------=_1752317043-18789-0--


Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Zacchaeus Scheffer <Zacchaeus.Scheffer@HIDDEN>
Subject: bug#60545: closed (Close)
Message-ID: <handler.60545.D60545.175231702318627.notifdone <at> debbugs.gnu.org>
References: <aHI8U8xi7UeZRFQi@jurong>
 <CY4PR03MB27591E805538BEE2A385256098F59@HIDDEN>
X-Gnu-PR-Message: they-closed 60545
X-Gnu-PR-Package: guix
Reply-To: 60545 <at> debbugs.gnu.org
Date: Sat, 12 Jul 2025 10:44:04 +0000
Content-Type: multipart/mixed; boundary="----------=_1752317044-18789-1"

This is a multi-part message in MIME format...

------------=_1752317044-18789-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your bug report

#60545: Keras h5py Version Mismatch

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 60545 <at> debbugs.gnu.org.

--=20
60545: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D60545
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems

------------=_1752317044-18789-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 60545-done) by debbugs.gnu.org; 12 Jul 2025 10:43:43 +0000
Received: from localhost ([127.0.0.1]:44445 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uaXhn-0004qN-0f
	for submit <at> debbugs.gnu.org; Sat, 12 Jul 2025 06:43:43 -0400
Received: from hera.aquilenet.fr ([185.233.100.1]:50904)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <andreas@HIDDEN>) id 1uaXhk-0004px-VF
 for 60545-done <at> debbugs.gnu.org; Sat, 12 Jul 2025 06:43:41 -0400
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id EEA055FB;
 Sat, 12 Jul 2025 12:43:34 +0200 (CEST)
Authentication-Results: hera.aquilenet.fr;
	none
X-Virus-Scanned: Debian amavis at hera.aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP
 id jC9oGvpeGJz5; Sat, 12 Jul 2025 12:43:34 +0200 (CEST)
Received: from jurong (86.56.141.77.rev.sfr.net [77.141.56.86])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 51783122;
 Sat, 12 Jul 2025 12:43:33 +0200 (CEST)
Date: Sat, 12 Jul 2025 12:43:31 +0200
From: Andreas Enge <andreas@HIDDEN>
To: 60545-done <at> debbugs.gnu.org
Subject: Close
Message-ID: <aHI8U8xi7UeZRFQi@jurong>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Spamd-Result: default: False [-5.55 / 15.00]; BAYES_HAM(-3.00)[99.99%];
 NEURAL_HAM(-2.95)[-0.984]; MID_RHS_NOT_FQDN(0.50)[];
 MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_TWO(0.00)[2];
 FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+];
 RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[];
 RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[];
 FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[];
 ARC_NA(0.00)[]
X-Rspamd-Action: no action
X-Rspamd-Queue-Id: EEA055FB
X-Rspamd-Server: hera
X-Spamd-Bar: -----
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 60545-done
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 (-)

Closing this, as we have moved on to newer versions.
If you still see problems, please open an issue on codeberg.

Andreas



------------=_1752317044-18789-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by debbugs.gnu.org; 4 Jan 2023 07:34:20 +0000
Received: from localhost ([127.0.0.1]:47537 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pCyHz-0006k3-KO
	for submit <at> debbugs.gnu.org; Wed, 04 Jan 2023 02:34:20 -0500
Received: from lists.gnu.org ([209.51.188.17]:60004)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <Zacchaeus.Scheffer@HIDDEN>)
 id 1pCsnj-0003HS-4i
 for submit <at> debbugs.gnu.org; Tue, 03 Jan 2023 20:42:46 -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 <Zacchaeus.Scheffer@HIDDEN>)
 id 1pCsni-0007zv-Ce
 for bug-guix@HIDDEN; Tue, 03 Jan 2023 20:42:42 -0500
Received: from mail-bn7nam10on20611.outbound.protection.outlook.com
 ([2a01:111:f400:7e8a::611]
 helo=NAM10-BN7-obe.outbound.protection.outlook.com)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Zacchaeus.Scheffer@HIDDEN>)
 id 1pCsng-0006mS-Av
 for bug-guix@HIDDEN; Tue, 03 Jan 2023 20:42:42 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=ngn4Z8lRx1vSx+gyr5PbwZiMV+I+K/FMcAl/Mg2rat8OTn6HolMXnYQ30YOa3c8urWkq3kWOL1Gtf+sj2hcehuIf0nsjqZouqy2Oq8JAu0n4bPC7c86p2s1OKpN/ShM0SxPqg0efYgQJtApchVKpGBuPbEolIujRTHOf/nfgkbS50z3kR27KLlACprJpml1fUzCrxzCSg/SW17jEQnPqSf+Uif46gAZPFzTphwehl9pzovXn69Fsf/jz3ZDkYjMbXW/Rrn49+7Yl/0GUGpk5X7V6LRF1KJhr+ImlcpHYZ6cc5XhJOku8N0wZtzBwRKBeyc/q7UKB/qbKXLdH2NW0AA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=W1Fo/KQajhqhpOiuMFYuSbkRpk3foNk57vVQxqwHbTE=;
 b=a3AcjjFve2hyQyDSaHMdwIMmROi/th6NgrLcb8jKdIWDeIFrogC5d4ORjADDcDYHN3o3Ozgrbsen4u9JNgJwYTeWnltSwQDdJFvzL8IRpMQn6jJFbiLyHHKjGAZvsy/0sZR/2Q+P/QxEMLkcQcnOlzcH3JMd4Ggx4GTuSfaFvq2RXE3Ss78/fvtebkYk4in68pot8pbCn6S868GGjV6qXkbPgCrvUtk7ed3S+VOkw0dO8iyVKfVBEAGjtp1mTDDbkmm9zuwZoOzLLEwwhiMg8mEDUAAy1vkmZ5DdWiUd3FYNkoyFchyk825/F8dGSDpzCsN43qebaLacu+OU8YO38w==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=synaptics.com; dmarc=pass action=none
 header.from=synaptics.com; dkim=pass header.d=synaptics.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=Synaptics.onmicrosoft.com; s=selector2-Synaptics-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=W1Fo/KQajhqhpOiuMFYuSbkRpk3foNk57vVQxqwHbTE=;
 b=Epv9d/YI63Z+8FutxkR7lgFTfWYpD8sQTjVT6DKq6L5P5CIKIliTo8IjcIr8ccWxnF5fFaSfBmGmtGb1OEC/G0IswSoFBJCEZuNbcKORWg+v5dG+YkTcay8KcT25ER34cT+RDeWZcP5x5R8/x4cs6OU0Z4mjbZe6G4iGHlcnnj8=
Received: from CY4PR03MB2759.namprd03.prod.outlook.com (2603:10b6:903:6a::10)
 by BY5PR03MB4966.namprd03.prod.outlook.com (2603:10b6:a03:1eb::16)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Wed, 4 Jan
 2023 01:37:35 +0000
Received: from CY4PR03MB2759.namprd03.prod.outlook.com
 ([fe80::affe:7339:9ca3:1ab]) by CY4PR03MB2759.namprd03.prod.outlook.com
 ([fe80::affe:7339:9ca3:1ab%10]) with mapi id 15.20.5944.019; Wed, 4 Jan 2023
 01:37:35 +0000
From: Zacchaeus Scheffer <Zacchaeus.Scheffer@HIDDEN>
To: "bug-guix@HIDDEN" <bug-guix@HIDDEN>
Subject: Keras h5py Version Mismatch
Thread-Topic: Keras h5py Version Mismatch
Thread-Index: AQHZH9Wh0MLpLigzvEqp8wKBTEZluA==
Date: Wed, 4 Jan 2023 01:37:34 +0000
Message-ID: <CY4PR03MB27591E805538BEE2A385256098F59@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
msip_labels: 
authentication-results: dkim=none (message not signed)
 header.d=none;dmarc=none action=none header.from=synaptics.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: CY4PR03MB2759:EE_|BY5PR03MB4966:EE_
x-ms-office365-filtering-correlation-id: 8ec937f6-907f-4354-f109-08daedf4412a
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 4OlFfDZR1FE/CxEd8NfeKuO2WefNF+BR/oVowOcW25RVe9GetfklUWGASzUyoH7byTrGy966/vyJQumL5lMSDQVITeaWC0zIqEEjf+hVEzpVy1j4S/DJdAkyYgVs4HMhSdkYHe6P6LDNlVd+2wIajjotxm8PQtiBUpfbCf7ja6cSsjw00zWe6MTjCafwHRzfEaVbcOB9XlPklKeVstbClmvuuAh/7mtMcfq9WaP5nlZY/gXXylNt16a3taTtB4G4F2KA9Uxz8u6bMc/DKUo8BTutYAOvCyBuoZNyj2W/DVaw8NZ62z0i54FLqvhqZ/1o8eRw5WurilaHv5b6wdLUIKWg5SrcPA4b0brzh/yyAFV+W4b+LFJ2PfWF3RSLLaofGF/B0YPelOtS5hg8G0rv2vP7PMNcbVtUvmAKfwvkrqjAVox93KqLNxnCEDwWLKlZbZPDwzjYD5GGBuroD26aICrIE0c9HZTO3xqJseGveUzIchkB9orNu9nFwXRP0NaTweUFtpG6qo0GyC1tyuAMEEbia+herY2iK+qIY8hfhbxXSqAcC0xLculcUtNnR+nlHdVu0n88LzNnNld1KIvUxvYsH2x6d4eN5I2fughvQSonbTfQlc7RVQhERtWlA8IuAS6s9qvDLpdCYpk1hDJOHjxE5zX5j5LHHW2G8zrvBuo9OV5TpXAsg8mxzzhPJHmadtcm64JML4d9bPu2VkFHUI7EBcph6UoK/ZInJEBx3acav4Hdt7wt0ZumaorpWJpF
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:CY4PR03MB2759.namprd03.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(13230022)(396003)(376002)(346002)(136003)(39850400004)(366004)(451199015)(83380400001)(9686003)(26005)(55016003)(7696005)(33656002)(6506007)(38070700005)(86362001)(122000001)(38100700002)(186003)(478600001)(41300700001)(8676002)(2906002)(52536014)(19627405001)(5660300002)(8936002)(66556008)(71200400001)(66946007)(76116006)(66476007)(316002)(91956017)(64756008)(66446008)(6916009)(42413004)(32563001);
 DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?MHWyx5m8C4x5Pk/Ox2p/s6AEWh6mCYpyfiZTdAoDdheVNpNAZ1eqP1tYJr?=
 =?iso-8859-1?Q?afNmFfn6+G61QgeSgGnD26H68RMn/Kw6uZoNdJqdbHfHYqxzeR900l/a56?=
 =?iso-8859-1?Q?fdZCDtATR0DyVavZAnaxYg1TTcpvPj/0e59hALxGUOIt/XImlX5zaX17BW?=
 =?iso-8859-1?Q?rMCicEK2EWGwgbPWmoyH/qAQ2S1dfKhJRfXjL8BWRgE/RGudPyXIG9f48S?=
 =?iso-8859-1?Q?pU1d+/0lYULELEZP76V3zQadTRUSZbK+t+tRrKHBBV6wwDFvJlD6433kDw?=
 =?iso-8859-1?Q?OVSzDCbS2Chi8cOjLNSSgUZR316+vRSsEkATBX7hcv5UOUS18yMru3IO0C?=
 =?iso-8859-1?Q?XcV/wO0NuTBXdollZBwDvBplV5/USoWASmfX97vC7YC6hbeQNu/snRifs7?=
 =?iso-8859-1?Q?cMZDEvcIqA2DctaPlikURwruqKGGMBVjyFrF7kr3cEvgXlXFP8ThLHtU3F?=
 =?iso-8859-1?Q?awHzBtoWZHqEGbpja5MDSrswok/z94c/gL07IbpaFmru2mxlhOwf3f8Nyh?=
 =?iso-8859-1?Q?ZNCkMj91GSBVf16VuaYsT3QvMtU5GLApTlsrCApME/g7BiATHZaJa7H82V?=
 =?iso-8859-1?Q?pLb3igokkQ07evB6EFHrgt2e734JVrBG7jI6XkDQhw75AGZ8CIFZrUWht8?=
 =?iso-8859-1?Q?PmFbC9i0aqHddCqbNrNnO7pee2U24rrKuRas3OrkIqTh51SLFF3Zy9K12Y?=
 =?iso-8859-1?Q?egiehCxeV7UotDwS1HHVtxhSgpvgZBkE2hN1EqNOh9NmySDY/g3HkoyiWC?=
 =?iso-8859-1?Q?kuVVjsxPrkIjAd7BPgqELDka0CllweqCeQS8EChubT4fR3EFU8bXoNafd5?=
 =?iso-8859-1?Q?OkeQRwz3Pj+Mwu8uU1lvKaKO+dZs2JS1EEa94Ctacec/6hIDHFtL65fwhr?=
 =?iso-8859-1?Q?HYAAPR5ZZRwshCPWChEjRNmkSH34aei21NaVZqr6vffxndP1farz0ueLOy?=
 =?iso-8859-1?Q?h1jiuKF+b02ch8Zbfwlz0y3oIyE8NLb20E+m+MvQzc0efauq4y9vzYn+NQ?=
 =?iso-8859-1?Q?is7YPGVWYHpWI6U4hiU6WxZiW7htfjHFNCbQz52mxAbmRf8YejhfIW9bRv?=
 =?iso-8859-1?Q?l41j9lQPaLlgO2CkSOHkhENESfiAMgCpHjivxcb6502lYB3iIGXM9qwtep?=
 =?iso-8859-1?Q?Uv668DAkZpMNt+kuvjnXSkKVQ357bwfpQf2BMu+kLprRSFj+lGdwr2Dx1a?=
 =?iso-8859-1?Q?ssxvidzeulnLPtqsaGQ7hU0oP0royY4fYcFTMx0FdL8LzcmTGWbd2i0fbn?=
 =?iso-8859-1?Q?oASierX+BJHqSN02e+vgZTgQHTAi8C0oDgyWis6YUXf8hliQdUOEFoJoLI?=
 =?iso-8859-1?Q?u+NAliuaR4SGw9UKLsj6BWBlVBqe2DvT5YP5sUCXax2I6QEaMPEJ6wz5AE?=
 =?iso-8859-1?Q?4UA6Jt99uqgO0H8C+yephUfHkY/VNnls7aW3csaksDQgW5Zv1hdkBPTLE7?=
 =?iso-8859-1?Q?fhJF3dugLrFmgvYfxFeueH4B/9z6/BfdQ4AeKs/trSRCKmIOOn3wryHx1z?=
 =?iso-8859-1?Q?MXTJj+ECyb+JN0zwl4JrjSTNeas74RDwea0VZjND1Inn7Si/Feo0jtVL1S?=
 =?iso-8859-1?Q?UL8juycnJlPT/WbbU9a0Qk62IVG1eqy+ksm5GkGaZoA/hriz9dOjCywBkf?=
 =?iso-8859-1?Q?PtzB72aBszKO7ssj8+x6wW1ZzR0Bs03FXo?=
Content-Type: multipart/alternative;
 boundary="_000_CY4PR03MB27591E805538BEE2A385256098F59CY4PR03MB2759namp_"
MIME-Version: 1.0
X-OriginatorOrg: synaptics.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: CY4PR03MB2759.namprd03.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 8ec937f6-907f-4354-f109-08daedf4412a
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jan 2023 01:37:34.6857 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 335d1fbc-2124-4173-9863-17e7051a2a0e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: HoeM3oP5l6NvTMNwCCuzV6t6dTv5v0IsBpT1edT6elnonklUN15yl7fWn7nYAovPiWF+ttBYrzjqBqCVS7qwew==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR03MB4966
Received-SPF: pass client-ip=2a01:111:f400:7e8a::611;
 envelope-from=Zacchaeus.Scheffer@HIDDEN;
 helo=NAM10-BN7-obe.outbound.protection.outlook.com
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Wed, 04 Jan 2023 02:34:18 -0500
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: -2.4 (--)

--_000_CY4PR03MB27591E805538BEE2A385256098F59CY4PR03MB2759namp_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Guix!


It would seem that the current keras version expects an earlier h5py versio=
n for loading models.  Specifically, running:

from tensorflow.keras.models import load_model
model =3D load_model("model.h5")

fails with:

  File "/gnu/store/idfn4l2kxil9id21v1yci4jcw6103fah-profile/lib/python3.9/s=
ite-packages/tensorflow/python/keras/engine/saving.py", line 228, in load_m=
odel
    model_config =3D json.loads(model_config.decode('utf-8'))
AttributeError: 'str' object has no attribute 'decode'

The above works fine in my local pip environment (see below).  A quick sear=
ch online indicates that this can be fixed by downgrading h5py to version 2=
.10.  The current h5py version in guix is 3.6.

My assumption is that this could also be fixed with an upgrade to keras, bu=
t upgrading keras sounds much more involved.  For a short-term fix, would i=
t be possible to add back a package definition for an earlier h5py in addit=
ion to the current version?  I'm sure an appropriate version exists somewhe=
re in guix's git history, though my git-foo is too weak for me to check.


Thanks,
Zacchae


P.S.
working (pip): keras 2.10.0, h5py 3.7.0
not working (current guix): keras 2.2.4, h5py 3.6.0

--_000_CY4PR03MB27591E805538BEE2A385256098F59CY4PR03MB2759namp_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div class=3D"elementToProof"><span style=3D"font-family: Calibri, Arial, H=
elvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-colo=
r: rgb(255, 255, 255);">Hi Guix!</span></div>
<div class=3D"elementToProof"><span style=3D"font-family: Calibri, Arial, H=
elvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-colo=
r: rgb(255, 255, 255);"><br>
</span></div>
<div class=3D"elementToProof"><span style=3D"font-family: Calibri, Arial, H=
elvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-colo=
r: rgb(255, 255, 255);"><br>
</span></div>
<div class=3D"elementToProof"><span style=3D"font-family: Calibri, Arial, H=
elvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-colo=
r: rgb(255, 255, 255);">It would seem that the current keras version expect=
s an earlier h5py version for loading
 models.&nbsp; Specifically, running:</span></div>
<div class=3D"elementToProof"><span style=3D"font-family: Calibri, Arial, H=
elvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-colo=
r: rgb(255, 255, 255);"><br>
</span></div>
<div class=3D"elementToProof"><span style=3D"font-family: Calibri, Arial, H=
elvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-colo=
r: rgb(255, 255, 255);">from tensorflow.keras.models import load_model</spa=
n></div>
<div class=3D"elementToProof"><span style=3D"font-family: Calibri, Arial, H=
elvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-colo=
r: rgb(255, 255, 255);">model =3D load_model(&quot;model.h5&quot;)</span></=
div>
<div class=3D"elementToProof"><span style=3D"font-family: Calibri, Arial, H=
elvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-colo=
r: rgb(255, 255, 255);"><br>
</span></div>
<div class=3D"elementToProof" style=3D"font-family: Calibri, Arial, Helveti=
ca, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb=
(255, 255, 255);">
fails with:</div>
<div class=3D"elementToProof ContentPasted0" style=3D"font-family: Calibri,=
 Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); backgr=
ound-color: rgb(255, 255, 255);">
<br>
</div>
<div class=3D"elementToProof ContentPasted0" style=3D"font-family: Calibri,=
 Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); backgr=
ound-color: rgb(255, 255, 255);">
&nbsp; File &quot;/gnu/store/idfn4l2kxil9id21v1yci4jcw6103fah-profile/lib/p=
ython3.9/site-packages/tensorflow/python/keras/engine/saving.py&quot;, line=
 228, in load_model
<div class=3D"FluidPluginCopy ContentPasted0">&nbsp; &nbsp; model_config =
=3D json.loads(model_config.decode('utf-8'))</div>
<div class=3D"FluidPluginCopy ContentPasted0">AttributeError: 'str' object =
has no attribute 'decode'</div>
<br>
</div>
<div class=3D"elementToProof ContentPasted0" style=3D"font-family: Calibri,=
 Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); backgr=
ound-color: rgb(255, 255, 255);">
The above works fine in my local pip environment (see below).&nbsp; A quick=
 search online indicates that this can be fixed by downgrading h5py to vers=
ion 2.10.&nbsp; The current h5py version in guix is 3.6.</div>
<div class=3D"elementToProof ContentPasted0" style=3D"font-family: Calibri,=
 Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); backgr=
ound-color: rgb(255, 255, 255);">
<br>
</div>
<div class=3D"elementToProof ContentPasted0" style=3D"font-family: Calibri,=
 Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); backgr=
ound-color: rgb(255, 255, 255);">
My assumption is that this could also be fixed with an upgrade to keras, bu=
t upgrading keras sounds much more involved.&nbsp; For a short-term fix, wo=
uld it be possible to add back a package definition for an earlier h5py in =
addition to the current version?&nbsp; I'm
 sure an appropriate version exists somewhere in guix's git history, though=
 my git-foo is too weak for me to check.</div>
<div class=3D"elementToProof ContentPasted0" style=3D"font-family: Calibri,=
 Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); backgr=
ound-color: rgb(255, 255, 255);">
<br>
</div>
<div class=3D"elementToProof ContentPasted0" style=3D"font-family: Calibri,=
 Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); backgr=
ound-color: rgb(255, 255, 255);">
<br>
</div>
<div class=3D"elementToProof ContentPasted0" style=3D"font-family: Calibri,=
 Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); backgr=
ound-color: rgb(255, 255, 255);">
Thanks,</div>
<div class=3D"elementToProof ContentPasted0" style=3D"font-family: Calibri,=
 Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); backgr=
ound-color: rgb(255, 255, 255);">
<div>Zacchae</div>
<div><br>
</div>
<div><br>
</div>
<div>P.S.</div>
<div>working (pip): keras 2.10.0, h5py 3.7.0</div>
<div>not working (current guix): keras 2.2.4, h5py 3.6.0</div>
</div>
</body>
</html>

--_000_CY4PR03MB27591E805538BEE2A385256098F59CY4PR03MB2759namp_--



------------=_1752317044-18789-1--


Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Andreas Enge <andreas@HIDDEN>
Subject: bug#60608: closed (keras is broken =?UTF-8?Q?=E2=80=93>?= package
 bazel?)
CC: tracker <at> debbugs.gnu.org
Message-ID: <handler.60608.D60545.175231702318627.ackdone <at> debbugs.gnu.org>
References: <aHI8U8xi7UeZRFQi@jurong> <87h6x32wdz.fsf@HIDDEN>
X-Gnu-PR-Message: closed 60608
X-Gnu-PR-Package: guix
Date: Sat, 12 Jul 2025 10:44:04 +0000
Content-Type: multipart/mixed; boundary="----------=_1752317044-18789-2"

This is a multi-part message in MIME format...

------------=_1752317044-18789-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8

Your message dated Sat, 12 Jul 2025 12:43:31 +0200
with message-id <aHI8U8xi7UeZRFQi@jurong>
and subject line Close
has caused the debbugs.gnu.org bug report #60545,
regarding keras is broken =E2=80=93> package bazel?
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@HIDDEN)


--=20
60545: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D60545
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems

------------=_1752317044-18789-2
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by debbugs.gnu.org; 6 Jan 2023 21:20:22 +0000
Received: from localhost ([127.0.0.1]:55948 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pDu8T-0003uz-Pj
	for submit <at> debbugs.gnu.org; Fri, 06 Jan 2023 16:20:22 -0500
Received: from lists.gnu.org ([209.51.188.17]:58150)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rekado@HIDDEN>) id 1pDu8S-0003ur-2z
 for submit <at> debbugs.gnu.org; Fri, 06 Jan 2023 16:20:20 -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 <rekado@HIDDEN>)
 id 1pDu8Q-0001JZ-L5
 for bug-guix@HIDDEN; Fri, 06 Jan 2023 16:20:18 -0500
Received: from sender4-of-o51.zoho.com ([136.143.188.51])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rekado@HIDDEN>)
 id 1pDu8O-0005GB-P2
 for bug-guix@HIDDEN; Fri, 06 Jan 2023 16:20:18 -0500
ARC-Seal: i=1; a=rsa-sha256; t=1673040012; cv=none; 
 d=zohomail.com; s=zohoarc; 
 b=mgtIYpS0cRf3ibWw8c5R3l2FmmyNq+2PtdybYA51Hm+skxE6b5QC2ZG8U93L3uNOfX9BMLEmkHiw8EV0i5aWpBNlCCXLXAoJUx6rTYjjrwB22s8+mo0yF5b4YLi3wReL5tfVvVBk4aQ2jwBdCZD8ndFVR7V2uR2W0ScSQDjEQsk=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com;
 s=zohoarc; t=1673040012;
 h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To;
 bh=teqsX1ZGYyS4bkLra15wyzYDs83vf0+MQQacA2GNC04=; 
 b=J+bOpPEJ5l9mr4YxA1OYNqExIT3zqKVOwu36TyQWp2VnP7D9Ph83zRxtvZzXIOK6waWQLf5h5E7O+j8QpZmtODaAWHNUmae6pcX9jEFqt4fsh1OFP7RVmAuKgdvKWGDiKlvettbP+RXBcd03hyXx7LbvUas+HpXJ2hdxB+Jv9es=
ARC-Authentication-Results: i=1; mx.zohomail.com;
 dkim=pass  header.i=elephly.net;
 spf=pass  smtp.mailfrom=rekado@HIDDEN;
 dmarc=pass header.from=<rekado@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1673040012; 
 s=zoho; d=elephly.net; i=rekado@HIDDEN;
 h=From:From:To:To:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To:Cc;
 bh=teqsX1ZGYyS4bkLra15wyzYDs83vf0+MQQacA2GNC04=;
 b=XhNVvDCVuegu+1qKaD7MpjnmA/Ze3HSiorxBeYrCqbdkemO5ajzX9xtu6JKU6eCY
 u5beKpRETm12EbsHXmT1bMiRe2zeVXa1gmQZk+ab/sjKW52Q59mjLz2cK/+jFDxLFwy
 kETogPr6gQZO+9WRhLXCdcSuqF0Y5NkHkp1d5xhA=
Received: from localhost (227-111-142-46.pool.kielnet.net [46.142.111.227]) by
 mx.zohomail.com with SMTPS id 1673040011585335.52493028765923;
 Fri, 6 Jan 2023 13:20:11 -0800 (PST)
User-agent: mu4e 1.8.13; emacs 28.2
From: Ricardo Wurmus <rekado@HIDDEN>
To: bug-guix@HIDDEN
Subject: keras is broken =?utf-8?Q?=E2=80=93=3E?= package bazel?
Date: Fri, 06 Jan 2023 22:16:56 +0100
X-URL: https://elephly.net
X-PGP-Key: https://elephly.net/rekado.pubkey
X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
Message-ID: <87h6x32wdz.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-ZohoMailClient: External
Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@HIDDEN;
 helo=sender4-of-o51.zoho.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
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: -2.3 (--)

We have an old version of keras.  This is now broken.  It is not
compatible with python-h5py > 2.10.  Our version of Tensorflow also
won=E2=80=99t work with h5py 3.

We can=E2=80=99t upgrade keras to anything above 2.2.5 because any later ve=
rsion
is built with Bazel.  We cannot build Bazel, because it needs a big pile
of jars that we haven=E2=80=99t packaged yet.

Tensorflow > 1.9 also requires Bazel.

We should work towards packaging Bazel.  Debian has a Bazel bootstrap
package, so I=E2=80=99m hopeful that it=E2=80=99s possible to package with =
some effort.

--=20
Ricardo



------------=_1752317044-18789-2
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 60545-done) by debbugs.gnu.org; 12 Jul 2025 10:43:43 +0000
Received: from localhost ([127.0.0.1]:44445 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uaXhn-0004qN-0f
	for submit <at> debbugs.gnu.org; Sat, 12 Jul 2025 06:43:43 -0400
Received: from hera.aquilenet.fr ([185.233.100.1]:50904)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <andreas@HIDDEN>) id 1uaXhk-0004px-VF
 for 60545-done <at> debbugs.gnu.org; Sat, 12 Jul 2025 06:43:41 -0400
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id EEA055FB;
 Sat, 12 Jul 2025 12:43:34 +0200 (CEST)
Authentication-Results: hera.aquilenet.fr;
	none
X-Virus-Scanned: Debian amavis at hera.aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP
 id jC9oGvpeGJz5; Sat, 12 Jul 2025 12:43:34 +0200 (CEST)
Received: from jurong (86.56.141.77.rev.sfr.net [77.141.56.86])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 51783122;
 Sat, 12 Jul 2025 12:43:33 +0200 (CEST)
Date: Sat, 12 Jul 2025 12:43:31 +0200
From: Andreas Enge <andreas@HIDDEN>
To: 60545-done <at> debbugs.gnu.org
Subject: Close
Message-ID: <aHI8U8xi7UeZRFQi@jurong>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Spamd-Result: default: False [-5.55 / 15.00]; BAYES_HAM(-3.00)[99.99%];
 NEURAL_HAM(-2.95)[-0.984]; MID_RHS_NOT_FQDN(0.50)[];
 MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_TWO(0.00)[2];
 FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+];
 RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[];
 RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[];
 FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[];
 ARC_NA(0.00)[]
X-Rspamd-Action: no action
X-Rspamd-Queue-Id: EEA055FB
X-Rspamd-Server: hera
X-Spamd-Bar: -----
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 60545-done
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 (-)

Closing this, as we have moved on to newer versions.
If you still see problems, please open an issue on codeberg.

Andreas



------------=_1752317044-18789-2--


Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Ricardo Wurmus <rekado@HIDDEN>
Subject: bug#60608: closed (Close)
Message-ID: <handler.60608.D60545.175231702318627.notifdone <at> debbugs.gnu.org>
References: <aHI8U8xi7UeZRFQi@jurong> <87h6x32wdz.fsf@HIDDEN>
X-Gnu-PR-Message: they-closed 60608
X-Gnu-PR-Package: guix
Reply-To: 60608 <at> debbugs.gnu.org
Date: Sat, 12 Jul 2025 10:44:05 +0000
Content-Type: multipart/mixed; boundary="----------=_1752317045-18789-3"

This is a multi-part message in MIME format...

------------=_1752317045-18789-3
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your bug report

#60545: keras is broken =E2=80=93> package bazel?

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 60608 <at> debbugs.gnu.org.

--=20
60545: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D60545
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems

------------=_1752317045-18789-3
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 60545-done) by debbugs.gnu.org; 12 Jul 2025 10:43:43 +0000
Received: from localhost ([127.0.0.1]:44445 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uaXhn-0004qN-0f
	for submit <at> debbugs.gnu.org; Sat, 12 Jul 2025 06:43:43 -0400
Received: from hera.aquilenet.fr ([185.233.100.1]:50904)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <andreas@HIDDEN>) id 1uaXhk-0004px-VF
 for 60545-done <at> debbugs.gnu.org; Sat, 12 Jul 2025 06:43:41 -0400
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id EEA055FB;
 Sat, 12 Jul 2025 12:43:34 +0200 (CEST)
Authentication-Results: hera.aquilenet.fr;
	none
X-Virus-Scanned: Debian amavis at hera.aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP
 id jC9oGvpeGJz5; Sat, 12 Jul 2025 12:43:34 +0200 (CEST)
Received: from jurong (86.56.141.77.rev.sfr.net [77.141.56.86])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 51783122;
 Sat, 12 Jul 2025 12:43:33 +0200 (CEST)
Date: Sat, 12 Jul 2025 12:43:31 +0200
From: Andreas Enge <andreas@HIDDEN>
To: 60545-done <at> debbugs.gnu.org
Subject: Close
Message-ID: <aHI8U8xi7UeZRFQi@jurong>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Spamd-Result: default: False [-5.55 / 15.00]; BAYES_HAM(-3.00)[99.99%];
 NEURAL_HAM(-2.95)[-0.984]; MID_RHS_NOT_FQDN(0.50)[];
 MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_TWO(0.00)[2];
 FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+];
 RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[];
 RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[];
 FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[];
 ARC_NA(0.00)[]
X-Rspamd-Action: no action
X-Rspamd-Queue-Id: EEA055FB
X-Rspamd-Server: hera
X-Spamd-Bar: -----
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 60545-done
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 (-)

Closing this, as we have moved on to newer versions.
If you still see problems, please open an issue on codeberg.

Andreas



------------=_1752317045-18789-3
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by debbugs.gnu.org; 6 Jan 2023 21:20:22 +0000
Received: from localhost ([127.0.0.1]:55948 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pDu8T-0003uz-Pj
	for submit <at> debbugs.gnu.org; Fri, 06 Jan 2023 16:20:22 -0500
Received: from lists.gnu.org ([209.51.188.17]:58150)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rekado@HIDDEN>) id 1pDu8S-0003ur-2z
 for submit <at> debbugs.gnu.org; Fri, 06 Jan 2023 16:20:20 -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 <rekado@HIDDEN>)
 id 1pDu8Q-0001JZ-L5
 for bug-guix@HIDDEN; Fri, 06 Jan 2023 16:20:18 -0500
Received: from sender4-of-o51.zoho.com ([136.143.188.51])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rekado@HIDDEN>)
 id 1pDu8O-0005GB-P2
 for bug-guix@HIDDEN; Fri, 06 Jan 2023 16:20:18 -0500
ARC-Seal: i=1; a=rsa-sha256; t=1673040012; cv=none; 
 d=zohomail.com; s=zohoarc; 
 b=mgtIYpS0cRf3ibWw8c5R3l2FmmyNq+2PtdybYA51Hm+skxE6b5QC2ZG8U93L3uNOfX9BMLEmkHiw8EV0i5aWpBNlCCXLXAoJUx6rTYjjrwB22s8+mo0yF5b4YLi3wReL5tfVvVBk4aQ2jwBdCZD8ndFVR7V2uR2W0ScSQDjEQsk=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com;
 s=zohoarc; t=1673040012;
 h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To;
 bh=teqsX1ZGYyS4bkLra15wyzYDs83vf0+MQQacA2GNC04=; 
 b=J+bOpPEJ5l9mr4YxA1OYNqExIT3zqKVOwu36TyQWp2VnP7D9Ph83zRxtvZzXIOK6waWQLf5h5E7O+j8QpZmtODaAWHNUmae6pcX9jEFqt4fsh1OFP7RVmAuKgdvKWGDiKlvettbP+RXBcd03hyXx7LbvUas+HpXJ2hdxB+Jv9es=
ARC-Authentication-Results: i=1; mx.zohomail.com;
 dkim=pass  header.i=elephly.net;
 spf=pass  smtp.mailfrom=rekado@HIDDEN;
 dmarc=pass header.from=<rekado@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1673040012; 
 s=zoho; d=elephly.net; i=rekado@HIDDEN;
 h=From:From:To:To:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To:Cc;
 bh=teqsX1ZGYyS4bkLra15wyzYDs83vf0+MQQacA2GNC04=;
 b=XhNVvDCVuegu+1qKaD7MpjnmA/Ze3HSiorxBeYrCqbdkemO5ajzX9xtu6JKU6eCY
 u5beKpRETm12EbsHXmT1bMiRe2zeVXa1gmQZk+ab/sjKW52Q59mjLz2cK/+jFDxLFwy
 kETogPr6gQZO+9WRhLXCdcSuqF0Y5NkHkp1d5xhA=
Received: from localhost (227-111-142-46.pool.kielnet.net [46.142.111.227]) by
 mx.zohomail.com with SMTPS id 1673040011585335.52493028765923;
 Fri, 6 Jan 2023 13:20:11 -0800 (PST)
User-agent: mu4e 1.8.13; emacs 28.2
From: Ricardo Wurmus <rekado@HIDDEN>
To: bug-guix@HIDDEN
Subject: keras is broken =?utf-8?Q?=E2=80=93=3E?= package bazel?
Date: Fri, 06 Jan 2023 22:16:56 +0100
X-URL: https://elephly.net
X-PGP-Key: https://elephly.net/rekado.pubkey
X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
Message-ID: <87h6x32wdz.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-ZohoMailClient: External
Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@HIDDEN;
 helo=sender4-of-o51.zoho.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
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: -2.3 (--)

We have an old version of keras.  This is now broken.  It is not
compatible with python-h5py > 2.10.  Our version of Tensorflow also
won=E2=80=99t work with h5py 3.

We can=E2=80=99t upgrade keras to anything above 2.2.5 because any later ve=
rsion
is built with Bazel.  We cannot build Bazel, because it needs a big pile
of jars that we haven=E2=80=99t packaged yet.

Tensorflow > 1.9 also requires Bazel.

We should work towards packaging Bazel.  Debian has a Bazel bootstrap
package, so I=E2=80=99m hopeful that it=E2=80=99s possible to package with =
some effort.

--=20
Ricardo



------------=_1752317045-18789-3--



Last modified: Sat, 12 Jul 2025 10:45:01 UTC

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