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 EPioNVZZxl/RXgAA0tVLHw (envelope-from ) for ; Tue, 01 Dec 2020 14:55:18 +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 +JpoMVZZxl8hfQAAB5/wlQ (envelope-from ) for ; Tue, 01 Dec 2020 14:55:18 +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 302FD940466 for ; Tue, 1 Dec 2020 14:55:18 +0000 (UTC) Received: from localhost ([::1]:51148 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kk73k-0006nJ-Cc for larch@yhetil.org; Tue, 01 Dec 2020 09:55:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54212) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kk73c-0006n0-EJ for help-guix@gnu.org; Tue, 01 Dec 2020 09:55:08 -0500 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:44496) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kk73a-0002rw-TK for help-guix@gnu.org; Tue, 01 Dec 2020 09:55:08 -0500 Received: by mail-wr1-x42d.google.com with SMTP id 64so3037198wra.11 for ; Tue, 01 Dec 2020 06:55:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=j84G8tv2LSc15Nuv6PneTDPiyozNMCqu5yWzAI+IhLY=; b=C0tff96rW9G4QqXuuDOKOFLiOzysmzq+k6mKgqN2gRmpVcXKaK5E4ZSeJSUqwcpe21 2Vcnes6QDH8FinJfwFVuRxdX3VLD3EJpUcUm+C3nCCKco3EY3CkeuCu7uZ/OS8wc4cER 0zmFKAhv7wVV5BOAntXmrdYWwX363rMFEnTwolBEZiRgSPzMhPrv48/xZuC0BmtXTfoX 2KYO42cEGVr81oKmP2TJqRvf1/22sOEXqQ56gX5J8WZ5AkdV97oV2pXlw9lq/tKbL+yQ 6hXaLbUPAEpGjle/v4MaZ4XPaHQydjF+BX5PqMJAYrxL3ehHf47IZGKuHUHamedXkSTV ptdQ== 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:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=j84G8tv2LSc15Nuv6PneTDPiyozNMCqu5yWzAI+IhLY=; b=ssXNeOy3oVhJHghAuUutfIOqYV4QRDOd0z0kzYMykNqBQ5l97QmDepPqo4cSozzoZi xGsarjVopDc0k+Wp1ynzR8DmQWeHcf3iT85bnZjPZ7LRCf6X8bvSff1QtEVsBgdxRHZB 4DvcM2gqhHnYAA383LtwXRNfQSY7TSsrvpk8XyCmngs+/mzHoDXyOW6s+RYSEmifs618 CL+CgawO3Ygu6PZr4Z4MJ7X7jyx93iYZuyRgNtSaUiZ2ZIasIst4Fl5Ynszd1CF+r9SJ BeCDvfbPDs+rzMOaFwm57fzChTECeyTgu8NaZhLbuJCUVSZsLjrCUNoruwuLKwWLLcxo fVbQ== X-Gm-Message-State: AOAM530ZT80O7nujPTPFbFv6aLVRuiIs74vB/39MyWrVnE1d9m3Jp8dR 8Bzpp034n8FykKls5wGe5zX77K7+MI8kpw== X-Google-Smtp-Source: ABdhPJzcQt2+FWlrFyKc9XsGg4INPHFnBpC/WdFU9nQk+qLkUN0hm6dYeCpMkq7wKacZjVj8mvPi7w== X-Received: by 2002:adf:f48c:: with SMTP id l12mr4335742wro.280.1606834505101; Tue, 01 Dec 2020 06:55:05 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id d2sm3608835wrn.43.2020.12.01.06.55.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Dec 2020 06:55:04 -0800 (PST) From: zimoun To: Phil , help-guix@gnu.org Subject: Re: Avoiding PYTHONPATH - latest? In-Reply-To: <85y2ihpsef.fsf@beadling.co.uk> References: <85360rr8v5.fsf@beadling.co.uk> <86pn3vvvt5.fsf@gmail.com> <85zh2yq413.fsf@beadling.co.uk> <86mtyxvgxg.fsf@gmail.com> <85y2ihpsef.fsf@beadling.co.uk> Date: Tue, 01 Dec 2020 15:54:02 +0100 Message-ID: <86eek9vaph.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42d.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: help-guix@gnu.org X-Mailman-Version: 2.1.23 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" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.49 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=C0tff96r; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 302FD940466 X-Spam-Score: -0.49 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: DdSoEHEFQAKG Hi, On Tue, 01 Dec 2020 at 13:28, Phil wrote: > I could instead run my unit tests against my git clone, but then you're > not testing what you will deliver, you're testing the source code that > will be packaged, not the package itself. The unit tests may fail if > run on the package itself. > > The way around this in Guix, I imagine, is to rebuild a Guix package > containing your own Python code each time you want to test it and then > have the unit tests run as part of that package definition. You might be interested by the Efraim=E2=80=99s talk =C2=ABJust build it wi= th Guix=C2=BB from the online Guix Day: Roughly speaking, Guix allows an undocumented file usually named =E2=80=9Cguix.scm=E2=80=9D or =E2=80=9C.guix.scm=E2=80=9C where the point i= s to easily do the =E2=80=9Cbuild and test what is delivered=E2=80=9D part. Thanks, simon