Bug #20702
closedEL6: katello-package-upload missing RPM Requires on python-argparse
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:
- 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.
Updated by Evgeni Golov over 7 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
Updated by The Foreman Bot over 7 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello-packaging/pull/507 added
Updated by Evgeni Golov over 7 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.
Updated by Evgeni Golov over 7 years ago
The problem is also in katello-enabled-repos-upload, not only katello-package-upload
Updated by The Foreman Bot over 7 years ago
- Pull request https://github.com/Katello/katello-agent/pull/47 added
Updated by Evgeni Golov over 7 years ago
- Pull request deleted (
https://github.com/Katello/katello-packaging/pull/507)
Updated by Eric Helms over 7 years ago
- Translation missing: en.field_release set to 286
Updated by Evgeni Golov over 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello-agent|ca2b1b4fa18d843cdc7edb5312926245fd5f7df6.
Updated by The Foreman Bot over 4 years ago
- Pull request https://github.com/Katello/katello/pull/8906 added
Updated by Jonathon Turel over 4 years ago
- Pull request deleted (
https://github.com/Katello/katello/pull/8906)