[MacPorts] #33357: pyopencl-py27 missing dependency to pytools
#33357: pyopencl-py27 missing dependency to pytools ----------------------------------------+----------------------------------- Reporter: martin.b.eriksen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: ----------------------------------------+----------------------------------- Trying to implement the example at http://documen.tician.de/pyopencl/, there is a problem importing a module named "pytools". Installing "sudo easy_install-2.7 pytools" solves the problem. Is there missing dependencies in the macports package? [1] Traceback (most recent call last): File "./a.py", line 25, in <module> """).build() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/pyopencl/__init__.py", line 113, in build from pyopencl.cache import create_built_program_from_source_cached File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/pyopencl/cache.py", line 11, in <module> from pytools import Record -- Ticket URL: <https://trac.macports.org/ticket/33357> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33357: pyopencl-py27 missing dependency to pytools ----------------------------------------+----------------------------------- Reporter: martin.b.eriksen@… | Owner: larry.velazquez@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: py-pyopencl ----------------------------------------+----------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => larry.velazquez@… * port: => py-pyopencl Old description:
Trying to implement the example at http://documen.tician.de/pyopencl/, there is a problem importing a module named "pytools". Installing "sudo easy_install-2.7 pytools" solves the problem. Is there missing dependencies in the macports package?
[1] Traceback (most recent call last): File "./a.py", line 25, in <module> """).build() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/pyopencl/__init__.py", line 113, in build from pyopencl.cache import create_built_program_from_source_cached File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/pyopencl/cache.py", line 11, in <module> from pytools import Record
New description: Trying to implement the example at http://documen.tician.de/pyopencl/, there is a problem importing a module named "pytools". Installing "sudo easy_install-2.7 pytools" solves the problem. Is there missing dependencies in the macports package? {{{ [1] Traceback (most recent call last): File "./a.py", line 25, in <module> """).build() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/pyopencl/__init__.py", line 113, in build from pyopencl.cache import create_built_program_from_source_cached File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/pyopencl/cache.py", line 11, in <module> from pytools import Record }}} -- Comment: Are you saying the port builds fine but errors out at runtime? -- Ticket URL: <https://trac.macports.org/ticket/33357#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33357: pyopencl-py27 missing dependency to pytools ----------------------------------------+----------------------------------- Reporter: martin.b.eriksen@… | Owner: larry.velazquez@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: py-pyopencl ----------------------------------------+----------------------------------- Comment(by michelle.lynn.gill@…): I can confirm that this is a runtime requirement. I get the same error upon running the example linked above. Installing [http://pypi.python.org/pypi/pytools pytools] fixes the issue. I have created a ticket [https://trac.macports.org/ticket/33937 33937] with a Portfile for pytools. I have also attached a diff of proposed (trivial) changes the Portfile for py-pyopencl, which adds py-pytools as a runtime dependency. -- Ticket URL: <https://trac.macports.org/ticket/33357#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33357: pyopencl-py27 missing dependency to pytools ----------------------------------------+----------------------------------- Reporter: martin.b.eriksen@… | Owner: larry.velazquez@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: py-pyopencl ----------------------------------------+----------------------------------- Comment(by larry.velazquez@…): The patch looks good. -- Ticket URL: <https://trac.macports.org/ticket/33357#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33357: pyopencl-py27 missing dependency to pytools ----------------------------------------+----------------------------------- Reporter: martin.b.eriksen@… | Owner: larry.velazquez@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: py-pyopencl ----------------------------------------+----------------------------------- Comment(by michelle.lynn.gill@…): Replying to [comment:4 larry.velazquez@…]:
The patch looks good.
Thanks, I guess we need to wait for pytools to be committed as I don't have commit rights. I'll post here when I see this has been completed. -- Ticket URL: <https://trac.macports.org/ticket/33357#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33357: pyopencl-py27 missing dependency to pytools ----------------------------------------+----------------------------------- Reporter: martin.b.eriksen@… | Owner: larry.velazquez@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: py-pyopencl ----------------------------------------+----------------------------------- Comment(by larry.velazquez@…): Replying to [comment:5 michelle.lynn.gill@…]:
Thanks, I guess we need to wait for pytools to be committed as I don't have commit rights.
Me neither. Makes being a maintainer a little difficult :) -- Ticket URL: <https://trac.macports.org/ticket/33357#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33357: pyopencl-py27 missing dependency to pytools -----------------------------------------+---------------------------------- Reporter: martin.b.eriksen@… | Owner: larry.velazquez@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: py-pyopencl | -----------------------------------------+---------------------------------- Changes (by dports@…): * status: new => closed * resolution: => fixed Comment: Thanks, committed in r91711. -- Ticket URL: <https://trac.macports.org/ticket/33357#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts