[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[HTCondor-users] build local HTCondor rpm with pip dependencies



Dear all,

with Tim's advice, I have build a local HTCondor rpm corresponding to the PR [1].

I am building the rpm within the CentOS7 container.

I have modified the condor spec file to include the new executables and corresponding configuration.

The rpm building seems to be successful, and I got at the end a collection of rpms [2].

To test the rpm, I wanted to make an installation using "yum localinstall" followed by the list of rpms [2].

At this level, I got some issue with some dependencies installed via pip (flaat and cryptography).

I guess that "yum" can not detect packages installed via pip.

On the other end, some other packages, like the "credmon-oauth" and the "credmon-vault", are also specifying pip-installed dependencies
in the condor spec file. So there should be some way to circumvent this issue.

Thanks a lot in advance for your help!

Cheers,
Benoit

[1] https://github.com/htcondor/htcondor/pull/1857

[2] condor-upgrade-checks-23.2.0-0.202310300137.el7.x86_64.rpm condor-debuginfo-23.2.0-0.202310300137.el7.x86_64.rpm condor-vm-gahp-23.2.0-0.202310300137.el7.x86_64.rpm condor-23.2.0-0.202310300137.el7.x86_64.rpm condor-devel-23.2.0-0.202310300137.el7.x86_64.rpm minicondor-23.2.0-0.202310300137.el7.x86_64.rpm condor-annex-ec2-23.2.0-0.202310300137.el7.x86_64.rpm condor-kbdd-23.2.0-0.202310300137.el7.x86_64.rpm python2-condor-23.2.0-0.202310300137.el7.x86_64.rpm condor-credmon-mytoken-23.2.0-0.202310300137.el7.x86_64.rpm condor-tarball-23.2.0-0.202310300137.el7.x86_64.rpm python3-condor-23.2.0-0.202310300137.el7.x86_64.rpm condor-test-23.2.0-0.202310300137.el7.x86_64.rpm