Re: [Distutils] GSoC 2017 - Plan of Action for dependency resolver

2017-03-01 Thread Pradyun Gedam
On Tue, Feb 28, 2017, 21:18 Jim Fulton  wrote:

On Tue, Feb 28, 2017 at 10:14 AM, Pradyun Gedam  wrote:
...

4. (if time permits) Move any dependency resolution code out into a
separate library.

   This would make it possible for other projects (like buildout or a
future pip replacement) to reuse the dependency resolver.


Thank you!


Welcome!


...

I do intend to reuse some of the work done by Robert Collins in PR #2716 on
pip's GitHub repository.


Are you aware of the proof of concept in distlib?


I am. I had looked at it a few weeks back. IIRC it makes a dependency graph
using distlib and operates with that.

I haven't really understood how it gets the information about dependencies
without downloading the packages... I'll give it another pass this weekend.


https://distil.readthedocs.io/en/0.1.0/overview.html#actual-improvements

Jim

-- 
Jim Fulton
http://jimfulton.info
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


Re: [Distutils] GSoC 2017 - Plan of Action for dependency resolver

2017-03-01 Thread Paul Moore
On 1 March 2017 at 10:28, Pradyun Gedam  wrote:
> I haven't really understood how it gets the information about dependencies
> without downloading the packages... I'll give it another pass this weekend.

If I recall, it reads static dependency data held on the red-dove site
and maintained by downloading and running egg-info on the packages as
changes occur. I don't think it's a sustainable approach for pip at
the moment (my understanding is that it was a proof of concept for
what having static metadata on PyPI would gain us).

Paul
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


Re: [Distutils] GSoC 2017 - Plan of Action for dependency resolver

2017-03-01 Thread Xavier Fernandez
Great news !

Your plan seems reasonable.
The first stage (RequirementSet refactor) seems to me to be the trickiest.

Anyway I'm looking forward for your PRs :)

Xavier
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


[Distutils] win amd_x64 Python 2.7.8 --> 2.7.13 woes

2017-03-01 Thread Robin Becker
I find my extensions compiled for windows amd_x64 with python 2.7.8 no longer 
work after I updated python to 2.7.13.


Is that expected? I had assumed that the cpy27 wheels  that I make would work 
with any python 2.7, but this makes me doubt that.


To get the reportlab tests to complete I rebuilt all my extensions and installed 
a newer version of pillow.


