From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6NtHAySikV+GUgAA0tVLHw (envelope-from ) for ; Thu, 22 Oct 2020 15:15:48 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id UNlHOSOikV/aUgAA1q6Kng (envelope-from ) for ; Thu, 22 Oct 2020 15:15:47 +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 C063594014A for ; Thu, 22 Oct 2020 15:15:47 +0000 (UTC) Received: from localhost ([::1]:35214 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVcJe-0007dH-Ph for larch@yhetil.org; Thu, 22 Oct 2020 11:15:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35258) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVcJK-0007cA-Lb for guix-devel@gnu.org; Thu, 22 Oct 2020 11:15:27 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:60255) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVcJI-0002FJ-Dx for guix-devel@gnu.org; Thu, 22 Oct 2020 11:15:26 -0400 Received: from localhost (176-159-32-89.abo.bbox.fr [176.159.32.89]) (Authenticated sender: tanguy@bioneland.org) by relay12.mail.gandi.net (Postfix) with ESMTPSA id CE766200009 for ; Thu, 22 Oct 2020 15:15:20 +0000 (UTC) Date: Thu, 22 Oct 2020 17:15:20 +0200 From: Tanguy Le Carrour To: Guix Subject: Packaging Python projects managed with Poetry Message-ID: <20201022151520.mmq6pyqjc6kxevre@rafflesia> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=217.70.178.232; envelope-from=tanguy@bioneland.org; helo=relay12.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/22 11:15:21 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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=none; dmarc=none; 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.99 X-TUID: EkwOyE4r849+ Hi Guix, I've been happily working with Poetry to manage my Python projects, but now, for the first time, I would like to package one of those projects for Guix. The Python packages I build do not contain any tests or specs, because to me, they don't belong there. But, I need those tests to make sure that my package works with the versions of the dependencies available on Guix. The problem is that the source code that I fetch from the git repository contains the test, but does not contain a `setup.py` file –because Poetry does not use it!—, and the `python-build-system` fails. I haven't wrap my head around this yet and I'm not sure what would be the proper way to do it? Write a `python-poetry-build-system`? I hope not! Just put the d**n tests in the Python package? This would look like a failure to me! :-( Any thought, help, guidance welcome! Thanks! :-) -- Tanguy