-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey Piotr,
Thanks for the prompt reply. Am 07.10.2011 23:39, schrieb Piotr Ożarowski: > [Jonas Meurer, 2011-10-07] >> If the package has X-Python-Version >> set to '2.6', this should result in a dependency on 'python2.6', which >> might be versioned if required. But adding a dependency on 'python (>= >> MIN), python (=< MAX)' makes no sense to me. > > that was my original design, yes. Even for public modules dh_python2 > was generating dependencies like: "python2.6 | python2.7" but later > Jakub convinced me that it's hard to transition from one Python version > to another this way and "python (>= 2.6), python (<< 2.8)" is actually > the best solution for transitions. I see the point that 'python2.6 | python2.7' complicates transitions. But for python apps which support _only_ hardcoded python versions (like Zope2) this option should be kept. Especially if only _one_ python version is supported, as any python-defaults transition will render such packages useless: If 'X-Python-Version: 2.6' results in 'python (>= 2.6), python (<< 2.7)', this already renders the package uninstallable in testing and unstable, as python-defaults already is at version 2.7.2-8. > I changed dh_python2's behaviour and > apparently broke handling private directories. Now that I look a second time, I wonder why dh_python2 adds 'python (<< 2.6)' instead of '(<< 2.7)'. Dependency.parse() does 'maxv[1] + 1' in line 108/109. I guess that the bug is in line 149, where no '+ 1' is done. > Anyway, it's clearly a bug, it is reproducible so it's easy to fix and I > will fix it as soon as I will find some free time this weekend. Greetings, jonas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJOj4Z0AAoJEFJi5/9JEEn+3AgQAKFvEbyYmMbf84NR+rpP0uAW F+ROs9912L69l3toXpjOlWx638+cpUNYi8RKn9HGfwy+r90EywxqZZwNojLxrSMn 4nyrxmAAQEaXVaEHWhisJvvX/FGa4Wk+hbSTimCZyaXGbnEDIx7AM2M3QKciHsEZ EDiwNiI7aleF0Reh4nm4GgRoMtBoMb/BbsYk9EtaKyrZETPKyNJzeWiFSZnfj6rl V0qIuoZ0ukVs6eFvwK+lXVhNEo/CEK8tdHbMwJ7GY1YZcVHSni1i82NxlqAFlylh 6o2H2oIfc9bteVAbgJkHv7BrJclz/PQXapEOaGN3WTSz8STXSze+Lev4IruRacMU aButUtWq1l5CP7mzlhRwXjsCLrzz9+cJQfuNxii3POujOq04YdbPFMMnMvmMGAWh snsKJVofcY6pyQHJmlps9gNaL1ee8WJA362OEUL1QtNqdI9WWSA8OHtfOXhnUCto xVaqvpidaikwuGw2jHrKe5w3YMGwUf0013Y0xQUByRbl5AckR4gODVyZy3ZI4FL4 /7ikN5ASenJDBXOq2rWOZxi1CPTo0P8ETMpI4VT15T4aSle+sN29uYHfaOq63tUG 34pfOd52Nox+mY8yeIGrdp31CJg1Gn4UFl8pXqMb8DkvhR/efwKe0nl7dHKC6GH3 pH4Du1Xjmk2L1+y3M7mQ =BVYh -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

