Hi, Tom, epel-release is nothing but some yum repo files, so technically it should not bring any code for dependencies. So it should be removed from runtime dependencies for sure IMO. The reason is, we want to stick with whatever RedHat supports. When we bring in epel-release, the RPMs that we are going to build will all be messed, and I don’t think RedHat will support any versions that we pull from epel-release. We can survive with build time, as that is safe in a virtual environment, and technically we are allowed to mess up with anything.
Python3.6 is another problem. There is no problem for us to have Python 3.6, as this is technically supported and shipped by RedHat, and our subscription does have it. However, the question is more about “Is that really needed?”. As you mention, if this is implicitly needed by vpp-devel, we can just put that for vpp-devel RPM, right? Normally we don’t install vpp-devel as well. Python3.6 is just a question that will save us time, as majority of code is still in Python 2.7, and pulling Python3.6 may or may not cause any issue. But if not needed, it will make our life easier. That’s it. 😊 Thanks very much! Regards, Yichen From: <vpp-dev@lists.fd.io> on behalf of Thomas F Herbert <therb...@redhat.com> Date: Friday, May 10, 2019 at 12:26 PM To: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io> Subject: Re: [vpp-dev] RPM package question related to https://gerrit.fd.io/r/#/c/18953/ Jerome, python3 is an implicit dependency of vpp-devel and I am not sure why. Because of that I put python36 explicitly in Requires because I was concerned about cross versions of Python between 34 and 36 having side affects. As for epel-release, it is harmless but is not strictly required installation time but I wanted to make sure the epel repo was installed so further dependency checks were resolved from the correct repo. --Tom On 05/10/2019 10:20 AM, Thomas F Herbert wrote: Jerome, Let me take a look at this today. I will submit a patch to take them out if I can verify that they are not needed. --Tom On 05/10/2019 05:11 AM, Jerome Tollet (jtollet) wrote: Hi Thomas, In https://gerrit.fd.io/r/#/c/18953/ you are putting epel-release and Python3 into the dependencies. 1. I can understand that those are needed as BuildRequires:, but are they really needed for Requires: ? 2. Why do we need epel-release as runtime requirement? 3. Do we really need Python3 for VPP 19.04 itself? Jerome -- Thomas F Herbert NFV and Fast Data Planes Networking Group Office of the CTO Red Hat -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12980): https://lists.fd.io/g/vpp-dev/message/12980 Mute This Topic: https://lists.fd.io/mt/31575010/675058 Group Owner: vpp-dev+ow...@lists.fd.io<mailto:vpp-dev+ow...@lists.fd.io> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [therb...@redhat.com<mailto:therb...@redhat.com>] -=-=-=-=-=-=-=-=-=-=-=- -- Thomas F Herbert NFV and Fast Data Planes Networking Group Office of the CTO Red Hat
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12996): https://lists.fd.io/g/vpp-dev/message/12996 Mute This Topic: https://lists.fd.io/mt/31575010/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-