From owner-freebsd-python@FreeBSD.ORG  Mon Apr 15 02:13:50 2013
Return-Path: <owner-freebsd-python@FreeBSD.ORG>
Delivered-To: freebsd-python@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id 2832880F
 for <freebsd-python@freebsd.org>; Mon, 15 Apr 2013 02:13:50 +0000 (UTC)
 (envelope-from john@saltant.com)
Received: from homiemail-a32.g.dreamhost.com (caiajhbdcbef.dreamhost.com
 [208.97.132.145]) by mx1.freebsd.org (Postfix) with ESMTP id 0B912B0C
 for <freebsd-python@freebsd.org>; Mon, 15 Apr 2013 02:13:49 +0000 (UTC)
Received: from homiemail-a32.g.dreamhost.com (localhost [127.0.0.1])
 by homiemail-a32.g.dreamhost.com (Postfix) with ESMTP id 5F801584065
 for <freebsd-python@freebsd.org>; Sun, 14 Apr 2013 19:13:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=saltant.com; h=message-id
 :date:from:mime-version:to:subject:references:in-reply-to
 :content-type:content-transfer-encoding; s=saltant.com; bh=O0mh3
 2zXUtSBJx2oVwitCDNeeXg=; b=NRqTqLuBztqJKKWrE0hliinszN2HHdV29t/4G
 +Af1192CFyUSESF8sN+YU+tn9Z+WefZI26GEZGvjsXbsPaet88uJLzM5hccvnA/m
 Yk/3BKCU8Z/9i14bstZbcq2l/VoWQo35E/Io8V82Eo0oQLMVhHB3Dpl/j496hX7X
 Kq/3EI=
Received: from imago.y.saltant.net (y.saltant.net [96.227.187.16])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 (Authenticated sender: john@saltant.com)
 by homiemail-a32.g.dreamhost.com (Postfix) with ESMTPSA id 32228584058
 for <freebsd-python@freebsd.org>; Sun, 14 Apr 2013 19:13:43 -0700 (PDT)
Message-ID: <516B6256.6050202@saltant.com>
Date: Sun, 14 Apr 2013 22:13:42 -0400
From: "John W. O'Brien" <john@saltant.com>
Organization: Saltant Solutions
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
 rv:17.0) Gecko/20130329 Thunderbird/17.0.5
MIME-Version: 1.0
To: freebsd-python@freebsd.org
Subject: Re: [CFT] math/py-pandas: Update to 0.11.0rc1
References: <51699935.3040300@saltant.com>
In-Reply-To: <51699935.3040300@saltant.com>
X-Enigmail-Version: 1.5.1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-python>,
 <mailto:freebsd-python-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python>
List-Post: <mailto:freebsd-python@freebsd.org>
List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>,
 <mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Apr 2013 02:13:50 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/13/2013 01:43 PM, John W. O'Brien wrote:
> I am seeing a few test failures on my system which should have time
> to investigate tomorrow.
> 
> pandas.tests.test_format.TestDataFrameFormatting 
> pandas.tests.test_index.TestMultiIndex

I am having trouble reproducing these reliably.

In one case (test_index:TestMultiIndex.test_legacy_pickle), the
failing test passes when I build from the github tag, but I don't know
enough to know where to look next.

https://github.com/pydata/pandas/issues/3360

In the other, stranger case
(test_format:TestDataFrameFormatting.test_to_string_repr_unicode):

    A) the test fails when I run it as part of the
TestDataFrameFormatting suite, but passes when I run it alone
    B) the test fails on one machine, but fails on another, highly
similar machine
    C) inspection of the code indicated by the traceback reveals that
a thrown UnicodeEncodeError in core.format._encode_diff() is not
caught in core.format.SeriesFormatter.to_string()

C by itself is strange enough to give me pause, because I don't think
my python-fu is yet sufficiently strong to plumb these depths.

Under what circumstances might

    try:
        func_that_always_raises_spam()
    except spam:
        eggs()

fail to invoke eggs()?

Does this smell more like a bug in pandas, a bug in related software
(e.g. nose, numpy), or some snafu in my dev't environment?

I would like to do whatever legwork is needed to ensure a high-quality
port of pandas 0.11.0 for FreeBSD, and so I will appreciate any advice
python@ would care to provide. Can anybody else reproduce these test
failures with the patch I posted? Is there a (preferred) way to run
the unit tests in redports?

Thank you.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEcBAEBAgAGBQJRa2JVAAoJEBRzAKlhyP/F7BkH/1KebkEHery/O5w6kN069a/+
ST7/ZSzuMF7k8sbV1NzBymCqCE22t6iemvLD6y+oI+JyEBKrwWjEAY8RBenyUN73
EMGpa0VJh4ZowUrITAWmeXJ73y+4wRTxXpq+Ns2lkdm01kkMcpaCC8TRzb1KDBKg
Nd7DTdjl3UvBRN2pjqXiUG8QXlZorukQjlkDAfgYI5671Gp6nY//ABLuaIfwFghK
DMbWuSHxmsRmLOEwSuWo7WUF1p+D2WKUGc+smaC9VLa4Q+ppdD1CvRiwNORZac5l
jglCMG75NuRbiVlHEafzVLKTXX8t1bRZgNeD+pXMpLpDEhaEaZyimCt2lmcnI4E=
=pHWA
-----END PGP SIGNATURE-----