From owner-freebsd-python@FreeBSD.ORG Wed Oct 17 18:30:52 2012 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EC67EB1E for ; Wed, 17 Oct 2012 18:30:52 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward3h.mail.yandex.net (forward3h.mail.yandex.net [IPv6:2a02:6b8:0:f05::3]) by mx1.freebsd.org (Postfix) with ESMTP id 4A84C8FC14 for ; Wed, 17 Oct 2012 18:30:52 +0000 (UTC) Received: from smtp4h.mail.yandex.net (smtp4h.mail.yandex.net [84.201.186.21]) by forward3h.mail.yandex.net (Yandex) with ESMTP id 9EFE9136214D; Wed, 17 Oct 2012 22:30:50 +0400 (MSK) Received: from smtp4h.mail.yandex.net (localhost [127.0.0.1]) by smtp4h.mail.yandex.net (Yandex) with ESMTP id 68E672C0068; Wed, 17 Oct 2012 22:30:50 +0400 (MSK) Received: from unknown (unknown [178.76.224.133]) by smtp4h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id UnHmsrY3-UoHCuHcq; Wed, 17 Oct 2012 22:30:50 +0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1350498650; bh=FEPLQ4SwKMiSvGglA2GnZaTZro6xpTia1In9GX5c84I=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=niSYiE0x9MYEaXt5tWH0DOjgD7h0vrDEGUqPWy5StyLo2HyDa+aWI5nlkvojpEmiI 2Vzn9lmvF80RquHsZjbBecaCTyr420wmt3z21frlRarPdVBAFo6GLtxHGqoCYTqBH9 cJnNetS/3w3BtahoWvixdHRHyubMeV17mEIj5EkY= Message-ID: <507EF93E.1080406@yandex.ru> Date: Wed, 17 Oct 2012 22:30:22 +0400 From: Ruslan Mahmatkhanov User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:15.0) Gecko/20120912 Thunderbird/15.0.1 MIME-Version: 1.0 To: "John W. O'Brien" Subject: Re: Building math/py-pandas against py3k (WAS: ports/172528: [maintainer update] [patch] Update math/py-pandas to 0.9.0) References: <201210111254.q9BCsOxi069355@freefall.freebsd.org> <5076C1D2.4080007@saltant.com> <5077242A.2030303@yandex.ru> <50780A63.8090901@saltant.com> <507EBE06.1020909@saltant.com> In-Reply-To: <507EBE06.1020909@saltant.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-python@freebsd.org X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2012 18:30:53 -0000 Hi John, John W. O'Brien wrote on 17.10.2012 18:17: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 10/12/2012 08:17 AM, John W. O'Brien wrote: >> On 10/11/2012 03:55 PM, Ruslan Mahmatkhanov wrote: >>> I delayed the response becaused I decide to check the build with >>> python32. It's fore sure that py-pandas pkg-plist should be >>> patched to make packaging correct, but unfortunately the build is >>> stuck on some of it's dependencies (py-numpy, maybe) so I wasn't >>> able to test it. >> >> I appreciate your attempt. I'll see what I can do to probe that >> issue this weekend. It will be the first time I try building >> everything against python 3, but I've got a fast machine and a load >> of disk space. > > Ruslan (and freebsd-python@), > > It looks to me like there are three, maybe four other ports that need > attention before we can successfully build and test math/py-pandas > against py3k. > > devel/py-dateutil is at 1.5 which is needed for Python < 3, but Python >> = 3 requires dateutil 2.0. > > devel/py-pytz will build, install, and package cleanly, but... > [...] > > devel/py-nose doesn't package cleanly because of plist problems (looks > like mainly lingering *.pyo and *.pyc entries). I also tried 1.2.1 > using the patch from ports/172161, but the plist is still not > py3k-friendly. > > math/py-numpy also has plist problems, and fails 14 of 3556 unit tests > (results available on request). > > In summary, devel/py-dateutil is the big blocker. math/py-pandas, > devel/py-nose, and math/py-numpy need plist patches. devel/py-pytz and > math/py-numpy have runtime bugs that need further analysis. > > As time permits, I will learn the plist magic that makes ports > py3k-friendly, and secondarily poke at the dateutils upgrade. I'm > probably out of my depth, but I'm happy to take direction and correction. > > Cheers, > John Thank you for the investigation. Yes, sadly dateutil upstream developing two separate branches for 2.x/3.x, so it will require some bsd.python.mk tweaks (like setuptools vs distribute) so the correct dependency picked according to python version used. pytz needs an bug report on launchpad. nose and numpy issues are solvable, and I will look at it in near time. -- Regards, Ruslan Tinderboxing kills... the drives.