Re: Fw: Python packaging, dependencies, upstream facilities

2010-09-21 Thread Piotr Ożarowski
[Simon McVittie, 2010-09-21] > On Tue, 21 Sep 2010 at 10:30:33 +0200, Piotr Ożarowski wrote: > > I see only one sane way to fix the problem - changing Python interpreter > > to recognize API from filenames, like foo.1.py foo.2.py foo.2.3.py > > (with `import foo <= 2` as valid syntax) and let upstr

Re: Fw: Python packaging, dependencies, upstream facilities

2010-09-21 Thread Simon McVittie
On Tue, 21 Sep 2010 at 10:30:33 +0200, Piotr Ożarowski wrote: > I'm not sure we should try to solve this. IMHO we should try to convince > upstreams that breaking API/ABI so often is a bad thing instead. ... and that when they do, they need to rename the module with a version number, just like C u

Re: Fw: Python packaging, dependencies, upstream facilities

2010-09-21 Thread Piotr Ożarowski
[Piotr Ożarowski, 2010-09-21] > [Robert Collins, 2010-09-20] > > Path to a solution: use an API marker analgous to the ABI markers C > > libraries have. Incompatible changes to a package bump the package > > *name*. e.g. > > python-zope.publication2.3 to python-zope.publication2.4 > > Compatible ch

Re: Fw: Python packaging, dependencies, upstream facilities

2010-09-21 Thread Piotr Ożarowski
[Robert Collins, 2010-09-20] > Path to a solution: use an API marker analgous to the ABI markers C > libraries have. Incompatible changes to a package bump the package > *name*. e.g. > python-zope.publication2.3 to python-zope.publication2.4 > Compatible changes don't: > python-zope.publication2.3-

Fw: Python packaging, dependencies, upstream facilities

2010-09-20 Thread Barry Warsaw
Robert Collins has an interesting use case, though I'm not sure about his proposed solution. This probably touches on upstream and Debian packaging, so in the spirit of starting a discussion, I forward his pvtmsg here for debate (with his permission). -Barry Begin forwarded message: Date: Fri,