Project

General

Profile

Actions

Bug #20702

closed

EL6: katello-package-upload missing RPM Requires on python-argparse

Added by Evgeni Golov over 6 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Client/Agent
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1482189

Due to changes induced from the addition of:

https://bugzilla.redhat.com/show_bug.cgi?id=1445403

to 6.2.11 we made modifications to the client tooling. There was a change that brought in a requirement to use python-argparse. Without it, katello-package-upload fails to execute:

  1. katello-package-upload
    Traceback (most recent call last):
    File "/usr/sbin/katello-package-upload", line 17, in <module>
    import argparse
    ImportError: No module named argparse

after install it runs fine.

Actions #1

Updated by Evgeni Golov over 6 years ago

  • Subject changed from EL6: katello-package-upload missing RPM Requires on python-argparse to EL6: katello-package-upload missing RPM Requires on python-argparse
  • Assignee set to Evgeni Golov
Actions #2

Updated by The Foreman Bot over 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello-packaging/pull/507 added
Actions #3

Updated by Evgeni Golov over 6 years ago

Thinking more about it, we could also just switch to the old optparse that is available since Python 2.3: https://docs.python.org/2/library/optparse.html

We're not using any features that would be argparse specific.

Actions #4

Updated by Evgeni Golov over 6 years ago

The problem is also in katello-enabled-repos-upload, not only katello-package-upload

Actions #5

Updated by The Foreman Bot over 6 years ago

  • Pull request https://github.com/Katello/katello-agent/pull/47 added
Actions #6

Updated by Evgeni Golov over 6 years ago

  • Pull request deleted (https://github.com/Katello/katello-packaging/pull/507)
Actions #7

Updated by Eric Helms over 6 years ago

  • translation missing: en.field_release set to 286
Actions #8

Updated by Evgeni Golov over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #9

Updated by The Foreman Bot over 3 years ago

  • Pull request https://github.com/Katello/katello/pull/8906 added
Actions #10

Updated by Jonathon Turel over 3 years ago

  • Pull request deleted (https://github.com/Katello/katello/pull/8906)
Actions

Also available in: Atom PDF