[Ironpython-users] Supporting ensurepip early in the development timeline?

Olof Bjarnason olof.bjarnason at gmail.com
Wed May 7 10:34:45 CEST 2014


My codeplex username is "objarni" (same on github) and here is the
CodePlex issue to add ensurepip support:

https://ironpython.codeplex.com/workitem/35198

On 7 May 2014 08:50, Jeff Hardy <jdhardy at gmail.com> wrote:
> On Tue, May 6, 2014 at 2:09 PM, Olof Bjarnason <olof.bjarnason at gmail.com> wrote:
>> PIP built-in sounds like a dream :)
>>
>> Is there anything I can help out on testing this?
>
> First, open an issue: https://ironpython.codeplex.com/WorkItem/Create,
> and send me your CodePlex username so I can add you to the project
> (after 2.7.5 everything will move to GitHub, but I'm using CP for one
> last release, for old times' sake) and you can edit/close issues.
>
> I've wanted to have pip working for quite a while now but just never
> found the time.[1] Honestly though, it should be pretty easy.
> ensurepip I've never looked at, so I don't know, but I can't imagine
> it being too difficult. Upstream on these projects is open to patches
> for IronPython support as well, so there shouldn't be any issues
> there. With ensurepip we could even distribute our own fork if we had
> to.
>
> From what I recall the major issue with pip was making sure that it
> had with: blocks where needed, since parts of it implicitly relied on
> CPython's refcounting GC to close files deterministically. That may
> have been cleaned up over the years.
>
> Because of various things over the next month 2.7.5 probably won't
> land until June, so there should be lots of time to get pip/ensurepip
> ready.
>
> - Jeff
>
> [1] http://wondermark.com/729/
>
>>
>> On 6 May 2014 09:37, Vernon D. Cole <vernondcole at gmail.com> wrote:
>>> The following post appeared in Jython-dev this morning.
>>>
>>> I think that this might be a really good idea for IronPython, too,
>>> especially now that there is a patch for setuptools so that it will not
>>> choke on Iron.
>>>
>>> Should this be included as a work item in our tracker?
>>> --
>>> Vernon Cole
>>> v v v v v v v
>>>
>>> Date: Mon, 5 May 2014 12:24:41 -0600
>>> From: Jim Baker <jim.baker at python.org>
>>> Subject: [Jython-dev] Supporting ensurepip in beta 4
>>> To: Jython Developers <jython-dev at lists.sourceforge.net>
>>> Message-ID:
>>>         <CAL9RhrX8HNzFvRX4YNC6za7mc8tboWJC7+b16w2YEHVwvG8F9w at mail.gmail.com>
>>> Content-Type: text/plain; charset="utf-8"
>>>
>>> I just had a nice conversation on #pypa-dev re ensurepip, which is part of
>>> Python 3.4 and will also be bundled in PyPy 2.3, which supports both 2.7
>>> and 3.4 versions of Python. I recommend that Jython 2.7 do the same, given
>>> that like PyPy we are under active development, unlike CPython 2.7.
>>>
>>> We should be able to do this in time for beta 4.
>>>
>>> ensurepip (https://docs.python.org/3/library/ensurepip.html) provides
>>> support for having a bundled version of pip, which is then used to install
>>> the current version of pip in a matter that's transparent to the user.
>>> Jython simply needs to bundle the required pip and setuptools wheels and
>>> the ensurepip package in stdlib.
>>>
>>> This will mean that our users will have pip immediately available to them
>>> upon installing Jython, with no extra steps required. PyPy has done the
>>> hard work to provide a 2.7-compatible version. More rationale here:
>>> http://legacy.python.org/dev/peps/pep-0453/
>>>
>>> This timeline depends on a pull request I made against pip's vendor lib
>>> dependency html5lib-python getting made, but I don't expect us to see any
>>> blockers there.
>>>
>>> - Jim
>>> ^ ^ ^ ^ ^ ^ ^ ^ ^
>>>
>>>
>>> _______________________________________________
>>> Ironpython-users mailing list
>>> Ironpython-users at python.org
>>> https://mail.python.org/mailman/listinfo/ironpython-users
>>>
>> _______________________________________________
>> Ironpython-users mailing list
>> Ironpython-users at python.org
>> https://mail.python.org/mailman/listinfo/ironpython-users


More information about the Ironpython-users mailing list