From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6469695873171324928 X-Received: by 10.223.183.19 with SMTP id l19mr321518wre.6.1506343454671; Mon, 25 Sep 2017 05:44:14 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.28.139.211 with SMTP id n202ls1178301wmd.8.gmail; Mon, 25 Sep 2017 05:44:14 -0700 (PDT) X-Google-Smtp-Source: AOwi7QBt1UftSV4wwMXldHT/dymrO1yJqPbQzqsdhxvgOZSTbzYEZdQEk6gwhtdSr/2wQylxxcdV X-Received: by 10.28.101.133 with SMTP id z127mr31800wmb.32.1506343454404; Mon, 25 Sep 2017 05:44:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506343454; cv=none; d=google.com; s=arc-20160816; b=IU4GapJlEg+CtL0Rx3HDK27AHsLctDN6NByDVlFo2vr5U66tXh8JDBj18qhfntZd25 wgal9hJHI8IKyUtm1+pF2bSsOGLnAa2mZRcrt6hNs70oiBhTp+FCCvzYCTuuT7OEM8zB 4n9m/C3udTU1OgN73ysko0SYZi4B24I2fATXvWvYNzU4DAmqyob/2SS2zlWpKL9AYURR xSTBAS6Ewr9PBRy8ofjgVfcAhqtEVlJoFghA/nRiurXLv67xCfXVKgO2lOUjzgCn/QaL V2OBR4m9KGU+0NIkXugsAANQbvPtzpfLfjZol8BExQcCxWYC6Nozn6gf1TFeyRZV83EM 25PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:mime-version:user-agent :date:message-id:subject:from:to:arc-authentication-results; bh=30vUQFCNjKBEBawLTcc/1Cr43fNEr1l4c1mPcoASGMQ=; b=zLlWkoOBW/RbP693976oHFVH+6YzSa5z5pXeCzLUhodWuxWt+GLyAMK9G1yDTU7P3p 4FUfhJPg3op+b3NQdi5ZDui450LmGiU8WdhnlSsaj4fUbl6btljpFeI26NTCXpQDZQrM H9QroD5SmEoveY7BRvIfk1ZlrgjtR0AuZ4nvChfa5ODe9Joy5MeB7JKywpGZcVKJEMWu Jgv8lBCJmJkaMa4g439gZ3boRlo8bv/Cx05xsiBoOmsO2Sfix4uEtu/KPjaEwaGV6tPE mp2N7ZUJEvaXV0ovhgkqOmO69xOtRhLa3Z8IefMemex+zwrjJ3Mi4KYE6f+OOE6T1dny Z8mA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 192.35.17.28 is neither permitted nor denied by domain of claudius.heine.ext@siemens.com) smtp.mailfrom=claudius.heine.ext@siemens.com Return-Path: Received: from goliath.siemens.de (goliath.siemens.de. [192.35.17.28]) by gmr-mx.google.com with ESMTPS id b62si364400wmd.3.2017.09.25.05.44.14 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Sep 2017 05:44:14 -0700 (PDT) Received-SPF: neutral (google.com: 192.35.17.28 is neither permitted nor denied by domain of claudius.heine.ext@siemens.com) client-ip=192.35.17.28; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 192.35.17.28 is neither permitted nor denied by domain of claudius.heine.ext@siemens.com) smtp.mailfrom=claudius.heine.ext@siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id v8PCiD0Z007779 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 25 Sep 2017 14:44:14 +0200 Received: from [139.25.68.223] (linux-ses-ext02.ppmd.siemens.net [139.25.68.223]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id v8PCiDFq003029 for ; Mon, 25 Sep 2017 14:44:13 +0200 To: isar-users@googlegroups.com From: Claudius Heine Subject: Handling of additional python dependencies Message-ID: <37e510ba-8e38-65d0-9980-286544bc8536@siemens.com> Date: Mon, 25 Sep 2017 14:44:13 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: VxavHzmcfvyQ Hi, I am currently creating a proof of concept implementation for the caching apt repo proxy for isar. 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? Thanks, Claudius -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de