The uploaded diff is rather large, and I'm trying to understand it. The referenced bugs all fail on "Requested versions are not installed". So that's a check from pycompile and a package requests 2.7, but since we still have the old python-minimal installed it doesn't know about this version yet?
The changes to public_modules.rtinstall and public_modules.rt remove seem irrelevant for this SRU, as we don't support 2.4/2.5 in maverick, right?
To me it seems the gut of the required change here is that, is this correct?
@@ -235,7 +255,13 @@
'only, please use /usr/share/python/bcep to specify ' 'public modules to skip')
- versions = get_requested_versions(options.vrange, available=True)
+ if options.vrange and options.vrange[0] == options.vrange[1] and\
+ options.vrange != (None, None) and\
+ exists("/usr/bin/python%d.%d" % options.vrange[0]):
+ # specific version requested, use it even if it's not in SUPPORTED
+ versions = set(options.vrange[:1])
+ else:
+ versions = get_requested_versions(options.vrange, available=True)
if not versions: log.error('Requested versions are not installed')
exit(3)
What other part does actually specify the vrange option?
Is the addition of the --force and -O options related in any way?
The uploaded diff is rather large, and I'm trying to understand it. The referenced bugs all fail on "Requested versions are not installed". So that's a check from pycompile and a package requests 2.7, but since we still have the old python-minimal installed it doesn't know about this version yet?
The changes to public_ modules. rtinstall and public_modules.rt remove seem irrelevant for this SRU, as we don't support 2.4/2.5 in maverick, right?
To me it seems the gut of the required change here is that, is this correct?
@@ -235,7 +255,13 @@ python/ bcep to specify '
' public modules to skip')
'only, please use /usr/share/
- versions = get_requested_ versions( options. vrange, available=True) "/usr/bin/ python% d.%d" % options.vrange[0]): vrange[ :1]) versions( options. vrange, available=True)
log.error( 'Requested versions are not installed')
+ if options.vrange and options.vrange[0] == options.vrange[1] and\
+ options.vrange != (None, None) and\
+ exists(
+ # specific version requested, use it even if it's not in SUPPORTED
+ versions = set(options.
+ else:
+ versions = get_requested_
if not versions:
exit(3)
What other part does actually specify the vrange option?
Is the addition of the --force and -O options related in any way?