From mboxrd@z Thu Jan 1 00:00:00 1970 From: Diane Trout Subject: Re: Python 3.5 start of update Date: Mon, 07 Mar 2016 22:52:22 -0800 Message-ID: <1457419942.28654.19.camel@ghic.org> References: <3746864.VkbyMe6eV1@myrada> <20160304031506.GC30676@jasmine> <1457160701.30082.22.camel@ghic.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-6tOEwEq1CsCYlxB6tNbI" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50815) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adBVS-000169-Nj for guix-devel@gnu.org; Tue, 08 Mar 2016 01:52:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adBVP-0004V1-EY for guix-devel@gnu.org; Tue, 08 Mar 2016 01:52:34 -0500 Received: from chaos.caltech.edu ([131.215.34.119]:53454) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adBVP-0004Ue-6R for guix-devel@gnu.org; Tue, 08 Mar 2016 01:52:31 -0500 In-Reply-To: <1457160701.30082.22.camel@ghic.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Leo Famulari Cc: guix-devel@gnu.org --=-6tOEwEq1CsCYlxB6tNbI Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Hello, I've gotten further with my Python 3.5 update. Attached are two patches. One to update Python to 3.5.1 and one to update pytest as I couldn't get that to run with pytest 2.6.1. My test was to install jupyter, which pulled in already packaged for guix packages numpy, pandas, six, requests, pyyaml, dateutil, jinja2, flask, pyzmq, tornado, traitlets, pygments, nose, pexpect, sphinx, terminado, pexpect I only had trouble building cython. There was one unit test failure. (hand copied from a graphical VM console so some of the python stack trace text is missing). FAIL: runTest (__main__.EndToEndTest) End-to-end asyncio_generators Traceback  File runtests.py line 1417 in runTest    self.assertEqual(0, res, "nonzero exit status    assertion error 0 != 1 non zero exit status I have a vague memory of trying to build cython with python 3.4.3 and having the unit test fail, but it was late and I may have forgotten to stash all my changes. (If you're curious about my progress with jupyter, that's over here: https://github.com/detrout/guix-detrout/blob/master/detrout/packages/py data.scm ) --=-6tOEwEq1CsCYlxB6tNbI Content-Disposition: attachment; filename="0001-Build-python-3.5.1.patch" Content-Transfer-Encoding: base64 Content-Type: text/x-patch; name="0001-Build-python-3.5.1.patch"; charset="UTF-8" RnJvbSBlY2Q2OGM3NzAyZmMwNmE5NDdlYjhiNTUwOTM4ZGQwMDEwN2IyZTMzIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBEaWFuZSBUcm91dCA8ZGlhbmVAZ2hpYy5vcmc+CkRhdGU6IE1v biwgNyBNYXIgMjAxNiAyMTowNzoyMSAtMDgwMApTdWJqZWN0OiBbUEFUQ0ggMS8yXSBCdWlsZCBw eXRob24gMy41LjEKClRoaXMgY2hhbmdlcyBweXRob24tbWluaW1hbCB0byBhbHNvIHVzZSB0aGUg c3lzdGVtLWZmaSBhcwp3aXRob3V0LXN5c3RlbS1mZmkgY2F1c2VkIHRoZSBidWlsZCB0byBmYWls IHRyeWluZyB0bwp3aGVuIHRyeWluZyB0byBpbXBvcnQgX2N0eXBlcy4KLS0tCiBnbnUvcGFja2Fn ZXMvcGF0Y2hlcy9weXRob24tZml4LXRlc3RzLnBhdGNoIHwgMzMgKysrKysrKysrKysrKysrKysr KysrKysrKysrKysKIGdudS9wYWNrYWdlcy9weXRob24uc2NtICAgICAgICAgICAgICAgICAgICAg fCAxMiArKysrLS0tLS0tLQogMiBmaWxlcyBjaGFuZ2VkLCAzNyBpbnNlcnRpb25zKCspLCA4IGRl bGV0aW9ucygtKQoKZGlmZiAtLWdpdCBhL2dudS9wYWNrYWdlcy9wYXRjaGVzL3B5dGhvbi1maXgt dGVzdHMucGF0Y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21vZHVsZSgncHdkJykKKyAgICAgICAgIGltcG9ydCBwd2QKIC0t LSBMaWIvdGVzdC90ZXN0X3NodXRpbC5weSAgICAgMjAxNC0wMy0wMSAwMzowMjozNi4wODgzMTEw MDAgKzAxMDAKICsrKyBMaWIvdGVzdC90ZXN0X3NodXRpbC5weSAgICAgMjAxNC0wMy0wMSAwNDo1 NjozNy43NjgzMTEwMDAgKzAxMDAKIEBAIC0xMDUzLDYgKzEwNTMsNyBAQApAQCAtNjQsNiArNzYs MjcgQEAgaHR0cDovL2J1Z3MucHl0aG9uLm9yZy9pc3N1ZTIwODY4IC4KICAgICAgQHVuaXR0ZXN0 LnNraXBVbmxlc3Moc3VwcG9ydC5pc19yZXNvdXJjZV9lbmFibGVkKCduZXR3b3JrJyksCiAgICAg ICAgICAgICAgICAgICAgICAgICAgICduZXR3b3JrIGlzIG5vdCBlbmFibGVkJykKICAgICAgZGVm IHRlc3RfaWRuYShzZWxmKToKKworLS0tIExpYi90ZXN0L3Rlc3RfdGFyZmlsZS5weSAgICAgICAg MjAxNi0wMi0yNCAxOToyMjo1Mi41OTcyMDgwNTUgKzAwMDAKKysrKyBMaWIvdGVzdC90ZXN0X3Rh cmZpbGUucHkgICAgIDIwMTYtMDItMjQgMjA6NTA6NDguOTQxOTUwMTM1ICswMDAwCitAQCAtMjMw NSwxMSArMjMwNSwxNCBAQAorICAgICB0cnk6CisgICAgICAgICBpbXBvcnQgcHdkLCBncnAKKyAg ICAgZXhjZXB0IEltcG9ydEVycm9yOgorICAgICAgICAgcmV0dXJuIEZhbHNlCistICAgIGlmIHB3 ZC5nZXRwd3VpZCgwKVswXSAhPSAncm9vdCc6CistICAgICAgICByZXR1cm4gRmFsc2UKKy0gICAg aWYgZ3JwLmdldGdyZ2lkKDApWzBdICE9ICdyb290JzoKKysgICAgdHJ5OgorKyAgICAgICAgaWYg cHdkLmdldHB3dWlkKDApWzBdICE9ICdyb290JzoKKysgICAgICAgICAgICByZXR1cm4gRmFsc2UK KysgIC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AgICAgICAgICAgICAgICAgJygicHl0aG9uLWZpeC10 ZXN0cy5wYXRjaCIKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDs7IFhYWCBUcnkgcmVt b3ZpbmcgdGhpcyBwYXRjaCBmb3IgcHl0aG9uID4gMy40LjMKLSAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICJweXRob24tZGlzYWJsZS1zc2wtdGVzdC5wYXRjaCIKKyAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgIDs7ICJweXRob24tZGlzYWJsZS1zc2wtdGVzdC5wYXRjaCIKICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICJweXRob24tMy1kZXRlcm1pbmlzdGljLWJ1aWxkLWlu Zm8ucGF0Y2giCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAicHl0aG9uLTMtc2VhcmNo LXBhdGhzLnBhdGNoIikpKQogICAgICAgICAgICAgICAocGF0Y2gtZmxhZ3MgJygiLXAwIikpCiAg ICAgICAgICAgICAgIChzaGEyNTYKICAgICAgICAgICAgICAgIChiYXNlMzIKLSAgICAgICAgICAg ICAgICAiMWY0bm00ejA4c3kwa3F3aXN2djk1bDAyY3J2NmR5eXNkbXg0NHAxbXozYm42Y3NyZGN4 bSIpKSkpCisgICAgICAgICAgICAgICAgIjFqOTV5eDMyZ2dxeDhqZjEzaDNjOHFmcDM0aXhweWc4 aXBxY2RqbW4xNDNkNnE2N3JtZjYiKSkpKQogICAgIChhcmd1bWVudHMgKHN1YnN0aXR1dGUta2V5 d29yZC1hcmd1bWVudHMgKHBhY2thZ2UtYXJndW1lbnRzIHB5dGhvbi0yKQogICAgICAgICAgICAg ICAgICAoKCM6dGVzdHM/IF8pICN0KSkpCiAgICAgKG5hdGl2ZS1zZWFyY2gtcGF0aHMKQEAgLTMw MSwxNCArMzAxLDEwIEBAIGRhdGEgdHlwZXMuIikKICAgKHBhY2thZ2UgKGluaGVyaXQgcHl0aG9u KQogICAgIChuYW1lICJweXRob24tbWluaW1hbCIpCiAgICAgKG91dHB1dHMgJygib3V0IikpCi0g ICAgKGFyZ3VtZW50cwotICAgICAoc3Vic3RpdHV0ZS1rZXl3b3JkLWFyZ3VtZW50cyAocGFja2Fn ZS1hcmd1bWVudHMgcHl0aG9uKQotICAgICAgICgoIzpjb25maWd1cmUtZmxhZ3MgY2YpCi0gICAg ICAgIGAoYXBwZW5kICxjZiAnKCItLXdpdGhvdXQtc3lzdGVtLWZmaSIpKSkpKQotCiAgICAgOzsg T3BlblNTTCBpcyBhIG1hbmRhdG9yeSBkZXBlbmRlbmN5IG9mIFB5dGhvbiAzLngsIGZvciB1cmxs aWI7CiAgICAgOzsgemxpYiBpcyByZXF1aXJlZCBieSAnemlwaW1wb3J0JywgdXNlZCBieSBwaXAu CiAgICAgKGlucHV0cyBgKCgib3BlbnNzbCIgLG9wZW5zc2wpCisgICAgICAgICAgICAgICgibGli ZmZpIiAsbGliZmZpKSAgICAgICAgICAgICAgICAgICAgICAgICA7IGZvciBjdHlwZXMKICAgICAg ICAgICAgICAgKCJ6bGliIiAsemxpYikpKSkpCiAKIChkZWZpbmUqICh3cmFwLXB5dGhvbjMgcHl0 aG9uCi0tIAoyLjYuMwoK --=-6tOEwEq1CsCYlxB6tNbI Content-Disposition: attachment; filename="0002-Update-pytest-to-2.9.0.patch" Content-Transfer-Encoding: base64 Content-Type: text/x-patch; name="0002-Update-pytest-to-2.9.0.patch"; charset="UTF-8" RnJvbSA5YzQ1MmFlNWU2MmI0ZThhZjgwMDRkNzJhNjlkYmI2MmNlZmRhOTY4IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBEaWFuZSBUcm91dCA8ZGlhbmVAZ2hpYy5vcmc+CkRhdGU6IE1v biwgNyBNYXIgMjAxNiAyMjoxOTo0MyAtMDgwMApTdWJqZWN0OiBbUEFUQ0ggMi8yXSBVcGRhdGUg cHl0ZXN0IHRvIDIuOS4wCgpUaGUgcHJldmlvdXMgdmVyc2lvbiAyLjYuMSBoY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