Ask Your Question
1

Are missing package requirements a bug?

asked 2018-06-24 09:02:32 -0500

I have recently started playing with python3. I have installed python3-pip and there are no errors, but when I try to use it, e.g. pip3 install --user vpython

there are gcc errors because of missing files. Two additional packages are required to get pip3 to succeed: python3-devel and redhat-rpm-config. Shouldn't these two packages be included as requirements in the python3-pip rpm? In other words, is this considered a bug in the package, or just an unfortunate fact of life with rpms?

This does not happen with the equivalent rpm in openSUSE Tumbleweed.

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
4

answered 2018-06-24 09:15:46 -0500

Aeyoun gravatar image

No. It’s not the package you installed via Fedora that require these extra packages; it’s the software you’re truing to install via pip. Pip is a separate package system entirely, and it doesn’t really handle non-Python package dependencies. You have to install these dependencies manually.

edit flag offensive delete link more

Comments

As noted above, I submitted a bug report anyway. Curious that it happens on Fedora and not other distros that I tried.

Jim O gravatar imageJim O ( 2018-06-24 10:53:38 -0500 )edit
2

answered 2018-06-24 09:17:46 -0500

villykruse gravatar image

Submit a Bugzilla bug report and see what happens.

For all the pip packages which don't contain C sources, you would not need the python3-devel package, nor the gcc compiler or any other -devel package. Thus one could argue that it is the particular pip package (vpython) which requires python3-devel, the gcc compiler, and the glibc-devel packages plus maybe a more *-devel packages.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-06-24 09:02:32 -0500

Seen: 36 times

Last updated: Jun 24