From unknown Fri Jun 20 07:22:21 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#61464 <61464@debbugs.gnu.org> To: bug#61464 <61464@debbugs.gnu.org> Subject: Status: [PATCH 0/2]: gnu python-construct: Update to 2.10.68. Reply-To: bug#61464 <61464@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:22:21 +0000 retitle 61464 [PATCH 0/2]: gnu python-construct: Update to 2.10.68. reassign 61464 guix-patches submitter 61464 Sharlatan Hellseher severity 61464 normal tag 61464 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 12 18:48:41 2023 Received: (at submit) by debbugs.gnu.org; 12 Feb 2023 23:48:41 +0000 Received: from localhost ([127.0.0.1]:47141 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRM5J-00010c-Ar for submit@debbugs.gnu.org; Sun, 12 Feb 2023 18:48:41 -0500 Received: from lists.gnu.org ([209.51.188.17]:41008) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRM5H-00010V-Mr for submit@debbugs.gnu.org; Sun, 12 Feb 2023 18:48:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pRM5H-0001BQ-Gn for guix-patches@gnu.org; Sun, 12 Feb 2023 18:48:39 -0500 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pRM5F-0003wW-QL for guix-patches@gnu.org; Sun, 12 Feb 2023 18:48:39 -0500 Received: by mail-wm1-x32f.google.com with SMTP id j32-20020a05600c1c2000b003dc4fd6e61dso10109080wms.5 for ; Sun, 12 Feb 2023 15:48:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=DCPwqzGJVKQHTcV0Ym11H4k1Sr31YZPjgkCVkOfjtY8=; b=LUudvZjgjgLnI4bAmRfiKnyfd7OfJJPVk/7REDoFHjWWwnBYF907fRuoqsA83eTIan YkDdF6OtLs/4ydg63s15IX/DzbBMlkoca8m9cWQzBg5X1sm+c5ZBTgmVrqXC4BdPRXtf K2cJwB4Oq7IkwGVrTBwvGzPcJJe0JVNr+ky3x8Nydws1SfAzEHXvXaOf2An/Er5DUSkj diKg4vPlHeQSrljM5HuiZQRqMZqD8cp3E3NMZZVYF95+AEXgI+MJgGgMeBTQ7i+/cio8 uMs/JYJ7VEudBRUxbHQ3yttteCU51zYuPmSh7W7sPUK8Y2CA0Tp8me7K+xZxj5HayFsG k8Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=DCPwqzGJVKQHTcV0Ym11H4k1Sr31YZPjgkCVkOfjtY8=; b=e+DEtnSUjm5S+Q3KaGPYH+OUZ4S7/rYrfHjg5xcXOkWEbnELTSZddpjIA+sYu0R8RC dQ5ajoPrDCAmse+daoJiK3cJ9gidobJ8VH0O/H94xHwbpBrgcBAxIra8p1TNOQYbqGB1 xL2mnCWoIFt5EwclajXRODU7cOGRCf1Ij20mRNm93wjaDtHgmNTc4JASd7waI9OmJB6O dcGfM/82QlfyoUMF/2fPQJSX/HIFGFFX4bmjaTV9Z58e2xggDdgVZDIEpVcxTDD0krTQ I1GedGvj20Jw0NQ5DMi4QvHLeyAVXKm7kqdQhz4lOj/BZWew3/flsZ1guhpQEW1oypTZ VvzA== X-Gm-Message-State: AO0yUKU/SLZpOhJ49wqlGT2OHMUmleNvpW+jiWAhYPchweXfIz6aqQ1I 8zto4bjh1omogU7WeD/iL4UUa4riIg4= X-Google-Smtp-Source: AK7set+/53uWUB4dWWn1tEclIjF1LVKfiMxyVG+so965fezO+nzFcva+qjsabJjNuqp1JAS1i8d7EQ== X-Received: by 2002:a05:600c:1c04:b0:3df:9858:c02c with SMTP id j4-20020a05600c1c0400b003df9858c02cmr875872wms.1.1676245715648; Sun, 12 Feb 2023 15:48:35 -0800 (PST) Received: from guxtil.incerto.xyz (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id q14-20020a05600c46ce00b003db12112fcfsm13379543wmo.4.2023.02.12.15.48.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Feb 2023 15:48:35 -0800 (PST) From: Sharlatan Hellseher To: guix-patches@gnu.org Subject: [PATCH 0/2]: gnu python-construct: Update to 2.10.68. Date: Sun, 12 Feb 2023 23:48:32 +0000 Message-Id: <20230212234832.25245-1-sharlatanus@gmail.com> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=sharlatanus@gmail.com; helo=mail-wm1-x32f.google.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, FREEMAIL_FROM=0.001, 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 Cc: Sharlatan Hellseher X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi Guix! Inspired by FOSDEM's talk about gallia https://github.com/Fraunhofer-AISEC/gallia - pentesting framework, I'd tried to pack it but some of the Guix's inputs are outdated and some are above allowed. gallia v1.1.4 requires Python 3.11+ which is not available in Guix right now so I'm about to pack the closed possible to satisfy requirements version - v1.0.3. This patch series bumps python-construct to the latest and fixes build of depended python-capablerobot-usbhub with it's upgrade to the latest as well. Attempt to insure nothing broken with this update: > ./pre-inst-env guix build $(./pre-inst-env guix refresh --list-dependent python-construct|awk -F: '{print $2}') > /gnu/store/ycvfwhxnj13xsyrqngm9lplk293diw2p-gr-satellites-4.6.0 > /gnu/store/8bw6nbpyiywh4by7780fc8rxw0mg6fvh-secrets-6.5 > /gnu/store/6fxa0f70gwi7vl0pqa0b5rkam7wl9cws-python-capablerobot-usbhub-0.5.0 > /gnu/store/fq6ihigrjmr6ig3yn5w6hl41wrz9fg6w-electron-cash-4.2.12 > /gnu/store/dlzgq2j1idjapipl60vjkzbimv05lhi9-trezor-agent-0.14.4 > /gnu/store/9z1wzmbca830flrlbd97rahvv37y1hjx-python-miio-0.5.11 Sharlatan Hellseher (2): gnu: python-construct: Update to 2.10.68. gnu: python-capablerobot-usbhub: Update to 0.5.0. gnu/packages/libusb.scm | 34 ++++++++++++++++++++++++---------- gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++-------- 2 files changed, 46 insertions(+), 18 deletions(-) base-commit: 2b1383c0a2f79117103b142440c64f6a751d545d -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 12 18:50:09 2023 Received: (at 61464) by debbugs.gnu.org; 12 Feb 2023 23:50:09 +0000 Received: from localhost ([127.0.0.1]:47147 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRM6i-00013a-QC for submit@debbugs.gnu.org; Sun, 12 Feb 2023 18:50:09 -0500 Received: from mail-wm1-f53.google.com ([209.85.128.53]:55180) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRM6g-000134-Rb for 61464@debbugs.gnu.org; Sun, 12 Feb 2023 18:50:08 -0500 Received: by mail-wm1-f53.google.com with SMTP id n13so7589144wmr.4 for <61464@debbugs.gnu.org>; Sun, 12 Feb 2023 15:50:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=avoNP1ijh6C2yNFDt4IRkEcBbmFw4/wrOhFU+fyzcVg=; b=qHy6f5nMwzxiViGSrRUgdxu99H8s4VdvFL0z/suKo1lkCUCx657ulxXQHYC3vlJD1v JQ++WtT3qKXtfHlRRP3kzKUExOlMDE4f8Ad7qIkhQMhdPSuvPOQd3u/OCprwA7LFnXvR GCj4ZvK74v+Zo/BWMK2fVvYEwBlN0UE0sBcNhn3Cvf+e94T2C0CdBk6/Uv561Ym1z1r9 xTMce/U3v31RJOmRU4J+4V8lzyCgcG6NFZAV6QpmEqfgpUSnfX7MzjuvhRlYe/irwvOL z2bKM3IkDYHfV7h8MFRymj4LruAS77ZER6UabN6AEDXCe3VqEpRSoe6BTQTraLE+34Jf s93w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=avoNP1ijh6C2yNFDt4IRkEcBbmFw4/wrOhFU+fyzcVg=; b=qBP2Og0OZJq/OsdsuNy65NynEvP89CeKfGd2yre+lkO50uyicqpld+LAoOAlEYahbY GvIxON7J7RL/zKkI03O4o9gtqzE38nYWZFrAXC2Htz4hMMLcwtROWxZCQnKPIyYRcmwH QCxPN5f1TJ6zABCx//n5rROpdAIEPRGEAHGMCebYMY6vb/qPQrUb9gS9AlCYJ448yVy6 ZmSvROntTwodCaJoL8Mc7/+9vpWrnG21OiaxgzHvdNPzLFxpW0sdcXjc+s3BgOQQ3+l/ NxbNBvaTfKoCG9lJ4EyW2R1C7XyQ9aCDADqM/sH8/n82q4/nd8+Rxig3RkoH/BwYUI1N pKhg== X-Gm-Message-State: AO0yUKWB3ZSDvAsBcJqUsTn/8ZI/OoWFaOfJGRmYhkit2RsJH5TL4aqJ OCOyujBuSnKQIeEHfDEzouD0fpFkk90= X-Google-Smtp-Source: AK7set9M+JajCrllo6aw0vfG1N9WGTQQMw8ZjRM519v4pVvwqvhrfnii/BAQ0Qxtmfm1GJJobo2DYA== X-Received: by 2002:a05:600c:1817:b0:3dc:405b:99bf with SMTP id n23-20020a05600c181700b003dc405b99bfmr17927413wmp.15.1676245801258; Sun, 12 Feb 2023 15:50:01 -0800 (PST) Received: from guxtil.incerto.xyz (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id l19-20020a05600c2cd300b003dfefe115b9sm13458897wmc.0.2023.02.12.15.50.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Feb 2023 15:50:00 -0800 (PST) From: Sharlatan Hellseher To: 61464@debbugs.gnu.org Subject: [PATCH 2/2] gnu: python-capablerobot-usbhub: Update to 0.5.0. Date: Sun, 12 Feb 2023 23:49:57 +0000 Message-Id: <20230212234957.25326-2-sharlatanus@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230212234957.25326-1-sharlatanus@gmail.com> References: <20230212234957.25326-1-sharlatanus@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61464 Cc: Sharlatan Hellseher X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/libusb.scm (python-capablerobot-usbhub): Fix build and update to 0.5.0. [source]: Use git checkout which allows to pass build the package. [build-system]: Use pyproject-build-system. [arguments]{tests}: Disable them as not provided. [phases]{use-poetry-core}: New phase. [phases]{install-udev-rules}: Remove trailing #t from lambda. [native-inputs]: Add python-poetry-core. [propagated-inputs]: python-click -> python-click-7, python-pyyaml -> python-pyyaml-5. --- gnu/packages/libusb.scm | 34 ++++++++++++++++++++++++---------- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm index d46f1f8cc2..468f7b1753 100644 --- a/gnu/packages/libusb.scm +++ b/gnu/packages/libusb.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2020 Christopher Howard ;;; Copyright © 2021 Guillaume Le Vaillant ;;; Copyright © 2022 Jacob Hrbek +;;; Copyright © 2023 Sharlatan Hellseher ;;; ;;; This file is part of GNU Guix. ;;; @@ -40,6 +41,7 @@ (define-module (gnu packages libusb) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system glib-or-gtk) + #:use-module (guix build-system pyproject) #:use-module (guix build-system python) #:use-module (gnu packages autotools) #:use-module (gnu packages compression) @@ -51,6 +53,7 @@ (define-module (gnu packages libusb) #:use-module (gnu packages mp3) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) + #:use-module (gnu packages python-build) #:use-module (gnu packages python-xyz) #:use-module (gnu packages readline) #:use-module (gnu packages tls) @@ -310,18 +313,28 @@ (define-public python-pyusb (define-public python-capablerobot-usbhub (package (name "python-capablerobot-usbhub") - (version "0.2.7") + (version "0.5.0") (source (origin - (method url-fetch) - (uri (pypi-uri "capablerobot_usbhub" version)) + ;; PyPI tarball fails to build. + (method git-fetch) + (uri (git-reference + (url "https://github.com/CapableRobot/CapableRobot_USBHub_Driver") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 - "1priic4iq2vn1rc711kzxwhxrwa508rkxrr193qdz2lw26kdhvix")))) - (build-system python-build-system) + (base32 "1nfd12612z9a9hby5dxg7lfqw5jcv3wcyqqagbg5izragni646mc")))) + (build-system pyproject-build-system) (arguments - `(#:phases + `(#:tests? #f ; No tests provided. + #:phases (modify-phases %standard-phases + (add-after 'unpack 'use-poetry-core + (lambda _ + ;; Patch to use the core poetry API. + (substitute* "pyproject.toml" + (("poetry.masonry.api") + "poetry.core.masonry.api")))) (add-after 'install 'install-udev-rules (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) @@ -329,10 +342,11 @@ (define-public python-capablerobot-usbhub (copy-file "50-capablerobot-usbhub.rules" (string-append out "/lib/udev/rules.d/" - "50-capablerobot-usbhub.rules")) - #t)))))) + "50-capablerobot-usbhub.rules")))))))) + (native-inputs + (list python-poetry-core)) (propagated-inputs - (list python-click python-construct python-pyusb python-pyyaml)) + (list python-click-7 python-construct python-pyusb python-pyyaml-5)) (home-page "https://github.com/CapableRobot/CapableRobot_USBHub_Driver") (synopsis -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 12 18:50:09 2023 Received: (at 61464) by debbugs.gnu.org; 12 Feb 2023 23:50:09 +0000 Received: from localhost ([127.0.0.1]:47149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRM6j-00013c-9X for submit@debbugs.gnu.org; Sun, 12 Feb 2023 18:50:09 -0500 Received: from mail-wm1-f52.google.com ([209.85.128.52]:54082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRM6g-00012u-DP for 61464@debbugs.gnu.org; Sun, 12 Feb 2023 18:50:08 -0500 Received: by mail-wm1-f52.google.com with SMTP id u10so7591927wmj.3 for <61464@debbugs.gnu.org>; Sun, 12 Feb 2023 15:50:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=IUGHunpb0xnPdwLFlVCCxQSJZv/ISJDyumOro1aWHko=; b=UGeRF7AOMCSdj+0iU3I/TF3qOJfxZTG8dy9qKyimUQdjasdWHf7G7fvoBD+HbmwMAD fG9dF/gHVvkNBJ0rFoUpXmKUCGHsYA6yYxOYbqzYjGK2pPnDLedlTiX3Sb4dVvGGuD9g 6VLelJX4yk/mYMOuwe+Tg6tH+Movete6NABVRfGqhlmgGWfa9CeHoiVNWzydCgxSNq8a XoH73bjMUoCL6fqhE3xGWULDUekHGDAW7jfpVtmRdM80uWUQ4H4tO/krbHYejG8do9Il VPX8qZo5p9P9ssqEPpEfmL7+5CMlc4sT1ju3EPuSNIbqvUEKLJDsv689YlDXyOXOD3N6 AxNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=IUGHunpb0xnPdwLFlVCCxQSJZv/ISJDyumOro1aWHko=; b=U3OTSXm1y3rkH02Fl1YDiRlyc7U+KWm/knBIBD8X2XNwdRgvTMxOOcZjCqxksK8LVd P+tMD/AR8zpyKeyr5c2gl23yUZhUYsvvodlZIhf5eA7oPkR9VuZrf8GNRnFlEYzn4ZKk DGlB2Vqb3QmbeOmH4oeYUvDaVDxHmh9g7k+TF5mH4d+XIxLYfPUL4ZYumOW6ehY5c2po 1vVsESaXGCjO0X2y6v8A/JYtPlncraAQf7zNupd01CmjMSSZGuLtIfEcWSvTAz9IC82H Bn41qUC3Opn2l76i7KHArIQrpRhh0hkW1TKuTenCtYYTX52T9F4BeV5x3QwBINoQQQSj fshg== X-Gm-Message-State: AO0yUKWOzmoN/nUr2CdbrJKIOg9YiyPzenUecyLAuaHbjef2iyOT5zqB ZPlJXvtyI4E7ZcGmESF5ebBfuUE5pis= X-Google-Smtp-Source: AK7set9AvMh3bA/PR35wQ5cvg/hQMyYBn3dpsFYvR0xWUSfx+ZkjZF3O5RFDgQkRLVu+kUGrN6pRSQ== X-Received: by 2002:a05:600c:1656:b0:3e0:c4b:18f5 with SMTP id o22-20020a05600c165600b003e00c4b18f5mr17492504wmn.5.1676245800547; Sun, 12 Feb 2023 15:50:00 -0800 (PST) Received: from guxtil.incerto.xyz (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id l19-20020a05600c2cd300b003dfefe115b9sm13458897wmc.0.2023.02.12.15.50.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Feb 2023 15:50:00 -0800 (PST) From: Sharlatan Hellseher To: 61464@debbugs.gnu.org Subject: [PATCH 1/2] gnu: python-construct: Update to 2.10.68. Date: Sun, 12 Feb 2023 23:49:56 +0000 Message-Id: <20230212234957.25326-1-sharlatanus@gmail.com> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61464 Cc: Sharlatan Hellseher X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/python-xyz.scm (python-construct): Update to 2.10.68. [source]: Use git checkout over PyPI to enable tests. [arguments]{tests}: Enable them with custom phase. [native-inputs]: Add python-pytest, python-pytest-benchmark. [propagated-inputs]: Remove python-extras. Add python-cloudpickle, python-lz4. --- gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 445f5a787d..1f13e3ba28 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -94,7 +94,7 @@ ;;; Copyright © 2020, 2021 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2020 EuAndreh ;;; Copyright © 2021, 2022 Morgan Smith -;;; Copyright © 2021, 2022 Sharlatan Hellseher +;;; Copyright © 2021-2023 Sharlatan Hellseher ;;; Copyright © 2021 Ellis Kenyő ;;; Copyright © 2021 LibreMiami ;;; Copyright © 2021 Xinglu Chen @@ -24432,19 +24432,33 @@ (define-public python-attr (define-public python-construct (package (name "python-construct") - (version "2.10.56") + (version "2.10.68") (source (origin - (method url-fetch) - (uri (pypi-uri "construct" version)) + ;; There are no tests in the PyPI tarball. + (method git-fetch) + (uri (git-reference + (url "https://github.com/construct/construct") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 - "0q86jjzsvy835h3c8pjj4619vbp7ihfg8njmyw86ym4qrpni7flp")))) + (base32 "1b59kq8scxhn9afqgmksk45n53gawylqm8gw3k0vmljg274xi7vf")))) (build-system python-build-system) (arguments - `(#:tests? #f)) ; No tests exist. + (list #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "-v" "tests/"))))))) + (native-inputs + (list python-pytest python-pytest-benchmark)) (propagated-inputs - (list python-extras python-arrow python-numpy python-ruamel.yaml)) + (list python-arrow + python-cloudpickle + python-lz4 + python-numpy + python-ruamel.yaml)) (home-page "https://construct.readthedocs.io") (synopsis "Declarative and symmetrical parser and builder for binary data") (description -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 15 10:58:39 2023 Received: (at 61464) by debbugs.gnu.org; 15 Feb 2023 15:58:39 +0000 Received: from localhost ([127.0.0.1]:33703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSKB5-000081-5Q for submit@debbugs.gnu.org; Wed, 15 Feb 2023 10:58:39 -0500 Received: from mail-wm1-f54.google.com ([209.85.128.54]:51925) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSKB1-00007D-86 for 61464@debbugs.gnu.org; Wed, 15 Feb 2023 10:58:35 -0500 Received: by mail-wm1-f54.google.com with SMTP id o36so13691980wms.1 for <61464@debbugs.gnu.org>; Wed, 15 Feb 2023 07:58:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=miotku7ceQobh0r5ScoDEF97GZ0NiYfEzv1JAULDVeE=; b=iBWY5gpKQbsQRpgom1fif7px+LjpSwhPAjGM4X+QDBUYuLqlBvdDs1KNPhG//yY5xR A6uxioqbm0+mkuuQm7VCqR4DVmtP/8ccv6vPL6ZfiLgXROWHNZqoSkFsDoAL6WUMZii4 eis5Y+Cb6D8tZfBYxsKBVT/2yaEoEKaqtZCp0s0hYvBAyXzfQHGjQ+Ej4yFCikjLb7Qo xe9DMCl6mayjwp9GgvhsPq1ptwbFEP0kt3Np8ArLBn+h8YbVSEcmzjKpLdOj+vRz4gla 9Ey4jXL46Voxh0PrDQ9qtfA5kSxBq5eCO0doVUao5oYixpPaQisM+68fM39SDKqaTgvd kfpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=miotku7ceQobh0r5ScoDEF97GZ0NiYfEzv1JAULDVeE=; b=R3h7Ag+UkE0zmhT6CAAd12WXI/Fi47zFNdtHOqfKlDO5lKyupAP0nid/B0RDh7kqys soYU1q6VW9kIcoBHQz/vcCxnPamvrGhv79O35QqOCGTaqriekgYQAZAQxpHUJc0OPfBc 7BQgWL6ft2abpQqg5XztXFA9oGMJv1ptJvDOaCgDOC5iXr4zTJ0G+wJp5KSUl8lKARdh 7uj6bRga1CNpprUMSoN0fELdSbeIzWX8ig6CL/5Ww7LEqaHOBVDi0QGQDsA7ZoWg/0ix yQac5ra7lmtbsyjPcDR1nDHEmVKRcWefefmJRpp64ADS1GvgVJsI+hsp0//l7g+3PeEN nuDQ== X-Gm-Message-State: AO0yUKXyD/xT00MnEQHlctV4VJKTNhenEB6eXVzteWy1QyZK+vLazOCd blVvSHWRzZVfE7tG4MAcxzrV+yG8tPM= X-Google-Smtp-Source: AK7set9snfSDI6yPWrGYXZthrQqCF0bFUF69Fj6HgQeSQW0yH2hGo2a0sGyH23wCVkhoO+FC+4g/PQ== X-Received: by 2002:a05:600c:3b9d:b0:3d2:231a:cb30 with SMTP id n29-20020a05600c3b9d00b003d2231acb30mr2858411wms.3.1676476709689; Wed, 15 Feb 2023 07:58:29 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id r128-20020a1c2b86000000b003dff2b493c8sm2612412wmr.36.2023.02.15.07.58.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Feb 2023 07:58:29 -0800 (PST) From: zimoun To: Sharlatan Hellseher , 61464@debbugs.gnu.org Subject: Re: [bug#61464] [PATCH 2/2] gnu: python-capablerobot-usbhub: Update to 0.5.0. In-Reply-To: <20230212234957.25326-2-sharlatanus@gmail.com> References: <20230212234957.25326-1-sharlatanus@gmail.com> <20230212234957.25326-2-sharlatanus@gmail.com> Date: Wed, 15 Feb 2023 12:41:27 +0100 Message-ID: <867cwjdul4.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, Thanks! Enough green: https://qa.guix.gnu.org/issue/61464 :-) LGTM. On Sun, 12 Feb 2023 at 23:49, Sharlatan Hellseher wrote: Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (zimon.toutoune[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.128.54 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 1.1 DATE_IN_PAST_03_06 Date: is 3 to 6 hours before Received: date -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.128.54 listed in wl.mailspike.net] X-Debbugs-Envelope-To: 61464 Cc: Sharlatan Hellseher X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.1 (/) Hi, Thanks! Enough green: https://qa.guix.gnu.org/issue/61464 :-) LGTM. On Sun, 12 Feb 2023 at 23:49, Sharlatan Hellseher w= rote: > * gnu/packages/libusb.scm (python-capablerobot-usbhub): Fix build and upd= ate to 0.5.0. > [source]: Use git checkout which allows to pass build the package. > [build-system]: Use pyproject-build-system. > [arguments]{tests}: Disable them as not provided. > [phases]{use-poetry-core}: New phase. > [phases]{install-udev-rules}: Remove trailing #t from lambda. > [native-inputs]: Add python-poetry-core. > [propagated-inputs]: python-click -> python-click-7, python-pyyaml -> p= ython-pyyaml-5. For what it is worth and I am not an expert with ChangeLog style; I think it should be without extra space and =E2=80=99->=E2=80=99 probably wi= th plain words. --8<---------------cut here---------------start------------->8--- * gnu/packages/libusb.scm (python-capablerobot-usbhub): Fix build and updat= e to 0.5.0. [source]: Use git checkout which allows to pass build the package. [build-system]: Use pyproject-build-system. [arguments]{tests}: Disable them as not provided. [phases]{use-poetry-core}: New phase. [phases]{install-udev-rules}: Remove trailing #t from lambda. [native-inputs]: Add python-poetry-core. [propagated-inputs]: Replace python-pyyaml-7 and python-pyyaml-5 by python-click and python-pyyaml. --8<---------------cut here---------------end--------------->8--- Cheers, simon From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 20 08:03:55 2023 Received: (at 61464-done) by debbugs.gnu.org; 20 Feb 2023 13:03:55 +0000 Received: from localhost ([127.0.0.1]:50891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pU5pi-00022q-Rw for submit@debbugs.gnu.org; Mon, 20 Feb 2023 08:03:55 -0500 Received: from relay10.mail.gandi.net ([217.70.178.230]:47877) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pU5pe-00022Y-Gi for 61464-done@debbugs.gnu.org; Mon, 20 Feb 2023 08:03:53 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 970ED240010; Mon, 20 Feb 2023 13:03:43 +0000 (UTC) From: Nicolas Goaziou To: Sharlatan Hellseher Subject: Re: [bug#61464] [PATCH 0/2]: gnu python-construct: Update to 2.10.68. References: <20230212234832.25245-1-sharlatanus@gmail.com> Date: Mon, 20 Feb 2023 14:03:36 +0100 In-Reply-To: <20230212234832.25245-1-sharlatanus@gmail.com> (Sharlatan Hellseher's message of "Sun, 12 Feb 2023 23:48:32 +0000") Message-ID: <875ybwsd3r.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 61464-done Cc: 61464-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, Sharlatan Hellseher writes: > This patch series bumps python-construct to the latest and fixes build of > depended python-capablerobot-usbhub with it's upgrade to the latest as > well. Applied. Thanks to you and zimoun. Regards, -- Nicolas Goaziou From unknown Fri Jun 20 07:22:21 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 21 Mar 2023 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator