-
Notifications
You must be signed in to change notification settings - Fork 206
Update setuptools to 58.2.0; drop nose, hyperas, hyperopt #7400
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
Conversation
|
@cmsbuild please test |
|
A new Pull Request was created by @iarspider for branch IB/CMSSW_12_1_X/master. @smuzaffar, @iarspider, @ddaina can you please review it and eventually sign? Thanks. |
|
-1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-90434f/19758/summary.html External BuildI found compilation error when building: byte-compiling /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/BUILDROOT/55f1a5e40197a75f8e5c4746a70a5217/opt/cmssw/slc7_amd64_gcc900/external/py3-setuptools/58.2.0-55f1a5e40197a75f8e5c4746a70a5217/lib/python3.9/site-packages/setuptools/command/upload_docs.py to upload_docs.cpython-39.pyc byte-compiling /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/BUILDROOT/55f1a5e40197a75f8e5c4746a70a5217/opt/cmssw/slc7_amd64_gcc900/external/py3-setuptools/58.2.0-55f1a5e40197a75f8e5c4746a70a5217/lib/python3.9/site-packages/setuptools/extern/__init__.py to __init__.cpython-39.pyc running install_egg_info Writing /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/BUILDROOT/55f1a5e40197a75f8e5c4746a70a5217/opt/cmssw/slc7_amd64_gcc900/external/py3-setuptools/58.2.0-55f1a5e40197a75f8e5c4746a70a5217/lib/python3.9/site-packages/setuptools-58.2.0-py3.9.egg-info running install_scripts error: cannot copy tree 'build/scripts-3.9': not a directory error: Bad exit status from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.p456T9 (%install) RPM build errors: Macro %rpmbuild_libdir defined but not used within scope |
|
Not sure why it fails in cmsdist, but works in spack. Here is what Spack does: python3 '-s' 'setup.py' '--no-user-cfg' 'build'
python3 '-s' 'setup.py' '--no-user-cfg' 'install' '--prefix=%{i}' '--single-version-externally-managed' '--root=%{i}' '--install-purelib=lib/python3.9/site-packages' '--install-platlib=lib/python3.9/site-packages' '--install-scripts=bin' '--install-data=' '--install-headers=include/python3.9'(here the full installation path was replaced with And here is what cmsdist does: python3 setup.py build
python3 setup.py install --single-version-externally-managed --record=/dev/null --skip-build --prefix=%{i} |
|
Spack log fragment: cmsdist log: |
|
If I run But |
diff --git a/py3-setuptools.spec b/py3-setuptools.spec
index 016a8a2..2fad229 100644
--- a/py3-setuptools.spec
+++ b/py3-setuptools.spec
@@ -11,12 +11,12 @@ Requires: python3
%build
python3 bootstrap.py
python3 setup.py build
+python3 setup.py egg_info
%install
python3 setup.py install --single-version-externally-managed --record=/dev/null --skip-build --prefix=%{i}
sed -i 's|#!.*python.*|#!/usr/bin/env python3|' \
- %{i}/bin/* \
%{i}/${PYTHON3_LIB_SITE_PACKAGES}/setuptools/command/easy_install.py \
%{i}/${PYTHON3_LIB_SITE_PACKAGES}/pkg_resources/_vendor/appdirs.py
-mv %{i}/bin/easy_install %{i}/bin/easy_install3
+mv %{i}/${PYTHON3_LIB_SITE_PACKAGES}/setuptools/command/easy_install.py %{i}/${PYTHON3_LIB_SITE_PACKAGES}/setuptools/command/easy_install3.py |
|
go ahead and apply the change and restart the tests |
|
@cmsbuild please test |
|
Pull request #7400 was updated. |
|
-1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-90434f/19769/summary.html External BuildI found compilation error when building: File "/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/slc7_amd64_gcc900/external/python3/3.9.6/lib/python3.9/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/slc7_amd64_gcc900/external/py3-setuptools/58.2.0-67b20c002e1e875b7b73d537896e7bd0/lib/python3.9/site-packages/setuptools/command/install_scripts.py", line 18, in run import setuptools.command.easy_install as ei ModuleNotFoundError: No module named 'setuptools.command.easy_install' error: Bad exit status from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.Fz5eh1 (%install) RPM build errors: Macro %rpmbuild_libdir defined but not used within scope Bad exit status from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.Fz5eh1 (%install) |
That one changes was not needed
|
Pull request #7400 was updated. |
|
@cmsbuild please test |
|
-1 Failed Tests: UnitTests The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
You can see more details here: Unit TestsI found errors in the following unit tests: ---> test TestDQMServicesDemo had ERRORS ---> test import-hyperas had ERRORS ---> test import-hyperopt had ERRORS ---> test import-nose had ERRORS and more ... Comparison SummarySummary:
|
|
please test with cms-sw/cmssw#35878 |
|
-1 Failed Tests: UnitTests RelVals-INPUT Unit TestsI found errors in the following unit tests: ---> test TestDQMServicesDemo had ERRORS RelVals-INPUT
Comparison SummarySummary:
|
|
@smuzaffar this RelVal fails in other PRs, so I think it's safe to merge this one. |
|
merge |
|
please test |
|
Pull request #7400 was updated. |
|
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-90434f/21066/summary.html Comparison SummarySummary:
|
|
closing as it has been integrated via #7696 |
No description provided.