[MacPorts] #18567: py25-virtualenv - 1.3.2 - --no-site-packages broken due to non-standard macports module install
#18567: py25-virtualenv - 1.3.2 - --no-site-packages broken due to non-standard macports module install ------------------------------+--------------------------------------------- Reporter: krunk7@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: ------------------------------+--------------------------------------------- It appears that macports has btoken out several modules normally included in a standard install of Python. For example, the md5 module is installed as a site-package. Thus when you pass the --no-site-packages to virtualenv, it does not find these modules Steps to reproduce error: {{{ $ sudo port install py25-virtualenv $ virtualenv mydemo --no-site-packages New python executable in rtmrienv/bin/python Installing setuptools............ Complete output from command rtmrienv/bin/python -c "#!python \"\"\"Bootstrap setuptoo... " /opt/local/Library/Frameworks/...5.egg: Traceback (most recent call last): File "<string>", line 59, in <module> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/md5.py", line 6, in <module> from hashlib import md5 File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/hashlib.py", line 133, in <module> md5 = __get_builtin_constructor('md5') File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/hashlib.py", line 60, in __get_builtin_constructor import _md5 ImportError: No module named _md5 ---------------------------------------- ...Installing setuptools...done. Traceback (most recent call last): File "/opt/local/bin/virtualenv", line 8, in <module> load_entry_point('virtualenv==1.3.2', 'console_scripts', 'virtualenv')() File "/opt/local/lib/python2.5/site-packages/virtualenv.py", line 420, in main unzip_setuptools=options.unzip_setuptools) File "/opt/local/lib/python2.5/site-packages/virtualenv.py", line 685, in create_environment install_setuptools(py_executable, unzip=unzip_setuptools) File "/opt/local/lib/python2.5/site-packages/virtualenv.py", line 295, in install_setuptools cwd=cwd) File "/opt/local/lib/python2.5/site-packages/virtualenv.py", line 481, in call_subprocess % (cmd_desc, proc.returncode)) OSError: Command rtmrienv/bin/python -c "#!python \"\"\"Bootstrap setuptoo... " /opt/local/Library/Frameworks/...5.egg failed with error code 1 }}} -- Ticket URL: <http://trac.macports.org/ticket/18567> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18567: py25-virtualenv - 1.3.2 - --no-site-packages broken due to non-standard macports module install -----------------------------------------+---------------------------------- Reporter: krunk7@… | Owner: arthur@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: python25 python26 python 30 | Port: py25-virtualenv -----------------------------------------+---------------------------------- Changes (by macsforever2000@…): * keywords: => python25 python26 python 30 * owner: macports-tickets@… => arthur@… * port: => py25-virtualenv -- Ticket URL: <http://trac.macports.org/ticket/18567#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18567: py25-virtualenv - 1.3.2 - --no-site-packages broken due to non-standard macports module install -----------------------------------------+---------------------------------- Reporter: krunk7@… | Owner: arthur@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: python25 python26 python 30 | Port: py25-virtualenv -----------------------------------------+---------------------------------- Comment(by blb@…): See also ticket #12369, specifically [comment:ticket:12369:17 comment 17]. -- Ticket URL: <http://trac.macports.org/ticket/18567#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18567: py25-virtualenv - 1.3.2 - --no-site-packages broken due to non-standard macports module install -----------------------------------------+---------------------------------- Reporter: krunk7@… | Owner: arthur@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: python25 python26 python 30 | Port: py25-virtualenv -----------------------------------------+---------------------------------- Comment(by jezdez@…): FYI, I attached a patch for the python25 port at http://trac.macports.org/attachment/ticket/12369/python25-reenable- libs.diff -- Ticket URL: <http://trac.macports.org/ticket/18567#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18567: py25-virtualenv - 1.3.2 - --no-site-packages broken due to non-standard macports module install -----------------------------------------+---------------------------------- Reporter: krunk7@… | Owner: arthur@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: python25 python26 python 30 | Port: py25-virtualenv -----------------------------------------+---------------------------------- Comment(by anthony.theocharis@…): Also related, [http://trac.macports.org/ticket/14844 #14844], and the associated mailing list entries on [http://groups.google.com/group/python- virtualenv/browse_thread/thread/3d8d19d2014ec036 python-virtualenv] and [http://lists.macosforge.org/pipermail/macports- users/2008-March/009685.html macports-users] -- Ticket URL: <http://trac.macports.org/ticket/18567#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18567: py25-virtualenv - 1.3.2 - --no-site-packages broken due to non-standard macports module install -----------------------------------------+---------------------------------- Reporter: krunk7@… | Owner: arthur@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: python25 python26 python 30 | Port: py25-virtualenv -----------------------------------------+---------------------------------- Comment(by blb@…): Does this work now with python25 2.5.4_5, which has the various core modules reintegrated? -- Ticket URL: <http://trac.macports.org/ticket/18567#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18567: py25-virtualenv - 1.3.2 - --no-site-packages broken due to non-standard macports module install -----------------------------------------+---------------------------------- Reporter: krunk7@… | Owner: arthur@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: python25 python26 python 30 | Port: py25-virtualenv -----------------------------------------+---------------------------------- Comment(by macsforever2000@…): WFM {{{ $ virtualenv-2.5 mydemo --no-site-packages New python executable in mydemo/bin/python Installing setuptools............done. }}} -- Ticket URL: <http://trac.macports.org/ticket/18567#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18567: py25-virtualenv - 1.3.2 - --no-site-packages broken due to non-standard macports module install -------------------------------+-------------------------------------------- Reporter: krunk7@… | Owner: arthur@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Resolution: worksforme | Keywords: python25 python26 python 30 Port: py25-virtualenv | -------------------------------+-------------------------------------------- Changes (by macsforever2000@…): * status: new => closed * resolution: => worksforme -- Ticket URL: <http://trac.macports.org/ticket/18567#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts