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 KKy1IIdhlV9SdQAA0tVLHw (envelope-from ) for ; Sun, 25 Oct 2020 11:29:11 +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 MFxrHIdhlV/3ewAA1q6Kng (envelope-from ) for ; Sun, 25 Oct 2020 11:29:11 +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 7B6C894043B for ; Sun, 25 Oct 2020 11:29:10 +0000 (UTC) Received: from localhost ([::1]:52450 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kWeCz-0000ps-Bh for larch@yhetil.org; Sun, 25 Oct 2020 07:29:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWeCg-0000pW-N1 for help-guix@gnu.org; Sun, 25 Oct 2020 07:28:50 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:38515) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWeCe-0000HN-Mt for help-guix@gnu.org; Sun, 25 Oct 2020 07:28:50 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 0B3D45C00D7; Sun, 25 Oct 2020 07:28:45 -0400 (EDT) Received: from imap5 ([10.202.2.55]) by compute3.internal (MEProxy); Sun, 25 Oct 2020 07:28:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantherx.org; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type; s=fm1; bh=LJ6ZzBNyRmQtHwLNiNmjS9dHA4X95Mu cQs4HN4VBgrU=; b=bGwz5rIQWsvsYbn8y6OKc3mL1PXXydrtBjqjeBYbslm/G0J YoMB7Jiw7RAZfa+wzwiEijGfymBDmGDjD97nQd+PWxkTE5dzJdZfzNIMugOZdWqT TxhQ+3qgRQo6msyQRfXfql6FUGr1bscQ00v+CBjFzA9RkIf5kNfS82gJrGveBE2s fLdAgQAHNXTod+cwpCtfXHduNO4sU2TuvRxQSPterxgnmacRlbaCrz3Fki41qShJ OEygsZxGB4xufA3BY55YCgYspHSQiyptHodebyevfop2M9y40qqs3qk2n5bjqmuz +RMI7Aig/g4uEY6FBGcN9+bYPh6HfUhg9+QoIgQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=LJ6ZzB NyRmQtHwLNiNmjS9dHA4X95MucQs4HN4VBgrU=; b=My5SfczBXZy2MMdmSHaRG+ tZHFFWcYgFC3dKhP+dOfytTqz64UDV9pPGarKnFdK6LKTSxcJPpf7eukZSMno1Fn FfM94B3uolgYVvYixFs81Tzq5VfFkS2kZ7A0s/4dgVQ5sQCPUF4s3Hut6VzQL7MC T/J9cI6sd4nft9oYoJ0aWBembg1drOz6mpek8CK/655eE4CmmOOHkR6GXnx62qS5 WFYVHwkUwX1+/0sSksTZ4f6B5uJl7prZz01rs308HaTugbjQbJOYv7cXphkfpf+J ayp/otq4jbk/x09N/cetlUAHwfbx9lpRfa4d26C3wntyip9PyFAxIji2nsG9Pq8Q == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrkeeggdeftdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgesthdtre dtreertdenucfhrhhomhepfdfjrghmiigvhhcupfgrshgrjhhpohhurhdfuceohhdrnhgr shgrjhhpohhurhesphgrnhhthhgvrhigrdhorhhgqeenucggtffrrghtthgvrhhnpeehgf eiheffveekgfdtteduffduvdffgfelfedtvdeftedtheeihfefgfdtvdevhfenucffohhm rghinhepghhithhhuhgsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomhephhdrnhgrshgrjhhpohhurhesphgrnhhthhgvrhigrdhorhhg X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 81FD05C0099; Sun, 25 Oct 2020 07:28:44 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-529-g69105b1-fm-20201021.003-g69105b13 Mime-Version: 1.0 Message-Id: In-Reply-To: <87lffu7fax.fsf@nckx> References: <80e00aa7-9ddb-4255-9d55-0393e97e84e2@www.fastmail.com> <03b51916-f18c-4776-96ac-616b89c7c99b@www.fastmail.com> <87lffu7fax.fsf@nckx> Date: Sun, 25 Oct 2020 14:58:22 +0330 From: "Hamzeh Nasajpour" To: "Tobias Geerinckx-Rice" Subject: Re: Packaging a python package that is using setuptools_rust Content-Type: text/plain Received-SPF: pass client-ip=66.111.4.25; envelope-from=h.nasajpour@pantherx.org; helo=out1-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/25 06:03:12 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-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: , Cc: SuarezMiguelC via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=pantherx.org header.s=fm1 header.b=bGwz5rIQ; dkim=fail (rsa verify failed) header.d=messagingengine.com header.s=fm1 header.b=My5SfczB; dmarc=none; 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-Spam-Score: 1.00 X-TUID: QE+a9z+WQpdz Thanks for your quick reply. > (native-inputs > `(... > ("rust:cargo" ,rust "cargo") > ...)) Thanks this step passed, but now I face with another error in dependencies. ``` ... phase `patch-generated-file-shebangs' succeeded after 0.0 seconds starting phase `build' running "python setup.py" with command "build" and parameters () running build running build_py creating build creating build/lib creating build/lib/etebase copying etebase/__init__.py -> build/lib/etebase running build_ext running build_rust error: failed to load source for a dependency on `cpython` Caused by: Unable to update registry `https://github.com/rust-lang/crates.io-index` Caused by: failed to create directory `/homeless-shelter/.cargo/registry/index/github.com-1ecc6299db9ec823` Caused by: Permission denied (os error 13) Traceback (most recent call last): File "", line 1, in File "setup.py", line 4, in ... ``` indeed, this library is python and internally it's using a rust library. the `cpython` is one its dependencies that I packaged it (`rust-cpython`) and it needs to it. I don't know how can I add rust dependencies here since I'm using python build system. I added it to inputs but not resolved. Indeed now the problem is adding dependencies (some of them rust and some of them python) to this package while I'm using the python build system. Do you have any idea? Regards, Hamzeh