Re: Fw: Python packaging, dependencies, upstream facilities
[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 upstream authors decide
> > when to bump it, just like C guys do, but that's a topic for
> > python-devel mailing list...
>
> If upstreams are going to do this, surely they could do so just as effectively
> without interpreter changes, by versioning the imported module?
but this way you cannot `import foo` anymore, you'll have to change all
import lines (s/foo/foo2/) even if your code is not affected by API change
--
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl www.griffith.cc www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645
Reply to: