From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iL0YGu91WGPiewAAbAwnHQ (envelope-from ) for ; Wed, 26 Oct 2022 01:49:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uBsIGu91WGNIuwAA9RJhRA (envelope-from ) for ; Wed, 26 Oct 2022 01:49:03 +0200 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 1E8EFFB03 for ; Wed, 26 Oct 2022 01:49:03 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onTeX-0007Bv-1i; Tue, 25 Oct 2022 19:48:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onTeP-0006z9-Ct for guix-devel@gnu.org; Tue, 25 Oct 2022 19:48:08 -0400 Received: from mail-qt1-x831.google.com ([2607:f8b0:4864:20::831]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1onTeN-0002mK-VE for guix-devel@gnu.org; Tue, 25 Oct 2022 19:48:05 -0400 Received: by mail-qt1-x831.google.com with SMTP id l28so8809554qtv.4 for ; Tue, 25 Oct 2022 16:48:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=pvZJxLpidEzfqJOFpEKAMwtdj+c5lqxLh08Uuhy+LSw=; b=lzzRwt3zWiXgvHLbllzzoEGM7PocdC7HQN4aXte5P8Z2OI62+GNoAMAvgcPv1wMesR NuY29h5WR6JAS1f2PPrFR2cyZ56p7bTE1TlAxev48lOuTOdLUek+BrRWqL8DJtUPApSl A7iXjdb3/1bToXfVjN863tMgTRzDmprwUtGg+42lU/0lfpJnHGERv4eE78GlGf0OXdhS Osi3O2+3HwW1XQqBFPLeAJva61NTTzCrtrtY19xnSaMYlI92AGzY6RiPrhL/TJemUyay QHmMBIJqcM0kqCfNub5UCP4wX7NQJfg9OD89t7I3fRQhjUXlDAsd2D5k7dY/9eYU9VVG u9Pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=pvZJxLpidEzfqJOFpEKAMwtdj+c5lqxLh08Uuhy+LSw=; b=jNUFzpchCFEHl34QSdR967FS3uD5ay4zNYXdAk2Q1EI+iw/90ApoPN2UJOjZoPJEpg GeLMoZXMCNlLQn7ZOIgGW0yl2p6b7HBVoqqIX4VUraYxCyH5sWlsLOWwySxS2qaZGHho WfD0gxgFID3LpOivjpWXzGcmgMyHc7h38wgMkEyoZ/syXBzyXITGxKJgpLTnNkFTg3vF KDsjVj9KO08RiDcqrUNzFCJU4zDXwUse8Gn5nkrCnqg2NrEryzHgPLdkS/Zbp20hEkGy JPz7jevzFl3grhTWtHvKBcCFK8coavtMSfACfG7xq4v+ohuG4Tpau0AuhHKX4c1ySGOy yOEQ== X-Gm-Message-State: ACrzQf14ZYnPwGM5xZ3U+DAHYyYRLM2JGTVxD969w5Opb4nyEXcRB0Te waJi3EMrzHRlSZYmH17o9NPHXXNffG8= X-Google-Smtp-Source: AMsMyM4f4MYPonysC2p/jxikWEHq4regnVg1oSRjcCU1esCPvgvkJGJLc+xkiGlCrF90Z5HVqAtCNg== X-Received: by 2002:a05:622a:1c1:b0:39a:9da4:1177 with SMTP id t1-20020a05622a01c100b0039a9da41177mr34720761qtw.11.1666741681892; Tue, 25 Oct 2022 16:48:01 -0700 (PDT) Received: from hurd (dsl-152-21.b2b2c.ca. [66.158.152.21]) by smtp.gmail.com with ESMTPSA id j65-20020a37b944000000b006b5c061844fsm2877763qkf.49.2022.10.25.16.48.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Oct 2022 16:48:01 -0700 (PDT) From: Maxim Cournoyer To: Phil Cc: "guix-devel@gnu.org" Subject: Re: Types and builds for mypy References: <87y1t8t16n.fsf@gmail.com> <87a65ndc0j.fsf@beadling.co.uk> Date: Tue, 25 Oct 2022 19:47:59 -0400 In-Reply-To: <87a65ndc0j.fsf@beadling.co.uk> (phil@beadling.co.uk's message of "Sat, 22 Oct 2022 18:05:48 +0100") Message-ID: <87r0yvsbww.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::831; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x831.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-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Guix-devel" Errors-To: guix-devel-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=1666741743; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=pvZJxLpidEzfqJOFpEKAMwtdj+c5lqxLh08Uuhy+LSw=; b=K4Gjvhiqxxsplh6lQX45tnYFuWDhTAqBpk5TQQh/Z9+nVvu91FSmucP+3pYJ7/4GkS/wZd qwS6I7k04c5zdI9BDEb/or5SOsJZvm6vjsbNxIdb3T9veLI0tuJclqbyUIpaiGrufWwVqy 4EH0mphWx8w1YAxi+dGiieG6OdFAegljP5wF0qh7jzY6gArwW+CN6Qe+3dMkEEFjr7e/Y8 5IpMUDJ//iTnaRLWV9IrAlc1y+SWnMweBz9GDOPQ6oAgQ6qj+GOouX6xkQCzvcY0ougU/X k2jR0mkN8d6zLmghASaXGw248/22qX3CrvRQd7mcMpLBdiB3Me2Dtm1JD0c/JA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666741743; a=rsa-sha256; cv=none; b=S4zerkYjPuB/29w9SguiLk5GToRxUVxmZUJI16rjUfZgeqY7bEt9kPS6RIH4vtJYJWwl/J 509Jxl7J2qHHZ2Q9+9fti9ZRCAb5kKQBg8hb4NuGN3gtHG3lrN+8w5Slg6HdO2LNkIL3Ow dmNtoBew339VzDL67MCKaCpPJIB97Ax9/viqTtoqcQneB77CEv2YJrsRU4zyt4KNB9NDH2 3b21DW7VSCl6oLQBttulnuqv7RBdNUHTYfNgnOw7LeZnMbBiG0Ah7Jx/7WGZeBdtbk6Oe0 MrsWx2GNhH9Y19zdCieVcKBxOtGAmp8IKOmsQ9BXMYCclmH+UbfnnNYB8TUYYw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=lzzRwt3z; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.41 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=lzzRwt3z; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 1E8EFFB03 X-Spam-Score: -2.41 X-Migadu-Scanner: scn1.migadu.com X-TUID: i6ERBApO8BLa Hi Phil, Phil writes: > Thanks for your reply Maxim, > > Maxim Cournoyer writes: > > >> Is MyPy the only consumer of Python type annotations? I think so, but >> I'm not sure. If it's the only one, it'd make sense to move mypy and >> all the annotation types to (gnu packages python-types), I think. > > Mypy is certainly a prominent consumer, but you're right - PEP 561 type stub > packages are also used by PyCharm, pytype, and I've heard CPython can > use them to compile, to name a few. > > So I think my revised opinion is mypy should stay where it is, but I do > like the idea of keeping all the types in one module? I'd actually be fine with having mypy in a (gnu packages python-types) module along its types packages. [...] > Cool thanks - leave this with me, I have a working package so can submit > a patch shortly! Excellent! -- Thanks, Maxim