-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Print function migration for SimCalorimetry_HGCalSimProducers #23853
Print function migration for SimCalorimetry_HGCalSimProducers #23853
Conversation
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-23853/5544 |
A new Pull Request was created by @davidlange6 (David Lange) for master. It involves the following packages: SimCalorimetry/HGCalSimProducers @cmsbuild, @civanch, @kpedro88, @mdhildreth can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
The tests are being triggered in jenkins. |
Is it actually necessary to import from future? I thought |
yes, it is needed
>> a = [1,2,3,4]
>> print(a,"hi")
([1, 2, 3, 4], 'hi')
vs
>> from __future__ import print_function
>> print(a,"hi")
[1, 2, 3, 4] hi
… On Jul 19, 2018, at 6:08 PM, Kevin Pedro ***@***.***> wrote:
Is it actually necessary to import from future? I thought print() was usable natively in python 2.7.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Ah, the behavior is actually different. Good to know, thanks. |
-1 Tested at: 4743592 You can see the results of the tests here: I found follow errors while testing this PR Failed tests: RelVals
The relvals timed out after 2 hours. |
Comparison not run due to runTheMatrix errors (RelVals and Igprof tests were also skipped) |
please test |
IB is broken, see #23873 |
please test |
The tests are being triggered in jenkins. |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
+1 |
+upgrade |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @davidlange6, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
Using futurize -n -w --no-diffs -j 4 -f libfuturize.fixes.fix_print_with_import