Project

Profile

Help

Task #497

closed

builder.py --update-tag-package-list is not Python 2.6 compatible

Added by rbarlow about 9 years ago. Updated about 4 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Description of problem:
builder.py seems to be using a feature that was new in Python 2.7:

$ ./builder.py --update-tag-package-list 2.4 beta
Traceback (most recent call last):
File "./builder.py", line 531, in <module>
add_packages_to_tag(build_tag)
File "./builder.py", line 482, in add_packages_to_tag
result = str(subprocess.check_output(command, shell=True))
AttributeError: 'module' object has no attribute 'check_output'

Version-Release number of selected component (if applicable):
2.4.1-0.2.alpha

How reproducible:
very

Steps to Reproduce:
1. ./builder.py --update-tag-package-list 2.4 beta

Actual results:
Traceback!

Expected results:
Tags should have been updated.

Additional info:

+ This bug was cloned from Bugzilla Bug #1133146 +

Actions #1

Updated by cduryee about 9 years ago

I think bcourt refactored a lot of this, and I don't think it is common to attempt builds on Python 2.6. Is this still needed?

Actions #2

Updated by rbarlow about 9 years ago

On 03/04/2015 01:45 PM, cduryee wrote:

I think bcourt refactored a lot of this, and I don't think it is common
to attempt builds on Python 2.6. Is this still needed?

I sometimes use EL 6 as a dev environment, which was why I filed this
bug in the first place. However, now that I think about it and consider
that I'm probably the only person that does that, it's probably not
worth worrying about. So if you want, we can close this.

Actions #3

Updated by cduryee about 9 years ago

  • Status changed from NEW to 7
Actions #4

Updated by bmbouter about 9 years ago

  • Status changed from 7 to CLOSED - WONTFIX
Actions #5

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Added by Matt Jia over 2 years ago

Revision 72a63255 | View on GitHub

Fixes #497 - local variable 'item' referenced before assignment

Added by Matt Jia over 2 years ago

Revision 6e4d1400 | View on GitHub

Fixes #497 - local variable 'item' referenced before assignment

(cherry picked from commit 72a632553cf131b5aa20f40aefb2eefdee2cff21)

Also available in: Atom PDF