From owner-freebsd-python@FreeBSD.ORG Mon Jan 28 03:54:36 2013 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9E9468C1 for ; Mon, 28 Jan 2013 03:54:36 +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 6937179F for ; Mon, 28 Jan 2013 03:54:35 +0000 (UTC) Received: from homiemail-a88.g.dreamhost.com (caiajhbdcbhh.dreamhost.com [208.97.132.177]) by hapkido.dreamhost.com (Postfix) with ESMTP id 3322010D4 for ; Sun, 27 Jan 2013 19:54:29 -0800 (PST) Received: from homiemail-a88.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a88.g.dreamhost.com (Postfix) with ESMTP id E1260264058 for ; Sun, 27 Jan 2013 19:54:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=saltant.com; h=message-id :date:from:mime-version:to:subject:content-type: content-transfer-encoding; s=saltant.com; bh=FZlTdmvYamke6PhGb9z 2Uc8KsxE=; b=DV8SRxTKBCfpTCJCAX2dztLyhBfbUkglnAWbkbCmNXzWDC769Zi /USVNeAFAYt7S5npyoeOOHoWTp5Jukv/XrnkjLHJ+L6Q/jRpr8E3/HcCq8Vsl2W+ LXWukFoou+TYSxN6a9FuULP2yQnKpbM5JHbjr9vO+vDSUWkMIrl4TKfU= 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-a88.g.dreamhost.com (Postfix) with ESMTPSA id A9626264057 for ; Sun, 27 Jan 2013 19:54:22 -0800 (PST) Message-ID: <5105F66D.705@saltant.com> Date: Sun, 27 Jan 2013 22:54:21 -0500 From: "John W. O'Brien" Organization: Saltant Solutions User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: freebsd-python@freebsd.org Subject: devel/py-nose + devel/py-distribute runtime hiccup X-Enigmail-Version: 1.4.6 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jan 2013 03:54:36 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I tripped over this today while doing a trial build of math/py-pandas under lang/python32. # pkg_info -xoQ python distribute nose pandas py32-distribute-0.6.34:devel/py-distribute py32-nose-1.2.1:devel/py-nose py32-pandas-0.10.1:math/py-pandas python32-3.2.3_2:lang/python32 # nosetests pandas - ---------------------------------------------------------------------- Ran 0 tests in 0.001s OK Huh? Why isn't nose finding any of pandas' 2000+ tests? They're all installed in the same place they've always been. # nosetests --verbosity=3 pandas [snip] nose.selector: INFO: /usr/local/lib/python3.2/site-packages/pandas-0.10.1-py3.2-freebsd-9.1-STABLE-amd64.egg/pandas/tests/test_algos.py is executable; skipped [snip] Sure enough, everything in ${PYTHON_SITELIBDIR}/${PYEASYINSTALL_EGG} is installed with 0755 on my python3.2 test machine, whereas it is 0644 with python2.7. After a bit of digging, I think I traced the cause to a difference between the easy_install.unpack_and_compile function as implemented by setuptools vs. distribute. The nose docs for the --exe option confirm my guess about the rationale for its behavior: don't assume that executable .py files are import-safe. In my case, I don't think there's a problem, but I'm curious... Can anybody shed light on why we would want to install package data with the X bits set? PS: devel/py-six and devel/py-dateutil seem happy with the addition of the virtualenv plist fix. math/py-numpy almost so, but fails to install the benchmarks, for reasons that I have not cared yet to investigate. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQEcBAEBAgAGBQJRBfZmAAoJEEdKvTwaez9w74MH+QEMdsp7+83/T2X+x1Nl7DnF liTu9cU4o17Wpf6saf369C7+hMz6s6eP7xg+8GuabxtDe+V74xxUdK0FJf0bWcs9 hM8VahUFesKixLgA4oC0mCWgn15N7KRObA4sND+YjcLoF4zejMQN6HLXwc/3SebW t9WgfPy1OGO7oCUWcqqPca3VfBsIZi15afSnCWEDzMvncJ7ji1kLH+8eqJokEb7Q cY3U/OYqZeF6Sydk1JZgFz2TAZso+ZxEMEAAP0O4SaIlGt0Ek576KtSNzeKdNp5r HpI5kW8h2OTVTyqNAo2mwwP94v7YLespXSpWd5t8Espcwm6oCWkuGxNet06MI68= =9/CN -----END PGP SIGNATURE-----