X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-oi0-f67.google.com (mail-oi0-f67.google.com [209.85.218.67]) by lists.alpinelinux.org (Postfix) with ESMTP id 0CD115C40BF for ; Fri, 3 Jun 2016 15:21:14 +0000 (GMT) Received: by mail-oi0-f67.google.com with SMTP id m198so17669159oig.0 for ; Fri, 03 Jun 2016 08:21:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-transfer-encoding; bh=nvJW4C78V3N2y6HaP75h/BZi93jWa5h7jBo5116OdAQ=; b=gOT9dTNvJrk9gNq5AL4JD06tsb6d6sax03Rzk1GPssbjq/vl53GC+uTtNCvXmbTzbR 9PwejcLbq2pBDpdaWeXSkPBpgOlasnJI74UW0umThIV5QPvkVmYMR2zLYG8thioogBSZ vQAQU3uXjFsJwaDpMjYPHuEnPUedMt4LlC/1jxTj5ALHuKWbsmS0Ox4/zAkOooAKh4mM /yDkSb+xSH4eOXP4UbX16GNNpwLLRgkMNUXpRu5EMGIIaqHaHRZYYQn1L6QDs6iKXZhC 9i+nFnItNA0JQRFSvhI+D6Zv6vC9zWJhTZIE2YUlSBjVJpn/DlLFaWNIdIuNpeuMP1oT kc2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-transfer-encoding; bh=nvJW4C78V3N2y6HaP75h/BZi93jWa5h7jBo5116OdAQ=; b=Ei6ixobzAhryHzbTZsdiDAGFFYBOhLtpQ9SCDVUZjVRg9wrECtapXUHadSNCVC2Ref tCPJFd7nVqA1SDcNEZDgaTyTDpraPjlR/eKNUO63XMKEyJ9SXw+UhFp1vuAfI9QbqIoX iiP/K0bj5L2/tuiWlqW3hiOQiRsEI3rpiIcfQIUjpX8rB8GBt6rASzIG4hLt8tjPObQq 0YZvPZE7T0ARnbElNVQdo4mYrDmwRxokmYGfk7RZ8UihQLWOGx31k32ovRmC+CCI+TWy vUfBfnkT1GqGwZBsujXSri0IniA9BjBGunGDqLM0r+ZiXpPDQHMpuN7g7vhfw05Ap/xV pgjg== X-Gm-Message-State: ALyK8tLLqqHZ+XWBCEtxdYJWYKTc7QCxT7qxzXSdPhqyCWO+eRemKcTy/CHcr7s/a2cDgF9lhluq2taKcqAxpw== X-Received: by 10.157.48.89 with SMTP id w25mr2077285otd.32.1464967273510; Fri, 03 Jun 2016 08:21:13 -0700 (PDT) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.202.172.195 with HTTP; Fri, 3 Jun 2016 08:20:53 -0700 (PDT) In-Reply-To: <20160603141443.GB4441@eucalyptus> References: <20160603121228.5d26f586@ncopa-desktop.alpinelinux.org> <20160603141443.GB4441@eucalyptus> From: Sander Maijers Date: Fri, 3 Jun 2016 17:20:53 +0200 Message-ID: Subject: Re: [alpine-devel] Python 3 in Alpine 3.5 To: alpine-devel@lists.alpinelinux.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi all, I use a lot of Python including Aports, and would not mind if they were all removed. It would be good though if documentation is provided how to get up and running installing python packages. E.g. ca-certificates must be installed first for pip to work properly with PyPI. You can measure popularity by checking the number of downloads of Python Aports. This will give a more direct measure than general popularity, namely the likelihood that Alpine Linux users will be dissatisfied once those Aports are no longer available. Please check who is currently maintaining py3 Aports and query them, as they may be more offended if Aports are removed without a lot of consultation than users in general. I also think Jiri's idea is interesting. For this apk extension, do consider defaulting to the pip options: --disable-pip-version-check --isolated --no-cache-dir Best, Sander On Fri, Jun 3, 2016 at 4:14 PM, Jiri Horner wrote: > > On Fri, Jun 03, 2016 at 12:12:28PM +0200, Natanael Copa wrote: >> >> On Thu, 02 Jun 2016 12:29:17 +0200 >> Bart*omiej Piotrowski wrote: >> >>> Hi all, >>> >>> we already discussed Python 3 support at least 3 times. As we recently >>> released new stable series, edge is again open for all happy breakage >>> so let's make use of it. >>> >>> Before I start though, I ran a simple grep on aports and it turns out >>> there are 575 packages providing various Python libraries. I think this >>> is much beyond our resources to keep all of them up to date, including >>> possible security fixes. Following recent Ruby example, I would love t= o >>> limit this set to only very popular libraries (Flask, Requests, etc) an= d >>> these that require to be patched to successfully build (numpy). I can >>> also >>> see an exception for all compiled libraries. The question is how to >>> measure >>> popularity; if that becomes a concern, I would rather drop all pure >>> Python >>> modules instead. >> >> >> The difference between python and ruby module packages is that python >> are much easier to package an maintain. Upgrading python packages is >> fast too, so I actually don't mind keeping then. >> >> Ruby packages on the other hand was almost impossible to maintain, >> which is why they got removed. >> > > Have you considered integrating pip with apk? Like `apk add py-foo` would= invoke pip to install `foo` for you and manage upgrades too. I was using s= imple script that did something similar, so I don't need to switch between = apk and pip and it was quite comfortable. > > This way it'll be only needed to maintain packages that need patches and = still > python packages would remain fist-class citizens and they would be upgrad= ed with system packages. Also packaged applications could declare dependenc= ies on things in PyPI easily. > > Cheers, > Jiri > > > > --- > Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org > Help: alpine-devel+help@lists.alpinelinux.org > --- > --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---