Skip to content

Python 3.12.13, massive update of python modules#10718

Merged
smuzaffar merged 1 commit into
IB/CMSSW_20_1_X/masterfrom
python3.12.13
Jul 16, 2026
Merged

Python 3.12.13, massive update of python modules#10718
smuzaffar merged 1 commit into
IB/CMSSW_20_1_X/masterfrom
python3.12.13

Conversation

@smuzaffar

@smuzaffar smuzaffar commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Python 3.12.13 along with massive update for python modules

  • xz 5.8.3 (which rebuilds python3 so we propose to update python version + python modules)
  • pip 26.1.2
  • setuptools 83.0.0

As this rebuild nearly all the externals (due to rebuild of python3) so I also propose to update the build configuration of externals to use CMAKE_BUILD_TYPE=%{cmake_build_type} which will allow us to configure and build a package in debug mode using cmsBuild --define cms_debug_packages=pkg1,pkg2

@cmsbuild

cmsbuild commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

A new Pull Request was created by @smuzaffar for branch IB/CMSSW_20_1_X/master.

@akritkbehera, @cmsbuild, @iarspider, @raoatifshad, @smuzaffar can you please review it and eventually sign? Thanks.
@ftenchini, @mandrenguyen, @sextonkennedy you are the release manager for this.
cms-bot commands are listed here

@cmsbuild

cmsbuild commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

cms-bot internal usage

@smuzaffar

Copy link
Copy Markdown
Contributor Author

please test

@smuzaffar

Copy link
Copy Markdown
Contributor Author

please test

@cmsbuild

cmsbuild commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Pull request #10718 was updated.

@cmsbuild

cmsbuild commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

-1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-a95fd1/54645/summary.html
COMMIT: 9bd62e7
CMSSW: CMSSW_20_1_X_2026-07-09-1100/el9_amd64_gcc13
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/10718/54645/install.sh to create a dev area with all the needed externals and cmssw changes.

Failed External Build

I found compilation error when building:

rm -rf /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/BUILD/el9_amd64_gcc13/external/py3-cryptography/49.0.0-3abea73aac4048d3e5e6e8d664809211/pkgtools-pkg-src-move2git /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/BUILD/el9_amd64_gcc13/external/py3-cryptography/49.0.0-3abea73aac4048d3e5e6e8d664809211/cmsdist-tmp; mkdir -p /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/BUILD/el9_amd64_gcc13/external/py3-cryptography/49.0.0-3abea73aac4048d3e5e6e8d664809211/cmsdist-tmp; CMSBUILD_PACKAGE=py3-cryptography;  export _CMSBUILD_BUILD_ENV_=1; export TMPDIR=/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/BUILD/el9_amd64_gcc13/external/py3-cryptography/49.0.0-3abea73aac4048d3e5e6e8d664809211/cmsdist-tmp;  source /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc13/rpm-env.sh; source /data/cmsbld/jenkins/workspace/ib-run-pr-tests/pkgtools/build-system-env.sh 16;  rpmbuild  --noclean --buildroot /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/BUILDROOT/3abea73aac4048d3e5e6e8d664809211 -bp --define '_smp_build_nthreads 16' --define '_topdir /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir' --define "compiling_processes 16"  --define '_builddir /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/BUILD/el9_amd64_gcc13/external/py3-cryptography/49.0.0-3abea73aac4048d3e5e6e8d664809211' --define "cmsdist_directory /data/cmsbld/jenkins/workspace/ib-run-pr-tests/cmsdist" --define "compilerv 1340" --define "cmscompilerv 13" --define "cmsos el9_amd64" --define "__bootstrap ~bootstrap" --define "almalinux_ver 9" --define "almalinux 9" --define "centos_ver 9" --define "centos 9" --define "rhel 9" --define "dist %{!?distprefix0:%{?distprefix}}%{expand:%{lua:for i=0,9999 do print("%{?distprefix" .. i .."}") end}}.el9%{?with_bootstrap:~bootstrap}" --define "el9 1" --define "dist_vendor         AlmaLinux OS Foundation" --define "dist_name           AlmaLinux" --define "dist_home_url       https://almalinux.org/" --define "dist_bug_report_url https://bugs.almalinux.org/" --define "package_vectorization x86-64-v2" --define "cmsswdata_version_link 1" --define "archfirst yes" --define "cmsBuild_bootstrap 1"   /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/SPECS/external/py3-cryptography/49.0.0-3abea73aac4048d3e5e6e8d664809211/spec >>/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/BUILD/el9_amd64_gcc13/external/py3-cryptography/49.0.0-3abea73aac4048d3e5e6e8d664809211/log 2>&1
Checking package dependencies: external+py3-uv-build+0.11.28-1a35419cece5f4de86902a3019fcdf29
Done checking package dependencies: external+py3-uv-build+0.11.28-1a35419cece5f4de86902a3019fcdf29
Checking local path dependency for rpm package external+py3-uv-build+0.11.28-1a35419cece5f4de86902a3019fcdf29 just build.
RPM installation stderr py3-uv-build:
error: Failed dependencies:
	libbz2.so.1()(64bit) is needed by external+py3-uv-build+0.11.28-1a35419cece5f4de86902a3019fcdf29-1-1.x86_64

