[issue33290] Python.org macOS pkg installs pip3 as pip

2018-05-01 Thread Ned Deily

Ned Deily  added the comment:


New changeset 8ac441876418a217c31fe429733d7fa4704f0e3c by Ned Deily (Miss 
Islington (bot)) in branch '3.6':
bpo-33290: Have macOS installer remove "pip" alias (GH-6683) (GH-6685)
https://github.com/python/cpython/commit/8ac441876418a217c31fe429733d7fa4704f0e3c


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33290] Python.org macOS pkg installs pip3 as pip

2018-05-01 Thread Ned Deily

Ned Deily  added the comment:


New changeset 1470e43076559d22518f2e8d704fa9426d2659dd by Ned Deily (Miss 
Islington (bot)) in branch '3.7':
bpo-33290: Have macOS installer remove "pip" alias (GH-6683) (GH-6684)
https://github.com/python/cpython/commit/1470e43076559d22518f2e8d704fa9426d2659dd


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33290] Python.org macOS pkg installs pip3 as pip

2018-05-01 Thread miss-islington

Change by miss-islington :


--
pull_requests: +6381

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33290] Python.org macOS pkg installs pip3 as pip

2018-05-01 Thread miss-islington

Change by miss-islington :


--
pull_requests: +6380

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33290] Python.org macOS pkg installs pip3 as pip

2018-05-01 Thread Ned Deily

Ned Deily  added the comment:


New changeset 0dd80709b5dc03756e7f4510761ae60236bb9f6d by Ned Deily in branch 
'master':
bpo-33290: Have macOS installer remove "pip" alias (GH-6683)
https://github.com/python/cpython/commit/0dd80709b5dc03756e7f4510761ae60236bb9f6d


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33290] Python.org macOS pkg installs pip3 as pip

2018-05-01 Thread Ned Deily

Change by Ned Deily :


--
pull_requests: +6379

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33290] Python.org macOS pkg installs pip3 as pip

2018-04-17 Thread Gilbert Wilson

Gilbert Wilson  added the comment:

Well what do you know, it does indeed look like a pip3 upgrade issue! I'll 
wander over to the pip issue tracker and file a bug/upvote over there. Thanks!


gilw-mbp:bin gilw$ ls -al pip*
-rwxrwxr-x  1 root  admin  253 Apr 17 09:21 pip3
-rwxrwxr-x  1 root  admin  253 Apr 17 09:21 pip3.6

gilw-mbp:bin gilw$ pip3 install --upgrade pip
Collecting pip
  Downloading 
https://files.pythonhosted.org/packages/62/a1/0d452b6901b0157a0134fd27ba89bf95a857fbda64ba52e1ca2cf61d8412/pip-10.0.0-py2.py3-none-any.whl
 (1.3MB)
100% || 1.3MB 1.0MB/s
Installing collected packages: pip
  Found existing installation: pip 9.0.3
Uninstalling pip-9.0.3:
  Successfully uninstalled pip-9.0.3
Successfully installed pip-10.0.0
gilw-mbp:bin gilw$ ls -al pip*
-rwxr-xr-x  1 gilw  admin  263 Apr 17 09:23 pip
-rwxr-xr-x  1 gilw  admin  263 Apr 17 09:23 pip3
-rwxr-xr-x  1 gilw  admin  263 Apr 17 09:23 pip3.6

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33290] Python.org macOS pkg installs pip3 as pip

2018-04-16 Thread Ned Deily

Ned Deily  added the comment:

P.S. Of course, you'll probably need to manually remove that spurious pip 
command.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33290] Python.org macOS pkg installs pip3 as pip

2018-04-16 Thread Ned Deily

Ned Deily  added the comment:

Actually, this appears to be a pip upgrade issue.  If you install 3.6.5 from 
the python.org installers, there is no pip link there, only pip3:

$ cd /Library/Frameworks/Python.framework/Versions/3.6/bin
$ ls -l
total 272
lrwxr-xr-x  1 root  admin  8 Apr 16 19:19 2to3 -> 2to3-3.6
-rwxrwxr-x  1 root  admin140 Mar 28 06:05 2to3-3.6
-rwxrwxr-x  1 root  admin281 Apr 16 19:19 easy_install-3.6
lrwxr-xr-x  1 root  admin  7 Apr 16 19:19 idle3 -> idle3.6
-rwxrwxr-x  1 root  admin138 Mar 28 06:05 idle3.6
-rwxrwxr-x  1 root  admin253 Apr 16 19:19 pip3
-rwxrwxr-x  1 root  admin253 Apr 16 19:19 pip3.6
lrwxr-xr-x  1 root  admin  8 Apr 16 19:19 pydoc3 -> pydoc3.6
-rwxrwxr-x  1 root  admin123 Mar 28 06:05 pydoc3.6
lrwxr-xr-x  1 root  admin  9 Apr 16 19:19 python3 -> python3.6
lrwxr-xr-x  1 root  admin 12 Apr 16 19:19 python3-32 -> python3.6-32
lrwxr-xr-x  1 root  admin 16 Apr 16 19:19 python3-config -> python3.6-config
-rwxrwxr-x  2 root  admin  25920 Mar 28 06:05 python3.6
-rwxrwxr-x  1 root  admin  13568 Mar 28 06:05 python3.6-32
lrwxr-xr-x  1 root  admin 17 Apr 16 19:19 python3.6-config -> 
python3.6m-config
-rwxrwxr-x  2 root  admin  25920 Mar 28 06:05 python3.6m
-rwxrwxr-x  1 root  admin   2081 Mar 28 06:05 python3.6m-config
lrwxr-xr-x  1 root  admin 10 Apr 16 19:19 pyvenv -> pyvenv-3.6
-rwxrwxr-x  1 root  admin480 Mar 28 06:05 pyvenv-3.6

But if you then upgrade to pip 10.0.0, which I'm guessing you did, you'll see:

$ ls -l
[...]
-rwxrwxr-x  1 root  admin138 Mar 28 06:05 idle3.6
-rwxr-xr-x  1 sysadmin  admin224 Apr 16 19:22 pip
-rwxr-xr-x  1 sysadmin  admin224 Apr 16 19:22 pip3
-rwxr-xr-x  1 sysadmin  admin224 Apr 16 19:22 pip3.6
lrwxr-xr-x  1 root  admin  8 Apr 16 19:19 pydoc3 -> pydoc3.6
[...]

So it appears the pip upgrade unconditionally installs both a pip and a pip3 
link.  It really shouldn't.

You should check the pip issue tracker and, if not already reported, open a new 
issue there:  https://github.com/pypa/pip/issues/

Thanks for the report!

--
nosy: +Marcus.Smith, dstufft, ncoghlan, paul.moore
resolution:  -> third party
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33290] Python.org macOS pkg installs pip3 as pip

2018-04-16 Thread Gilbert Wilson

New submission from Gilbert Wilson :

The python-3.6.5-macosx10.6.pkg installs pip3 as pip. This means if you have 
both python2.7.x and 3.6.x you get unexpected and undesirable behavior. 
According to the release notes in 3.6.5:

Python 3 and Python 2 Co-existence

Python.org Python 3.6 and 2.7.x versions can both be installed on your system 
and will not conflict. Command names for Python 3 contain a 3 in them, python3 
(or python3.6), idle3 (or idle3.6), pip3 (or pip3.6), etc.  Python 2.7 command 
names contain a 2 or no digit: python2 (or python2.7 or python), idle2 (or 
idle2.7 or idle), etc.

The release notes for Python2.7.14 have a similarly worded note on Python 3 and 
Python 2 co-existence.

For both Pythons to properly coexist you must install Python2.7.x after 
installing Python3.6.x or manually fix the changes that the Python installers 
make to your ~/.profile PATH environmental variable.

$ which pip3
/Library/Frameworks/Python.framework/Versions/3.6/bin/pip3

$ ls -l $(dirname $(which pip3))
[SNIP]
-rwxr-xr-x  1 gilw  admin263 Apr 16 13:05 pip
-rwxr-xr-x  1 gilw  admin263 Apr 16 13:05 pip3
-rwxr-xr-x  1 gilw  admin263 Apr 16 13:05 pip3.6
[SNIP]

--
components: macOS
messages: 315369
nosy: dbxgil, ned.deily, ronaldoussoren
priority: normal
severity: normal
status: open
title: Python.org macOS pkg installs pip3 as pip
versions: Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com