[Distutils] why not link modules against msvcrt.dll istead of versioned msvcr*.dll? (mingw32)

2012-11-12 Thread Václav Šmilauer
Hi everybody, I recently (inconclusively) discussed on the mingw-w64 mailing list why are compiled modules linked to msvcrt90 (depending on python build) rather than to msvcrt. A compiled module was crashing (the DLL would not load with invalid access to memory and such) with msvcr90, while

Re: [Distutils] why not link modules against msvcrt.dll istead of versioned msvcr*.dll? (mingw32)

2012-11-12 Thread Ralf Schmitt
Václav Šmilauer e...@doxos.eu writes: Hi everybody, I recently (inconclusively) discussed on the mingw-w64 mailing list why are compiled modules linked to msvcrt90 (depending on python build) rather than to msvcrt. A compiled module was crashing (the DLL would not load with invalid access

Re: [Distutils] Changing the separator from - to ~ and allow all Unicode alphanumerics in package names...

2012-11-12 Thread Daniel Holth
I consider the limitation of package names to non-ascii to be a blessing in disguise. In python3, unicode module names are possible but not portable between systems. This is because the non-ascii module names inside of a python file are abstract text but the representation on the

Re: [Distutils] Changing the separator from - to ~ and allow all Unicode alphanumerics in package names...

2012-11-12 Thread Toshio Kuratomi
On Mon, Nov 12, 2012 at 02:34:14PM -0500, Daniel Holth wrote: Horrifying. All codecs that are not utf-8 should be banned, except on Windows. nod I made that argument on python-dev but it didn't win the necessary people over. I don't recall why so you'd have to look at the thread to see

Re: [Distutils] (How) do setuptools/distribute/pip handle circular dependencies?

2012-11-12 Thread PJ Eby
On Sat, Nov 10, 2012 at 6:51 AM, Vinay Sajip vinay_sa...@yahoo.co.ukwrote: Carl Meyer carl at oddbird.net writes: already satisfied. In pip this happens here: https://github.com/pypa/pip/blob/develop/pip/req.py#L1091 More generally, I wouldn't really recommend pip's dependency

Re: [Distutils] Changing the separator from - to ~ and allow all Unicode alphanumerics in package names...

2012-11-12 Thread Daniel Holth
On Mon, Nov 12, 2012 at 3:20 PM, Toshio Kuratomi a.bad...@gmail.com wrote: Or at least warn(Your Unicode is broken); in fact, just put that in site.py unconditionally. If python itself adds that to site.py, that would be great. But individual sites adding things to site.py only makes

Re: [Distutils] (How) do setuptools/distribute/pip handle circular dependencies?

2012-11-12 Thread Daniel Holth
On Mon, Nov 12, 2012 at 3:39 PM, PJ Eby p...@telecommunity.com wrote: On Sat, Nov 10, 2012 at 6:51 AM, Vinay Sajip vinay_sa...@yahoo.co.ukwrote: Carl Meyer carl at oddbird.net writes: already satisfied. In pip this happens here: https://github.com/pypa/pip/blob/develop/pip/req.py#L1091

Re: [Distutils] (How) do setuptools/distribute/pip handle circular dependencies?

2012-11-12 Thread Vinay Sajip
PJ Eby pje at telecommunity.com writes: Test dependencies allow you to depend on a test framework (e.g. nose) without requiring it to be installed at runtime. Setup dependencies let you depend on tools like Pyrex or Cython in order to compile a binary package, without requiring them to be

Re: [Distutils] (How) do setuptools/distribute/pip handle circular dependencies?

2012-11-12 Thread Daniel Holth
The commonest example is that distribute provides setuptools. Daniel Holth On Nov 12, 2012, at 6:10 PM, Vinay Sajip vinay_sa...@yahoo.co.uk wrote: PJ Eby pje at telecommunity.com writes: Test dependencies allow you to depend on a test framework (e.g. nose) without requiring it to be

Re: [Distutils] (How) do setuptools/distribute/pip handle circular dependencies?

2012-11-12 Thread Donald Stufft
On Monday, November 12, 2012 at 6:10 PM, Vinay Sajip wrote: PJ Eby pje at telecommunity.com (http://telecommunity.com) writes: Thanks for the explanation. It seems to me that the new metadata formats make dependency resolution more difficult because they allow for e.g. 'Provides-Dist' as a

Re: [Distutils] (How) do setuptools/distribute/pip handle circular dependencies?

2012-11-12 Thread Daniel Holth
On Nov 12, 2012, at 6:53 PM, Donald Stufft donald.stu...@gmail.com wrote: On Monday, November 12, 2012 at 6:10 PM, Vinay Sajip wrote: PJ Eby pje at telecommunity.com writes: Thanks for the explanation. It seems to me that the new metadata formats make dependency resolution more difficult

Re: [Distutils] (How) do setuptools/distribute/pip handle circular dependencies?

2012-11-12 Thread Vinay Sajip
Daniel Holth dholth at gmail.com writes: The commonest example is that distribute provides setuptools. I would regard that as a special case - I'm not thinking about forks. Can you point to more substantive cases? Regards, Vinay Sajip ___

Re: [Distutils] (How) do setuptools/distribute/pip handle circular dependencies?

2012-11-12 Thread Vinay Sajip
Daniel Holth dholth at gmail.com writes: I think it's necessary, but you would never hunt for providing packages as part of dependency resolution. You would have to install those manually first. What makes you say that? I agree that, given a requirement A, it doesn't make sense to search the

Re: [Distutils] [Python-Dev] accept the wheel PEPs 425, 426, 427

2012-11-12 Thread Nick Coghlan
On Mon, Oct 29, 2012 at 4:47 AM, Daniel Holth dho...@gmail.com wrote: I think Metadata 1.3 is done. Who would like to czar? (Apologies for the belated reply, it's been a busy few weeks) I'm happy to be BDFL delegate for these. I'd like to see PEP 425 updated with some additional rationale

Re: [Distutils] (How) do setuptools/distribute/pip handle circular dependencies?

2012-11-12 Thread Daniel Holth
On Mon, Nov 12, 2012 at 8:11 PM, Vinay Sajip vinay_sa...@yahoo.co.ukwrote: Daniel Holth dholth at gmail.com writes: I think it's necessary, but you would never hunt for providing packages as part of dependency resolution. You would have to install those manually first. What makes you