Failed to install RPM for py3-uv-build
install-external+py3-uv-build+0.11.28-1a35419cece5f4de86902a3019fcdf29 failed.
Traceback (most recent call last):


@cmsbuild

Copy link
Copy Markdown
Contributor

Pull request #10718 was updated.

@smuzaffar

Copy link
Copy Markdown
Contributor Author

please test

@smuzaffar

Copy link
Copy Markdown
Contributor Author

please test

@cmsbuild

Copy link
Copy Markdown
Contributor

Pull request #10718 was updated.

@smuzaffar

Copy link
Copy Markdown
Contributor Author

please test

@cmsbuild

Copy link
Copy Markdown
Contributor

Pull request #10718 was updated.

@cmsbuild

Copy link
Copy Markdown
Contributor

Pull request #10718 was updated.

@smuzaffar

Copy link
Copy Markdown
Contributor Author

please test

@smuzaffar

Copy link
Copy Markdown
Contributor Author

please test

@cmsbuild

Copy link
Copy Markdown
Contributor

Pull request #10718 was updated.

@smuzaffar

Copy link
Copy Markdown
Contributor Author

please test

@cmsbuild

Copy link
Copy Markdown
Contributor

Pull request #10718 was updated.

@smuzaffar

Copy link
Copy Markdown
Contributor Author

please test

@cmsbuild

Copy link
Copy Markdown
Contributor

Pull request #10718 was updated.

@smuzaffar

Copy link
Copy Markdown
Contributor Author

please test for el8_amd64_gcc13

@cmsbuild

Copy link
Copy Markdown
Contributor

-1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-a95fd1/54779/summary.html
COMMIT: 99cce69
CMSSW: CMSSW_20_1_X_2026-07-15-1100/el9_amd64_gcc13
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmsdist/10718/54779/install.sh to create a dev area with all the needed externals and cmssw changes.

Failed External Build

I found compilation error when building:

Done installation via rpm for hipsolver
Done external+hipsolver+7.2.4-23c00f8b07b254bde08b9fd8ccdfdeee
install-external+hipsolver+7.2.4-23c00f8b07b254bde08b9fd8ccdfdeee done
build-prep-external+rocm-rocprofiler-sdk+7.2.4-18e1ff3c5ec26ba55b2bbdf5036a70f6 failed.
Failed to build rocm-rocprofiler-sdk. Log file in /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/BUILD/el9_amd64_gcc13/external/rocm-rocprofiler-sdk/7.2.4-18e1ff3c5ec26ba55b2bbdf5036a70f6/log. Final lines of the log file:
error: Invalid patch number p1: %patch -P 0 p1


Building ucx_x86-64-v2(build). Log can be found in /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/BUILD/el9_amd64_gcc13/external/ucx_x86-64-v2/1.21.0-a6ba31c91a9fef6c3fab34d72028515d/log.
CMSBUILD_PACKAGE=ucx_x86-64-v2;  export _CMSBUILD_BUILD_ENV_=1; export TMPDIR=/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/BUILD/el9_amd64_gcc13/external/ucx_x86-64-v2/1.21.0-a6ba31c91a9fef6c3fab34d72028515d/cmsdist-tmp;  source /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc13/rpm-env.sh; source /data/cmsbld/jenkins/workspace/ib-run-pr-tests/pkgtools/build-system-env.sh 16;  rpmbuild  --noclean --buildroot /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/BUILDROOT/a6ba31c91a9fef6c3fab34d72028515d -bc --short-circuit --define '_smp_build_nthreads 16' --define '_topdir /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir' --define "compiling_processes 16"  --define '_builddir /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/BUILD/el9_amd64_gcc13/external/ucx_x86-64-v2/1.21.0-a6ba31c91a9fef6c3fab34d72028515d' --define "cmsdist_directory /data/cmsbld/jenkins/workspace/ib-run-pr-tests/cmsdist" --define "compilerv 1340" --define "cmscompilerv 13" --define "cmsos el9_amd64" --define "__bootstrap ~bootstrap" --define "almalinux_ver 9" --define "almalinux 9" --define "centos_ver 9" --define "centos 9" --define "rhel 9" --define "dist %{!?distprefix0:%{?distprefix}}%{expand:%{lua:for i=0,9999 do print("%{?distprefix" .. i .."}") end}}.el9%{?with_bootstrap:~bootstrap}" --define "el9 1" --define "dist_vendor         AlmaLinux OS Foundation" --define "dist_name           AlmaLinux" --define "dist_home_url       https://almalinux.org/" --define "dist_bug_report_url https://bugs.almalinux.org/" --define "package_vectorization x86-64-v2" --define "cmsswdata_version_link 1" --define "archfirst yes" --define "cmsBuild_bootstrap 1"   /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/SPECS/external/ucx_x86-64-v2/1.21.0-a6ba31c91a9fef6c3fab34d72028515d/spec >>/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/BUILD/el9_amd64_gcc13/external/ucx_x86-64-v2/1.21.0-a6ba31c91a9fef6c3fab34d72028515d/log 2>&1
download-f37bdc66518b18a756ace7eeeadf11e7 done


@smuzaffar

Copy link
Copy Markdown
Contributor Author

please test

@cmsbuild

Copy link
Copy Markdown
Contributor

Pull request #10718 was updated.

@cmsbuild

Copy link
Copy Markdown
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-a95fd1/54781/summary.html
COMMIT: 3ac9811
CMSSW: CMSSW_20_1_X_2026-07-15-2300/el9_amd64_gcc13
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmsdist/10718/54781/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially added 8 lines to the logs
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 45
  • DQMHistoTests: Total histograms compared: 3548294
  • DQMHistoTests: Total failures: 59
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3548217
  • DQMHistoTests: Total skipped: 18
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 44 files compared)
  • Checked 195 log files, 163 edm output root files, 45 DQM output files
  • TriggerResults: no differences found

@smuzaffar

Copy link
Copy Markdown
Contributor Author

please test for el8_amd64_gcc13

@smuzaffar

Copy link
Copy Markdown
Contributor Author

+externals

@smuzaffar
smuzaffar merged commit 0c2fead into IB/CMSSW_20_1_X/master Jul 16, 2026
10 of 13 checks passed
@cmsbuild

Copy link
Copy Markdown
Contributor

This pull request is fully signed and it will be integrated in one of the next IB/CMSSW_20_1_X/master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @ftenchini, @mandrenguyen, @sextonkennedy (and backports should be raised in the release meeting by the corresponding L2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants