RHEL 9.8 python bindings for python 3.12

5 views
Skip to first unread message

Andres Ayala

unread,
Jul 22, 2026, 4:21:18 AM (yesterday) Jul 22
to htcondo...@g-groups.wisc.edu
Hi,

I am planning an activity to migrate our facilities from RHEL 9.8 to RHEL 10.2 that implies replacing python 3.9 with python 3.12.
RHEL 9.8 has official support for python 3.12 (can be installed as part of the base OS), so the safest way is to migrate first to python 3.12 and then change the OS.
However, for the condor bindings my only options are to use the pypi package (but it bundles its own copy of the condor libraries) or to repackage myself the "python3-condor" with each condor release.

The best option would be to have the rpm "python3.12-condor" in the official yum repository (https://htcss-downloads.chtc.wisc.edu/repo/25.x/el9/x86_64/release/)
Are you planning to add that rpm to the releases? Or it is better that I follow one of the other approaches...

Regards!

 

Andrés Ayala

EUMETSAT Data Processing System Engineer


Any email message from EUMETSAT is sent in good faith but shall neither be binding nor construed as constituting a commitment by EUMETSAT, except where provided for in a written agreement or contract or if explicitly stated in the email. Please note that any views or opinions presented in this email are solely those of the sender and do not necessarily represent those of EUMETSAT. This message and any attachments are intended for the sole use of the addressee(s) and may contain confidential and privileged information. Any unauthorised use, disclosure, dissemination or distribution (in whole or in part) of its contents is not permitted. If you received this message in error, please notify the sender and delete it from your system.

Stefano Belforte

unread,
Jul 22, 2026, 9:43:03 AM (yesterday) Jul 22
to Andres Ayala, htcondo...@g-groups.wisc.edu, stefano....@cern.ch

I think that a feature of new python binding is that they largely independent of
python version. I.e. you should be able to update python to 3.12 in a RHEL 9.8
machine and verify that it works.

Stefano

Andres Ayala

unread,
Jul 22, 2026, 10:03:52 AM (yesterday) Jul 22
to Stefano Belforte, htcondo...@g-groups.wisc.edu
Yes, the python-condor is pure python code,
The problem is that it deploys correctly the python modules under:
/usr/lib64/python3.9/site-packages

But the python 3.12 expects the modules in:
/usr/lib64/python3.12/site-packages

And if I choose the path of the pypi package it comes with its own libraries (classad2/classad2_impl.abi3.so, htcondor.libs/libSciTokens-ee37b48c.so.0.0.2, ...) something that raises questions in the reviews.

I know the problem is not difficult to solve, but the best thing would be that it is possible to do:
> dnf install -y condor python3.12-condor

And then be sure that python3.12 is going to use exactly the libraries installed by condor.

Currently I am repackaging python3-condor for python 3.12 (it is easy, the new bindings are really nice).
I was asking because I suspect I am not the only one that will need to do the migration 🙂

Thanks!
Andrés Ayala





De: Stefano Belforte <stefano....@cern.ch>
Enviado: miércoles, 22 de julio de 2026 15:42
Para: Andres Ayala <Andres...@eumetsat.int>; htcondo...@g-groups.wisc.edu <htcondo...@g-groups.wisc.edu>
Cc: stefano....@cern.ch <stefano....@cern.ch>
Asunto: Re: [HTCondor-users] RHEL 9.8 python bindings for python 3.12
 
WARNING: This email originated outside the organisation. Treat links and attachments with caution.
Reply all
Reply to author
Forward
0 new messages