Closed smuzaffar closed 42 minutes ago
cms-bot internal usage
+code-checks
Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-46754/42733
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
from past.builtins import long
: uselong=int
as https://github.com/PythonCharmers/python-future/blob/master/src/past/types/__init__.py#L26 was doingfrom past.utils import old_div
: We can either usefloor division operator //
everywhere or just add our ownold_div
which does the same.
I think this is ok, although eventually it would be nice to "modernize" the code itself to use int
, bool
, and //
directly.
@cmsbuild, please test
-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.
I found 1 errors in the following unit tests:
---> test TestDQMGUIUpload had ERRORS
Summary:
Comparison differences are related to https://github.com/cms-sw/cmssw/issues/46416
Unit test failure is https://github.com/cms-sw/cmssw/issues/46682
+core
ignore tests-rejected with ib-failure
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)
+1
We were using
past
python2/3 compatibility to support bothpy2 and py3
. As CMSSW stack ispython3
only so this PR proposes to drop the use ofpast
.from past.builtins import long
: uselong=int
as https://github.com/PythonCharmers/python-future/blob/master/src/past/types/__init__.py#L26 was doingfrom past.utils import old_div
: We can either usefloor division operator //
everywhere or just add our ownold_div
which does the same.