From owner-freebsd-python@FreeBSD.ORG Wed Oct 17 14:17:50 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 E49A9829 for ; Wed, 17 Oct 2012 14:17:50 +0000 (UTC) (envelope-from john@saltant.com) Received: from hapkido.dreamhost.com (hapkido.dreamhost.com [66.33.216.122]) by mx1.freebsd.org (Postfix) with ESMTP id B6FF08FC12 for ; Wed, 17 Oct 2012 14:17:50 +0000 (UTC) Received: from homiemail-a87.g.dreamhost.com (caiajhbdcagg.dreamhost.com [208.97.132.66]) by hapkido.dreamhost.com (Postfix) with ESMTP id 2FE8C3889A for ; Wed, 17 Oct 2012 07:17:50 -0700 (PDT) Received: from homiemail-a87.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a87.g.dreamhost.com (Postfix) with ESMTP id 8EDA226C06F; Wed, 17 Oct 2012 07:17:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=saltant.com; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=saltant.com; bh=Oh949 m4Jrc36pIuedHFKNqjAg2w=; b=Xm+72Efh++YYhi9XS0nh+KcMw1d2J1qWy5zvf 8I2K/PfMqwgwpdHwWrmeDzuZxYrZuXaJkowFVG8m+yokMPdbf4sd34/49nwGDIuM zX6lURfU7gXN8LiywXPvkufy+vXHMpXYHY6LhyBDejKIToeB4JGlfBOz+jBs7k9L JkqQ4E= Received: from imago.y.saltant.net (vice.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-a87.g.dreamhost.com (Postfix) with ESMTPSA id 1C1B926C057; Wed, 17 Oct 2012 07:17:43 -0700 (PDT) Message-ID: <507EBE06.1020909@saltant.com> Date: Wed, 17 Oct 2012 10:17:42 -0400 From: "John W. O'Brien" Organization: Saltant Solutions User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1 MIME-Version: 1.0 To: Ruslan Mahmatkhanov 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> In-Reply-To: <50780A63.8090901@saltant.com> X-Enigmail-Version: 1.4.5 Content-Type: text/plain; charset=ISO-8859-1 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 14:17:51 -0000 -----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... # python -m pytz Traceback (most recent call last): File "/usr/local/lib/python3.2/runpy.py", line 140, in _run_module_as_main mod_name, loader, code, fname = _get_module_details(mod_name) File "/usr/local/lib/python3.2/runpy.py", line 110, in _get_module_details return _get_module_details(pkg_main_name) File "/usr/local/lib/python3.2/runpy.py", line 102, in _get_module_details loader = get_loader(mod_name) File "/usr/local/lib/python3.2/pkgutil.py", line 461, in get_loader return find_loader(fullname) File "/usr/local/lib/python3.2/pkgutil.py", line 471, in find_loader for importer in iter_importers(fullname): File "/usr/local/lib/python3.2/pkgutil.py", line 427, in iter_importers __import__(pkg) File "/usr/local/lib/python3.2/site-packages/pytz-2012f-py3.2.egg/pytz/__init__.py", line 1100, in File "/usr/local/lib/python3.2/site-packages/pytz-2012f-py3.2.egg/pytz/__init__.py", line 1100, in File "/usr/local/lib/python3.2/site-packages/pytz-2012f-py3.2.egg/pytz/__init__.py", line 107, in resource_exists File "/usr/local/lib/python3.2/site-packages/pytz-2012f-py3.2.egg/pytz/__init__.py", line 100, in open_resource File "/usr/local/lib/python3.2/site-packages/distribute-0.6.28-py3.2.egg/pkg_resources.py", line 915, in resource_stream File "/usr/local/lib/python3.2/site-packages/distribute-0.6.28-py3.2.egg/pkg_resources.py", line 1191, in get_resource_stream File "/usr/local/lib/python3.2/site-packages/distribute-0.6.28-py3.2.egg/pkg_resources.py", line 1728, in StringIO TypeError: initial_value must be str or None, not bytes 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iQEcBAEBAgAGBQJQfr4GAAoJEEdKvTwaez9wkQ8H/3RTpLePrwzeLtqbPedxG/AR 53OCotslv5X2n2/e47QjeHsIGi13toIQPTQZfc0sl81Wvy4Lee1X4Ym/g3wENBHQ 5RZk+/fv64W/ZFoN/UECk+OZxMmyk3vusiScNFjvjX7qbBE/tP+JIx/2aQmAHI9S xSilTuA6j4YmpznvRlBA+ZUG5ZJe8XN5ACMvNhMGYivLp5zMAXjknfDoVul0WL2m HGvYL2FhvL94HvQbU5s4JMtPxz3hT9q9jt26l0tgpVW2XqZxkPU/YPA3wmfK4joh UCtIpI+YREO+JbF7FrhkyFOz8vPlp6ujJ9WjXJS6AHO9c6/BH3RGzgWObMcZYDk= =TfRO -----END PGP SIGNATURE-----