From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MIaaE274c2PGTQEAbAwnHQ (envelope-from ) for ; Tue, 15 Nov 2022 21:37:02 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 2DqoEm74c2OmIgEAG6o9tA (envelope-from ) for ; Tue, 15 Nov 2022 21:37:02 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 095AD1CB00 for ; Tue, 15 Nov 2022 21:37:02 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ov2fj-0001XX-8u; Tue, 15 Nov 2022 15:36:43 -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 1ov2fh-0001X9-A5 for help-guix@gnu.org; Tue, 15 Nov 2022 15:36:41 -0500 Received: from knopi.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ov2ff-00066B-Ix for help-guix@gnu.org; Tue, 15 Nov 2022 15:36:41 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 22547410C1; Tue, 15 Nov 2022 21:36:37 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CC30iLgbZi5Z; Tue, 15 Nov 2022 21:36:36 +0100 (CET) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1668544596; bh=ZoU1wBZtjPPFDkiF6MmhncgVkZ4cQv3udCz4q0qa8Ng=; h=Date:Subject:From:To:References:In-Reply-To:From; b=mCYAEeSD8HZ2tRDACeB3qIKb9olSXWPJ06lMbU+8nDC30rd/VJXcpw2fQBkzfZA53 +KunDJFMYD0NA6qQ4t7J5jYdwikGQ4i1uXAMY8sAC39F8fNy3pEz4VZSQ5hY7NNq8a iG9WwLuCK6XtNtpoS2Jqz1nyKcq4tTS3rcN6D5PZtTG/3HSMxXc/ONxaPDt/cgS9ay b0By0tbadtE7I2V0aXBJdOIJ2yRkx29WXf2s9VRfdUSxJ3yWnMxaAoQvKZQ25ZC8GO SobwgSjd6aDyX/LXtXpK7z9mzNGcSSu1pqhZpKtfzQw8mFgEX9CtiThRx7YhOFP3Uu yH3NnaCQJVp/g== Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Tue, 15 Nov 2022 20:36:35 +0000 Message-Id: Subject: Re: (length all-python-packages) From: "(" To: "jgart" , "Guix Help" References: <20221115142211.GB26794@dismail.de> In-Reply-To: <20221115142211.GB26794@dismail.de> Received-SPF: pass client-ip=178.21.23.139; envelope-from=paren@disroot.org; helo=knopi.disroot.org 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668544622; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=31IX6pIyw5fSyrx4MRPD+nYd0EgMHdfMDF3dNdZgfZo=; b=cWFPcIqDyXp4VGiGobyKqIOJYCLCkKcetGYYqR7lN/zDGCbbgqOcwewCrmNn+pR6oPjhR2 ZF8JIG7qtXOQiZx4B8Lb7ZDMPRc7NNbVk4i+Ndpse1CDzMTmExoZTk0horjZlxZDjyXlY9 +cYEHCRUuXz1NGi6U+6rQyR0BkaZ45e7QiBdmc0u6XRUB6P6TGzWvcwoTLO/FG2vKm92Mo BVBAogDjLXV9SmEpAtYqTsO0Fu/E1jxowmum0lObgi2BFcKaY6RjO2sPjavakHvlpCb7L7 7OtZWAZJzwZ8OWDO/8mFhw8CEue7o0ZItE9wrACd44UWFKC3BAcvlmC12W/dBg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668544622; a=rsa-sha256; cv=none; b=i0YDO2LudmzMf2/6jvlWMmadQ2UXrHw98g98nsg/xvSp37Oou6/cTdKmKR7MJnypywluoO PyBsffyzmFo3rOhPoFwxSZTTuwDVldxk7UsZ44TMf30X/VXWZGzEa0gX6rSUDTAgM80hKH ViKYW1iEqsZ1TwY9u8t3M+duTveSLM79tzXoAz3jN/okQU2fa/DzjtK7IVLX93A7Xicl1W NN4NTtukg5EM5pIRIZqgE/v8n1Gus+eD7+j7PficDi7KKMSXTYBMwBSTrSylfxpKhDCeZ1 V+BrfxRqa5GGdSsuEQcMQj8m2T1uOZMBM9afPg4laOdPtlTLxWgVO5/CWuw6Tw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=mCYAEeSD; dmarc=pass (policy=reject) header.from=disroot.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -6.54 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=mCYAEeSD; dmarc=pass (policy=reject) header.from=disroot.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 095AD1CB00 X-Spam-Score: -6.54 X-Migadu-Scanner: scn0.migadu.com X-TUID: cg+w/etHSOl5 On Tue Nov 15, 2022 at 8:22 PM GMT, jgart wrote: > How can I list how many Python packages we currently have in master? How about this: (use-modules (gnu packages) (guix build-system pyproject) (guix build-system python) (guix packages)) (fold-packages (lambda (pkg count) (+ 1 count)) 0 #:select? (lambda (pkg) (and (not (hidden-package? pkg)) (member (package-build-system pkg) (list pyproject-build-system python-build-system))))) For me, this returns "2749". -- (