[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-20 Thread Ned Deily
Ned Deily added the comment: The configure and Makefile integration backport has been committed in Issue22878. Unlike with Python 3, the default is to not install pip unless specifically enabled at configure time or on the make altinstall or make install targets. I think that about wraps up

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-20 Thread Nick Coghlan
Nick Coghlan added the comment: Yes, the missing link targets are part of the pending docs changes Donald mentioned above. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22827 ___

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-20 Thread Donald Stufft
Donald Stufft added the comment: I've attached a patch which I believe updates the 2.x docs with what 3.x has. I ran ``make html`` and the only errors I got were in relation to pyporting which I don't believe has anything to do with this ticket. If someone can sanity check this for me I can

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-20 Thread Donald Stufft
Donald Stufft added the comment: Note: I removed the references to pyvenv in these docs because 2.7 doesn't have that. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22827 ___

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-20 Thread Nick Coghlan
Nick Coghlan added the comment: The prior to version 3.4 question should be updated to talk about prior to version 2.7.9 instead. For Python 2, we may want to explicitly mention installing virtualenv (either with pip or the system package manager), as there's no pyvenv provided by default,

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-20 Thread Donald Stufft
Donald Stufft added the comment: Updated the docs patch to address Nick's comments. -- Added file: http://bugs.python.org/file37236/pep-477-docs-2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22827

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-20 Thread Nick Coghlan
Nick Coghlan added the comment: Looks good to me! :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22827 ___ ___ Python-bugs-list mailing list

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-20 Thread Michael Foord
Changes by Michael Foord mich...@voidspace.org.uk: -- nosy: -michael.foord ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22827 ___ ___

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8bc29f5ebeff by Donald Stufft in branch '2.7': Issue #22827: Backport the new Distributing and Instaling Docs from 3.4 https://hg.python.org/cpython/rev/8bc29f5ebeff -- nosy: +python-dev ___ Python

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-20 Thread Donald Stufft
Changes by Donald Stufft don...@stufft.io: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22827 ___

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-14 Thread Ned Deily
Ned Deily added the comment: The OS X installer integration backport has been committed in Issue22877. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22827 ___

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-12 Thread Nick Coghlan
Nick Coghlan added the comment: The Windows installer integration backport is in issue 22850. Reviewing that made me release that the parallel version section in https://docs.python.org/3/installing/#work-with-multiple-versions-of-python-installed-in-parallel may need tweaking to account for

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-12 Thread Nick Coghlan
Nick Coghlan added the comment: Ned pointed out the wording regarding the Makefile changes in PEP 477 was ambiguous. My intent was for the changes to be backported, just with ENSUREPIP defaulting to no rather than upgrade. So that part of the backport is still on the todo list (Ned's offered

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-11 Thread Nick Coghlan
Nick Coghlan added the comment: Thanks Donald, left some review comments on Reitveld. While I had some comments on the docs, I think the code changes all look fine - would it be worth incorporating this version immediately to make it easier to get started on the Windows and Mac OS X installer

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-11 Thread Donald Stufft
Donald Stufft added the comment: I've updated the patch with Nick's comments, except for pulling in the latest versions of the documentation. -- Added file: http://bugs.python.org/file37175/pep-477-3.patch ___ Python tracker rep...@bugs.python.org

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-11 Thread Nick Coghlan
Nick Coghlan added the comment: Thanks. I suggest committing that version, so the rest of the backport (installer integration packaging docs backport) can proceed in parallel. -- ___ Python tracker rep...@bugs.python.org

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-11 Thread Donald Stufft
Donald Stufft added the comment: Merged in https://hg.python.org/cpython/rev/592a5414fabd, I forgot to mention the issue number. I'm going to leave this open for the docs changes, however the OSX installer and Windows installer changes should be able to be made now. --

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-10 Thread Michael Foord
Michael Foord added the comment: mock in the Python standard library is licensed under the PSF license. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22827 ___

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-09 Thread Donald Stufft
New submission from Donald Stufft: As specified in PEP 477, this backports PEP 453 (ensurepip) to the Python 2.7 branch. Key differences from PEP 453 are: * It is not run by default in the Makefile * There is no venv modules, so downstream can remove it (though are asked to patch it to

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-09 Thread Donald Stufft
Changes by Donald Stufft don...@stufft.io: -- nosy: +steve.dower ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22827 ___ ___ Python-bugs-list

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-09 Thread Donald Stufft
Donald Stufft added the comment: Second patch just fixes the docs to specify the correct behavior for 2.7 and it fixes ensurepip.bootstrap() to match the default 2.7 behavior when executing python -m ensurepip. -- Added file: http://bugs.python.org/file37155/pep-477-2.patch

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-09 Thread Matthias Klose
Matthias Klose added the comment: The mock backport doesn't come with a license. Please either include it in the file, or make it clear that the backport has the same license as python (?). -- nosy: +michael.foord ___ Python tracker

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-09 Thread Donald Stufft
Donald Stufft added the comment: The backport is taken from Python 3.4 so it's the same license as everything else. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22827 ___

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-09 Thread Donald Stufft
Donald Stufft added the comment: IOW it's literally Lib/unittest/mock.py from the 3.x series. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22827 ___