In addition to that the uninstallation of the amd64 python 2.7.8 has also 
uninstalled the x86 version of python 2.7.8 :(

--
Robin Becker
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


Re: [Distutils] win amd_x64 Python 2.7.8 --> 2.7.13 woes

2017-03-01 Thread Robin Becker
Ignore this; it was my duh :( of the day; seems the download button didn't
give me the amd_x64 version so it carefully installed an x86 where I used
to have my amd_x64. After banging my head with a hammer I downloaded the
installers carefully and got things back to normal.

On 1 March 2017 at 14:17, Robin Becker  wrote:

> I find my extensions compiled for windows amd_x64 with python 2.7.8 no
> longer work after I updated python to 2.7.13.
>
> Is that expected? I had assumed that the cpy27 wheels  that I make would
> work with any python 2.7, but this makes me doubt that.
>
> To get the reportlab tests to complete I rebuilt all my extensions and
> installed a newer version of pillow.
>
> In addition to that the uninstallation of the amd64 python 2.7.8 has also
> uninstalled the x86 version of python 2.7.8 :(
> --
> Robin Becker
>



-- 
Robin Becker
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


Re: [Distutils] GSoC 2017 - Plan of Action for dependency resolver

2017-03-01 Thread Ralf Gommers
On Wed, Mar 1, 2017 at 4:14 AM, Pradyun Gedam  wrote:

> Hello Everyone!
>
> Google released the list of accepted organizations for GSoC 2017 and PSF
> is one of them.
>

I see pip is not yet listed as a PSF sub-org on http://python-gsoc.org/.
This is pretty urgent to arrange:

*"March 3* - Last day for Python sub-orgs to apply to participate with
the PSF.
(Assuming we get accepted by Google and can support sub-orgs, of
course!)
This deadline is for orgs who applies on their own and didn't make it,
but still
 wish to participate under the umbrella. "

The original deadline was Feb 7. There's a good chance that Pip will still
be accepted after March 3, but I wouldn't gamble on it.

There are instructions under "Project Ideas" on http://python-gsoc.org/ on
how to get accepted as a sub-org.

Cheers,
Ralf
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


Re: [Distutils] GSoC 2017 - Plan of Action for dependency resolver

2017-03-01 Thread Donald Stufft

> On Mar 1, 2017, at 3:02 PM, Ralf Gommers  wrote:
> 
> 
> 
> On Wed, Mar 1, 2017 at 4:14 AM, Pradyun Gedam  > wrote:
> Hello Everyone!
> 
> Google released the list of accepted organizations for GSoC 2017 and PSF is 
> one of them.
> 
> I see pip is not yet listed as a PSF sub-org on http://python-gsoc.org/ 
> . This is pretty urgent to arrange:
> 
> "March 3 - Last day for Python sub-orgs to apply to participate with the 
> PSF.
> (Assuming we get accepted by Google and can support sub-orgs, of course!)
> This deadline is for orgs who applies on their own and didn't make it, 
> but still 
>  wish to participate under the umbrella. "
> 
> The original deadline was Feb 7. There's a good chance that Pip will still be 
> accepted after March 3, but I wouldn't gamble on it.
> 
> There are instructions under "Project Ideas" on http://python-gsoc.org/ 
>  on how to get accepted as a sub-org.
> 


Oh. I’ve never done this before and Pradyun reached out so I had no idea I had 
to do this. I’ll go ahead and do this.


—
Donald Stufft



___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


Re: [Distutils] GSoC 2017 - Plan of Action for dependency resolver

2017-03-01 Thread Pradyun Gedam
Thanks for the pointer Ralf! :)

I was actually drafting a mail to send to Donald directly for thanking him
for being willing to mentor me as well as pointing this out to him.

I guess I can discard that draft now...

On Thu, Mar 2, 2017, 01:37 Donald Stufft  wrote:

>
> On Mar 1, 2017, at 3:02 PM, Ralf Gommers  wrote:
>
>
>
> On Wed, Mar 1, 2017 at 4:14 AM, Pradyun Gedam  wrote:
>
> Hello Everyone!
>
> Google released the list of accepted organizations for GSoC 2017 and PSF
> is one of them.
>
>
> I see pip is not yet listed as a PSF sub-org on http://python-gsoc.org/.
> This is pretty urgent to arrange:
>
> *"March 3* - Last day for Python sub-orgs to apply to participate
> with the PSF.
> (Assuming we get accepted by Google and can support sub-orgs, of
> course!)
> This deadline is for orgs who applies on their own and didn't make it,
> but still
>  wish to participate under the umbrella. "
>
> The original deadline was Feb 7. There's a good chance that Pip will still
> be accepted after March 3, but I wouldn't gamble on it.
>
> There are instructions under "Project Ideas" on http://python-gsoc.org/
> on how to get accepted as a sub-org.
>
>
>
> Oh. I’ve never done this before and Pradyun reached out so I had no idea I
> had to do this. I’ll go ahead and do this.
>
>
> —
>
> Donald Stufft
>
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


Re: [Distutils] GSoC 2017 - Plan of Action for dependency resolver

2017-03-01 Thread Ralf Gommers
On Thu, Mar 2, 2017 at 9:07 AM, Donald Stufft  wrote:

>
> On Mar 1, 2017, at 3:02 PM, Ralf Gommers  wrote:
>
>
>
> On Wed, Mar 1, 2017 at 4:14 AM, Pradyun Gedam  wrote:
>
>> Hello Everyone!
>>
>> Google released the list of accepted organizations for GSoC 2017 and PSF
>> is one of them.
>>
>
> I see pip is not yet listed as a PSF sub-org on http://python-gsoc.org/.
> This is pretty urgent to arrange:
>
> *"March 3* - Last day for Python sub-orgs to apply to participate
> with the PSF.
> (Assuming we get accepted by Google and can support sub-orgs, of
> course!)
> This deadline is for orgs who applies on their own and didn't make it,
> but still
>  wish to participate under the umbrella. "
>
> The original deadline was Feb 7. There's a good chance that Pip will still
> be accepted after March 3, but I wouldn't gamble on it.
>
> There are instructions under "Project Ideas" on http://python-gsoc.org/
> on how to get accepted as a sub-org.
>
>
>
> Oh. I’ve never done this before and Pradyun reached out so I had no idea I
> had to do this. I’ll go ahead and do this.
>

I'm the GSoC admin for SciPy, so need to keep track of the various
deadlines/todos. I'd be happy to ping you each time one approaches if that
helps.

There's a PSF GSoC mentors list that's not noisy and useful to join. You'll
be added to the Google GSoC-mentors list automatically if you start
mentoring in the program, but you may want to mute it or not use your
primary email address for it (it's high-traffic, very low signal to noise
and you can't unsubscribe).

Ralf
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig