From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 10 03:31:07 2017 Received: (at submit) by debbugs.gnu.org; 10 Jul 2017 07:31:07 +0000 Received: from localhost ([127.0.0.1]:59509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUT9u-000615-Nn for submit@debbugs.gnu.org; Mon, 10 Jul 2017 03:31:06 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45551) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUT9t-00060U-4E for submit@debbugs.gnu.org; Mon, 10 Jul 2017 03:31:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUT9m-000511-Uh for submit@debbugs.gnu.org; Mon, 10 Jul 2017 03:31:00 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_50,FREEMAIL_FROM, RCVD_IN_SORBS_SPAM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50286) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dUT9m-00050p-Qa for submit@debbugs.gnu.org; Mon, 10 Jul 2017 03:30:58 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36508) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUT9l-0006Hy-8x for guix-patches@gnu.org; Mon, 10 Jul 2017 03:30:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUT9g-0004x0-Ra for guix-patches@gnu.org; Mon, 10 Jul 2017 03:30:57 -0400 Received: from mail-it0-f67.google.com ([209.85.214.67]:32864) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dUT9g-0004w9-N3 for guix-patches@gnu.org; Mon, 10 Jul 2017 03:30:52 -0400 Received: by mail-it0-f67.google.com with SMTP id 188so11887932itx.0 for ; Mon, 10 Jul 2017 00:30:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=uxSdRVCOa5bmhi5iLPY8I2VItoVHhBLA+nGoPep9tBs=; b=lSW/avy1ggtuxV1Os3vrDObGe79m3J+pjP99F3tatJ1r8PdcP6HJl0rbz0Wpp1tTot /VQQMshxDnvbEE4mAdyEP/gwCDC+L1CgT2ZYoKZWoEMj2sTzjnTvBtn5dpGGa04dlbrs UdXjSjQZ0XflEdgoNo9Pxn859Zk0CL8dj8HevtSEB9bD8V4fBIdDNqrlhTW6t2cGl+F1 z+jl6EOz+75Mv2QX3CO+00GbNLfjwCZrAGoh/3xU7Yjzwzl/MZifGvlgzqc4XpTjUaWf YiagwC51+XbFdKuT5tFKCWAkOw1avp+qEmdkN/rtIgPo5IKnP7MFTOw55cMGXjtifqsL LamA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=uxSdRVCOa5bmhi5iLPY8I2VItoVHhBLA+nGoPep9tBs=; b=uPGwUCOspEjZ4b7pFcF7qdz3EBSPD8aVsGVoeZSES2aiucc/fpTfWEsMseVrSo1BMS EyhwP9ByaRRLp494F8n28o+dl/AVVBbPEboCuTCe9P1/trMKHevDpgaQaGexn9pZ4nx1 DueVzBhNSpcwbdkVion/+Kg6GpsuauQtCCyUxEK893lShnNfVZgve5WT7+080uFmMQcu pdRnzxQKm06RvYO92KoOzBOjic0SnNqXnozQAhyM7FGdg+4IdjFRBOgdxocoVhIzLLN8 B0vCLtlTgxNxB3ttNOoy0tz22Tpq/aC5VAHQP/4L5Z3ihNzxhErjO11uTBEmusDW0z5r 65+w== X-Gm-Message-State: AIVw113Lx388Xq36Ie0FROrNC2d68VRVD7ocQ7JwJXI5ktzzccyHi3Ed 6TEHAvakdbcyWXfTBz8So8thU+XQ1YjT X-Received: by 10.36.33.202 with SMTP id e193mr10690275ita.92.1499671789920; Mon, 10 Jul 2017 00:29:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.51.135 with HTTP; Mon, 10 Jul 2017 00:29:29 -0700 (PDT) From: Frederick Muriithi Date: Mon, 10 Jul 2017 10:29:29 +0300 Message-ID: Subject: [PATCH] gnu: Add python-conda To: guix-patches@gnu.org Content-Type: multipart/mixed; boundary="001a1146ee3e5198a60553f18cc4" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.5 (---) --001a1146ee3e5198a60553f18cc4 Content-Type: text/plain; charset="UTF-8" This package is dependent on python-ruamel.yaml that was submitted in bug #27558 -- Frederick M. Muriithi --001a1146ee3e5198a60553f18cc4 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-gnu-Add-python-conda.patch" Content-Disposition: attachment; filename="0001-gnu-Add-python-conda.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_j4xttoml0 RnJvbSBiOGZiZTFmZTYxMmRhZDZhZDAwZDhjMDI0YTZiOWRjYTEyMDgwZTY1IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBNdXJpaXRoaSBGcmVkZXJpY2sgTXVyaXVraSA8ZnJlZG1hbmds aXNAZ21haWwuY29tPgpEYXRlOiBNb24sIDEwIEp1bCAyMDE3IDEwOjI1OjM3ICswMzAwClN1Ympl Y3Q6IFtQQVRDSF0gZ251OiBBZGQgcHl0aG9uLWNvbmRhCgoqIGdudS9wYWNrYWdlL3B5dGhvbi5z Y20gKHB5dGhvbi1jb25kYSwgcHl0aG9uMi1jb25kYSk6IE5ldyB2YXJpYWJsZXMuCi0tLQogZ251 L3BhY2thZ2VzL3B5dGhvbi5zY20gfCAzOCArKysrKysrKysrKysrKysrKysrKysrKysrKysrKysr KysrKysrKwogMSBmaWxlIGNoYW5nZWQsIDM4IGluc2VydGlvbnMoKykKCmRpZmYgLS1naXQgYS9n bnUvcGFja2FnZXMvcHl0aG9uLnNjbSBiL2dudS9wYWNrYWdlcy9weXRob24uc2NtCmluZGV4IGQx MTBhMWNiMy4uZjBlODdmYjUzIDEwMDY0NAotLS0gYS9nbnUvcGFja2FnZXMvcHl0aG9uLnNjbQor KysgYi9nbnUvcGFja2FnZXMvcHl0aG9uLnNjbQpAQCAtMTU1NDksMyArMTU1NDksNDEgQEAgcHVy ZSBQeXRob24gbW9kdWxlLiIpCiAKIChkZWZpbmUtcHVibGljIHB5dGhvbjItcmVuY29kZQogICAo cGFja2FnZS13aXRoLXB5dGhvbjIgcHl0aG9uLXJlbmNvZGUpKQorCisoZGVmaW5lLXB1YmxpYyBw eXRob24tY29uZGEKKyAgKHBhY2thZ2UKKyAgICAobmFtZSAicHl0aG9uLWNvbmRhIikKKyAgICAo dmVyc2lvbiAiNC4zLjE2IikKKyAgICAoc291cmNlCisgICAgIChvcmlnaW4KKyAgICAgICAobWV0 aG9kIHVybC1mZXRjaCkKKyAgICAgICAodXJpIChweXBpLXVyaSAiY29uZGEiIHZlcnNpb24pKQor ICAgICAgIChzaGEyNTYKKyAgICAgICAgKGJhc2UzMgorICAgICAgICAgIjBsc3I1MmE2eDI2OGl4 ZmlmMzZwNnI2NHpraHNkanJpMGc4Z2N5bGtwc2l4Nmhoemg3bTkiKSkpKQorICAgIChidWlsZC1z eXN0ZW0gcHl0aG9uLWJ1aWxkLXN5c3RlbSkKKyAgICAoYXJndW1lbnRzCisgICAgIGAoIzpwaGFz ZXMKKyAgICAgICAobW9kaWZ5LXBoYXNlcyAlc3RhbmRhcmQtcGhhc2VzCisgICAgICAgICAocmVw bGFjZSAnY2hlY2sKKyAgICAgICAgICAgKGxhbWJkYSogX3hzCisgICAgICAgICAgICAgKHplcm8/ IChzeXN0ZW0qICJweS50ZXN0IikpKSkpKSkKKyAgICAobmF0aXZlLWlucHV0cworICAgICBgKCgi cHl0aG9uLXJ1YW1lbC55YW1sIiAscHl0aG9uLXJ1YW1lbC55YW1sKQorICAgICAgICgicHl0aG9u LXJlcXVlc3RzIiAscHl0aG9uLXJlcXVlc3RzKQorICAgICAgICgicHl0aG9uLXB5Y29zYXQiICxw eXRob24tcHljb3NhdCkKKyAgICAgICAoInB5dGhvbi1weXRlc3QiICxweXRob24tcHl0ZXN0KQor ICAgICAgICgicHl0aG9uLXJlc3BvbnNlcyIgLHB5dGhvbi1yZXNwb25zZXMpKSkKKyAgICAoaG9t ZS1wYWdlICJodHRwczovL2dpdGh1Yi5jb20vY29uZGEvY29uZGEiKQorICAgIChzeW5vcHNpcwor ICAgICAiQ3Jvc3MtcGxhdGZvcm0sIE9TLWFnbm9zdGljLCBzeXN0ZW0tbGV2ZWwgYmluYXJ5IHBh Y2thZ2UgbWFuYWdlciIpCisgICAgKGRlc2NyaXB0aW9uCisgICAgICJDb25kYSBpcyBhIGNyb3Nz LXBsYXRmb3JtLCBQeXRob24tYWdub3N0aWMgYmluYXJ5IHBhY2thZ2UgbWFuYWdlci4gIEl0IGlz Cit0aGUgcGFja2FnZSBtYW5hZ2VyIHVzZWQgYnkgQW5hY29uZGEgaW5zdGFsbGF0aW9ucywgYnV0 IGl0IG1heSBiZSB1c2VkIGZvciBvdGhlcgorc3lzdGVtcyBhcyB3ZWxsLiAgQ29uZGEgbWFrZXMg ZW52aXJvbm1lbnRzIGZpcnN0LWNsYXNzIGNpdGl6ZW5zLCBtYWtpbmcgaXQgZWFzeQordG8gY3Jl YXRlIGluZGVwZW5kZW50IGVudmlyb25tZW50cyBldmVuIGZvciBDIGxpYnJhcmllcy4gIENvbmRh IGlzIHdyaXR0ZW4KK2VudGlyZWx5IGluIFB5dGhvbiwgYW5kIGlzIEJTRCBsaWNlbnNlZCBvcGVu IHNvdXJjZS4iKQorICAgIChsaWNlbnNlIGxpY2Vuc2U6YnNkLTMpKSkKKworKGRlZmluZS1wdWJs aWMgcHl0aG9uMi1jb25kYQorICAocGFja2FnZS13aXRoLXB5dGhvbjIgcHl0aG9uLWNvbmRhKSkK LS0gCjIuMTMuMgoK --001a1146ee3e5198a60553f18cc4-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 11 15:32:38 2017 Received: (at 27637) by debbugs.gnu.org; 11 Jul 2017 19:32:38 +0000 Received: from localhost ([127.0.0.1]:34348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dV0ti-0002NX-Az for submit@debbugs.gnu.org; Tue, 11 Jul 2017 15:32:38 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:56893) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dV0tg-0002NM-O5 for 27637@debbugs.gnu.org; Tue, 11 Jul 2017 15:32:37 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id C873620CB0; Tue, 11 Jul 2017 15:32:34 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Tue, 11 Jul 2017 15:32:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=p5mPaMsgarr+u38Cew8RgVFbmgbcHPO642NEA7fs9 Vo=; b=WP+7E3anLmHHsHHwjLBvmCOQ58FD8BUcy/ev7gf6l/V0WyebyezaS6ZDw WOHR+nc/BAFij9tEBqolDj7nNc5CjibDJ0cMz5JH1/Gzlmjdahs5NqDy8cV/vlj1 QMFPoTOzqKyO8+8WE6AlBw977E1uoPndH3AcQprVlwTHxTXg3ozT5y+LYtyfEsH2 0XOtiTUwWeL9pqsE4IYbPrNCH8X0l5Tubm/IS4YCk+QW5wm/RrgwsO39n/mEKJLS K4Y+hHs99QvE0tBjZSV0SZuqJwBpiaJ77vP7ftGOc0ChUaaMV/mI0rAUOr11O0uO E+on4M47R3jhjhQ3BeOIilb7ye1Gw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=p5mPaMsgarr+u38Cew 8RgVFbmgbcHPO642NEA7fs9Vo=; b=VbNQ1e9eSPxKnvYBXmNxalRuT9nqHLVEtQ gUN3UJfbFyvx6luV/8pG+m3FhiPdNLC5lk2eupR9HNoeyfL+ZeLH74RlfUaR4j/N EejBLhseDZXrvO9/FUHT9g2D5xcm9Dn7s6JBH7ZTyEibrl090EJC2PnJhPB0bV3+ woWNY1mCqLbxe2n4H/G5yginNSiYpORnSBwzCcIYjMG/vg4pfezZfuXTHglv3uVD /oLi3nSK+hOMO+xes3/Zrg6gIVFRvaEVVx1AYy7RCl0cOc1crhJHiVuL6wJm9rkn Q+NnrE2CjUCB/V0fOxAMGuVFuy3CGSda7eGDbqCDmgHOWhTCcOqw== X-ME-Sender: X-Sasl-enc: 0upkDyqU0OTqVwUDPEfSTfmqy0MyyPxPnRVacZJ/PEB+ 1499801554 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id 5859B2486C; Tue, 11 Jul 2017 15:32:34 -0400 (EDT) From: Marius Bakke To: Frederick Muriithi , 27637@debbugs.gnu.org Subject: Re: [bug#27637] [PATCH] gnu: Add python-conda In-Reply-To: References: User-Agent: Notmuch/0.24.2 (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu) Date: Tue, 11 Jul 2017 21:32:32 +0200 Message-ID: <871spmlqgf.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27637 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain Frederick Muriithi writes: > * gnu/package/python.scm (python-conda, python2-conda): New variables. Yay! Since this is a package manager, I think it should go in 'package-management.scm'. [...] > +(define-public python-conda > + (package > + (name "python-conda") > + (version "4.3.16") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "conda" version)) > + (sha256 > + (base32 > + "0lsr52a6x268ixfif36p6r64zkhsdjri0g8gcylkpsix6hhzh7m9")))) > + (build-system python-build-system) > + (arguments > + `(#:phases > + (modify-phases %standard-phases > + (replace 'check > + (lambda* _xs "(lambda _" here is sufficient. > + (zero? (system* "py.test"))))))) > + (native-inputs > + `(("python-ruamel.yaml" ,python-ruamel.yaml) > + ("python-requests" ,python-requests) > + ("python-pycosat" ,python-pycosat) > + ("python-pytest" ,python-pytest) > + ("python-responses" ,python-responses))) Wait, didn't we package some other dependencies too? Just curious :-) > + (home-page "https://github.com/conda/conda") > + (synopsis > + "Cross-platform, OS-agnostic, system-level binary package manager") > + (description > + "Conda is a cross-platform, Python-agnostic binary package manager. It is > +the package manager used by Anaconda installations, but it may be used for other > +systems as well. Conda makes environments first-class citizens, making it easy > +to create independent environments even for C libraries. Conda is written > +entirely in Python, and is BSD licensed open source.") You can cut the part after the comma. Everything in Guix is free software, so there is no need to mention it :-) Can you send updated patches please? Thanks for packaging these! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlllJ9AACgkQoqBt8qM6 VPqoXQgA1ADSHy08Q+vf5eaMHTlmhhHt6pqtZ6h3Zo8nT3+OK2kt5Uyxkzam/QC+ 7Sol8L/g/php2/V+sSbrw3u0kj2+8nwJCVJrWtj5/0twG461qfmvxf7HJ5rjoqQr 9Pog8zrOtW7vO4ok8z5MnIUb1Lu4Azc+GuEM1ZbIrHiqG1+4Ja32r9lc0fD0oRRw TcyVH/q1UePTjfHyenHs2YnwRSd74hU1ZPIVGkQ+pobljWnwo3dzp2G/12h/qSgs g3tbD6e1M3RveIYl+ZBjblittYVH0cqIkkE4P4Y9axrnjsRF+k4n/F/VC6Aj2BrL AHfxHJJgkeCITIarvy3AUqFcMz/a8g== =cF1T -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 12 11:36:16 2017 Received: (at 27637) by debbugs.gnu.org; 12 Jul 2017 15:36:16 +0000 Received: from localhost ([127.0.0.1]:35573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVJgV-000799-PY for submit@debbugs.gnu.org; Wed, 12 Jul 2017 11:36:15 -0400 Received: from mail-io0-f193.google.com ([209.85.223.193]:35029) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVJgU-00078y-IR for 27637@debbugs.gnu.org; Wed, 12 Jul 2017 11:36:14 -0400 Received: by mail-io0-f193.google.com with SMTP id 84so2306699iop.2 for <27637@debbugs.gnu.org>; Wed, 12 Jul 2017 08:36:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=4uWMQIpQX2cJlGoYezbd3aNYwMGwi/A7M+MJ+cPoEDc=; b=heEsHmC8ijsMBp+79t9nCf2IMSjECLFbaup5UA17x/bEfOTKkg9OHWBaP5hFh9HER0 h3Q8GPtMYnJ5zmdLTOhSLFhNu4VeOU1X8TE+dfxKOQBlMraOJSEt0ZHON4vMSkcMCqSf l8nW2elkSz+N9otgZ/eAg0opSCWS5EjzZftn9oK8JpNJRKZ5a6PSDQ7byvTnXuPzKcYh dp4BG947kGnBp+qExYgyklXENQHgD1HOs6JjMyqGr7HePkk6X1y4DLzgHoNqQmgyUO1S 7WSD2tIhSyzImPOkM5DhCrtA/5xg60gCxhvnDE8l0Za/MrOAcq/jpDej6T5Dwtc/NSBq vFUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=4uWMQIpQX2cJlGoYezbd3aNYwMGwi/A7M+MJ+cPoEDc=; b=L+zLUHPCo1zV8fFlB0LW8tp2OPvejxX7OOmaHSv9HE9xmg1eB5GuMrt/inA+Zcx9Y+ 4Evi5V5QsNtrMfEaOtyj1QeHN19MOOwBlNm4MJjTbEJeJ5dtoEfdgCNIS3xKVsu7Uu4q mPm4FhkUkza2uBBrez8qxomEHLvWIaV4ZspW/dS20GeyELokEXbaRalRmM6AJDF5B1vj 7b/7sIVIDBujib9hFJrZiwXQdyI5JF6GdxPC2rS6sjVdAkTPiN/WMWhtNcPF14ATtrS6 hkQJ2/D5CqEAErtqn+fhu5ulPxtnhARTUWsmqrSRCK6x9I1JJASYjwrTWJQD9B5HX0++ jYGQ== X-Gm-Message-State: AIVw112h/7tyS/8QEayJICWQYYly+A2pI5Vk4hRTaVJM28rbS83LgEHb L3PHwrbwAFMrkkMUI0zNeq27srVDLw== X-Received: by 10.107.130.195 with SMTP id m64mr5704172ioi.145.1499873768711; Wed, 12 Jul 2017 08:36:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.51.135 with HTTP; Wed, 12 Jul 2017 08:35:48 -0700 (PDT) In-Reply-To: <871spmlqgf.fsf@fastmail.com> References: <871spmlqgf.fsf@fastmail.com> From: Frederick Muriithi Date: Wed, 12 Jul 2017 18:35:48 +0300 Message-ID: Subject: Re: [bug#27637] [PATCH] gnu: Add python-conda To: Marius Bakke Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27637 Cc: 27637@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > Wait, didn't we package some other dependencies too? Just curious :-) Turns out that the newer version of conda no longer needs some of the dependencies it needed before. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 12 21:47:27 2017 Received: (at 27637) by debbugs.gnu.org; 13 Jul 2017 01:47:27 +0000 Received: from localhost ([127.0.0.1]:36005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVTDz-0004zd-I4 for submit@debbugs.gnu.org; Wed, 12 Jul 2017 21:47:27 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:35888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVTDy-0004zK-3q for 27637@debbugs.gnu.org; Wed, 12 Jul 2017 21:47:26 -0400 Received: by mail-wm0-f67.google.com with SMTP id y5so2153829wmh.3 for <27637@debbugs.gnu.org>; Wed, 12 Jul 2017 18:47:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=lQ9LaTorrRZSrRVJDX7V1XLMNlCyLUn+pd6Ctm3II/c=; b=C8sv9XS81Z7hqwj62GnltSMw4JCDoFVxzKkU/vUpBVYKHZs5dnLmvjwOqyldOGHkJr fiFqqww1dkJ/HNcQKKDt6ofqjsGomnVSxp4VmqgGSTAUW8B0B1LZ29L99mTaW5jNn9DB Gr6ii/BU5rLQdHko7EYuHxeZX3XojApY0JVSeMCph6xdxAfbu7455+OzWJ4EFOZFPm21 Su3DTkwJ4tv0i7Lc+qVbhHWQ33WBgeORsHPuB2ZqqlN0N4UMOkxbEEox6TLAYsA+jtKG D/P9A4/QKYZ1c5ypabfsPG8jhOXuXEfvw2FgnaOt28/64Nej5G/KqJughwm2p31r+Xdu XZlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=lQ9LaTorrRZSrRVJDX7V1XLMNlCyLUn+pd6Ctm3II/c=; b=OlFKQBNOuc3JucrHuIJRazJaQ7s5vsOJf7aAbXtrN1uuao3GDfFqj0jKcCLrUMeQOh N1vpOFbwXGTStaEoR06UBTjen+D4iJwLqqwRQwGmXmGIPsqTomEExwU7D0zz/fODMW7w DQcKyQEKjELeUr11enLFp4zYp6IWbYzTaQsWjS2Rg0OUux2h+t/KyYFXiGEFWnrbv5sr vd0Z283VkEiUflI8OSEBTnlrTJ4OqKjs0oESHSYE/awDMZW8uS/o0nD3rk4L3fKo1w+i wvEpnXFux4Zt3hKCo9lQGut/LzAP03jw6z/iCW+AjS65y5kbuaqCzCJxknxNdrwltxwO Egew== X-Gm-Message-State: AIVw113BiZugpA2jmM/v0cuajaV313erFXHethT1HWROiMkfA+F9ckXj LL2hXP4IUO+rHexWZuc= X-Received: by 10.28.166.132 with SMTP id p126mr107750wme.104.1499910437418; Wed, 12 Jul 2017 18:47:17 -0700 (PDT) Received: from localhost.localdomain ([41.139.168.54]) by smtp.gmail.com with ESMTPSA id b83sm2384392wmh.30.2017.07.12.18.47.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Jul 2017 18:47:15 -0700 (PDT) From: Muriithi Frederick Muriuki To: 27637@debbugs.gnu.org Subject: [PATCH 1/2] gnu: Add python-conda Date: Thu, 13 Jul 2017 04:47:25 +0300 Message-Id: <20170713014726.21093-1-fredmanglis@gmail.com> X-Mailer: git-send-email 2.13.2 X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 27637 Cc: mbakke@fastmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) * gnu/packages/package-management.scm (python-conda, python2-conda) New * variables. --- gnu/packages/package-management.scm | 40 ++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index af91ec1d7..121a915fb 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -25,7 +25,7 @@ #:use-module (guix utils) #:use-module (guix build-system gnu) #:use-module (guix build-system python) - #:use-module ((guix licenses) #:select (gpl2+ gpl3+ lgpl2.1+ asl2.0)) + #:use-module ((guix licenses) #:select (gpl2+ gpl3+ lgpl2.1+ asl2.0 bsd-3)) #:use-module (gnu packages) #:use-module (gnu packages guile) #:use-module (gnu packages file) @@ -516,3 +516,41 @@ different. It recursively unpacks archives of many kinds and transforms various binary formats into more human readable forms to compare them. It can compare two tarballs, ISO images, or PDFs just as easily.") (license gpl3+))) + +(define-public python-conda + (package + (name "python-conda") + (version "4.3.16") + (source + (origin + (method url-fetch) + (uri (pypi-uri "conda" version)) + (sha256 + (base32 + "0lsr52a6x268ixfif36p6r64zkhsdjri0g8gcylkpsix6hhzh7m9")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* _ + (zero? (system* "py.test"))))))) + (native-inputs + `(("python-ruamel.yaml" ,python-ruamel.yaml) + ("python-requests" ,python-requests) + ("python-pycosat" ,python-pycosat) + ("python-pytest" ,python-pytest) + ("python-responses" ,python-responses))) + (home-page "https://github.com/conda/conda") + (synopsis + "Cross-platform, OS-agnostic, system-level binary package manager") + (description + "Conda is a cross-platform, Python-agnostic binary package manager. It is +the package manager used by Anaconda installations, but it may be used for other +systems as well. Conda makes environments first-class citizens, making it easy +to create independent environments even for C libraries. Conda is written +entirely in Python, and is BSD licensed open source.") + (license bsd-3))) + +(define-public python2-conda + (package-with-python2 python-conda)) -- 2.13.2 From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 12 21:47:40 2017 Received: (at 27637) by debbugs.gnu.org; 13 Jul 2017 01:47:40 +0000 Received: from localhost ([127.0.0.1]:36007 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVTDz-0004zg-RX for submit@debbugs.gnu.org; Wed, 12 Jul 2017 21:47:40 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:35403) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVTDy-0004zJ-2E for 27637@debbugs.gnu.org; Wed, 12 Jul 2017 21:47:26 -0400 Received: by mail-wm0-f65.google.com with SMTP id u23so2155591wma.2 for <27637@debbugs.gnu.org>; Wed, 12 Jul 2017 18:47:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=/jpeSUXVMpP6oibtWwg9Gj4WKulv3ESyLVSdxyTMV2k=; b=kEI7mi4ypnCUDnEvvS/Z9ci10dNWD3Jbv7Pdx+rE7VxgwQVoM84Yvc4OO6Kj+04fiT H8VKv52X1UhOPuhIz8Lk8IeYA4RENqvig/ITmMxGpRJhRkQW2G4gybJxAKkWk+L2BYAM lh0yABDkJ9vuW3GMhlQGCpSkdyixTwrRU7h1h2eUHeol5pvN8YkLJL/K1F/BqiCz9gB3 BuyyJRzpz8CtTxkCcYsJXFUJVPpsOG4KTbwhPPJc578akBh3Bt5jBib+/PhSGyeKNnH4 mku6qVwdXVMXMFs5u4lq0lQjhbg6NrnSuld0V3uJ3zkPJq/6JI2vraDTnQxngnly3szi vraQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=/jpeSUXVMpP6oibtWwg9Gj4WKulv3ESyLVSdxyTMV2k=; b=WmjeB4DHvkzBpLzJOrf6hbgJeqRBWTXKgCG+Gg50Tz5OJV5QKkNNsGctBr+wQRK/gX EmmGr6gCPAYHs7YHlFOurLUtMFxV8aeHwd8BTap6IYeHlQhN3bAN0H92GA20gtYUPYkE +hKS9ozYMka3uRqPVtIWm3e7yR/sNQNGE4EwzpeJFDQPVSaGyrGZ5qwK0fsS+DoR6yvm ErttoLlJXBJp/LrDzkrf79cqDKnKl04aCUAySfL4GBk2UbaNesxuxuoN0Upxd/VY+ySj 4e/bZd2CwOP71ZBgiLKPeNinlqAk8yUGmtsh+LwFfS0UEHraH76iUTS5RIVKAcCNK2U1 U7Hg== X-Gm-Message-State: AIVw113xfFDrAG1Ig3M0EqpoPujntYQz5J6cepcOwVsd91yvQ8w225p6 T9U4fFf0Sax9yMpkDFQ= X-Received: by 10.28.57.84 with SMTP id g81mr96698wma.73.1499910439323; Wed, 12 Jul 2017 18:47:19 -0700 (PDT) Received: from localhost.localdomain ([41.139.168.54]) by smtp.gmail.com with ESMTPSA id b83sm2384392wmh.30.2017.07.12.18.47.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Jul 2017 18:47:18 -0700 (PDT) From: Muriithi Frederick Muriuki To: 27637@debbugs.gnu.org Subject: [PATCH 2/2] gnu: Add conda Date: Thu, 13 Jul 2017 04:47:26 +0300 Message-Id: <20170713014726.21093-2-fredmanglis@gmail.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170713014726.21093-1-fredmanglis@gmail.com> References: <20170713014726.21093-1-fredmanglis@gmail.com> X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 27637 Cc: mbakke@fastmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) * gnu/packages/package-management.scm (conda): New variable. --- gnu/packages/package-management.scm | 86 +++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 121a915fb..7fb245d41 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -554,3 +554,89 @@ entirely in Python, and is BSD licensed open source.") (define-public python2-conda (package-with-python2 python-conda)) + +(define-public conda + ;; python-conda is the python library form, to be included in python programs, + ;; while conda, here, is the executable form that can be run from the cli + (package + (inherit python-conda) + (name "conda") + (version "4.3.16") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/conda/conda/archive/" + version ".tar.gz")) + (sha256 + (base32 + "1jq8hyrc5npb5sf4vw6s6by4602yj8f79vzpbwdfgpkn02nfk1dv")))) + (arguments + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (add-before 'build + 'create-version-file + (lambda* _ + (let ((version-file (open-output-file "conda/.version"))) + (display ,version version-file) + (close-output-port version-file) + #t))) + (replace 'build + (lambda* (#:key use-setuptools? #:allow-other-keys) + (apply system* "python" "utils/setup-testing.py" "bdist" '()))) + (add-before 'check + 'remove-failing-tests + (lambda* _ + ;; these tests try to access /homeless-shelter or + ;; require internet/network access + (delete-file "tests/test_cli.py") + (delete-file "tests/test_create.py") + (delete-file "tests/test_export.py") + (delete-file "tests/test_connection.py") + (delete-file "tests/test_fetch.py") + (delete-file "tests/test_info.py") + (delete-file "tests/test_install.py") + (delete-file "tests/test_plan.py") + (delete-file "tests/test_history.py") + (delete-file "tests/test_priority.py") + (delete-file "tests/conda_env/test_env.py") + (delete-file "tests/conda_env/test_cli.py") + (delete-file "tests/core/test_repodata.py") + (delete-file "tests/conda_env/test_create.py") + (delete-file "tests/conda_env/specs/test_binstar.py") + (delete-file "tests/conda_env/utils/test_uploader.py") + (delete-file "tests/conda_env/specs/test_notebook.py") + (delete-file "tests/conda_env/utils/test_notebooks.py") + (delete-file "tests/core/test_index.py") + (delete-file "tests/gateways/disk/test_delete.py"))) + (replace 'check + (lambda* _ + (zero? (system* "py.test")))) + (replace 'install + (lambda* (#:key outputs target (configure-flags '()) + use-setup-tools? #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (main-dir (getcwd)) + (build-dir (string-append main-dir "/build")) + (dist-dir (string-append main-dir "/dist")) + (dir-stream (opendir dist-dir)) + (tar-file (let get-file ((stream dir-stream)) + (let ((the-file "")) + (do ((file (readdir stream) (readdir stream))) + ((eof-object? file)) + (if (not (or (equal? file ".") + (equal? file ".."))) + (set! the-file file))) + the-file)))) + (closedir dir-stream) + (chdir dist-dir) + ;; tar seems to be ignoring the -C option and at this point + ;; the path in the variable `out` does not seem to exist, hence + ;; the need for the hack-y code that follows. + (mkdir "tmp") + (chdir "tmp") + (system* "tar" "-xvzf" (string-append "../" tar-file) + "--strip-components=4") + (chdir "../") + (system* "cp" "-fvR" "tmp/" out) + (chdir main-dir))))))))) -- 2.13.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 16 17:09:43 2017 Received: (at 27637) by debbugs.gnu.org; 16 Jul 2017 21:09:43 +0000 Received: from localhost ([127.0.0.1]:42776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWqnC-0003WK-Ci for submit@debbugs.gnu.org; Sun, 16 Jul 2017 17:09:43 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:57033) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWqn9-0003WC-Ui for 27637@debbugs.gnu.org; Sun, 16 Jul 2017 17:09:28 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id BBDF620A68; Sun, 16 Jul 2017 17:09:27 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Sun, 16 Jul 2017 17:09:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=A2zjcTVXnvlMIKxXJ7/yCN2i6mbauqb/sGBOIUF3O MI=; b=1slXsrUqNixo/sS0pKZMt08/w39wqIU/NjQFey2MPZzuRhT6EoMPY8ZQC /cIVxwscU7ypJOvLpjzV6rFTx7J2Kz2qsZCMSQC3pwv79VMFygOzu8kKJo7NUC48 KPRmShkl225ksIT7J/MN9/UaTdNPzqR2Ns7zTX1haTNyZW93Azj2KFYlTJJHV580 Ef0qtVGKs1aGPdMjKQQeRw4hYzqRQVJjhUvTXcA8l0YpKc9OjwlqxXtE8++OQr4O Cs6TNUt9ria8vYEKr3wIZd3ORvjalHEAUxCm2xZNH5icTbubc0mmAMgHfzanGzx+ VD+eNkfruXsqkNyXX1SGLKqb6ov9Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=A2zjcTVXnvlMIKxXJ7 /yCN2i6mbauqb/sGBOIUF3OMI=; b=Q2o491hkK6hc2pEOGwMiRqXve7pAAhY7ab dSngmhNn6FKWVXXFtWdfnzPtkxBm4nd+O2zrbuMxiprTuC0CzrFqAoTqxll7RSmc kXuvEFRE+mhqLDZue4WdHLlBEHPvybDYBFZSpBN7Z6J5dsUrn36SawzLbUgoz84e ltLO5BgjkIbIZVAOBXK6BZ9eLC9V9m1ltnVOFBNEXqaODi+ltdy53WwFbTrnkUxd ZAJ0wXzOrj68rwAcXUax+qVBLRx+/4n3ksyTMwyZcfsRif8WTDsgd0mTbo787k2L shnolNpAX+CPJrxfzeszAqKUrOiCcyoa4RJCktQbZlyfzeHVZsXQ== X-ME-Sender: X-Sasl-enc: 8FrVouAdGLNlFLHTUpaCJdVqoO30gcIIBbl8W8Fvsaqf 1500239367 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id 4BA8F7E17A; Sun, 16 Jul 2017 17:09:27 -0400 (EDT) From: Marius Bakke To: Muriithi Frederick Muriuki , 27637@debbugs.gnu.org Subject: Re: [PATCH 2/2] gnu: Add conda In-Reply-To: <20170713014726.21093-2-fredmanglis@gmail.com> References: <20170713014726.21093-1-fredmanglis@gmail.com> <20170713014726.21093-2-fredmanglis@gmail.com> User-Agent: Notmuch/0.24.2 (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu) Date: Sun, 16 Jul 2017 23:09:25 +0200 Message-ID: <87bmok6qd6.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27637 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) --=-=-= Content-Type: text/plain Muriithi Frederick Muriuki writes: > * gnu/packages/package-management.scm (conda): New variable. Thanks! > +(define-public conda > + ;; python-conda is the python library form, to be included in python programs, > + ;; while conda, here, is the executable form that can be run from the cli The previous patch also creates "$out/bin/conda". Does that executable not work? Why do we need both packages? > + (package > + (inherit python-conda) > + (name "conda") > + (version "4.3.16") > + (source > + (origin > + (method url-fetch) > + (uri (string-append "https://github.com/conda/conda/archive/" > + version ".tar.gz")) > + (sha256 > + (base32 > + "1jq8hyrc5npb5sf4vw6s6by4602yj8f79vzpbwdfgpkn02nfk1dv")))) > + (arguments > + `(#:tests? #f There are a few phases that messes with the tests, yet they are disabled. Why? > + #:phases > + (modify-phases %standard-phases > + (add-before 'build > + 'create-version-file > + (lambda* _ > + (let ((version-file (open-output-file "conda/.version"))) > + (display ,version version-file) > + (close-output-port version-file) > + #t))) > + (replace 'build > + (lambda* (#:key use-setuptools? #:allow-other-keys) > + (apply system* "python" "utils/setup-testing.py" "bdist" '()))) > + (add-before 'check > + 'remove-failing-tests > + (lambda* _ > + ;; these tests try to access /homeless-shelter or > + ;; require internet/network access Often tests using /homeless-shelter just needs the HOME variable set to some other (writable) directory (typically /tmp). > + (delete-file "tests/test_cli.py") > + (delete-file "tests/test_create.py") > + (delete-file "tests/test_export.py") > + (delete-file "tests/test_connection.py") > + (delete-file "tests/test_fetch.py") > + (delete-file "tests/test_info.py") > + (delete-file "tests/test_install.py") > + (delete-file "tests/test_plan.py") > + (delete-file "tests/test_history.py") > + (delete-file "tests/test_priority.py") > + (delete-file "tests/conda_env/test_env.py") > + (delete-file "tests/conda_env/test_cli.py") > + (delete-file "tests/core/test_repodata.py") > + (delete-file "tests/conda_env/test_create.py") > + (delete-file "tests/conda_env/specs/test_binstar.py") > + (delete-file "tests/conda_env/utils/test_uploader.py") > + (delete-file "tests/conda_env/specs/test_notebook.py") > + (delete-file "tests/conda_env/utils/test_notebooks.py") > + (delete-file "tests/core/test_index.py") > + (delete-file "tests/gateways/disk/test_delete.py"))) > + (replace 'check > + (lambda* _ > + (zero? (system* "py.test")))) > + (replace 'install > + (lambda* (#:key outputs target (configure-flags '()) > + use-setup-tools? #:allow-other-keys) > + (let* ((out (assoc-ref outputs "out")) > + (main-dir (getcwd)) > + (build-dir (string-append main-dir "/build")) > + (dist-dir (string-append main-dir "/dist")) > + (dir-stream (opendir dist-dir)) > + (tar-file (let get-file ((stream dir-stream)) > + (let ((the-file "")) > + (do ((file (readdir stream) (readdir stream))) > + ((eof-object? file)) > + (if (not (or (equal? file ".") > + (equal? file ".."))) > + (set! the-file file))) > + the-file)))) > + (closedir dir-stream) > + (chdir dist-dir) > + ;; tar seems to be ignoring the -C option and at this point > + ;; the path in the variable `out` does not seem to exist, hence > + ;; the need for the hack-y code that follows. > + (mkdir "tmp") > + (chdir "tmp") > + (system* "tar" "-xvzf" (string-append "../" tar-file) > + "--strip-components=4") > + (chdir "../") > + (system* "cp" "-fvR" "tmp/" out) > + (chdir main-dir))))))))) Wooow. What happens with the default 'python setup.py install'? Unless there exists a good reason to both have a "conda" package and a 'python-conda', I think we should consolidate these two. The previous patch (from PyPi) did not have tests either, so I suppose we should use this release (but we should really figure out why setup.py is broken). --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAllr1gUACgkQoqBt8qM6 VPreLQf/Xw52ffE02Pb8LKWz7IgzNimwvWogB6UdyzrVLRuL3ZmsDl4Ff3CEls6e t0rgSWTgiN5iJEcyR0CUWhLvxoN5Q+Z/gj1U6WzP7U3ikI6KXcJ0dAHyRgtEAALY gcSjoq3LooGcHDlBV+pZd+Hb50CZrpRq/fu4esHrC5UaiykbyP8L7r6wAsZoBZmZ rilJTUVtujc72R7zEOpAUanPr3HNuq7IL1r4RR+7oX8SYEaESTt9gRMmkFBkjsTe 1LdSFHrY0GwRfGagxCCvbEv6tAmQIdyPS/iLPMPwN+Yukiq0xu242Ex9renjAJd3 jpEgefSQjL7tvRt5CHVfJoOA1MfkEA== =EOUH -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 17 02:18:10 2017 Received: (at 27637) by debbugs.gnu.org; 17 Jul 2017 06:18:10 +0000 Received: from localhost ([127.0.0.1]:43053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWzMA-0000mx-3b for submit@debbugs.gnu.org; Mon, 17 Jul 2017 02:18:10 -0400 Received: from mail-it0-f67.google.com ([209.85.214.67]:34343) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWzM8-0000ml-EA for 27637@debbugs.gnu.org; Mon, 17 Jul 2017 02:18:08 -0400 Received: by mail-it0-f67.google.com with SMTP id o202so17234242itc.1 for <27637@debbugs.gnu.org>; Sun, 16 Jul 2017 23:18:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=6wurU9A91W+to7R6U/VLqoHbcKTCt7j8o3NGEXWmjMo=; b=cKXGTMWqJ6NW8BRMF/0fItXm2U7nQHw4IB4Ojo9oLEZVYxR7gcq+xdQi2QGkrshg/y XOs5qlusmmVyvXwAlh0VuRc1a7N2gqkBta2A82htx/uFhXB4aVhY6DZFGWhfjXvgImXV VgvMvjykXPsGFnik3V7QFWCoYdzeVIfDzSXwf70obYt2kh2wHm/LgeCNdb0WbwPdjhwN ue1w7ScOqO55nBGtGoPtVMcC9mAAPg+ybWg7Wx+lga88PCNMlThvaVJ83AIJ1XAxUX6T Z21Njo7p7PL/puZZWTBLif2TQoLKEK7O+vNW5sqqrWEKiTs49JXKiKwD7ViuubYrOrue BjoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=6wurU9A91W+to7R6U/VLqoHbcKTCt7j8o3NGEXWmjMo=; b=GlOhxJZX98uPieXXMwG+bo3BGQnijxYlZP/Wpu+fhyVO2FSXM7uIE76YzS9KEExNjN VhNqxr5y5MaRgGzYUeWKFxAher29Mv7q+zE+vLAbvRQ98uQsHXFfVs4uyhcNCRfypf7F pw3RLGaUBvZC2l+7/2MDhwG8PZZkuAcCzNFbxU6GAGreTKJ9mVywfaOg/0VcBjBeO9lN Tb11wq2AOqPyxAM3Jot5zQdyAkG82tXbh118hGNUfKggyXBcwUbq5eGVKMXiL+bA5Og1 VR1WgnMeBwmPzye/l+5nhsauhv9eeYzwOuQsBgoLHg/Wmz0rt7ZoKHL39uS3fD0rdb9U nQCA== X-Gm-Message-State: AIVw112ix1ia2szAbRAdIjihEwoF+0Lkb2B8wEiIzQrjsRD2k9TNuYSd 8d2xsetrIBHcHGj5qrLeVXDm9adrsA== X-Received: by 10.36.18.74 with SMTP id 71mr4199742itp.71.1500272282595; Sun, 16 Jul 2017 23:18:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.51.135 with HTTP; Sun, 16 Jul 2017 23:17:42 -0700 (PDT) In-Reply-To: <87bmok6qd6.fsf@fastmail.com> References: <20170713014726.21093-1-fredmanglis@gmail.com> <20170713014726.21093-2-fredmanglis@gmail.com> <87bmok6qd6.fsf@fastmail.com> From: Frederick Muriithi Date: Mon, 17 Jul 2017 09:17:42 +0300 Message-ID: Subject: Re: [PATCH 2/2] gnu: Add conda To: Marius Bakke Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 27637 Cc: 27637@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) > The previous patch also creates "$out/bin/conda". Does that executable > not work? Why do we need both packages? > Conda has two forms: * a python library form, that can be included in python programs, and * an executable form that can be run on the cli I defined python-conda to provide the library form, whereas conda was to provide the executable form. > There are a few phases that messes with the tests, yet they are > disabled. Why? My bad. I will reactivate them. Must have left that in by mistake. My apologies. > Often tests using /homeless-shelter just needs the HOME variable set to > some other (writable) directory (typically /tmp). > Thanks. I did not know that. I need to note it down for future newbies. > Wooow. What happens with the default 'python setup.py install'? > The default setup.py builds the python library form, whereas the utils/setup-testing.py builds the executable version > Unless there exists a good reason to both have a "conda" package and a > 'python-conda', I think we should consolidate these two. The previous > patch (from PyPi) did not have tests either, so I suppose we should use > this release (but we should really figure out why setup.py is broken). I don't think setup.py is broken, I think the conda team built it that way, so that one is explicit on what they want to do, at least that is what I could gather from my reading on it. I will redefine the packages to make it cleaner, and simply use the release/url that has the tests to define both. I will be sending the patch soon. -- Frederick M. Muriithi From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 17 19:04:56 2017 Received: (at 27637) by debbugs.gnu.org; 17 Jul 2017 23:04:56 +0000 Received: from localhost ([127.0.0.1]:45056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXF4R-0001np-TH for submit@debbugs.gnu.org; Mon, 17 Jul 2017 19:04:56 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:50907) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXF4N-0001nf-3Q for 27637@debbugs.gnu.org; Mon, 17 Jul 2017 19:04:52 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id AFDBB20B7A; Mon, 17 Jul 2017 19:04:50 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Mon, 17 Jul 2017 19:04:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=jwaOrn+lLAFZ2RCV78RloH5K1BuSq14cb3CM37HHP x4=; b=yza2XLWCe5nc5izQDdnVC6PiDa1LgALcxZrxyMNyQTqPqvxABQy0oEbB6 XLZLZYr7MVOYnN7rj9QzysgJ19uBDu9Ai0tQDknXF9quf3cOekLZsCl6pGZxD7Cf OdwsZt0wU7xhpoSUamRIqa4KcXa5pAP30FqNVv3YNnyQYsBlW0bfJNImKtaUZOnQ HpXqcRiMtVCMgdvBWM56qZIsHu49J0+zXe8dc6nmZWnnqNelBduNEWSUNubPLRHz bQM7HNprMhq8Eg+ssJbNmYwsYvXivwnaBFuaIo2l8WoSo52FBQlU4x4yXpQlWbtj +ZL2LWgBcMmK+i1/Sitzs7eV2pnTw== 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-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=jwaOrn+lLAFZ2RCV78 RloH5K1BuSq14cb3CM37HHPx4=; b=sPuFUETcHKkDYsOsKCnP3UXmJ2B7k9eCPo 56ucsALPVJqWIA2Or9ZAWcyOlYPDI4fz3Ti86yNgICp9Bk9HiWSdbEHrzMgx1E7O zs3x6ALqLlCQ7vwEgNrADBZO83Wx3HSiUnMgdPEqMo3W0V3ahZ4ucrsA/N8N7nUx HrFGUg6OhvVKyZzIK+COts+1+6q7LD+/eeW9ewk6r3iPgoeETcnpAnm8DeCs5tPh L+NfOhz30UfocU6fOZc0G1kpUdB3WqphIThPXWjBqBuD1yJfBpZJycDRMT8cXWu4 0Gz6gdiwfNgD/WoMRGkZyct6/uO0U7KjHDo1pmBMsZ8ktJbfuQ4w== X-ME-Sender: X-Sasl-enc: W5dj9rmydI/g3YmIh1Xbw9RgpeYs564jTMaYHtNNHx0G 1500332690 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id 45E697E855; Mon, 17 Jul 2017 19:04:50 -0400 (EDT) From: Marius Bakke To: Frederick Muriithi Subject: Re: [PATCH 2/2] gnu: Add conda In-Reply-To: References: <20170713014726.21093-1-fredmanglis@gmail.com> <20170713014726.21093-2-fredmanglis@gmail.com> <87bmok6qd6.fsf@fastmail.com> User-Agent: Notmuch/0.24.2 (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu) Date: Tue, 18 Jul 2017 01:04:48 +0200 Message-ID: <87pocy64xb.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27637 Cc: 27637@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Frederick Muriithi writes: >> The previous patch also creates "$out/bin/conda". Does that executable >> not work? Why do we need both packages? >> > > Conda has two forms: > > * a python library form, that can be included in python programs, and > * an executable form that can be run on the cli > > I defined python-conda to provide the library form, whereas conda was > to provide the executable form. My question was more whether it made sense to provide two different packages, if they both have the same files. Does the `conda` executable from 'python-conda' work differently? Maybe we should rename or remove it to avoid conflicts? >> There are a few phases that messes with the tests, yet they are >> disabled. Why? > > My bad. I will reactivate them. Must have left that in by mistake. My apo= logies. Great, thanks! >> Wooow. What happens with the default 'python setup.py install'? >> > > The default setup.py builds the python library form, whereas the > utils/setup-testing.py builds the executable version Ahh okay. Having read both scripts it looks like 'setup.py' only installs "conda.cli.pip_warning:main" instead of the real thing. Sorry for the confusion! >> Unless there exists a good reason to both have a "conda" package and a >> 'python-conda', I think we should consolidate these two. The previous >> patch (from PyPi) did not have tests either, so I suppose we should use >> this release (but we should really figure out why setup.py is broken). > > I don't think setup.py is broken, I think the conda team built it that > way, so that one is explicit on what they want to do, at least that is > what I could gather from my reading on it. I will redefine the > packages to make it cleaner, and simply use the release/url that has > the tests to define both. Sounds good. I still think it's worth investigating if this "official" (quotes since it's still explicitly unsupported) build method also can be used as a library so we can avoid maintaining three variants of nearly the same package. Let us know what you find :-) Thanks! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlltQpAACgkQoqBt8qM6 VPo/aAgAsvibtH9Bj/cYPZ4gpwdVjjfo1ll2/OAsBauHYn8bk+aG8XV4t/YIX5JC WwGDGnPUd7aFvH4Ol87c+HOoYDzpgKNkaDIf8mJ0F5+lCO7yWYYZT0Lzan2wysCg ns/4FlwNvsIDUnjkcQVQfbg4ICUYfwBwUo4GSttQxIwTwauyQxbMijizjGx3WWqX UsO4u+fpYwB8SplO2tx3o1oOSSQ69DxYKnC7pnF/scXaIdxp092a511PpE57Tlwg MAkNWhSdCRRNMBpp+EPrLP1Hz/8Keo1oBIrI45YBh/O6xXc8WszTeDQ+TczDZDqR vTbQQwNv5LCAWFi5jFGn6qg18/wm8A== =NEZb -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 18 03:54:02 2017 Received: (at 27637) by debbugs.gnu.org; 18 Jul 2017 07:54:02 +0000 Received: from localhost ([127.0.0.1]:45273 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXNKT-0007Pf-Qm for submit@debbugs.gnu.org; Tue, 18 Jul 2017 03:54:02 -0400 Received: from mail-it0-f54.google.com ([209.85.214.54]:34271) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXNKS-0007PK-Ab for 27637@debbugs.gnu.org; Tue, 18 Jul 2017 03:54:00 -0400 Received: by mail-it0-f54.google.com with SMTP id v205so854375itf.1 for <27637@debbugs.gnu.org>; Tue, 18 Jul 2017 00:54:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=hVwxdh2Po5BgItA2t7kKTnJDlTE0pSy3Qu7GLgdAHAI=; b=QXT5+w3qnGH2qXNwk+0KPaJZI8gkGKoqH9lQJzMQNrNTKXSNb20vpEOchZc29j5sbM cQDgeLgv9ooYg7nZZB/a8iRDNVto+J6N4Ft15xapGfr4/fCSz/av9Lm3KGsdH2Mz5z7a 25lpwv6a8bYgzrteV/R7UQNPfqsX4bH7QdEHZhHKIe5K2ErDg0Jr9W5iomqdcGSuR03G D/TCHrlIIJwae8CJNvYEksMRdXBNIfl8yn1HqoPOn4KTDLE2eBmWezC3LOk9uILCSi3l E4j3dmTc3pYr6AecY41KIaiXeDe4uTICvhKJehwNPn1AouK4Lw3LCy4bA43/2R74bZxs ptzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=hVwxdh2Po5BgItA2t7kKTnJDlTE0pSy3Qu7GLgdAHAI=; b=QWkun3mhcyacBy0HKueLiIP6SfOJ7VNUvNqkMobUluAlpeiEt50GJL/T+BXlznjkq8 4jQJXlJhKgF+gLoMIx587rhmV978e7SmDIWYF1Z2nplnqCZOc2433SqEcjqfawPzyo4K 7oqVvQK67hFJRjTZsZZD/+1Ie1Z+YfQmSBT+OYc0KBDMfaps0C7ISivEz3Zb4U4KOtha m2+kN2ur3kpjk6neUNeHYW83pSdh7YsRiK8b+ZCZOE+zegKJn/FfAcIwpLUySFrqTF3n aiIO47nodxn4FOvguC7cgHqLVCwbtZHh8ZN5dMWNMT4aESw26i0/r6MYwvifYkkUI6VZ 3RZQ== X-Gm-Message-State: AIVw113oioDsocdDtP4ga9x8HsBenAf/yI5FzHflyH5V8ToAUsBDES2F UUs024iuSEmimOsGQDt6xC18w+vSSg== X-Received: by 10.36.55.22 with SMTP id r22mr1326989itr.71.1500364434515; Tue, 18 Jul 2017 00:53:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.51.135 with HTTP; Tue, 18 Jul 2017 00:53:53 -0700 (PDT) Received: by 10.107.51.135 with HTTP; Tue, 18 Jul 2017 00:53:53 -0700 (PDT) In-Reply-To: References: <20170713014726.21093-1-fredmanglis@gmail.com> <20170713014726.21093-2-fredmanglis@gmail.com> <87bmok6qd6.fsf@fastmail.com> <87pocy64xb.fsf@fastmail.com> From: Frederick Muriithi Date: Tue, 18 Jul 2017 10:53:53 +0300 Message-ID: Subject: Re: [PATCH 2/2] gnu: Add conda To: Marius Bakke Content-Type: multipart/alternative; boundary="001a113ff0b8275117055492d18c" X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 27637 Cc: 27637@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --001a113ff0b8275117055492d18c Content-Type: text/plain; charset="UTF-8" On 18 Jul 2017 2:04 a.m., "Marius Bakke" wrote: Frederick Muriithi writes: >> The previous patch also creates "$out/bin/conda". Does that executable >> not work? Why do we need both packages? >> > > Conda has two forms: > > * a python library form, that can be included in python programs, and > * an executable form that can be run on the cli > > I defined python-conda to provide the library form, whereas conda was > to provide the executable form. My question was more whether it made sense to provide two different packages, if they both have the same files. Does the `conda` executable from 'python-conda' work differently? Maybe we should rename or remove it to avoid conflicts? >> There are a few phases that messes with the tests, yet they are >> disabled. Why? > > My bad. I will reactivate them. Must have left that in by mistake. My apologies. Great, thanks! >> Wooow. What happens with the default 'python setup.py install'? >> > > The default setup.py builds the python library form, whereas the > utils/setup-testing.py builds the executable version Ahh okay. Having read both scripts it looks like 'setup.py' only installs "conda.cli.pip_warning:main" instead of the real thing. Sorry for the confusion! >> Unless there exists a good reason to both have a "conda" package and a >> 'python-conda', I think we should consolidate these two. The previous >> patch (from PyPi) did not have tests either, so I suppose we should use >> this release (but we should really figure out why setup.py is broken). > > I don't think setup.py is broken, I think the conda team built it that > way, so that one is explicit on what they want to do, at least that is > what I could gather from my reading on it. I will redefine the > packages to make it cleaner, and simply use the release/url that has > the tests to define both. Sounds good. I still think it's worth investigating if this "official" (quotes since it's still explicitly unsupported) build method also can be used as a library so we can avoid maintaining three variants of nearly the same package. Let us know what you find :-) Thanks! Well, we can drop python-conda (the library form) if necessary. My main focus is conda as an application/executable, but thought to provide both for completeness. The patches will be coming in soon, fixing most of the Marius noted. --001a113ff0b8275117055492d18c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On 18 Jul 2017 2:04 a.m., "Marius Bakke" <mbakke@fastmail.com> wrote:
Frederick Muriithi= <fredmanglis@gmail.com>= writes:

>> The previous patch also creates "$out/bin/conda". Does t= hat executable
>> not work? Why do we need both packages?
>>
>
> Conda has two forms:
>
> * a python library form, that can be included in python programs, and<= br> > * an executable form that can be run on the cli
>
> I defined python-conda to provide the library form, whereas conda was<= br> > to provide the executable form.

My question was more whether it made sense to provide two different packages, if they both have the same files. Does the `conda` executable
from 'python-conda' work differently? Maybe we should rename or rem= ove
it to avoid conflicts?

>> There are a few phases that messes with the tests, yet they are >> disabled. Why?
>
> My bad. I will reactivate them. Must have left that in by mistake. My = apologies.

Great, thanks!

>> Wooow. What happens with the default 'python setup.py install&= #39;?
>>
>
> The default setup.py builds the python library form, whereas the
> utils/setup-testing.py builds the executable version

Ahh okay. Having read both scripts it looks like 'setup.py' o= nly
installs "conda.cli.pip_warning:main" instead of the real thing. = Sorry
for the confusion!

>> Unless there exists a good reason to both have a "conda"= package and a
>> 'python-conda', I think we should consolidate these two. T= he previous
>> patch (from PyPi) did not have tests either, so I suppose we shoul= d use
>> this release (but we should really figure out why setup.py is brok= en).
>
> I don't think setup.py is broken, I think the conda team built it = that
> way, so that one is explicit on what they want to do, at least that is=
> what I could gather from my reading on it. I will redefine the
> packages to make it cleaner, and simply use the release/url that has > the tests to define both.

