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

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



Hi Benoit,

Can you clarify what you mean by "issue with some dependencies installed via pip (flaat and cryptography)"? Are the credmons complaining that they cannot load flaat and/or cryptography? We may need to add some (rpm-based) dependencies, the credmon installs should not depend on packages being installed from pip.

Jason

On Mon, Oct 30, 2023 at 3:20âAM Benoit Roland <benoit.roland@xxxxxxx> wrote:
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

_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/