Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 2014 15:52:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 191865] New: devel/py-setuptools: pkg_resources.find_distributions fails to find math/py-numpy under Py3k
Message-ID:  <bug-191865-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191865

            Bug ID: 191865
           Summary: devel/py-setuptools: pkg_resources.find_distributions
                    fails to find math/py-numpy under Py3k
           Product: Ports Tree
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: Needs Triage
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: john@saltant.com

Test environment:

    root@teratoid:~ # uname -a
    FreeBSD teratoid.n.saltant.net 10.0-STABLE FreeBSD 10.0-STABLE #0 r266389:
Sat May 17 23:21:39 EDT 2014    
root@drivel.saltant.net:/usr/obj/usr/src/sys/NARB  amd64
    root@teratoid:~ # pkg info -aq
    binutils-2.24
    blas-3.4.2_2
    dialog4ports-0.1.5_2
    gcc-4.7.3_1
    gcc-ecj-4.5
    gettext-0.18.3.1_1
    gmake-3.82_1
    gmp-5.1.3_2
    indexinfo-0.2
    lapack-3.4.2_2
    mpc-1.0.2
    mpfr-3.1.2_2
    pkg-1.2.7_4
    py33-nose-1.3.0_1
    py33-numpy-1.8.1,1
    py33-setuptools33-5.1
    python33-3.3.5_1
    suitesparse-4.0.2_3

How to repeat:

    root@teratoid:~ # python3.3
    Python 3.3.5 (default, Jul 14 2014, 11:17:18)
    [GCC 4.2.1 Compatible FreeBSD Clang 3.4 (tags/RELEASE_34/final 197956)] on
freebsd10
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import pkg_resources
    >>> import sys
    >>> for d in sys.path:
    ...     print("Searching {}".format(d))
    ...     for dist in pkg_resources.find_distributions(d):
    ...         print(dist)
    ...
    Searching
    Searching /usr/local/lib/python33.zip
    Searching /usr/local/lib/python3.3
    Searching /usr/local/lib/python3.3/plat-freebsd10
    Searching /usr/local/lib/python3.3/lib-dynload
    Searching /root/.local/lib/python3.3/site-packages
    Searching /usr/local/lib/python3.3/site-packages
    setuptools 5.1
    nose 1.3.0
    >>> import numpy
    >>> numpy.__file__
    '/usr/local/lib/python3.3/site-packages/numpy/__init__.py'
    >>>

This also manifests itself when setup.py runs with setup(setup_requires="numpy
>= 1.7.0b2"), for example, because the underlying pkg_resources.require("numpy
>= 1.7.0b2") raises DistributionNotFound.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191865-13>