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

Update setuptools for py2 and py3 and pip for py3 #6557

Merged
merged 22 commits into from Jan 27, 2021

Conversation

davidlange6
Copy link
Contributor

@davidlange6 davidlange6 commented Jan 16, 2021

Separate the py2 and py3 versions of setuptools to allow us to follow the last year of development after py2 support was dropped. These are now separate spec files.

This pr includes #6556 as all of those packages would be rebuilt anyway.

There are some new dependencies included. One to note is a number of new dependencies on wheel, which others have encountered when bumping setuptools. I just added a build requires in each case.

From discussion in this PR, pip is now updated for python3. While current pip releases nominally support python2, I quickly ran into dependency issues that I didn't want to solve for an obsolete stack. So it is updated for python3 only.

The one oddity is with scipy (as commented below). I don't think there is any regression, just a newly known dependency.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @davidlange6 (David Lange) for branch IB/CMSSW_11_3_X/master.

@cmsbuild, @smuzaffar, @mrodozov can you please review it and eventually sign? Thanks.
cms-bot commands are listed here

@davidlange6
Copy link
Contributor Author

davidlange6 commented Jan 16, 2021 via email

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-fc36c8/12309/summary.html
COMMIT: 9d5d9c2
CMSSW: CMSSW_11_3_X_2021-01-16-1100/slc7_amd64_gcc900

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 5 differences found in the comparisons
  • DQMHistoTests: Total files compared: 37
  • DQMHistoTests: Total histograms compared: 2716961
  • DQMHistoTests: Total failures: 9
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 2716929
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -0.004 KiB( 36 files compared)
  • DQMHistoSizes: changed ( 312.0 ): -0.004 KiB MessageLogger/Warnings
  • Checked 156 log files, 37 edm output root files, 37 DQM output files

@smuzaffar
Copy link
Contributor

@davidlange6 , as this is going to build nearly all the pythoon packages, I would suggest to do the same for pip (for python3) i.e. a separate py3-pip package

@davidlange6
Copy link
Contributor Author

davidlange6 commented Jan 18, 2021 via email

@smuzaffar
Copy link
Contributor

smuzaffar commented Jan 18, 2021

IIRC, the newer pip also needed some extra packages and for couple of these there were cyclic dependencies. I hope those are fixed by now

@smuzaffar
Copy link
Contributor

smuzaffar commented Jan 18, 2021

how about adding py3-setuptools dependency via https://github.com/cms-sw/cmsdist/blob/IB/CMSSW_11_3_X/master/build-with-pip.file . We include py2-setuptools in build-with-pip.file , I would suggest to update that to include py3-setuptools.

if you decided to add py3-pip then that can also go in build-with-pip

@davidlange6
Copy link
Contributor Author

davidlange6 commented Jan 18, 2021 via email

@smuzaffar
Copy link
Contributor

smuzaffar commented Jan 18, 2021

right, as setuptool is very common dependency, so we had decided to include it via the common build file (build-with-pip).

@davidlange6
Copy link
Contributor Author

davidlange6 commented Jan 18, 2021 via email

@davidlange6
Copy link
Contributor Author

davidlange6 commented Jan 18, 2021 via email

@cmsbuild
Copy link
Contributor

Pull request #6557 was updated.

@davidlange6 davidlange6 changed the title Update setuptools for py2 and py3 Update setuptools for py2 and py3 and pip for py3 Jan 18, 2021
@davidlange6
Copy link
Contributor Author

ok, I tested up through python_tools except for tensorflow. I'll start tests here.

@smuzaffar
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

Pull request #6557 was updated.

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-fc36c8/12538/summary.html
COMMIT: 089da52
CMSSW: CMSSW_11_3_X_2021-01-25-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/6557/12538/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 3 differences found in the comparisons
  • DQMHistoTests: Total files compared: 37
  • DQMHistoTests: Total histograms compared: 2716961
  • DQMHistoTests: Total failures: 6
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 2716932
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.004 KiB( 36 files compared)
  • DQMHistoSizes: changed ( 312.0 ): 0.004 KiB MessageLogger/Warnings
  • Checked 156 log files, 37 edm output root files, 37 DQM output files

@smuzaffar
Copy link
Contributor

@davidlange6 , this looks much better now. Comparison diff are due to messagelogger.

@davidlange6
Copy link
Contributor Author

davidlange6 commented Jan 26, 2021 via email

@smuzaffar
Copy link
Contributor

smuzaffar commented Jan 26, 2021

please test for slc7_aarch64_gcc9

@smuzaffar
Copy link
Contributor

please test for slc7_ppc64le_gcc9

@smuzaffar
Copy link
Contributor

please test
re-run based on latest IBs to make sure every thing works

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-fc36c8/12556/summary.html
COMMIT: 089da52
CMSSW: CMSSW_11_3_X_2021-01-26-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/6557/12556/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

The workflows 140.53 have different files in step1_dasquery.log than the ones found in the baseline. You may want to check and retrigger the tests if necessary. You can check it in the "files" directory in the results of the comparisons

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 1100 differences found in the comparisons
  • DQMHistoTests: Total files compared: 37
  • DQMHistoTests: Total histograms compared: 2716596
  • DQMHistoTests: Total failures: 3616
  • DQMHistoTests: Total nulls: 20
  • DQMHistoTests: Total successes: 2712938
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -45.707 KiB( 36 files compared)
  • DQMHistoSizes: changed ( 140.53 ): -44.531 KiB Hcal/DigiRunHarvesting
  • DQMHistoSizes: changed ( 140.53 ): -1.172 KiB RPC/DCSInfo
  • DQMHistoSizes: changed ( 312.0 ): -0.004 KiB MessageLogger/Warnings
  • Checked 156 log files, 37 edm output root files, 37 DQM output files

@cmsbuild
Copy link
Contributor

-1

Failed Tests: UnitTests RelVals
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-fc36c8/12555/summary.html
COMMIT: 089da52
CMSSW: CMSSW_11_3_X_2021-01-25-2300/slc7_ppc64le_gcc9
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/6557/12555/install.sh to create a dev area with all the needed externals and cmssw changes.

Unit Tests

I found errors in the following unit tests:

---> test test_PrepareInputDb had ERRORS
---> test test_MpsWorkFlow had ERRORS
---> test testUnits had ERRORS
---> test testDD4hepFilteredViewFirstChild had ERRORS
and more ...

RelVals

  • 11624.91111624.911_TTbar_13+2021_DD4hep+TTbar_13TeV_TuneCUETP8M1_GenSim+Digi+Reco+HARVEST+ALCA/step1_TTbar_13+2021_DD4hep+TTbar_13TeV_TuneCUETP8M1_GenSim+Digi+Reco+HARVEST+ALCA.log

@smuzaffar
Copy link
Contributor

+externals
#6557 (comment) looks good , comparison diff are due to changeb uin input dataset file

@cmsbuild
Copy link
Contributor

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

@cmsbuild
Copy link
Contributor

-1

Failed Tests: UnitTests
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-fc36c8/12557/summary.html
COMMIT: 089da52
CMSSW: CMSSW_11_3_X_2021-01-26-1100/slc7_aarch64_gcc9
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/6557/12557/install.sh to create a dev area with all the needed externals and cmssw changes.

Unit Tests

I found errors in the following unit tests:

---> test TestFWCoreServicesDriver had ERRORS
---> test PhiTest had ERRORS
---> test TestConfigDP had ERRORS

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

3 participants