Sounds good. I still think it's worth investigating if this "= ;official"
(quotes since it's still explicitly unsupported) build method also can<= br> be used as a library so we can avoid maintaining three variants of
nearly the same package. Let us know what you find :-)

Thanks!

Well, we can drop python-conda (the library form) if necessary= . My main focus is conda as an application/executable, but thought to provi= de both for completeness.

The patches will be coming in soon, fixing most of the Marius noted.

--001a113ff0b8275117055492d18c-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 18 04:37:09 2017 Received: (at 27637) by debbugs.gnu.org; 18 Jul 2017 08:37:10 +0000 Received: from localhost ([127.0.0.1]:45305 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXO0D-0008Rf-Iu for submit@debbugs.gnu.org; Tue, 18 Jul 2017 04:37:09 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:36219) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXO0C-0008RP-25 for 27637@debbugs.gnu.org; Tue, 18 Jul 2017 04:37:08 -0400 Received: by mail-wr0-f194.google.com with SMTP id y67so829087wrb.3 for <27637@debbugs.gnu.org>; Tue, 18 Jul 2017 01:37:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=W7mePzagFecNOvS12vY5yYR1Mo7g1iquuNwr+/AnCxk=; b=Waa4fmvQm/JC6zgq2fYwKhRseQY552rwV7N6dIXvANqy6b/WJeXYwbQDFf/UGUwjCh YzMX028IqWOb7ZX06vvV6IpyXlp8yIs9C6eB5RKyxKsYiPelSp2Uc2rOjFJNis9wTH/Z 9GcnpcK2zteGyD9kDt+h1gajjDNvg76ZF9mF5Fi3wgC0OV865u86Krkacipki7Fg2ycV ewR+RrNPpylZN5nVV2lWG+ueAUf9kC2+a6zN7j22ftzNWd0DTDNYKOBM0spomIP5SIJF b142HejBuTGK61qhLyyjAk4Liov9ZjJiNoykLVu8Zke4Zle2DJKHZRUGaTUyz9jXKt3M gVmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=W7mePzagFecNOvS12vY5yYR1Mo7g1iquuNwr+/AnCxk=; b=g7aINiJqOHkfp1qJuKKtaZejCC/DvwkJbEe9g81lJZYKArWbuleGyyOhtv5R/fYhVU dCI/fy6CKtqxsZnzSTgWh6qbQ9AfC/dllVi3CyMU0+0/hAI5/yqj6Q98zvznvUd+GoLq 6Pjv/2PExVJV4OXJD5iEK7vLwa5M3QvTvh7Yst+PIBRhgM/ZAAYKzFiHB0iizBM6kmRm JqBC7fd3w5+pPMmaNOOIiSFW/1KdpcjOqKeb8EnbzeGG82BvDyLakQ68WG+Zcl2tfCwx IYrEOAUHWwqQD9+g252LBip00gzEN7s1qJ2Lb7EzbX1WLx26RHcF2OubW5Z/6WAIGCOw QGAw== X-Gm-Message-State: AIVw111+4tJWMZ/lNfwY+LXyys4Uvf5Zw41UBrMoyiWs+p4fLuGtbXB1 frZ1gC2W2PPBFi6fRvo= X-Received: by 10.28.18.16 with SMTP id 16mr1244672wms.93.1500367021630; Tue, 18 Jul 2017 01:37:01 -0700 (PDT) Received: from localhost.localdomain (41-139-150-138.safaricombusiness.co.ke. [41.139.150.138]) by smtp.gmail.com with ESMTPSA id y84sm12767433wmg.12.2017.07.18.01.36.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Jul 2017 01:37:00 -0700 (PDT) From: Muriithi Frederick Muriuki To: 27637@debbugs.gnu.org Subject: [PATCH 1/5] gnu: Add python-pytz Date: Tue, 18 Jul 2017 11:37:05 +0300 Message-Id: <20170718083709.5062-1-fredmanglis@gmail.com> X-Mailer: git-send-email 2.13.2 X-Spam-Score: -0.8 (/) X-Debbugs-Envelope-To: 27637 Cc: mbakke@fastmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) * gnu/packages/package-management.scm (python-pytz, python2-pytz): New * variables. * Add expat license. --- gnu/packages/package-management.scm | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index d2e30781b..e8a401f1c 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -25,7 +25,7 @@ #:use-module (guix utils) #:use-module (guix build-system gnu) #:use-module (guix build-system python) - #:use-module ((guix licenses) #:select (gpl2+ gpl3+ lgpl2.1+ asl2.0)) + #:use-module ((guix licenses) #:select (gpl2+ gpl3+ lgpl2.1+ asl2.0 expat)) #:use-module (gnu packages) #:use-module (gnu packages guile) #:use-module (gnu packages file) @@ -516,3 +516,28 @@ different. It recursively unpacks archives of many kinds and transforms various binary formats into more human readable forms to compare them. It can compare two tarballs, ISO images, or PDFs just as easily.") (license gpl3+))) + +(define-public python-pytz + (package + (name "python-pytz") + (version "2017.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytz" version ".zip")) + (sha256 + (base32 + "12cmd3j46d2gcw08bspvp6s9icfcvx88zjz52n1bli9dyvl5dh7m")))) + (build-system python-build-system) + (native-inputs + `(("unzip" ,unzip))) + (home-page "http://pythonhosted.org/pytz") + (synopsis "World timezone definitions, modern and historical") + (description "This library brings the Olson tz database into Python. It +allows accurate and cross platform timezone calculations using Python 2.4 or +higher. It also solves the issue of ambiguous times at the end of daylight +saving time. Almost all of the Olson timezones are supported.") + (license expat))) + +(define-public python2-pytz + (package-with-python2 python-pytz)) -- 2.13.2 From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 18 04:37:12 2017 Received: (at 27637) by debbugs.gnu.org; 18 Jul 2017 08:37:12 +0000 Received: from localhost ([127.0.0.1]:45308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXO0F-0008Rt-S9 for submit@debbugs.gnu.org; Tue, 18 Jul 2017 04:37:12 -0400 Received: from mail-wr0-f181.google.com ([209.85.128.181]:33709) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXO0D-0008RS-In for 27637@debbugs.gnu.org; Tue, 18 Jul 2017 04:37:10 -0400 Received: by mail-wr0-f181.google.com with SMTP id a10so18576363wrd.0 for <27637@debbugs.gnu.org>; Tue, 18 Jul 2017 01:37:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=lHBm6WGy0XxY0SCdkfiKvlEY2adI5yK2LqkBTCSuYQI=; b=pBdE008KPFrgSUjgC+CN8/t4lKg1b0EwIBK0WS6SwuyqiRYOCfle5ddVQZf757HBeH tnoc7krd5wmWsw3BEtJFqnnasJxSUXX1fgu5LKNhLuIbbQxb2wF/y0H2ghzDIjcEVbv8 fMwOw+gjqy68R2N3Zt1T8Wqd9hd0DCVAc/bJRqL2V7dXcf7i6GyUuOLrOm4sAuTPw/sL V9w3/79itnIWDfcTO/NlL1hJh/ie1jDGvHzZfVoR0aRtzI3nKM9cEzwMw9N9TO41F1o+ x7IJAO9FltgV/NvThWXw/XO8Mgm8NmvPsKQRJCojeePtBY4Xto56RXPV8KXzzWp7eUDL sKgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=lHBm6WGy0XxY0SCdkfiKvlEY2adI5yK2LqkBTCSuYQI=; b=pJ6FpGcz+JUmNHbyAi7uJSr6V+DzEfooN6cFocMfGBejhsqmsVBtoFlAsor9sle0as FAi9asOiVTGblBdYoH7C0UgPRoUhqJkR2ZFD5D+d3J5LlTKcTcPFT64w4HCW4JmzQYbE myquF9LJ9HkmvDS3IUk4AVxcIDoj736vXgNelsXq3wOBikCaQX/N51IRW1J0BMoneTOf SzdcynVmkJ0GhNAlYSmd8Ap43WARAtEsksZ9y6Ap9W4GESzceO+h2cxEKWrIGx2WqiFS tgzRdNWjeE3M474zq8cA1Ce3xi4lU52JKPtCKUBmUFQOsotdvB1VTKB9q2Wdc2S2xk48 lSqw== X-Gm-Message-State: AIVw113RWhD+RnSkjjTziFUu1eCOPHxo3tx6o9AtCuiJKTYvWWQrmvQq gsFLyCtQgpW8DNjONJ4= X-Received: by 10.28.208.72 with SMTP id h69mr872118wmg.3.1500367023532; Tue, 18 Jul 2017 01:37:03 -0700 (PDT) Received: from localhost.localdomain (41-139-150-138.safaricombusiness.co.ke. [41.139.150.138]) by smtp.gmail.com with ESMTPSA id y84sm12767433wmg.12.2017.07.18.01.37.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Jul 2017 01:37:02 -0700 (PDT) From: Muriithi Frederick Muriuki To: 27637@debbugs.gnu.org Subject: [PATCH 2/5] gnu: Add python-clyent Date: Tue, 18 Jul 2017 11:37:06 +0300 Message-Id: <20170718083709.5062-2-fredmanglis@gmail.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170718083709.5062-1-fredmanglis@gmail.com> References: <20170718083709.5062-1-fredmanglis@gmail.com> X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 27637 Cc: mbakke@fastmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) * gnu/packages/package-management.scm (python-clyent, python2-clyent): * New variables. * Add bsd-3 license. --- gnu/packages/package-management.scm | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index e8a401f1c..0c0b780ad 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -25,7 +25,7 @@ #:use-module (guix utils) #:use-module (guix build-system gnu) #:use-module (guix build-system python) - #:use-module ((guix licenses) #:select (gpl2+ gpl3+ lgpl2.1+ asl2.0 expat)) + #:use-module ((guix licenses) #:select (gpl2+ gpl3+ lgpl2.1+ asl2.0 expat bsd-3)) #:use-module (gnu packages) #:use-module (gnu packages guile) #:use-module (gnu packages file) @@ -541,3 +541,26 @@ saving time. Almost all of the Olson timezones are supported.") (define-public python2-pytz (package-with-python2 python-pytz)) + +(define-public python-clyent + (package + (name "python-clyent") + (version "1.2.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "clyent" version)) + (sha256 + (base32 + "1r9987qmy1pz3hq54160bapqsywpq14waw4w9x3ly8hmq7kpgfbj")))) + (build-system python-build-system) + (native-inputs + `(("python-mock" ,python-mock))) + (home-page "https://github.com/binstar/clyent") + (synopsis "Command line client Library for windows and posix") + (description "Clyent is a python command line utiliy library for +@code{binstar}, @code{binstar-build} and @code{chalmers}.") + (license bsd-3))) + +(define-public python2-clyent + (package-with-python2 python-clyent)) -- 2.13.2 From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 18 04:37:22 2017 Received: (at 27637) by debbugs.gnu.org; 18 Jul 2017 08:37:22 +0000 Received: from localhost ([127.0.0.1]:45311 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXO0I-0008S8-3J for submit@debbugs.gnu.org; Tue, 18 Jul 2017 04:37:22 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:33329) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXO0G-0008RW-8o for 27637@debbugs.gnu.org; Tue, 18 Jul 2017 04:37:12 -0400 Received: by mail-wr0-f193.google.com with SMTP id y43so1621421wrd.0 for <27637@debbugs.gnu.org>; Tue, 18 Jul 2017 01:37:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=l834tN3ZWG0AQ39vRs1z+rCFoWhuBhQY42MxsDFVZl0=; b=kyzVuwuSmV/h6bsngoYlnokH5UYf42bLnDaa/CW/988V8MdnyuRllQ/FliTxmJAqRc KH8N39hIDLymDOHfxz9kql4m8152PEiEm67qKu97ZuiVqrOvXp5KwLwO0SVWMjdiK0X3 bEGAFHvTBNe9J3PLHuZXXQJIswTOwdV42fhkUGoEpWsPpImhjWE2MFptvbWjhufmmq+v HgxWspMUtq9XoLjlEAUG9dY/O6ILMoQClSJnKZKAtsiKgxxFJ9262FY07SnrjEOblOVQ MjGQ8M9e2hTq6B76nFsMTrkKrZEtvOOgTIjhK2W287MQgFaIqfaV8Zg3/rMqoeW3ZRrH uCIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=l834tN3ZWG0AQ39vRs1z+rCFoWhuBhQY42MxsDFVZl0=; b=TQUkg/xj+TO2B8XL4mYgOkXqEgvpxcZguG3KXbgQih7NQj2FcsnP5HsaXVt1lLiCVg wqrCs7oAcM9sJunoLDKL6taqlTS5PmEnF/o1dAfPuximEx7FLlCZDDpduHkMPujSttUk WjAyXy6hPnbgwLPqOO3N1LKlxgtDKrHCQeAAHFLrb8eii7cHyJEVmtlwvQTbAuNVAWYe g/rzTVNmxDsTjTpd5n0/B3mZer+55pO4IQ0kbgOEAPmoQ28K/JKy4OCBAOBj9IMRJkpB qDeQmVoeCF7pbwNrqfwtEWC1VyTlFDZ50DC5pjYjFU3rJzMxaI0n+iaZQmbvCEzZT7dN VAKA== X-Gm-Message-State: AIVw110oIcYxkjv+yNCdhxOkc7ja4UopJrds/pRuNtliZVEXTCgChbvW UMBoxGKWwnYhphpue58= X-Received: by 10.28.236.19 with SMTP id k19mr1222053wmh.30.1500367026170; Tue, 18 Jul 2017 01:37:06 -0700 (PDT) Received: from localhost.localdomain (41-139-150-138.safaricombusiness.co.ke. [41.139.150.138]) by smtp.gmail.com with ESMTPSA id y84sm12767433wmg.12.2017.07.18.01.37.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Jul 2017 01:37:05 -0700 (PDT) From: Muriithi Frederick Muriuki To: 27637@debbugs.gnu.org Subject: [PATCH 3/5] gnu: Add python-anaconda-client Date: Tue, 18 Jul 2017 11:37:07 +0300 Message-Id: <20170718083709.5062-3-fredmanglis@gmail.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170718083709.5062-1-fredmanglis@gmail.com> References: <20170718083709.5062-1-fredmanglis@gmail.com> X-Spam-Score: -0.8 (/) X-Debbugs-Envelope-To: 27637 Cc: mbakke@fastmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) * gnu/packages/package-management.scm (python-anaconda-client, * python2-anaconda-client): New variables. --- gnu/packages/package-management.scm | 54 +++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 0c0b780ad..a16a49bd0 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -564,3 +564,57 @@ saving time. Almost all of the Olson timezones are supported.") (define-public python2-clyent (package-with-python2 python-clyent)) + +(define-public python-anaconda-client + (package + (name "python-anaconda-client") + (version "1.6.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/Anaconda-Platform/anaconda-client/archive/" + version ".tar.gz")) + (sha256 + (base32 + "1wv4wi6k5jz7rlwfgvgfdizv77x3cr1wa2aj0k1595g7fbhkjhz2")))) + (build-system python-build-system) + (propagated-inputs + `(("python-pyyaml" ,python-pyyaml) + ("python-requests" ,python-requests) + ("python-clyent" ,python-clyent))) + (native-inputs + `(("python-pytz" ,python-pytz) + ("python-dateutil" ,python-dateutil) + ("python-mock" ,python-mock) + ("python-coverage" ,python-coverage) + ("python-pillow" ,python-pillow))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check + 'set-up-home + (lambda* _ + (setenv "HOME" "/tmp"))) + (add-before 'check + 'remove-network-tests + (lambda* _ + ;; Remove tests requiring a network connection + (delete-file "binstar_client/tests/test_upload.py") + (delete-file "binstar_client/tests/test_authorizations.py") + (delete-file "binstar_client/tests/test_login.py") + (delete-file "binstar_client/tests/test_whoami.py") + (delete-file "binstar_client/utils/notebook/tests/test_data_uri.py") + (delete-file "binstar_client/utils/notebook/tests/test_base.py") + (delete-file "binstar_client/utils/notebook/tests/test_downloader.py") + (delete-file "binstar_client/inspect_package/tests/test_conda.py")))))) + (home-page "https://github.com/Anaconda-Platform/anaconda-client") + (synopsis "Anaconda Cloud command line client library") + (description + "Anaconda Cloud command line client library provides an interface to +Anaconda Cloud. Anaconda Cloud is useful for sharing packages, notebooks and +environments.") + (license bsd-3))) + +(define-public python2-anaconda-client + (package-with-python2 python-anaconda-client)) -- 2.13.2 From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 18 04:37:31 2017 Received: (at 27637) by debbugs.gnu.org; 18 Jul 2017 08:37:31 +0000 Received: from localhost ([127.0.0.1]:45315 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXO0Q-0008SO-HT for submit@debbugs.gnu.org; Tue, 18 Jul 2017 04:37:31 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:36370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXO0K-0008Rr-7j for 27637@debbugs.gnu.org; Tue, 18 Jul 2017 04:37:19 -0400 Received: by mail-wr0-f193.google.com with SMTP id y67so830198wrb.3 for <27637@debbugs.gnu.org>; Tue, 18 Jul 2017 01:37:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=7drDLiTOM6amFqQkztE4thIVWnsPIwnX4Sj9bM1C0Wo=; b=pE84S4v6lblQ6c8X92C/d0ajpO7aePJ6GdTR292Y35I+MI25yvAwVu6Ji1813smkIL qZyIlqS70JnLE3+9qlFliYwwk7gnDiVSlcaLk0iioDUgSso9nUYwUqeagh/G6+pOZjw5 Oqq5a8IQTcyikfpPjOf7XCuOIwYZfveEoeZpZc2llhihUwvGGVzY4JX5euk/VGViyxCR 9kVIpiCllGGXo9IwCy2nMohob5MI3fNg/u47NXw0FJjVnZZbT2g9adJaxj86+V9vpbnc KaCS4MHHeIoVTAGquQ0x1qfJtz1u792hMdUWKwushNth2BJbRwBhveZb8eYetANBfrEe 5MXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=7drDLiTOM6amFqQkztE4thIVWnsPIwnX4Sj9bM1C0Wo=; b=MlxKMvRlvKAUg+YEXzM+OY/r1bLmdNivewbFxC1+zp91zBeBZE8nhDhZewLNNeu3Jy 7nBYWb+AHkJ+WK6Ow4dV+B1iga6IEbd5RTQL3M6+uJ02A2ZnEOT35fgNEA78wKJYDOyN TdQL0wHhAZK6rv5fV1TzGw1ITPIi32wLW7tIqQ327VR7bQy1I3aAkJFKCKdAv7Jl+oeh zHZZVlczHM23SB/clSPet4/VYnVimN6y96qxF5onFx9tPsIlewMUhiVLGJhXFYBgdrdQ SehV9/22J10U7WutiqrrMYPi9N7wyjS549RFp0E/dpM4+7rflFg5ohUTr3FdgAue3QFX t+fg== X-Gm-Message-State: AIVw112kSqubkjwWWV+FJmyWC2fK7GwdCqWkfJDuNN8f4xUvw/HLi9zk nW4xa6H5BF899tGicrI= X-Received: by 10.223.177.158 with SMTP id q30mr364591wra.123.1500367030123; Tue, 18 Jul 2017 01:37:10 -0700 (PDT) Received: from localhost.localdomain (41-139-150-138.safaricombusiness.co.ke. [41.139.150.138]) by smtp.gmail.com with ESMTPSA id y84sm12767433wmg.12.2017.07.18.01.37.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Jul 2017 01:37:09 -0700 (PDT) From: Muriithi Frederick Muriuki To: 27637@debbugs.gnu.org Subject: [PATCH 4/5] gnu: Add python-conda Date: Tue, 18 Jul 2017 11:37:08 +0300 Message-Id: <20170718083709.5062-4-fredmanglis@gmail.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170718083709.5062-1-fredmanglis@gmail.com> References: <20170718083709.5062-1-fredmanglis@gmail.com> X-Spam-Score: -0.8 (/) X-Debbugs-Envelope-To: 27637 Cc: mbakke@fastmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) * gnu/packages/package-management.scm (python-conda, python2-conda): New * variables. * Add module (gnu packages serialization). --- gnu/packages/package-management.scm | 75 +++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index a16a49bd0..3f106a65e 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -52,6 +52,7 @@ #:use-module (gnu packages tls) #:use-module (gnu packages ssh) #:use-module (gnu packages vim) + #:use-module (gnu packages serialization) #:use-module (srfi srfi-1) #:use-module (ice-9 match)) @@ -618,3 +619,77 @@ environments.") (define-public python2-anaconda-client (package-with-python2 python-anaconda-client)) + +(define-public python-conda + (package + (name "python-conda") + (version "4.3.16") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/conda/conda/archive/" + version ".tar.gz")) + (sha256 + (base32 + "1jq8hyrc5npb5sf4vw6s6by4602yj8f79vzpbwdfgpkn02nfk1dv")))) + (build-system python-build-system) + (native-inputs + `(("python-ruamel.yaml" ,python-ruamel.yaml) + ("python-requests" ,python-requests) + ("python-pycosat" ,python-pycosat) + ("python-pytest" ,python-pytest) + ("python-responses" ,python-responses) + ("python-pyyaml" ,python-pyyaml) + ("python-anaconda-client" ,python-anaconda-client))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'build + 'create-version-file + (lambda* _ + (let ((version-file (open-output-file "conda/.version"))) + (display ,version version-file) + (close-output-port version-file) + #t))) + (add-before 'check + 'remove-failing-tests + (lambda* _ + ;; these tests require internet/network access + (delete-file "tests/test_cli.py") + (delete-file "tests/test_create.py") + (delete-file "tests/test_export.py") + (delete-file "tests/test_fetch.py") + (delete-file "tests/test_history.py") + (delete-file "tests/test_info.py") + (delete-file "tests/test_install.py") + (delete-file "tests/test_priority.py") + (delete-file "tests/conda_env/test_cli.py") + (delete-file "tests/conda_env/test_create.py") + (delete-file "tests/conda_env/specs/test_notebook.py") + (delete-file "tests/conda_env/utils/test_notebooks.py") + (delete-file "tests/core/test_index.py") + (delete-file "tests/core/test_repodata.py") + ;; This last test creates a file, then deletes it an + ;; tests that the file was deleted. For some reason + ;; it fails when building with guix, but does not when + ;; you run it in the directory left when you build with + ;; the --keep-failed option + (delete-file "tests/gateways/disk/test_delete.py"))) + (replace 'check + (lambda* _ + (and + (setenv "HOME" "/tmp") + (zero? (system* "py.test")))))))) + (home-page "https://github.com/conda/conda") + (synopsis + "Cross-platform, OS-agnostic, system-level binary package manager") + (description + "Conda is a cross-platform, Python-agnostic binary package manager. It is +the package manager used by Anaconda installations, but it may be used for other +systems as well. Conda makes environments first-class citizens, making it easy +to create independent environments even for C libraries. Conda is written +entirely in Python, and is BSD licensed open source.") + (license bsd-3))) + +(define-public python2-conda + (package-with-python2 python-conda)) -- 2.13.2 From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 18 04:37:41 2017 Received: (at 27637) by debbugs.gnu.org; 18 Jul 2017 08:37:41 +0000 Received: from localhost ([127.0.0.1]:45317 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXO0a-0008Sp-Rw for submit@debbugs.gnu.org; Tue, 18 Jul 2017 04:37:41 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:34335) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXO0M-0008S6-Qm for 27637@debbugs.gnu.org; Tue, 18 Jul 2017 04:37:31 -0400 Received: by mail-wr0-f194.google.com with SMTP id w4so3013169wrb.1 for <27637@debbugs.gnu.org>; Tue, 18 Jul 2017 01:37:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=CLYfCNOunIDNqCNLcMLocnkyrvIT7uzOFdMTuOfdwAU=; b=qJ4scV/pUVuR5aBsz+fAcTqxJIKbMYBbHsPMoUhAi6gUAOG5ww8+pfFlU8z7yWD4+F tHcod7NIbBoAcw+aFTTi28AeM0WE+veMOe6lLn2FkIAu+GF0kTW9z+HtTE82vLpVDR8O HRg33AflK8bvp1CD6hOmkTq5mnm1nwIPnqr5ADyMqBsB0ni8pel7e72JG03cVFp9PkUg jg2LjQmBGVQwHQH18GPBadPxtx07PA4k/lJ3vKYv7eWKj9JtwnWrBO4oPjMbWRBBY9zl cmgVBEVbHnaLokgg8+IRCe90akRBmpGfmZDGDmHbvMmYhJwXxCiBj33jHob2hG+dWNdR H6Fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=CLYfCNOunIDNqCNLcMLocnkyrvIT7uzOFdMTuOfdwAU=; b=AlcfTGRe2kcXJHmrW06ID+h0H2QBeY3iGmGe9e+Q4dUFR4nQAdeCQtEzuvlJ+Lp99H kUH4YzrDkiImOKbhhLI35aVHOb8PrJmwD2Vc6/zQPMB1Pl02gaZ4BcpO0UWy5csJ6c8Z A4SltEltyL7gYgWHu9iVOcNBv+0jVg1T5wbe8VHdjp5D85BRb0W8BPmi1V2fsabxj1lT aKuUCX+JPX2khGz5mAsWS225xNeSoqbasSJ6BVa2c26bvnZ28zMug/ThOcLdFgVfSvGs 41rnFf95qVWuRHiHpHQ+3c/W+5eKeulrrIitWzWizTzdU/k2vGIZLIlzKZZASDwVNwzq YrFQ== X-Gm-Message-State: AIVw111jn4edcd6/hgxwBotj7POyTQed8eENWOiuuwUVMMvqc9KvA//V mfL9Xa4X+W8JFDGvb9k= X-Received: by 10.223.175.5 with SMTP id z5mr377613wrc.11.1500367032777; Tue, 18 Jul 2017 01:37:12 -0700 (PDT) Received: from localhost.localdomain (41-139-150-138.safaricombusiness.co.ke. [41.139.150.138]) by smtp.gmail.com with ESMTPSA id y84sm12767433wmg.12.2017.07.18.01.37.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Jul 2017 01:37:12 -0700 (PDT) From: Muriithi Frederick Muriuki To: 27637@debbugs.gnu.org Subject: [PATCH 5/5] gnu: Add conda Date: Tue, 18 Jul 2017 11:37:09 +0300 Message-Id: <20170718083709.5062-5-fredmanglis@gmail.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170718083709.5062-1-fredmanglis@gmail.com> References: <20170718083709.5062-1-fredmanglis@gmail.com> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 27637 Cc: mbakke@fastmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) * gnu/packages/package-management.scm (conda): New variable. --- gnu/packages/package-management.scm | 84 +++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 3f106a65e..b30b8aff0 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -693,3 +693,87 @@ entirely in Python, and is BSD licensed open source.") (define-public python2-conda (package-with-python2 python-conda)) + +(define-public conda + (package + (inherit python-conda) + (name "conda") + (version "4.3.16") + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'build + 'create-version-file + (lambda* _ + (let ((version-file (open-output-file "conda/.version"))) + (display ,version version-file) + (close-output-port version-file) + #t))) + (replace 'build + (lambda* _ + ;; the util/setup-testing.py is used to build conda in + ;; application form, rather than the default, library form. + ;; With this, we are able to run commands like `conda --help` + ;; directly on the command line + (zero? (system* "python" "utils/setup-testing.py" "bdist")))) + (add-before 'check + 'remove-failing-tests + (lambda* _ + ;; these tests require internet/network access + (delete-file "tests/test_cli.py") + (delete-file "tests/test_create.py") + (delete-file "tests/test_export.py") + (delete-file "tests/test_fetch.py") + (delete-file "tests/test_history.py") + (delete-file "tests/test_info.py") + (delete-file "tests/test_install.py") + (delete-file "tests/test_priority.py") + (delete-file "tests/conda_env/test_cli.py") + (delete-file "tests/conda_env/test_create.py") + (delete-file "tests/conda_env/specs/test_notebook.py") + (delete-file "tests/conda_env/utils/test_notebooks.py") + (delete-file "tests/core/test_index.py") + (delete-file "tests/core/test_repodata.py") + ;; This last test creates a file, then deletes it an + ;; tests that the file was deleted. For some reason + ;; it fails when building with guix, but does not when + ;; you run it in the directory left when you build with + ;; the --keep-failed option + (delete-file "tests/gateways/disk/test_delete.py"))) + (replace 'check + (lambda* _ + (and + (setenv "HOME" "/tmp") + (zero? (system* "py.test"))))) + (replace 'install + (lambda* (#:key outputs target (configure-flags '()) + use-setup-tools? #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (main-dir (getcwd)) + (build-dir (string-append main-dir "/build")) + (dist-dir (string-append main-dir "/dist")) + (dir-stream (opendir dist-dir)) + (tar-file (let get-file ((stream dir-stream)) + (let ((the-file "")) + (do ((file (readdir stream) + (readdir stream))) + ((eof-object? file)) + (if (not (or + (equal? file ".") + (equal? file ".."))) + (set! the-file file))) + the-file)))) + (closedir dir-stream) + (chdir dist-dir) + ;; tar seems to be ignoring the -C option and at + ;; this point the path in the variable `out` does + ;; not seem to exist, hence the need for the hacky + ;; code that follows. + (mkdir "tmp") + (chdir "tmp") + (system* "tar" "-xvzf" + (string-append "../" tar-file) + "--strip-components=4") + (chdir "../") + (system* "cp" "-fvR" "tmp/" out) + (chdir main-dir))))))))) -- 2.13.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 21 01:44:39 2017 Received: (at 27637) by debbugs.gnu.org; 21 Jul 2017 05:44:39 +0000 Received: from localhost ([127.0.0.1]:50281 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYQju-0000U9-PQ for submit@debbugs.gnu.org; Fri, 21 Jul 2017 01:44:38 -0400 Received: from mail.thebird.nl ([95.154.246.10]:46759) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYQjt-0000Tx-T4 for 27637@debbugs.gnu.org; Fri, 21 Jul 2017 01:44:38 -0400 Received: by mail.thebird.nl (Postfix, from userid 502) id 9EB0840018; Fri, 21 Jul 2017 07:44:18 +0200 (CEST) Date: Fri, 21 Jul 2017 07:44:18 +0200 From: Pjotr Prins To: Muriithi Frederick Muriuki Subject: Re: [bug#27637] [PATCH 1/5] gnu: Add python-pytz Message-ID: <20170721054418.GA16795@thebird.nl> References: <20170718083709.5062-1-fredmanglis@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170718083709.5062-1-fredmanglis@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 27637 Cc: 27637@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Definition LGTM. License is dual expat and ZPL (Zope). May want to add that. Part of the conda packaging effort. Please push if it is OK. On Tue, Jul 18, 2017 at 11:37:05AM +0300, Muriithi Frederick Muriuki wrote: > * gnu/packages/package-management.scm (python-pytz, python2-pytz): New > * variables. > * Add expat license. > --- > gnu/packages/package-management.scm | 27 ++++++++++++++++++++++++++- > 1 file changed, 26 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm > index d2e30781b..e8a401f1c 100644 > --- a/gnu/packages/package-management.scm > +++ b/gnu/packages/package-management.scm > @@ -25,7 +25,7 @@ > #:use-module (guix utils) > #:use-module (guix build-system gnu) > #:use-module (guix build-system python) > - #:use-module ((guix licenses) #:select (gpl2+ gpl3+ lgpl2.1+ asl2.0)) > + #:use-module ((guix licenses) #:select (gpl2+ gpl3+ lgpl2.1+ asl2.0 expat)) > #:use-module (gnu packages) > #:use-module (gnu packages guile) > #:use-module (gnu packages file) > @@ -516,3 +516,28 @@ different. It recursively unpacks archives of many kinds and transforms > various binary formats into more human readable forms to compare them. It can > compare two tarballs, ISO images, or PDFs just as easily.") > (license gpl3+))) > + > +(define-public python-pytz > + (package > + (name "python-pytz") > + (version "2017.2") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "pytz" version ".zip")) > + (sha256 > + (base32 > + "12cmd3j46d2gcw08bspvp6s9icfcvx88zjz52n1bli9dyvl5dh7m")))) > + (build-system python-build-system) > + (native-inputs > + `(("unzip" ,unzip))) > + (home-page "http://pythonhosted.org/pytz") > + (synopsis "World timezone definitions, modern and historical") > + (description "This library brings the Olson tz database into Python. It > +allows accurate and cross platform timezone calculations using Python 2.4 or > +higher. It also solves the issue of ambiguous times at the end of daylight > +saving time. Almost all of the Olson timezones are supported.") > + (license expat))) > + > +(define-public python2-pytz > + (package-with-python2 python-pytz)) > -- > 2.13.2 > > > > -- From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 21 01:45:37 2017 Received: (at 27637) by debbugs.gnu.org; 21 Jul 2017 05:45:37 +0000 Received: from localhost ([127.0.0.1]:50285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYQkr-0000W1-47 for submit@debbugs.gnu.org; Fri, 21 Jul 2017 01:45:37 -0400 Received: from mail.thebird.nl ([95.154.246.10]:46768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYQkp-0000Vm-Gs for 27637@debbugs.gnu.org; Fri, 21 Jul 2017 01:45:35 -0400 Received: by mail.thebird.nl (Postfix, from userid 502) id 08A0D40018; Fri, 21 Jul 2017 07:45:16 +0200 (CEST) Date: Fri, 21 Jul 2017 07:45:15 +0200 From: Pjotr Prins To: Muriithi Frederick Muriuki Subject: Re: [bug#27637] [PATCH 2/5] gnu: Add python-clyent Message-ID: <20170721054515.GB16795@thebird.nl> References: <20170718083709.5062-1-fredmanglis@gmail.com> <20170718083709.5062-2-fredmanglis@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170718083709.5062-2-fredmanglis@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 27637 Cc: 27637@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) LGTM. Part of the Conda packaging effort. Please push. On Tue, Jul 18, 2017 at 11:37:06AM +0300, Muriithi Frederick Muriuki wrote: > * gnu/packages/package-management.scm (python-clyent, python2-clyent): > * New variables. > * Add bsd-3 license. > --- > gnu/packages/package-management.scm | 25 ++++++++++++++++++++++++- > 1 file changed, 24 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm > index e8a401f1c..0c0b780ad 100644 > --- a/gnu/packages/package-management.scm > +++ b/gnu/packages/package-management.scm > @@ -25,7 +25,7 @@ > #:use-module (guix utils) > #:use-module (guix build-system gnu) > #:use-module (guix build-system python) > - #:use-module ((guix licenses) #:select (gpl2+ gpl3+ lgpl2.1+ asl2.0 expat)) > + #:use-module ((guix licenses) #:select (gpl2+ gpl3+ lgpl2.1+ asl2.0 expat bsd-3)) > #:use-module (gnu packages) > #:use-module (gnu packages guile) > #:use-module (gnu packages file) > @@ -541,3 +541,26 @@ saving time. Almost all of the Olson timezones are supported.") > > (define-public python2-pytz > (package-with-python2 python-pytz)) > + > +(define-public python-clyent > + (package > + (name "python-clyent") > + (version "1.2.1") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "clyent" version)) > + (sha256 > + (base32 > + "1r9987qmy1pz3hq54160bapqsywpq14waw4w9x3ly8hmq7kpgfbj")))) > + (build-system python-build-system) > + (native-inputs > + `(("python-mock" ,python-mock))) > + (home-page "https://github.com/binstar/clyent") > + (synopsis "Command line client Library for windows and posix") > + (description "Clyent is a python command line utiliy library for > +@code{binstar}, @code{binstar-build} and @code{chalmers}.") > + (license bsd-3))) > + > +(define-public python2-clyent > + (package-with-python2 python-clyent)) > -- > 2.13.2 > > > > -- From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 21 01:46:30 2017 Received: (at 27637) by debbugs.gnu.org; 21 Jul 2017 05:46:30 +0000 Received: from localhost ([127.0.0.1]:50289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYQlY-0000XZ-DX for submit@debbugs.gnu.org; Fri, 21 Jul 2017 01:46:30 -0400 Received: from mail.thebird.nl ([95.154.246.10]:46770) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYQlW-0000XM-MQ for 27637@debbugs.gnu.org; Fri, 21 Jul 2017 01:46:19 -0400 Received: by mail.thebird.nl (Postfix, from userid 502) id 2FA7F40018; Fri, 21 Jul 2017 07:45:59 +0200 (CEST) Date: Fri, 21 Jul 2017 07:45:59 +0200 From: Pjotr Prins To: Muriithi Frederick Muriuki Subject: Re: [bug#27637] [PATCH 3/5] gnu: Add python-anaconda-client Message-ID: <20170721054559.GC16795@thebird.nl> References: <20170718083709.5062-1-fredmanglis@gmail.com> <20170718083709.5062-3-fredmanglis@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170718083709.5062-3-fredmanglis@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 27637 Cc: 27637@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) LGTM On Tue, Jul 18, 2017 at 11:37:07AM +0300, Muriithi Frederick Muriuki wrote: > * gnu/packages/package-management.scm (python-anaconda-client, > * python2-anaconda-client): New variables. > --- > gnu/packages/package-management.scm | 54 +++++++++++++++++++++++++++++++++++++ > 1 file changed, 54 insertions(+) > > diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm > index 0c0b780ad..a16a49bd0 100644 > --- a/gnu/packages/package-management.scm > +++ b/gnu/packages/package-management.scm > @@ -564,3 +564,57 @@ saving time. Almost all of the Olson timezones are supported.") > > (define-public python2-clyent > (package-with-python2 python-clyent)) > + > +(define-public python-anaconda-client > + (package > + (name "python-anaconda-client") > + (version "1.6.3") > + (source > + (origin > + (method url-fetch) > + (uri (string-append > + "https://github.com/Anaconda-Platform/anaconda-client/archive/" > + version ".tar.gz")) > + (sha256 > + (base32 > + "1wv4wi6k5jz7rlwfgvgfdizv77x3cr1wa2aj0k1595g7fbhkjhz2")))) > + (build-system python-build-system) > + (propagated-inputs > + `(("python-pyyaml" ,python-pyyaml) > + ("python-requests" ,python-requests) > + ("python-clyent" ,python-clyent))) > + (native-inputs > + `(("python-pytz" ,python-pytz) > + ("python-dateutil" ,python-dateutil) > + ("python-mock" ,python-mock) > + ("python-coverage" ,python-coverage) > + ("python-pillow" ,python-pillow))) > + (arguments > + `(#:phases > + (modify-phases %standard-phases > + (add-before 'check > + 'set-up-home > + (lambda* _ > + (setenv "HOME" "/tmp"))) > + (add-before 'check > + 'remove-network-tests > + (lambda* _ > + ;; Remove tests requiring a network connection > + (delete-file "binstar_client/tests/test_upload.py") > + (delete-file "binstar_client/tests/test_authorizations.py") > + (delete-file "binstar_client/tests/test_login.py") > + (delete-file "binstar_client/tests/test_whoami.py") > + (delete-file "binstar_client/utils/notebook/tests/test_data_uri.py") > + (delete-file "binstar_client/utils/notebook/tests/test_base.py") > + (delete-file "binstar_client/utils/notebook/tests/test_downloader.py") > + (delete-file "binstar_client/inspect_package/tests/test_conda.py")))))) > + (home-page "https://github.com/Anaconda-Platform/anaconda-client") > + (synopsis "Anaconda Cloud command line client library") > + (description > + "Anaconda Cloud command line client library provides an interface to > +Anaconda Cloud. Anaconda Cloud is useful for sharing packages, notebooks and > +environments.") > + (license bsd-3))) > + > +(define-public python2-anaconda-client > + (package-with-python2 python-anaconda-client)) > -- > 2.13.2 > > > > -- From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 21 01:47:30 2017 Received: (at 27637) by debbugs.gnu.org; 21 Jul 2017 05:47:30 +0000 Received: from localhost ([127.0.0.1]:50293 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYQmV-0000Z9-Jt for submit@debbugs.gnu.org; Fri, 21 Jul 2017 01:47:30 -0400 Received: from mail.thebird.nl ([95.154.246.10]:46776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYQmP-0000Yo-69 for 27637@debbugs.gnu.org; Fri, 21 Jul 2017 01:47:18 -0400 Received: by mail.thebird.nl (Postfix, from userid 502) id 7027640018; Fri, 21 Jul 2017 07:46:54 +0200 (CEST) Date: Fri, 21 Jul 2017 07:46:54 +0200 From: Pjotr Prins To: Muriithi Frederick Muriuki Subject: Re: [bug#27637] [PATCH 4/5] gnu: Add python-conda Message-ID: <20170721054654.GD16795@thebird.nl> References: <20170718083709.5062-1-fredmanglis@gmail.com> <20170718083709.5062-4-fredmanglis@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170718083709.5062-4-fredmanglis@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 27637 Cc: 27637@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) LGTM. On Tue, Jul 18, 2017 at 11:37:08AM +0300, Muriithi Frederick Muriuki wrote: > * gnu/packages/package-management.scm (python-conda, python2-conda): New > * variables. > * Add module (gnu packages serialization). > --- > gnu/packages/package-management.scm | 75 +++++++++++++++++++++++++++++++++++++ > 1 file changed, 75 insertions(+) > > diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm > index a16a49bd0..3f106a65e 100644 > --- a/gnu/packages/package-management.scm > +++ b/gnu/packages/package-management.scm > @@ -52,6 +52,7 @@ > #:use-module (gnu packages tls) > #:use-module (gnu packages ssh) > #:use-module (gnu packages vim) > + #:use-module (gnu packages serialization) > #:use-module (srfi srfi-1) > #:use-module (ice-9 match)) > > @@ -618,3 +619,77 @@ environments.") > > (define-public python2-anaconda-client > (package-with-python2 python-anaconda-client)) > + > +(define-public python-conda > + (package > + (name "python-conda") > + (version "4.3.16") > + (source > + (origin > + (method url-fetch) > + (uri (string-append "https://github.com/conda/conda/archive/" > + version ".tar.gz")) > + (sha256 > + (base32 > + "1jq8hyrc5npb5sf4vw6s6by4602yj8f79vzpbwdfgpkn02nfk1dv")))) > + (build-system python-build-system) > + (native-inputs > + `(("python-ruamel.yaml" ,python-ruamel.yaml) > + ("python-requests" ,python-requests) > + ("python-pycosat" ,python-pycosat) > + ("python-pytest" ,python-pytest) > + ("python-responses" ,python-responses) > + ("python-pyyaml" ,python-pyyaml) > + ("python-anaconda-client" ,python-anaconda-client))) > + (arguments > + `(#:phases > + (modify-phases %standard-phases > + (add-before 'build > + 'create-version-file > + (lambda* _ > + (let ((version-file (open-output-file "conda/.version"))) > + (display ,version version-file) > + (close-output-port version-file) > + #t))) > + (add-before 'check > + 'remove-failing-tests > + (lambda* _ > + ;; these tests require internet/network access > + (delete-file "tests/test_cli.py") > + (delete-file "tests/test_create.py") > + (delete-file "tests/test_export.py") > + (delete-file "tests/test_fetch.py") > + (delete-file "tests/test_history.py") > + (delete-file "tests/test_info.py") > + (delete-file "tests/test_install.py") > + (delete-file "tests/test_priority.py") > + (delete-file "tests/conda_env/test_cli.py") > + (delete-file "tests/conda_env/test_create.py") > + (delete-file "tests/conda_env/specs/test_notebook.py") > + (delete-file "tests/conda_env/utils/test_notebooks.py") > + (delete-file "tests/core/test_index.py") > + (delete-file "tests/core/test_repodata.py") > + ;; This last test creates a file, then deletes it an > + ;; tests that the file was deleted. For some reason > + ;; it fails when building with guix, but does not when > + ;; you run it in the directory left when you build with > + ;; the --keep-failed option > + (delete-file "tests/gateways/disk/test_delete.py"))) > + (replace 'check > + (lambda* _ > + (and > + (setenv "HOME" "/tmp") > + (zero? (system* "py.test")))))))) > + (home-page "https://github.com/conda/conda") > + (synopsis > + "Cross-platform, OS-agnostic, system-level binary package manager") > + (description > + "Conda is a cross-platform, Python-agnostic binary package manager. It is > +the package manager used by Anaconda installations, but it may be used for other > +systems as well. Conda makes environments first-class citizens, making it easy > +to create independent environments even for C libraries. Conda is written > +entirely in Python, and is BSD licensed open source.") > + (license bsd-3))) > + > +(define-public python2-conda > + (package-with-python2 python-conda)) > -- > 2.13.2 > > > > -- From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 21 01:49:36 2017 Received: (at 27637) by debbugs.gnu.org; 21 Jul 2017 05:49:36 +0000 Received: from localhost ([127.0.0.1]:50297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYQoY-0000cF-9i for submit@debbugs.gnu.org; Fri, 21 Jul 2017 01:49:36 -0400 Received: from mail.thebird.nl ([95.154.246.10]:46790) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYQoP-0000bt-7j for 27637@debbugs.gnu.org; Fri, 21 Jul 2017 01:49:24 -0400 Received: by mail.thebird.nl (Postfix, from userid 502) id 83C0840018; Fri, 21 Jul 2017 07:48:58 +0200 (CEST) Date: Fri, 21 Jul 2017 07:48:58 +0200 From: Pjotr Prins To: Muriithi Frederick Muriuki Subject: Re: [bug#27637] [PATCH 5/5] gnu: Add conda Message-ID: <20170721054858.GE16795@thebird.nl> References: <20170718083709.5062-1-fredmanglis@gmail.com> <20170718083709.5062-5-fredmanglis@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170718083709.5062-5-fredmanglis@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 27637 Cc: 27637@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Thanks Fred. Can someone take a look at the tar issue? If there are no objections, please push. On Tue, Jul 18, 2017 at 11:37:09AM +0300, Muriithi Frederick Muriuki wrote: > * gnu/packages/package-management.scm (conda): New variable. > --- > gnu/packages/package-management.scm | 84 +++++++++++++++++++++++++++++++++++++ > 1 file changed, 84 insertions(+) > > diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm > index 3f106a65e..b30b8aff0 100644 > --- a/gnu/packages/package-management.scm > +++ b/gnu/packages/package-management.scm > @@ -693,3 +693,87 @@ entirely in Python, and is BSD licensed open source.") > > (define-public python2-conda > (package-with-python2 python-conda)) > + > +(define-public conda > + (package > + (inherit python-conda) > + (name "conda") > + (version "4.3.16") > + (arguments > + `(#:phases > + (modify-phases %standard-phases > + (add-before 'build > + 'create-version-file > + (lambda* _ > + (let ((version-file (open-output-file "conda/.version"))) > + (display ,version version-file) > + (close-output-port version-file) > + #t))) > + (replace 'build > + (lambda* _ > + ;; the util/setup-testing.py is used to build conda in > + ;; application form, rather than the default, library form. > + ;; With this, we are able to run commands like `conda --help` > + ;; directly on the command line > + (zero? (system* "python" "utils/setup-testing.py" "bdist")))) > + (add-before 'check > + 'remove-failing-tests > + (lambda* _ > + ;; these tests require internet/network access > + (delete-file "tests/test_cli.py") > + (delete-file "tests/test_create.py") > + (delete-file "tests/test_export.py") > + (delete-file "tests/test_fetch.py") > + (delete-file "tests/test_history.py") > + (delete-file "tests/test_info.py") > + (delete-file "tests/test_install.py") > + (delete-file "tests/test_priority.py") > + (delete-file "tests/conda_env/test_cli.py") > + (delete-file "tests/conda_env/test_create.py") > + (delete-file "tests/conda_env/specs/test_notebook.py") > + (delete-file "tests/conda_env/utils/test_notebooks.py") > + (delete-file "tests/core/test_index.py") > + (delete-file "tests/core/test_repodata.py") > + ;; This last test creates a file, then deletes it an > + ;; tests that the file was deleted. For some reason > + ;; it fails when building with guix, but does not when > + ;; you run it in the directory left when you build with > + ;; the --keep-failed option > + (delete-file "tests/gateways/disk/test_delete.py"))) > + (replace 'check > + (lambda* _ > + (and > + (setenv "HOME" "/tmp") > + (zero? (system* "py.test"))))) > + (replace 'install > + (lambda* (#:key outputs target (configure-flags '()) > + use-setup-tools? #:allow-other-keys) > + (let* ((out (assoc-ref outputs "out")) > + (main-dir (getcwd)) > + (build-dir (string-append main-dir "/build")) > + (dist-dir (string-append main-dir "/dist")) > + (dir-stream (opendir dist-dir)) > + (tar-file (let get-file ((stream dir-stream)) > + (let ((the-file "")) > + (do ((file (readdir stream) > + (readdir stream))) > + ((eof-object? file)) > + (if (not (or > + (equal? file ".") > + (equal? file ".."))) > + (set! the-file file))) > + the-file)))) > + (closedir dir-stream) > + (chdir dist-dir) > + ;; tar seems to be ignoring the -C option and at > + ;; this point the path in the variable `out` does > + ;; not seem to exist, hence the need for the hacky > + ;; code that follows. > + (mkdir "tmp") > + (chdir "tmp") > + (system* "tar" "-xvzf" > + (string-append "../" tar-file) > + "--strip-components=4") > + (chdir "../") > + (system* "cp" "-fvR" "tmp/" out) > + (chdir main-dir))))))))) > -- > 2.13.2 > > > > -- From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 22 04:39:29 2017 Received: (at 27637) by debbugs.gnu.org; 22 Jul 2017 08:39:29 +0000 Received: from localhost ([127.0.0.1]:51862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYpwf-0006lW-C0 for submit@debbugs.gnu.org; Sat, 22 Jul 2017 04:39:29 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21093) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYpwd-0006lM-L8 for 27637@debbugs.gnu.org; Sat, 22 Jul 2017 04:39:28 -0400 Received: from localhost (178.17.7.179 [178.17.7.179]) by mx.zohomail.com with SMTPS id 1500712762878877.3434939960955; Sat, 22 Jul 2017 01:39:22 -0700 (PDT) References: <20170718083709.5062-1-fredmanglis@gmail.com> <20170718083709.5062-5-fredmanglis@gmail.com> <20170721054858.GE16795@thebird.nl> User-agent: mu4e 0.9.18; emacs 25.2.1 From: Ricardo Wurmus To: Pjotr Prins Subject: Re: [bug#27637] [PATCH 5/5] gnu: Add conda In-reply-to: <20170721054858.GE16795@thebird.nl> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Sat, 22 Jul 2017 10:39:17 +0200 Message-ID: <87inikamru.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 27637 Cc: Muriithi Frederick Muriuki , 27637@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Pjotr Prins writes: > Thanks Fred. > > Can someone take a look at the tar issue? The tar thing really looks odd. I’m ready to push the patches leading up to this one. I still need to experiment a bit to avoid this complicated install phase. Thanks, Fred, for working on this! -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 22 05:49:41 2017 Received: (at 27637-done) by debbugs.gnu.org; 22 Jul 2017 09:49:41 +0000 Received: from localhost ([127.0.0.1]:51917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYr2Q-0008PT-Pq for submit@debbugs.gnu.org; Sat, 22 Jul 2017 05:49:40 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21009) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYr2O-0008PK-7m for 27637-done@debbugs.gnu.org; Sat, 22 Jul 2017 05:49:29 -0400 Received: from localhost (193.86.249.246 [193.86.249.246]) by mx.zohomail.com with SMTPS id 1500716963667972.8555779131888; Sat, 22 Jul 2017 02:49:23 -0700 (PDT) References: <20170718083709.5062-1-fredmanglis@gmail.com> <20170718083709.5062-5-fredmanglis@gmail.com> <20170721054858.GE16795@thebird.nl> <87inikamru.fsf@elephly.net> User-agent: mu4e 0.9.18; emacs 25.2.1 From: Ricardo Wurmus To: Pjotr Prins Subject: Re: [bug#27637] [PATCH 5/5] gnu: Add conda In-reply-to: <87inikamru.fsf@elephly.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Sat, 22 Jul 2017 11:49:20 +0200 Message-ID: <87h8y4ajj3.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 27637-done Cc: Muriithi Frederick Muriuki , 27637-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Ricardo Wurmus writes: > Pjotr Prins writes: > >> Thanks Fred. >> >> Can someone take a look at the tar issue? > > The tar thing really looks odd. I’m ready to push the patches leading > up to this one. I still need to experiment a bit to avoid this > complicated install phase. I fixed this, but conda still has errors; it tries to write to the store: --8<---------------cut here---------------start------------->8--- /gnu/store/pwl68nzl6s3papdx98hx997iij10r3sn-conda-4.3.16/bin/conda install samtools Fetching package metadata ...An unexpected error has occurred. Please consider posting the following information to the conda GitHub issue tracker at: https://github.com/conda/conda/issues Current conda install: platform : linux-64 conda version : 4.3.16 conda is private : False conda-env version : 4.3.16 conda-build version : not installed python version : 3.5.3.final.0 requests version : 2.13.0 root environment : /gnu/store/yd655bpcqrzch4ai1dhs7v39yhm70mdi-python-3.5.3 (read only) default environment : /gnu/store/yd655bpcqrzch4ai1dhs7v39yhm70mdi-python-3.5.3 envs directories : /home/rekado/.conda/envs /gnu/store/yd655bpcqrzch4ai1dhs7v39yhm70mdi-python-3.5.3/envs package cache : /gnu/store/yd655bpcqrzch4ai1dhs7v39yhm70mdi-python-3.5.3/pkgs /home/rekado/.conda/pkgs channel URLs : https://repo.continuum.io/pkgs/free/linux-64 https://repo.continuum.io/pkgs/free/noarch https://repo.continuum.io/pkgs/r/linux-64 https://repo.continuum.io/pkgs/r/noarch https://repo.continuum.io/pkgs/pro/linux-64 https://repo.continuum.io/pkgs/pro/noarch config file : None offline mode : False user-agent : conda/4.3.16 requests/2.13.0 CPython/3.5.3 Linux/4.1.42-gnu / glibc/2.25 UID:GID : 1000:1000 `$ /gnu/store/pwl68nzl6s3papdx98hx997iij10r3sn-conda-4.3.16/bin/.conda-real install samtools` Traceback (most recent call last): File "/gnu/store/pwl68nzl6s3papdx98hx997iij10r3sn-conda-4.3.16/lib/python3.5/site-packages/conda-4.3.16-py3.5.egg/conda/exceptions.py", line 626, in conda_exception_handler return_value = func(*args, **kwargs) File "/gnu/store/pwl68nzl6s3papdx98hx997iij10r3sn-conda-4.3.16/lib/python3.5/site-packages/conda-4.3.16-py3.5.egg/conda/cli/main.py", line 134, in _main exit_code = args.func(args, p) File "/gnu/store/pwl68nzl6s3papdx98hx997iij10r3sn-conda-4.3.16/lib/python3.5/site-packages/conda-4.3.16-py3.5.egg/conda/cli/main_install.py", line 80, in execute install(args, parser, 'install') File "/gnu/store/pwl68nzl6s3papdx98hx997iij10r3sn-conda-4.3.16/lib/python3.5/site-packages/conda-4.3.16-py3.5.egg/conda/cli/install.py", line 221, in install unknown=index_args['unknown'], prefix=prefix) File "/gnu/store/pwl68nzl6s3papdx98hx997iij10r3sn-conda-4.3.16/lib/python3.5/site-packages/conda-4.3.16-py3.5.egg/conda/core/index.py", line 92, in get_index index = fetch_index(channel_priority_map, use_cache=use_cache) File "/gnu/store/pwl68nzl6s3papdx98hx997iij10r3sn-conda-4.3.16/lib/python3.5/site-packages/conda-4.3.16-py3.5.egg/conda/core/index.py", line 111, in fetch_index repodatas = collect_all_repodata(use_cache, tasks) File "/gnu/store/pwl68nzl6s3papdx98hx997iij10r3sn-conda-4.3.16/lib/python3.5/site-packages/conda-4.3.16-py3.5.egg/conda/core/repodata.py", line 74, in collect_all_repodata repodatas = _collect_repodatas_serial(use_cache, tasks) File "/gnu/store/pwl68nzl6s3papdx98hx997iij10r3sn-conda-4.3.16/lib/python3.5/site-packages/conda-4.3.16-py3.5.egg/conda/core/repodata.py", line 463, in _collect_repodatas_serial for url, schan, pri in tasks] File "/gnu/store/pwl68nzl6s3papdx98hx997iij10r3sn-conda-4.3.16/lib/python3.5/site-packages/conda-4.3.16-py3.5.egg/conda/core/repodata.py", line 463, in for url, schan, pri in tasks] File "/gnu/store/pwl68nzl6s3papdx98hx997iij10r3sn-conda-4.3.16/lib/python3.5/site-packages/conda-4.3.16-py3.5.egg/conda/core/repodata.py", line 109, in func res = f(*args, **kwargs) File "/gnu/store/pwl68nzl6s3papdx98hx997iij10r3sn-conda-4.3.16/lib/python3.5/site-packages/conda-4.3.16-py3.5.egg/conda/core/repodata.py", line 409, in fetch_repodata cache_path = join(cache_dir or create_cache_dir(), cache_fn_url(url)) File "/gnu/store/pwl68nzl6s3papdx98hx997iij10r3sn-conda-4.3.16/lib/python3.5/site-packages/conda-4.3.16-py3.5.egg/conda/core/repodata.py", line 497, in create_cache_dir cache_dir = join(PackageCache.first_writable(context.pkgs_dirs).pkgs_dir, 'cache') File "/gnu/store/pwl68nzl6s3papdx98hx997iij10r3sn-conda-4.3.16/lib/python3.5/site-packages/conda-4.3.16-py3.5.egg/conda/core/package_cache.py", line 169, in first_writable return cls.all_writable(pkgs_dirs)[0] File "/gnu/store/pwl68nzl6s3papdx98hx997iij10r3sn-conda-4.3.16/lib/python3.5/site-packages/conda-4.3.16-py3.5.egg/conda/core/package_cache.py", line 176, in all_writable (PackageCache(pd) for pd in pkgs_dirs))) File "/gnu/store/pwl68nzl6s3papdx98hx997iij10r3sn-conda-4.3.16/lib/python3.5/site-packages/conda-4.3.16-py3.5.egg/conda/core/package_cache.py", line 175, in writable_caches = tuple(filter(lambda c: c.is_writable, File "/gnu/store/pwl68nzl6s3papdx98hx997iij10r3sn-conda-4.3.16/lib/python3.5/site-packages/conda-4.3.16-py3.5.egg/conda/core/package_cache.py", line 316, in is_writable self._is_writable = create_package_cache_directory(self.pkgs_dir) File "/gnu/store/pwl68nzl6s3papdx98hx997iij10r3sn-conda-4.3.16/lib/python3.5/site-packages/conda-4.3.16-py3.5.egg/conda/gateways/disk/create.py", line 302, in create_package_cache_directory mkdir_p(pkgs_dir) File "/gnu/store/pwl68nzl6s3papdx98hx997iij10r3sn-conda-4.3.16/lib/python3.5/site-packages/conda-4.3.16-py3.5.egg/conda/gateways/disk/create.py", line 160, in mkdir_p makedirs(path) File "/gnu/store/yd655bpcqrzch4ai1dhs7v39yhm70mdi-python-3.5.3/lib/python3.5/os.py", line 241, in makedirs mkdir(name, mode) OSError: [Errno 30] Read-only file system: '/gnu/store/yd655bpcqrzch4ai1dhs7v39yhm70mdi-python-3.5.3/pkgs' --8<---------------cut here---------------end--------------->8--- Wherever it says “/gnu/store/yd655bpcqrzch4ai1dhs7v39yhm70mdi-python-3.5.3/” we should provide sane defaults. @Fred: could you please look into this? This may require patching the conda sources. I’m marking this bug done now, because Conda is now in the repository. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 22 06:27:59 2017 Received: (at 27637-done) by debbugs.gnu.org; 22 Jul 2017 10:27:59 +0000 Received: from localhost ([127.0.0.1]:51930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYrdf-0000tP-3h for submit@debbugs.gnu.org; Sat, 22 Jul 2017 06:27:59 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21003) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYrdc-0000tG-T8 for 27637-done@debbugs.gnu.org; Sat, 22 Jul 2017 06:27:57 -0400 Received: from localhost (193.86.249.246 [193.86.249.246]) by mx.zohomail.com with SMTPS id 1500719272290398.3094497186786; Sat, 22 Jul 2017 03:27:52 -0700 (PDT) References: <20170718083709.5062-1-fredmanglis@gmail.com> <20170718083709.5062-5-fredmanglis@gmail.com> <20170721054858.GE16795@thebird.nl> <87inikamru.fsf@elephly.net> <87h8y4ajj3.fsf@elephly.net> User-agent: mu4e 0.9.18; emacs 25.2.1 From: Ricardo Wurmus To: Pjotr Prins Subject: Re: [bug#27637] [PATCH 5/5] gnu: Add conda In-reply-to: <87h8y4ajj3.fsf@elephly.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Sat, 22 Jul 2017 12:27:49 +0200 Message-ID: <87eft8ahqy.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 27637-done Cc: Muriithi Frederick Muriuki , 27637-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Ricardo Wurmus writes: > Ricardo Wurmus writes: > >> Pjotr Prins writes: >> >>> Thanks Fred. >>> >>> Can someone take a look at the tar issue? >> >> The tar thing really looks odd. I’m ready to push the patches leading >> up to this one. I still need to experiment a bit to avoid this >> complicated install phase. > > I fixed this, but conda still has errors; it tries to write to the > store: […] > > Wherever it says “/gnu/store/yd655bpcqrzch4ai1dhs7v39yhm70mdi-python-3.5.3/” we should provide sane > defaults. > > @Fred: could you please look into this? This may require patching the > conda sources. Never mind. It bothered me so I fixed it with some additional patching. Thanks again for your efforts in getting it packaged! -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 22 17:07:40 2017 Received: (at 27637-done) by debbugs.gnu.org; 22 Jul 2017 21:07:40 +0000 Received: from localhost ([127.0.0.1]:52622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZ1ci-0004F5-8q for submit@debbugs.gnu.org; Sat, 22 Jul 2017 17:07:40 -0400 Received: from mail.thebird.nl ([95.154.246.10]:50358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZ1ch-0004Et-DA for 27637-done@debbugs.gnu.org; Sat, 22 Jul 2017 17:07:39 -0400 Received: by mail.thebird.nl (Postfix, from userid 502) id 6530340018; Sat, 22 Jul 2017 23:07:18 +0200 (CEST) Date: Sat, 22 Jul 2017 23:07:18 +0200 From: Pjotr Prins To: Ricardo Wurmus Subject: Re: [bug#27637] [PATCH 5/5] gnu: Add conda Message-ID: <20170722210718.GA29565@thebird.nl> References: <20170718083709.5062-1-fredmanglis@gmail.com> <20170718083709.5062-5-fredmanglis@gmail.com> <20170721054858.GE16795@thebird.nl> <87inikamru.fsf@elephly.net> <87h8y4ajj3.fsf@elephly.net> <87eft8ahqy.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87eft8ahqy.fsf@elephly.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 27637-done Cc: Pjotr Prins , 27637-done@debbugs.gnu.org, Muriithi Frederick Muriuki X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Thanks Ricardo! From unknown Sun Aug 17 22:13:29 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 20 Aug 2017 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator