Simon Tournier <zimon.toutoune@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 60545) by debbugs.gnu.org; 6 Jan 2023 16:30:19 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 06 11:30:18 2023 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> To: Zacchaeus Scheffer <Zacchaeus.Scheffer@HIDDEN>, 60545 <at> debbugs.gnu.org Subject: Re: bug#60545: Keras h5py Version Mismatch 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-Debbugs-Envelope-To: 60545 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
bug-guix@HIDDEN
:bug#60545
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 4 Jan 2023 07:34:20 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 04 02:34:20 2023 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. 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("model.h5")</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);"> File "/gnu/store/idfn4l2kxil9id21v1yci4jcw6103fah-profile/lib/p= ython3.9/site-packages/tensorflow/python/keras/engine/saving.py", line= 228, in load_model <div class=3D"FluidPluginCopy ContentPasted0"> 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). A quick= search online indicates that this can be fixed by downgrading h5py to vers= ion 2.10. 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. 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? 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_--
Zacchaeus Scheffer <Zacchaeus.Scheffer@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#60545
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.