From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8HfnHktRi19EbQAA0tVLHw (envelope-from ) for ; Sat, 17 Oct 2020 20:17:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id GO2eGktRi184TAAAB5/wlQ (envelope-from ) for ; Sat, 17 Oct 2020 20:17:15 +0000 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 12F40940466 for ; Sat, 17 Oct 2020 20:17:15 +0000 (UTC) Received: from localhost ([::1]:60624 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTsde-0003Kd-1A for larch@yhetil.org; Sat, 17 Oct 2020 16:17:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTriE-0005lg-4h for guix-devel@gnu.org; Sat, 17 Oct 2020 15:17:54 -0400 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]:44576) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kTri9-0004T1-Q2 for guix-devel@gnu.org; Sat, 17 Oct 2020 15:17:53 -0400 Received: by mail-ej1-x62e.google.com with SMTP id a3so8190019ejy.11 for ; Sat, 17 Oct 2020 12:17:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version; bh=20Goz4XCbZauUYrG7Rxi4Qom38nczyOWYbIC2lo7tcQ=; b=SMEQp4YcnCoUMa8d1IwgjvV4wRtOso/PI+telsYdJlIWdePD8S5BA2tAYQytbjAJ+0 0+hk8qr9/GieB5/tAoKqb/z43DoLWaLmmNPGfp7IhhOPsLIMgcofF1Wy3vWP9QLitUoZ rU7784PSD0i21pZ+pKpNc9W7u9kNp7LR6BuhrBNiDT7NRAE5JFTUb9P3u8IEr9euH394 /BlpC21iFMB3Di248nvsy1MymwtNSDQZgcBB3xAcmUfLFX52Xi2RNFFv89FoFntKqJAw kQdytHRrZ7DvcxU4OF91I3vKIkdEy+9x9bDN+DZAQVRyBhsxC44KfIxcsaZ0in0lci7K zneQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=20Goz4XCbZauUYrG7Rxi4Qom38nczyOWYbIC2lo7tcQ=; b=WISxidO0eOXyKxuoltaXs2yUt1ktGYbhODK8aL5wqgTpsOVjOtXSi3rBYLTDjBeMdO amVOaGY8CecYPELdtrgzddWO1c35Ihrb+0Ple3cLQnAVilj0HCJUsG/sVQML11mO4JcI K8+Nnr2QrDVbcJtsNYtiraC5GcU5ZHwNKo3iv/wSq4szegNBvtkg6mKDjN7KsaE7jhGy ExhN5wttG8hiULjrmbH+gvhwktIYgnfGlrjiZAw8NJu3Xd8cR+syiU5CyrzlCPemBeqi 9la/HcjnF0eUZiiOVOtbmi27bVJStDQSJ8NmJpmtYdPVbXiOZOLGuwN/2o6yQ3hSw429 a5IA== X-Gm-Message-State: AOAM532omBnz6xTZgiYXXWml8hrnn3aQG7X9BdVPrHyUdIKhqV8itDXC Wej2x/yuRcVwrpOKlzW/IVv1kclaoeY= X-Google-Smtp-Source: ABdhPJx+9PDzb3xSI5FNyns9Vvn6LEz5U/JTYhKReq4fGJ1Dx8YVAqtPc/suBE88YwgFR9y2nvJjfA== X-Received: by 2002:a17:906:26c6:: with SMTP id u6mr10199570ejc.349.1602962261239; Sat, 17 Oct 2020 12:17:41 -0700 (PDT) Received: from Morphium (ip-84-118-73-55.unity-media.net. [84.118.73.55]) by smtp.gmail.com with ESMTPSA id os11sm5834404ejb.104.2020.10.17.12.17.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Oct 2020 12:17:40 -0700 (PDT) From: Malte Frank Gerdes To: guix-devel@gnu.org Subject: usage of pypi-uri in the pypi importer Date: Sat, 17 Oct 2020 21:17:40 +0200 Message-ID: <86r1pwu0ff.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::62e; envelope-from=malte.f.gerdes@gmail.com; helo=mail-ej1-x62e.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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-Mailman-Approved-At: Sat, 17 Oct 2020 16:16:58 -0400 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=SMEQp4Yc; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -0.21 X-TUID: K4v1EPaZVXwJ Hi, i noticed that the python pypi importer generates packages definitions which rely on the pypi-uri function declared in the python build system. I observed that the python build system itself doesn't use this function at all, so why is it defined there and not in the python importer, which seems to be the only piece of software using it? Also: I tried to package pyinstrument-cext and noticed that the importer generated function isn't able to find the source package - only 404's. The importer uses PyPI's json API to get information about a given package (this includes it's url - called source-url), so is the pypi-uri function needed at all? the necessary information is available even without it. Or are there any specific reasons why things are as they are? Malte