From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6469695873171324928 X-Received: by 10.25.229.18 with SMTP id c18mr47130lfh.1.1506496002304; Wed, 27 Sep 2017 00:06:42 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.223.154.16 with SMTP id z16ls200873wrb.4.gmail; Wed, 27 Sep 2017 00:06:41 -0700 (PDT) X-Google-Smtp-Source: AOwi7QC/IlxbE72WHhfJ7xbgf3nVf92bSAKsoMHLGMMMwQW2NcVeiDX6YGVc9Nt0ijZIAGoxCqpf X-Received: by 10.28.4.84 with SMTP id 81mr52068wme.28.1506496001909; Wed, 27 Sep 2017 00:06:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506496001; cv=none; d=google.com; s=arc-20160816; b=tP+xrNLcL1BRD8zC2DU4FT5xSbkdJ0S2M8eMh8H4r5QrAMDWPlwj1+l92fyeJfJwoa U+49AYnpzUAC9S/CTfoWOpCkDJkcXZv+OjmUWkvhkp4aOVtfxoMDqCkg+/aqhyIYQPru 6n0WosZavLseIDFVryNkmv0s1jxAvgfFS1OTEA27mJ8JGZL4b2DQ9Puzabp4P9Si/ZKG u9q271KfARaxGk5Mx2jzzRij2THKf6b4njsMwWURaLBe1FyP/1CQN7EUt5omCiGHMZLf RBEpXjnXbkIhjhjQqeW4rKsKtX+69wCJj05mDt/HdzvIA7TTntG6TxX1KFQy/cpJJvHX OGVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:arc-authentication-results; bh=NC/OI19tgWDIuZ0qmNT1HzBVCs5wxYQY1zQG6CVvZ8o=; b=ehXysLxaOFl4P73X+BgKTtrgnhaWnyYCMbt565Ko0jpTGC1Y/FrSSuH6nHfh0qvc0f Fk12dPXMR6/m1VO/Z0Z2yBsn40tdtRyGNJ2JZXQU+h3UUxlbRQnofaxX1GHjkHSdlBWR w6RlqcOTugEFUXnP6r/AzxdfVrvn9UNMpWi1Tu4p2JQcZaf810Z62BTbIsioM2JGwzwY HR0zcWL7ngQ73pM3Ra7H3NZYQ+X/50pJ/jDni3Ib75Q7PRJRjqR97cVX0Q5b3hCFSobG GEGwLC9+HSTeJU8qqeWuVbSjz3N/LwCFASHaYMouwQctlLqbCXUxd6cwY63xHz/rihzA hTkQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 192.35.17.2 is neither permitted nor denied by best guess record for domain of henning.schild@siemens.com) smtp.mailfrom=henning.schild@siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id q145si1091303wme.4.2017.09.27.00.06.41 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Sep 2017 00:06:41 -0700 (PDT) Received-SPF: neutral (google.com: 192.35.17.2 is neither permitted nor denied by best guess record for domain of henning.schild@siemens.com) client-ip=192.35.17.2; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 192.35.17.2 is neither permitted nor denied by best guess record for domain of henning.schild@siemens.com) smtp.mailfrom=henning.schild@siemens.com Received: from mail3.siemens.de (mail3.siemens.de [139.25.208.14]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id v8R76fXG009309 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 27 Sep 2017 09:06:41 +0200 Received: from md1em3qc ([139.25.68.40]) by mail3.siemens.de (8.15.2/8.15.2) with ESMTP id v8R76ff4023262; Wed, 27 Sep 2017 09:06:41 +0200 Date: Wed, 27 Sep 2017 09:06:41 +0200 From: Henning Schild To: "[ext] Claudius Heine" Cc: Subject: Re: Handling of additional python dependencies Message-ID: <20170927090641.344991c8@md1em3qc> In-Reply-To: <37e510ba-8e38-65d0-9980-286544bc8536@siemens.com> References: <37e510ba-8e38-65d0-9980-286544bc8536@siemens.com> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: OCZmCRFVe6gv Am Mon, 25 Sep 2017 14:44:13 +0200 schrieb "[ext] Claudius Heine" : > Hi, > > I am currently creating a proof of concept implementation for the > caching apt repo proxy for isar. Cant you just use some existing implementation, like apt-cacher or apt-cacher-ng? > My goal was to create this using asyncio, but the python std lacks a > async http protocol implementation. I tried using as much as I can > from the sync version of the http protocol that is available the > python std lib, but that is not that trivial to do. I am now at the > point where I have to decide if I just used some http asyncio library > outside of the std or try another route with this. Maybe just use the > sync version and slap more threads on it. > > How is the policy concerning external python dependencies and isar? > Is it possible to just copy those libraries into the scripts/lib/ > directory, specify it as a host dependency or am I forced to only use > the python std? I would go for a host dependency or a git-submodule, more copies/forks of stuff are not a good idea. Having bitbake and wic in there already seems problematic. Henning > Thanks, > Claudius >