[Bug 885662] New: python-3.4 ensurepip is broken
https://bugzilla.novell.com/show_bug.cgi?id=885662 https://bugzilla.novell.com/show_bug.cgi?id=885662#c0 Summary: python-3.4 ensurepip is broken Classification: openSUSE Product: openSUSE Factory Version: 13.2 Milestone 0 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: jmatejek@suse.com ReportedBy: speilicke@suse.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- Seems like the recently added ensurepip patch is broken, pip isn't installed into the venv anymore. saschpe@bort:~/Projects/scrello pyvenv .venv34
/usr/lib64/python3.4/venv/__init__.py(251)_setup_pip() -> subprocess.check_output(cmd, stderr=subprocess.STDOUT) (Pdb) l 246 # environment vars, the current directory and anything else 247 # intended for the global Python environment 248 cmd = [context.env_exe, '-Im', 'ensurepip', '--upgrade', 249 '--default-pip'] 250 import pdb; pdb.set_trace() 251 -> subprocess.check_output(cmd, stderr=subprocess.STDOUT) 252 253 def setup_scripts(self, context): 254 """ 255 Set up scripts into the created environment from a directory. 256 (Pdb) subprocess.check_output(cmd) /home/saschpe/Projects/scrello/.venv34/bin/python3.4: Error while finding spec for 'ensurepip.__main__' (<class 'ImportError'>: Module 'pip' is missing. Use:
sudo zypper install python3-pip to install it. See README.SUSE for more information.); 'ensurepip' is a package and cannot be directly executed *** subprocess.CalledProcessError: Command '['/home/saschpe/Projects/scrello/.venv34/bin/python3.4', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1 (Pdb) q Error: saschpe@bort:~/Projects/scrello zypper if python3-pip Loading repository data... Reading installed packages... ... Name: python3-pip Version: 1.5.6-0 Installed: Yes ... saschpe@bort:~/Projects/scrello find .venv34 .venv34 .venv34/lib .venv34/lib/python3.4 .venv34/lib/python3.4/site-packages .venv34/include .venv34/pyvenv.cfg .venv34/bin .venv34/bin/python .venv34/bin/python3.4 .venv34/bin/python3 .venv34/lib64 saschpe@bort:~/Projects/scrello .venv34/bin/python3.4 -Im ensurepip --upgrade --default-pip git:master✗ /home/saschpe/Projects/scrello/.venv34/bin/python3.4: Error while finding spec for 'ensurepip.__main__' (<class 'ImportError'>: Module 'pip' is missing. Use: sudo zypper install python3-pip to install it. See README.SUSE for more information.); 'ensurepip' is a package and cannot be directly executed That's pretty obvious since the following works: saschpe@bort:~/Projects/scrello pyvenv --without-pip v saschpe@bort:~/Projects/scrello find v v v/lib v/lib/python3.4 v/lib/python3.4/site-packages v/include v/pyvenv.cfg v/bin v/bin/activate.csh v/bin/activate.fish v/bin/python v/bin/python3.4 v/bin/activate v/bin/python3 v/lib64 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=885662 https://bugzilla.novell.com/show_bug.cgi?id=885662#c Jan Matejek <jmatejek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P1 - Urgent Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=885662 https://bugzilla.novell.com/show_bug.cgi?id=885662#c1 --- Comment #1 from Bernhard Wiedemann <bwiedemann@suse.com> 2014-07-22 18:00:17 CEST --- This is an autogenerated message for OBS integration: This bug (885662) was mentioned in https://build.opensuse.org/request/show/241923 Factory / python3 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=885662 https://bugzilla.novell.com/show_bug.cgi?id=885662#c2 --- Comment #2 from Bernhard Wiedemann <bwiedemann@suse.com> 2014-07-23 16:00:57 CEST --- This is an autogenerated message for OBS integration: This bug (885662) was mentioned in https://build.opensuse.org/request/show/242022 Factory / python3 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=885662 https://bugzilla.novell.com/show_bug.cgi?id=885662#c3 --- Comment #3 from Bernhard Wiedemann <bwiedemann@suse.com> 2014-07-24 17:00:13 CEST --- This is an autogenerated message for OBS integration: This bug (885662) was mentioned in https://build.opensuse.org/request/show/242218 Factory / python3 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=885662 https://bugzilla.novell.com/show_bug.cgi?id=885662#c4 Jan Matejek <jmatejek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #4 from Jan Matejek <jmatejek@suse.com> 2014-07-25 13:16:19 UTC --- patch removed from Factory and SLE 12, pending better solution after update of pip -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com