cms-sw / cmssw

CMS Offline Software
http://cms-sw.github.io/
Apache License 2.0
1.09k stars 4.33k forks source link

Avoid using past module for python2/3 compatibility #46754

Closed smuzaffar closed 42 minutes ago

smuzaffar commented 17 hours ago

We were using past python2/3 compatibility to support both py2 and py3. As CMSSW stack is python3 only so this PR proposes to drop the use of past.

cmsbuild commented 17 hours ago

cms-bot internal usage

cmsbuild commented 17 hours ago

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-46754/42733

cmsbuild commented 17 hours ago

A new Pull Request was created by @smuzaffar for master.

It involves the following packages:

@Dr15Jones, @cmsbuild, @makortel, @smuzaffar can you please review it and eventually sign? Thanks. @makortel, @missirol, @wddgit this is something you requested to watch as well. @antoniovilela, @mandrenguyen, @rappoccio, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

makortel commented 16 hours ago

I think this is ok, although eventually it would be nice to "modernize" the code itself to use int, bool, and // directly.

makortel commented 16 hours ago

@cmsbuild, please test

cmsbuild commented 12 hours ago

-1

Failed Tests: UnitTests Size: This PR adds an extra 36KB to repository Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-d5ff10/42989/summary.html COMMIT: 8864274426361a54dd7b13f4edcf3585bc55fd03 CMSSW: CMSSW_14_2_X_2024-11-21-1100/el8_amd64_gcc12 User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/46754/42989/install.sh to create a dev area with all the needed externals and cmssw changes.

Unit Tests

I found 1 errors in the following unit tests:

---> test TestDQMGUIUpload had ERRORS

Comparison Summary

Summary:

makortel commented 12 hours ago

Comparison differences are related to https://github.com/cms-sw/cmssw/issues/46416

makortel commented 12 hours ago

Unit test failure is https://github.com/cms-sw/cmssw/issues/46682

makortel commented 12 hours ago

+core

makortel commented 12 hours ago

ignore tests-rejected with ib-failure

cmsbuild commented 12 hours ago

This pull request is fully signed and it will be integrated in one of the next master IBs (test failures were overridden). This pull request will now be reviewed by the release team before it's merged. @sextonkennedy, @mandrenguyen, @rappoccio, @antoniovilela (and backports should be raised in the release meeting by the corresponding L2)

mandrenguyen commented 43 minutes ago

+1