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 ms0.migadu.com with LMTPS id eHoKK3Zo8WGY0gAAgWs5BA (envelope-from ) for ; Wed, 26 Jan 2022 16:27:50 +0100 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 2HJuKHZo8WGFyAAA9RJhRA (envelope-from ) for ; Wed, 26 Jan 2022 16:27:50 +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 64B89436BE for ; Wed, 26 Jan 2022 16:27:50 +0100 (CET) Received: from localhost ([::1]:59358 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nCkD7-0005Ga-3o for larch@yhetil.org; Wed, 26 Jan 2022 10:27:49 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40004) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCk7d-00021X-6K for guix-patches@gnu.org; Wed, 26 Jan 2022 10:22:09 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60299) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nCk7W-0001Cu-Fl for guix-patches@gnu.org; Wed, 26 Jan 2022 10:22:08 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nCk7W-0004dG-Cr for guix-patches@gnu.org; Wed, 26 Jan 2022 10:22:02 -0500 Subject: bug#53395: Fix pypi import for flake8-array-spacing Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Wed, 26 Jan 2022 15:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 53395 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Vivien Kraus Cc: 53395-done@debbugs.gnu.org Mail-Followup-To: 53395@debbugs.gnu.org, ludo@gnu.org, vivien@planete-kraus.eu Received: via spool by 53395-done@debbugs.gnu.org id=D53395.164321046317707 (code D ref 53395); Wed, 26 Jan 2022 15:22:02 +0000 Received: (at 53395-done) by debbugs.gnu.org; 26 Jan 2022 15:21:03 +0000 Received: from localhost ([127.0.0.1]:53191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCk6Z-0004bW-3i for submit@debbugs.gnu.org; Wed, 26 Jan 2022 10:21:03 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:42096) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCk6X-0004aJ-2L for 53395-done@debbugs.gnu.org; Wed, 26 Jan 2022 10:21:01 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 8D30045B; Wed, 26 Jan 2022 16:20:54 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YgFipEARGZT2; Wed, 26 Jan 2022 16:20:53 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 546709E; Wed, 26 Jan 2022 16:20:53 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87czkmi434.fsf@planete-kraus.eu> <87ee4xut38.fsf@gnu.org> <87mtjk22rn.fsf@planete-kraus.eu> <87y234lzqu.fsf@gnu.org> <87ee4v21u6.fsf@planete-kraus.eu> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 7 =?UTF-8?Q?Pluvi=C3=B4se?= an 230 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 26 Jan 2022 16:20:52 +0100 In-Reply-To: <87ee4v21u6.fsf@planete-kraus.eu> (Vivien Kraus's message of "Tue, 25 Jan 2022 17:39:54 +0100") Message-ID: <87ee4uh6az.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / X-Rspamd-Server: hera X-Rspamd-Queue-Id: 8D30045B X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" 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=1643210870; 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: content-transfer-encoding:content-transfer-encoding:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=8hPpj+Fx1YOJ9rvBxiSkdQoD1Y1ubeAB+jCz8EjBwR8=; b=j1RBu7ziCrO5CC/WclgnZh7hQmaecaf7USE59Ij1iHJm4Br53CFfcScacYXVWkg3r/NqdS fEpji4AgIGqDdCkzrNwtTW2dXPFK/pGfyVmNUI3845t/bHwUiElOdl+TL3k47Sxp+UqzDj 8Zq/dFl8ZR5jaYder6hsX+gJYcnEsTmezahYRjeMXYlCU4X2hGkomAWlor1nahKe0Lj2jc wJ42OBEi2zWF8gw9DYTqIHKRAtdV5GqyrtuCLSnoH1j9p7rb3bLdSq+pnBboeIhTZCqgy8 WP33Kku8TlNX5R7Leeugv8rDAqDHua4VKO5r4HtcTdRaL1UDiW2kRTG6G0j3ow== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643210870; a=rsa-sha256; cv=none; b=EwUtP6Rre6b+5m8vFQTMmOcoE8UEBjxOIVDi3i1XhJnTR/tkwMLV+w+eCl71E1xGgRyGKT LjAlTLmlojoJfgc+bfD6EM0Se2OI5SZ695nJVOM0e4pZGhIR1SBU2YuzfyINZU2d1xxpxA 8HKCJ2f/nZBMMgnICcfDZUuUN8GcXHgGlm3mkl/6iJvQAcDzNJOVLjpjADhwO0395zN0+f lB9lowemcwG5ht6ZPOOG3rDAkf0tndvx3AZ7KxVeUfW1R1CMkl6ZJa5AsdA+AWB0uf05T7 E0Ckwe6WK0e1xN+xhw+wMCO9Bt7/4VFwwQJRq5e7fml+xsaJSAGM24S6kQu0og== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.43 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 64B89436BE X-Spam-Score: -4.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: A0C1zC6En700 Hi, Vivien Kraus skribis: > From 8792367617d288e584a703db38c82c749a067c26 Mon Sep 17 00:00:00 2001 > From: Vivien Kraus > Date: Thu, 20 Jan 2022 20:11:56 +0100 > Subject: [PATCH] pypi importer: Convert - to _ in pypi urls if needed. > > * guix/import/pypi.scm (find-project-url): New function. > (make-pypi-sexp): Use find-project-url. > * tests/pypi.scm ("Package Foo has a correct pypi-uri of foo"): New test. > ("If the package goo is released as foo, the importer warns"): New test. \o/ I took the liberty to remove the integration tests you had added, I think it=E2=80=99s preferable (especially since there=E2=80=99s a patch ref= actoring these bits that Maxime submitted recently=E2=80=A6). I mentioned the other changes to the commit log and added a copyright line for you. Let me know if I got anything wrong. Thank you! Ludo=E2=80=99.