X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by lists.alpinelinux.org (Postfix) with ESMTP id 9A44E5C40D5 for ; Fri, 3 Jun 2016 16:10:58 +0000 (GMT) Received: by mail-wm0-f47.google.com with SMTP id a20so2404491wma.1 for ; Fri, 03 Jun 2016 09:10:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kampka-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=aLYTG+JQcMHWNkYE8gkic8af5Nr5vLWP0GUw/ZT1yTg=; b=B6hECFcStziMyL17mxfo6eOu0JmyfxGK+akzvBJY50HvxuG1DsMx+tvLs0X7K9QGDB qzYiEP/Oj/UIPtgV2VrzhDRMegwtPHHKeVN9bDd3ysASMMbDQ8PjdwQ1MXkXXAvEGB3b Cb5613Br/OOCZLQb49auZLnK93o/H/LIZbdvo6dBZjSPv8OPRFO6A5T9BC9IQ/6QcCKt bXIb5dWDSAqi1ygZ6hn7eeKRgRqn9LlaIVqYszLP8rl51vqLVXbL1B6qX7LkfKMJM105 j+R+G8HS7jCDTFOYV7Pfij6mqlmSBMvq8M6jIzZImUwu/aMukKHbm12byoNaZqblTy/G BzPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=aLYTG+JQcMHWNkYE8gkic8af5Nr5vLWP0GUw/ZT1yTg=; b=aIQ+5FtVIFHC9soDyveLNAx0zC2w4phAN320/exAyh8OT4qGEJtUChSZtF7fZIzWLO 9TQ54cGtMkAx6zixi/HRiSZSXaNEIjIGoUkn7G+UumyoDf8XyUbFgybTPPtlzHuQHMuV Uo5K1DFnar2uN9unm6gVD5M3FX1BnuKFEY7bU5Bh9PmDNKJL85WeZSy/QWaQpzJif6d0 t+uvhTCX/oJuYFV+KybZ7vTnlGr9dESFNbeKYmd8CRdgIAr52PyNT1yQcXtRtoehZpfi VwCgdGe0FzUZBxLLBY4vMCjYPaDWgPUPwUdoiC4zQuTLhP7c1+VGaHhSoPIuIHCxFsm1 orDQ== X-Gm-Message-State: ALyK8tLT9K2rZGj2IQloOI0ccD4DdPISITh3krQq/V9k0z7hpHy9bQzlmV15shey/0RN4M+4IkJWVbPu4uU5mg== X-Received: by 10.28.156.135 with SMTP id f129mr323426wme.36.1464970257989; Fri, 03 Jun 2016 09:10:57 -0700 (PDT) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 References: <20160603121228.5d26f586@ncopa-desktop.alpinelinux.org> <20160603141443.GB4441@eucalyptus> In-Reply-To: <20160603141443.GB4441@eucalyptus> From: Christian Kampka Date: Fri, 03 Jun 2016 16:10:48 +0000 Message-ID: Subject: Re: [alpine-devel] Python 3 in Alpine 3.5 To: alpine-devel@lists.alpinelinux.org Content-Type: multipart/alternative; boundary=001a114b3088d59887053461f7be --001a114b3088d59887053461f7be Content-Type: text/plain; charset=UTF-8 Hi, Jiri Horner schrieb am Fr., 3. Juni 2016 um 16:14 Uhr: > 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 > simple > 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 > upgraded with > system packages. Also packaged applications could declare dependencies on > things > in PyPI easily. > I am very much against this. apk should only offer packages for which we can a) verified content, pypi packages are not even signed, installing them does warrent special security considerations since installing python packages from pypi usually means running setup.py, in a system-wide installation probably as root. b) dependency management will be difficult, as several python packages have non-python dependencies. Often these need to invoke a compiler to build correctly. c) apk should only install things for which we can guarantee (to a degree) that they are functional on alpine, which is pretty much impossible for pypi packages, especially if b) applies. Natanael Copa schrieb am Fr., 3. Juni 2016 um 12:12 Uhr: > 1. clean up. (figure out what we can remove and remove it) > 2. rename py-* to py2-* > 3. add py3-* > While we are at it, we should probably check which of the remaining packages need to remain in main and which ones can be moved to community. Cheers, Christian --001a114b3088d59887053461f7be Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

Jir= i Horner <laeqten@gmail.com>= schrieb am Fr., 3. Juni 2016 um 16:14=C2=A0Uhr:
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 si= mple
script that did something similar, so I don't need to switch between ap= k and
pip and it was quite comfortable.

This way it'll be only needed to maintain packages that need patches an= d still
python packages would remain fist-class citizens and they would be upgraded= with
system packages. Also packaged applications could declare dependencies on t= hings
in PyPI easily.

I am very much against = this.
apk should only offer packages for which we can
a= ) verified content, pypi packages are not even signed, installing them does= warrent special security considerations since installing python packages f= rom pypi usually means running setup.py, in a system-wide installation prob= ably as root.

b) dependency management will be dif= ficult, as several python packages have non-python dependencies. Often thes= e need to invoke a compiler to build correctly.

c)= apk should only install things for which we can guarantee (to a degree) th= at they are functional on alpine, which is pretty much impossible for pypi = packages, especially if b) applies.

Natanael Copa <ncopa@alpinel= inux.org> schrieb am Fr., 3. Juni 2016 um 12:12=C2=A0Uhr:
1. clean up. (figure out what we can remove and remove it)
2= . rename py-* to py2-*
3. add py3-*

= While we are at it, we should probably check which of the remaining package= s need to remain in main and which ones can be moved to community.

Cheers,
Christian =C2=A0


--001a114b3088d59887053461f7be-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---