Skip to content
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

Python3: Changes needed to build cmssw with python3 as default #28031

Merged
merged 1 commit into from
Sep 23, 2019
Merged

Python3: Changes needed to build cmssw with python3 as default #28031

merged 1 commit into from
Sep 23, 2019

Conversation

smuzaffar
Copy link
Contributor

These changes are needed in order to build cmssw with python3 set as default python

@smuzaffar
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-28031/11957

  • This PR adds an extra 24KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 20, 2019

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/2585/console Started: 2019/09/20 11:56

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @smuzaffar (Malik Shahzad Muzaffar) for master.

It involves the following packages:

CondFormats/Serialization
FWCore/Utilities

@ggovi, @smuzaffar, @cmsbuild, @Dr15Jones can you please review it and eventually sign? Thanks.
@makortel, @felicepantaleo, @wddgit, @Martin-Grunewald, @mmusich, @seemasharmafnal this is something you requested to watch as well.
@davidlange6, @slava77, @fabiocos you are the release manager for this.

cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-0d1f7f/2585/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 34
  • DQMHistoTests: Total histograms compared: 2958092
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2957750
  • DQMHistoTests: Total skipped: 341
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 33 files compared)
  • Checked 145 log files, 15 edm output root files, 34 DQM output files

@fabiocos
Copy link
Contributor

@ggovi could you please check the DB part? As far as I can see the main change is the need to specify the decoding of strings (@smuzaffar do you confirm ? This looks a sizeable difference compared to python2)

@smuzaffar
Copy link
Contributor Author

@fabiocos @govvi, yes we have some files with special characters in comments ( e.g files like these

Copyright (C) 2004-2008 René Nyffenegger
) so python3 fails to read these types of files in to string. That is why we need encoding. Note that all these special characters are in comments sections so this does not change the generated source file by condformats_serialization_generate.py .

@ggovi
Copy link
Contributor

ggovi commented Sep 23, 2019

@smuzaffar thanks a lot.

@ggovi
Copy link
Contributor

ggovi commented Sep 23, 2019

+1

@smuzaffar
Copy link
Contributor Author

@Dr15Jones , any objection on these changes?

@Dr15Jones
Copy link
Contributor

+1

@fabiocos
Copy link
Contributor

@smuzaffar concerning the edmCheckClass tools, these scripts in practice are run within scram build, and I see they run smoothly.

@cmsbuild
Copy link
Contributor

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)

@fabiocos
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 40e79d8 into cms-sw:master Sep 23, 2019
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.

None yet

5 participants