Project

Profile

Help

Task #497

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

Added by rbarlow over 5 years ago. Updated 8 months 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 +

History

#1 Updated by cduryee over 5 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?

#2 Updated by rbarlow over 5 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.

#3 Updated by cduryee over 5 years ago

  • Status changed from NEW to 7

#4 Updated by bmbouter over 5 years ago

  • Status changed from 7 to CLOSED - WONTFIX

#5 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF