Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-widgetsnbextension.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-193361-12996/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-widgetsnbextension.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-widgetsnbextension-4.0.11-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-widgetsnbextension.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-193361-12996/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-widgetsnbextension.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IDMpyh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf widgetsnbextension-4.0.11 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/widgetsnbextension-4.0.11.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd widgetsnbextension-4.0.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.j0TFlp + umask 022 + cd /builddir/build/BUILD + cd widgetsnbextension-4.0.11 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Import error: No module named 'toml' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-widgetsnbextension-4.0.11-1.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-widgetsnbextension.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-193361-12996/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-widgetsnbextension.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.c1EGNR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf widgetsnbextension-4.0.11 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/widgetsnbextension-4.0.11.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd widgetsnbextension-4.0.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.hsMRS2 + umask 022 + cd /builddir/build/BUILD + cd widgetsnbextension-4.0.11 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling jupyter_packaging~=0.10,<2 from build-system.requires Requirement not satisfied: jupyter_packaging~=0.10,<2 Handling setuptools >= 40.8 from default build backend Requirement not satisfied: setuptools >= 40.8 Handling wheel from default build backend Requirement not satisfied: wheel Exiting dependency generation pass: build backend + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-widgetsnbextension-4.0.11-1.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-widgetsnbextension.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-193361-12996/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-widgetsnbextension.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.11t7Of + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf widgetsnbextension-4.0.11 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/widgetsnbextension-4.0.11.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd widgetsnbextension-4.0.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.V04xKn + umask 022 + cd /builddir/build/BUILD + cd widgetsnbextension-4.0.11 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling jupyter_packaging~=0.10,<2 from build-system.requires Requirement satisfied: jupyter_packaging~=0.10,<2 (installed: jupyter_packaging 0.12.3) Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.0.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.2) HOOK STDOUT: running egg_info HOOK STDOUT: writing widgetsnbextension.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to widgetsnbextension.egg-info/dependency_links.txt HOOK STDOUT: writing top-level names to widgetsnbextension.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'widgetsnbextension.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'widgetsnbextension.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-widgetsnbextension-4.0.11-1.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-widgetsnbextension.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-193361-12996/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-widgetsnbextension.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.UARHZo + umask 022 + cd /builddir/build/BUILD + cd widgetsnbextension-4.0.11 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv widgetsnbextension-4.0.11.dist-info/ removed 'widgetsnbextension-4.0.11.dist-info/METADATA' removed 'widgetsnbextension-4.0.11.dist-info/top_level.txt' removed 'widgetsnbextension-4.0.11.dist-info/LICENSE' removed directory 'widgetsnbextension-4.0.11.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling jupyter_packaging~=0.10,<2 from build-system.requires Requirement satisfied: jupyter_packaging~=0.10,<2 (installed: jupyter_packaging 0.12.3) Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.0.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.2) HOOK STDOUT: running egg_info HOOK STDOUT: writing widgetsnbextension.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to widgetsnbextension.egg-info/dependency_links.txt HOOK STDOUT: writing top-level names to widgetsnbextension.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'widgetsnbextension.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'widgetsnbextension.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YorGkx + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd widgetsnbextension-4.0.11 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/widgetsnbextension copying widgetsnbextension/_version.py -> build/lib/widgetsnbextension copying widgetsnbextension/__init__.py -> build/lib/widgetsnbextension running egg_info writing widgetsnbextension.egg-info/PKG-INFO writing dependency_links to widgetsnbextension.egg-info/dependency_links.txt writing top-level names to widgetsnbextension.egg-info/top_level.txt reading manifest file 'widgetsnbextension.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'widgetsnbextension.egg-info/SOURCES.txt' /usr/lib/python3.11/site-packages/setuptools/command/build_py.py:201: _Warning: Package 'widgetsnbextension.static' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'widgetsnbextension.static' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'widgetsnbextension.static' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'widgetsnbextension.static' to be distributed and are already explicitly excluding 'widgetsnbextension.static' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) creating build/lib/widgetsnbextension/static copying widgetsnbextension/static/extension.js -> build/lib/widgetsnbextension/static copying widgetsnbextension/static/extension.js.LICENSE.txt -> build/lib/widgetsnbextension/static copying widgetsnbextension/static/extension.js.map -> build/lib/widgetsnbextension/static + mkdir -p /builddir/build/BUILD/widgetsnbextension-4.0.11/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + TMPDIR=/builddir/build/BUILD/widgetsnbextension-4.0.11/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/widgetsnbextension-4.0.11/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Processing /builddir/build/BUILD/widgetsnbextension-4.0.11 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/widgetsnbextension-4.0.11/.pyproject-builddir/pip-modern-metadata-iag7c7xm/widgetsnbextension.egg-info writing /builddir/build/BUILD/widgetsnbextension-4.0.11/.pyproject-builddir/pip-modern-metadata-iag7c7xm/widgetsnbextension.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/widgetsnbextension-4.0.11/.pyproject-builddir/pip-modern-metadata-iag7c7xm/widgetsnbextension.egg-info/dependency_links.txt writing top-level names to /builddir/build/BUILD/widgetsnbextension-4.0.11/.pyproject-builddir/pip-modern-metadata-iag7c7xm/widgetsnbextension.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/widgetsnbextension-4.0.11/.pyproject-builddir/pip-modern-metadata-iag7c7xm/widgetsnbextension.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/widgetsnbextension-4.0.11/.pyproject-builddir/pip-modern-metadata-iag7c7xm/widgetsnbextension.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/widgetsnbextension-4.0.11/.pyproject-builddir/pip-modern-metadata-iag7c7xm/widgetsnbextension.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/widgetsnbextension-4.0.11/.pyproject-builddir/pip-modern-metadata-iag7c7xm/widgetsnbextension-4.0.11.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: widgetsnbextension Building wheel for widgetsnbextension (pyproject.toml): started Running command Building wheel for widgetsnbextension (pyproject.toml) running bdist_wheel running build running build_py running egg_info writing widgetsnbextension.egg-info/PKG-INFO writing dependency_links to widgetsnbextension.egg-info/dependency_links.txt writing top-level names to widgetsnbextension.egg-info/top_level.txt reading manifest file 'widgetsnbextension.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'widgetsnbextension.egg-info/SOURCES.txt' /usr/lib/python3.11/site-packages/setuptools/command/build_py.py:201: _Warning: Package 'widgetsnbextension.static' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'widgetsnbextension.static' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'widgetsnbextension.static' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'widgetsnbextension.static' to be distributed and are already explicitly excluding 'widgetsnbextension.static' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) installing to build/bdist.linux-aarch64/wheel running install running install_lib creating build/bdist.linux-aarch64 creating build/bdist.linux-aarch64/wheel creating build/bdist.linux-aarch64/wheel/widgetsnbextension copying build/lib/widgetsnbextension/_version.py -> build/bdist.linux-aarch64/wheel/widgetsnbextension creating build/bdist.linux-aarch64/wheel/widgetsnbextension/static copying build/lib/widgetsnbextension/static/extension.js.map -> build/bdist.linux-aarch64/wheel/widgetsnbextension/static copying build/lib/widgetsnbextension/static/extension.js -> build/bdist.linux-aarch64/wheel/widgetsnbextension/static copying build/lib/widgetsnbextension/static/extension.js.LICENSE.txt -> build/bdist.linux-aarch64/wheel/widgetsnbextension/static copying build/lib/widgetsnbextension/__init__.py -> build/bdist.linux-aarch64/wheel/widgetsnbextension running install_data creating build/bdist.linux-aarch64/wheel/widgetsnbextension-4.0.11.data creating build/bdist.linux-aarch64/wheel/widgetsnbextension-4.0.11.data/data creating build/bdist.linux-aarch64/wheel/widgetsnbextension-4.0.11.data/data/share creating build/bdist.linux-aarch64/wheel/widgetsnbextension-4.0.11.data/data/share/jupyter creating build/bdist.linux-aarch64/wheel/widgetsnbextension-4.0.11.data/data/share/jupyter/nbextensions creating build/bdist.linux-aarch64/wheel/widgetsnbextension-4.0.11.data/data/share/jupyter/nbextensions/jupyter-js-widgets copying widgetsnbextension/static/extension.js.map -> build/bdist.linux-aarch64/wheel/widgetsnbextension-4.0.11.data/data/share/jupyter/nbextensions/jupyter-js-widgets copying widgetsnbextension/static/extension.js.LICENSE.txt -> build/bdist.linux-aarch64/wheel/widgetsnbextension-4.0.11.data/data/share/jupyter/nbextensions/jupyter-js-widgets copying widgetsnbextension/static/extension.js -> build/bdist.linux-aarch64/wheel/widgetsnbextension-4.0.11.data/data/share/jupyter/nbextensions/jupyter-js-widgets creating build/bdist.linux-aarch64/wheel/widgetsnbextension-4.0.11.data/data/etc creating build/bdist.linux-aarch64/wheel/widgetsnbextension-4.0.11.data/data/etc/jupyter creating build/bdist.linux-aarch64/wheel/widgetsnbextension-4.0.11.data/data/etc/jupyter/nbconfig creating build/bdist.linux-aarch64/wheel/widgetsnbextension-4.0.11.data/data/etc/jupyter/nbconfig/notebook.d copying widgetsnbextension.json -> build/bdist.linux-aarch64/wheel/widgetsnbextension-4.0.11.data/data/etc/jupyter/nbconfig/notebook.d running install_egg_info Copying widgetsnbextension.egg-info to build/bdist.linux-aarch64/wheel/widgetsnbextension-4.0.11-py3.11.egg-info running install_scripts creating build/bdist.linux-aarch64/wheel/widgetsnbextension-4.0.11.dist-info/WHEEL creating '/builddir/build/BUILD/widgetsnbextension-4.0.11/.pyproject-builddir/pip-wheel-vp6nuq46/.tmp-gh7szhc4/widgetsnbextension-4.0.11-py3-none-any.whl' and adding 'build/bdist.linux-aarch64/wheel' to it adding 'widgetsnbextension/__init__.py' adding 'widgetsnbextension/_version.py' adding 'widgetsnbextension/static/extension.js' adding 'widgetsnbextension/static/extension.js.LICENSE.txt' adding 'widgetsnbextension/static/extension.js.map' adding 'widgetsnbextension-4.0.11.data/data/etc/jupyter/nbconfig/notebook.d/widgetsnbextension.json' adding 'widgetsnbextension-4.0.11.data/data/share/jupyter/nbextensions/jupyter-js-widgets/extension.js' adding 'widgetsnbextension-4.0.11.data/data/share/jupyter/nbextensions/jupyter-js-widgets/extension.js.LICENSE.txt' adding 'widgetsnbextension-4.0.11.data/data/share/jupyter/nbextensions/jupyter-js-widgets/extension.js.map' adding 'widgetsnbextension-4.0.11.dist-info/LICENSE' adding 'widgetsnbextension-4.0.11.dist-info/METADATA' adding 'widgetsnbextension-4.0.11.dist-info/WHEEL' adding 'widgetsnbextension-4.0.11.dist-info/top_level.txt' adding 'widgetsnbextension-4.0.11.dist-info/RECORD' removing build/bdist.linux-aarch64/wheel Building wheel for widgetsnbextension (pyproject.toml): finished with status 'done' Created wheel for widgetsnbextension: filename=widgetsnbextension-4.0.11-py3-none-any.whl size=2335052 sha256=8e12f964c3bc9068bb44c69828cd66b61c528c67d4ad77823856fe8e74989966 Stored in directory: /builddir/.cache/pip/wheels/cb/22/01/3d59828f7032d55e9d2fc1123c2dbeac109b6adc770dd75bde Successfully built widgetsnbextension + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.UALfJ0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-widgetsnbextension-4.0.11-1.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-widgetsnbextension-4.0.11-1.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/python-widgetsnbextension-4.0.11-1.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-widgetsnbextension-4.0.11-1.ocs23.noarch + cd widgetsnbextension-4.0.11 ++ ls /builddir/build/BUILD/widgetsnbextension-4.0.11/pyproject-wheeldir/widgetsnbextension-4.0.11-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=widgetsnbextension==4.0.11 + TMPDIR=/builddir/build/BUILD/widgetsnbextension-4.0.11/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-widgetsnbextension-4.0.11-1.ocs23.noarch --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/widgetsnbextension-4.0.11/pyproject-wheeldir widgetsnbextension==4.0.11 Using pip 23.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/widgetsnbextension-4.0.11/pyproject-wheeldir Processing ./pyproject-wheeldir/widgetsnbextension-4.0.11-py3-none-any.whl Installing collected packages: widgetsnbextension Successfully installed widgetsnbextension-4.0.11 + '[' -d /builddir/build/BUILDROOT/python-widgetsnbextension-4.0.11-1.ocs23.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-widgetsnbextension-4.0.11-1.ocs23.noarch/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/python-widgetsnbextension-4.0.11-1.ocs23.noarch/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-widgetsnbextension-4.0.11-1.ocs23.noarch/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-widgetsnbextension-4.0.11-1.ocs23.noarch/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-widgetsnbextension-4.0.11-1.ocs23.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/widgetsnbextension-4.0.11.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-widgetsnbextension-4.0.11-1.ocs23.noarch/usr/lib/python3.11/site-packages/widgetsnbextension-4.0.11.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/OpenCloudOS + /usr/bin/python3 -B /usr/lib/rpm/OpenCloudOS/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-widgetsnbextension-4.0.11-1.ocs23.noarch --record /builddir/build/BUILDROOT/python-widgetsnbextension-4.0.11-1.ocs23.noarch/usr/lib/python3.11/site-packages/widgetsnbextension-4.0.11.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-widgetsnbextension-4.0.11-1.ocs23.noarch/usr/lib/python3.11/site-packages/widgetsnbextension-4.0.11.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-widgetsnbextension-4.0.11-1.ocs23.noarch/usr/lib/python3.11/site-packages/widgetsnbextension-4.0.11.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-widgetsnbextension-4.0.11-1.ocs23.noarch/usr/lib/python3.11/site-packages/widgetsnbextension-4.0.11.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-widgetsnbextension-4.0.11-1.ocs23.noarch/usr/lib/python3.11/site-packages/widgetsnbextension-4.0.11.dist-info/REQUESTED' + /usr/bin/python3 /usr/lib/rpm/OpenCloudOS/pyproject_save_files.py --output-files /builddir/build/BUILD/pyproject-files --output-modules /builddir/build/BUILD/pyproject-modules --buildroot /builddir/build/BUILDROOT/python-widgetsnbextension-4.0.11-1.ocs23.noarch --sitelib /usr/lib/python3.11/site-packages --sitearch /usr/lib64/python3.11/site-packages --python-version 3.11 --pyproject-record /builddir/build/BUILD/pyproject-record --prefix /usr widgetsnbextension + mkdir -p /builddir/build/BUILDROOT/python-widgetsnbextension-4.0.11-1.ocs23.noarch/etc/jupyter/nbconfig/notebook.d/ + mv /builddir/build/BUILDROOT/python-widgetsnbextension-4.0.11-1.ocs23.noarch/usr/etc/jupyter/nbconfig/notebook.d/widgetsnbextension.json /builddir/build/BUILDROOT/python-widgetsnbextension-4.0.11-1.ocs23.noarch/etc/jupyter/nbconfig/notebook.d/widgetsnbextension.json + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 4.0.11-1.ocs23 --unique-debug-suffix -4.0.11-1.ocs23.noarch --unique-debug-src-base python-widgetsnbextension-4.0.11-1.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/widgetsnbextension-4.0.11 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-widgetsnbextension-4.0.11-1.ocs23.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: python3-widgetsnbextension-4.0.11-1.ocs23.noarch Provides: config(python3-widgetsnbextension) = 4.0.11-1.ocs23 python-widgetsnbextension = 4.0.11-1.ocs23 python3-widgetsnbextension = 4.0.11-1.ocs23 python3.11-widgetsnbextension = 4.0.11-1.ocs23 python3.11dist(widgetsnbextension) = 4.0.11 python3dist(widgetsnbextension) = 4.0.11 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.11 Obsoletes: python3.11-widgetsnbextension < 4.0.11-1.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-widgetsnbextension-4.0.11-1.ocs23.noarch Wrote: /builddir/build/SRPMS/python-widgetsnbextension-4.0.11-1.ocs23.src.rpm Wrote: /builddir/build/RPMS/python3-widgetsnbextension-4.0.11-1.ocs23.noarch.rpm Child return code was: 0