Bug 1628751

Summary: Missing runtime dependency on pyparsing
Product: [Fedora] Fedora Reporter: Scott K Logan <logans>
Component: python-catkin_pkgAssignee: Scott K Logan <logans>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: logans, richmattes, sanjay.ankur
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: python-catkin_pkg-0.4.8-1.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-30 17:15:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Scott K Logan 2018-09-13 21:25:00 UTC
Description of problem:
It looks like a BuildRequires was added when this dependency showed up in 0.4.0, but it is still missing at runtime.

Version-Release number of selected component (if applicable): 0.4.5-1.fc28

How reproducible: 100%

Steps to Reproduce:
1. Remove python3-pyparsing
2. Install python3-catkin_pkg
3. Run catkin_create_pkg (or any other command)

Actual results:
pkg_resources.DistributionNotFound: The 'pyparsing' distribution was not found and is required by catkin-pkg

Expected results:
python3-pyparsing is installed as a prerequisite.

Comment 1 Fedora Update System 2018-09-19 17:34:38 UTC
python-catkin_pkg-0.4.8-1.fc29 python-rospkg-1.1.7-1.fc29 python-rosdistro-0.6.9-1.fc29 python-osrf-pycommon-0.1.5-1.fc29 python-catkin_lint-1.5.3-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-85a501b087

Comment 2 Fedora Update System 2018-09-20 16:18:43 UTC
python-catkin_lint-1.5.3-1.fc29, python-catkin_pkg-0.4.8-1.fc29, python-osrf-pycommon-0.1.5-1.fc29, python-rosdistro-0.6.9-1.fc29, python-rospkg-1.1.7-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-85a501b087

Comment 3 Rich Mattes 2018-10-03 23:15:10 UTC
Both the python2 and python3 versions of catkin_create_pkg execute without a pyparsing error on my f29 machine:

[rich@localhost src]$ rpm -q python2-catkin_pkg 
python2-catkin_pkg-0.4.8-1.fc29.noarch
[rich@localhost src]$ rpm -q python3-catkin_pkg 
python3-catkin_pkg-0.4.8-1.fc29.noarch
[rich@localhost src]$ catkin_create_pkg 
usage: catkin_create_pkg [-h] [--meta] [-s [SYS_DEPS [SYS_DEPS ...]]]
                         [-b [BOOST_COMPS [BOOST_COMPS ...]]] [-V PKG_VERSION]
                         [-D DESCRIPTION] [-l LICENSE] [-a AUTHOR]
                         [-m MAINTAINER] --rosdistro ROSDISTRO
                         name [dependencies [dependencies ...]]
catkin_create_pkg: error: too few arguments
[rich@localhost src]$ python3-catkin_create_pkg 
usage: python3-catkin_create_pkg [-h] [--meta] [-s [SYS_DEPS [SYS_DEPS ...]]]
                                 [-b [BOOST_COMPS [BOOST_COMPS ...]]]
                                 [-V PKG_VERSION] [-D DESCRIPTION]
                                 [-l LICENSE] [-a AUTHOR] [-m MAINTAINER]
                                 --rosdistro ROSDISTRO
                                 name [dependencies [dependencies ...]]
python3-catkin_create_pkg: error: the following arguments are required: name, dependencies, --rosdistro

Additionally, the runtime requirement on pyparsing is now present:

[rich@localhost src]$ rpm -q --requires python2-catkin_pkg
/usr/bin/python2
python(abi) = 2.7
python2-dateutil
python2-docutils
python2-pyparsing
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1
[rich@localhost src]$ rpm -q --requires python3-catkin_pkg
/usr/bin/python3
python(abi) = 3.7
python3-dateutil
python3-docutils
python3-pyparsing
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1

Comment 4 Fedora Update System 2018-10-30 17:15:57 UTC
python-catkin_lint-1.5.3-1.fc29, python-catkin_pkg-0.4.8-1.fc29, python-osrf-pycommon-0.1.5-1.fc29, python-rosdistro-0.6.9-1.fc29, python-rospkg-1.1.7-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.