Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-jupyter-lsp.spec'], chrootPath='/var/lib/mock/f40-build-2267244-54692/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=864000uid=996gid=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-jupyter-lsp.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 setting SOURCE_DATE_EPOCH=1705536000 Wrote: /builddir/build/SRPMS/python-jupyter-lsp-2.2.2-1.fc40.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-jupyter-lsp.spec'], chrootPath='/var/lib/mock/f40-build-2267244-54692/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=864000uid=996gid=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-jupyter-lsp.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 setting SOURCE_DATE_EPOCH=1705536000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FDfe0z + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jupyter-lsp-2.2.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/jupyter-lsp-2.2.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd jupyter-lsp-2.2.2 + rm -rf /builddir/build/BUILD/jupyter-lsp-2.2.2-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/jupyter-lsp-2.2.2-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i '/--cov /d' setup.cfg + sed -i /--cov-report/d setup.cfg + sed -i /--flake8/d setup.cfg + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.NiTecF + umask 022 + cd /builddir/build/BUILD + cd jupyter-lsp-2.2.2 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/jupyter-lsp-2.2.2/.pyproject-builddir + echo -n + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/jupyter-lsp-2.2.2/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/jupyter-lsp-2.2.2/pyproject-wheeldir --output /builddir/build/BUILD/python-jupyter-lsp-2.2.2-1.fc40.noarch-pyproject-buildrequires 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 + cat /builddir/build/BUILD/python-jupyter-lsp-2.2.2-1.fc40.noarch-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-jupyter-lsp-2.2.2-1.fc40.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-jupyter-lsp.spec'], chrootPath='/var/lib/mock/f40-build-2267244-54692/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=864000uid=996gid=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-jupyter-lsp.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 setting SOURCE_DATE_EPOCH=1705536000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1bqZVy + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jupyter-lsp-2.2.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/jupyter-lsp-2.2.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd jupyter-lsp-2.2.2 + rm -rf /builddir/build/BUILD/jupyter-lsp-2.2.2-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/jupyter-lsp-2.2.2-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i '/--cov /d' setup.cfg + sed -i /--cov-report/d setup.cfg + sed -i /--flake8/d setup.cfg + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.W3AWPD + umask 022 + cd /builddir/build/BUILD + cd jupyter-lsp-2.2.2 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/jupyter-lsp-2.2.2/.pyproject-builddir + echo -n + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/jupyter-lsp-2.2.2/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/jupyter-lsp-2.2.2/pyproject-wheeldir --output /builddir/build/BUILD/python-jupyter-lsp-2.2.2-1.fc40.noarch-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.2.2) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.2) /usr/lib/python3.12/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! parsed = self.parsers.get(option_name, lambda x: x)(value) running egg_info writing jupyter_lsp.egg-info/PKG-INFO writing dependency_links to jupyter_lsp.egg-info/dependency_links.txt writing entry points to jupyter_lsp.egg-info/entry_points.txt writing requirements to jupyter_lsp.egg-info/requires.txt writing top-level names to jupyter_lsp.egg-info/top_level.txt reading manifest file 'jupyter_lsp.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.R' under directory 'jupyter_lsp' adding license file 'LICENSE' writing manifest file 'jupyter_lsp.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) running dist_info writing jupyter_lsp.egg-info/PKG-INFO writing dependency_links to jupyter_lsp.egg-info/dependency_links.txt writing entry points to jupyter_lsp.egg-info/entry_points.txt writing requirements to jupyter_lsp.egg-info/requires.txt writing top-level names to jupyter_lsp.egg-info/top_level.txt reading manifest file 'jupyter_lsp.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.R' under directory 'jupyter_lsp' adding license file 'LICENSE' writing manifest file 'jupyter_lsp.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/jupyter-lsp-2.2.2/jupyter_lsp-2.2.2.dist-info' Handling jupyter-server >=1.1.2 from hook generated metadata: Requires-Dist (jupyter-lsp) Requirement not satisfied: jupyter-server >=1.1.2 Handling importlib-metadata >=4.8.3 ; python_version < "3.10" from hook generated metadata: Requires-Dist (jupyter-lsp) Ignoring alien requirement: importlib-metadata >=4.8.3 ; python_version < "3.10" + cat /builddir/build/BUILD/python-jupyter-lsp-2.2.2-1.fc40.noarch-pyproject-buildrequires + rm -rfv jupyter_lsp-2.2.2.dist-info/ removed 'jupyter_lsp-2.2.2.dist-info/LICENSE' removed 'jupyter_lsp-2.2.2.dist-info/entry_points.txt' removed 'jupyter_lsp-2.2.2.dist-info/top_level.txt' removed 'jupyter_lsp-2.2.2.dist-info/METADATA' removed directory 'jupyter_lsp-2.2.2.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-jupyter-lsp-2.2.2-1.fc40.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-jupyter-lsp.spec'], chrootPath='/var/lib/mock/f40-build-2267244-54692/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=864000uid=996gid=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-jupyter-lsp.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 setting SOURCE_DATE_EPOCH=1705536000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0P5dSr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jupyter-lsp-2.2.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/jupyter-lsp-2.2.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd jupyter-lsp-2.2.2 + rm -rf /builddir/build/BUILD/jupyter-lsp-2.2.2-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/jupyter-lsp-2.2.2-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i '/--cov /d' setup.cfg + sed -i /--cov-report/d setup.cfg + sed -i /--flake8/d setup.cfg + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.YMRaQm + umask 022 + cd /builddir/build/BUILD + cd jupyter-lsp-2.2.2 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/jupyter-lsp-2.2.2/.pyproject-builddir + echo -n + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/jupyter-lsp-2.2.2/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/jupyter-lsp-2.2.2/pyproject-wheeldir --output /builddir/build/BUILD/python-jupyter-lsp-2.2.2-1.fc40.noarch-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.2.2) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.2) /usr/lib/python3.12/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! parsed = self.parsers.get(option_name, lambda x: x)(value) running egg_info writing jupyter_lsp.egg-info/PKG-INFO writing dependency_links to jupyter_lsp.egg-info/dependency_links.txt writing entry points to jupyter_lsp.egg-info/entry_points.txt writing requirements to jupyter_lsp.egg-info/requires.txt writing top-level names to jupyter_lsp.egg-info/top_level.txt reading manifest file 'jupyter_lsp.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.R' under directory 'jupyter_lsp' adding license file 'LICENSE' writing manifest file 'jupyter_lsp.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) running dist_info writing jupyter_lsp.egg-info/PKG-INFO writing dependency_links to jupyter_lsp.egg-info/dependency_links.txt writing entry points to jupyter_lsp.egg-info/entry_points.txt writing requirements to jupyter_lsp.egg-info/requires.txt writing top-level names to jupyter_lsp.egg-info/top_level.txt reading manifest file 'jupyter_lsp.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.R' under directory 'jupyter_lsp' adding license file 'LICENSE' writing manifest file 'jupyter_lsp.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/jupyter-lsp-2.2.2/jupyter_lsp-2.2.2.dist-info' Handling jupyter-server >=1.1.2 from hook generated metadata: Requires-Dist (jupyter-lsp) Requirement satisfied: jupyter-server >=1.1.2 (installed: jupyter-server 2.7.2) Handling importlib-metadata >=4.8.3 ; python_version < "3.10" from hook generated metadata: Requires-Dist (jupyter-lsp) Ignoring alien requirement: importlib-metadata >=4.8.3 ; python_version < "3.10" + cat /builddir/build/BUILD/python-jupyter-lsp-2.2.2-1.fc40.noarch-pyproject-buildrequires + rm -rfv jupyter_lsp-2.2.2.dist-info/ removed 'jupyter_lsp-2.2.2.dist-info/LICENSE' removed 'jupyter_lsp-2.2.2.dist-info/entry_points.txt' removed 'jupyter_lsp-2.2.2.dist-info/top_level.txt' removed 'jupyter_lsp-2.2.2.dist-info/METADATA' removed directory 'jupyter_lsp-2.2.2.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-jupyter-lsp-2.2.2-1.fc40.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-jupyter-lsp.spec'], chrootPath='/var/lib/mock/f40-build-2267244-54692/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=864000uid=996gid=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-jupyter-lsp.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 setting SOURCE_DATE_EPOCH=1705536000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.U8lUsD + umask 022 + cd /builddir/build/BUILD + cd jupyter-lsp-2.2.2 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/jupyter-lsp-2.2.2/.pyproject-builddir + echo -n + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/jupyter-lsp-2.2.2/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/jupyter-lsp-2.2.2/pyproject-wheeldir --output /builddir/build/BUILD/python-jupyter-lsp-2.2.2-1.fc40.noarch-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.2.2) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.2) /usr/lib/python3.12/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! parsed = self.parsers.get(option_name, lambda x: x)(value) running egg_info writing jupyter_lsp.egg-info/PKG-INFO writing dependency_links to jupyter_lsp.egg-info/dependency_links.txt writing entry points to jupyter_lsp.egg-info/entry_points.txt writing requirements to jupyter_lsp.egg-info/requires.txt writing top-level names to jupyter_lsp.egg-info/top_level.txt reading manifest file 'jupyter_lsp.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.R' under directory 'jupyter_lsp' adding license file 'LICENSE' writing manifest file 'jupyter_lsp.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) running dist_info writing jupyter_lsp.egg-info/PKG-INFO writing dependency_links to jupyter_lsp.egg-info/dependency_links.txt writing entry points to jupyter_lsp.egg-info/entry_points.txt writing requirements to jupyter_lsp.egg-info/requires.txt writing top-level names to jupyter_lsp.egg-info/top_level.txt reading manifest file 'jupyter_lsp.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.R' under directory 'jupyter_lsp' adding license file 'LICENSE' writing manifest file 'jupyter_lsp.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/jupyter-lsp-2.2.2/jupyter_lsp-2.2.2.dist-info' Handling jupyter-server >=1.1.2 from hook generated metadata: Requires-Dist (jupyter-lsp) Requirement satisfied: jupyter-server >=1.1.2 (installed: jupyter-server 2.7.2) Handling importlib-metadata >=4.8.3 ; python_version < "3.10" from hook generated metadata: Requires-Dist (jupyter-lsp) Ignoring alien requirement: importlib-metadata >=4.8.3 ; python_version < "3.10" + cat /builddir/build/BUILD/python-jupyter-lsp-2.2.2-1.fc40.noarch-pyproject-buildrequires + rm -rfv jupyter_lsp-2.2.2.dist-info/ removed 'jupyter_lsp-2.2.2.dist-info/LICENSE' removed 'jupyter_lsp-2.2.2.dist-info/entry_points.txt' removed 'jupyter_lsp-2.2.2.dist-info/top_level.txt' removed 'jupyter_lsp-2.2.2.dist-info/METADATA' removed directory 'jupyter_lsp-2.2.2.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wrvvp2 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 jupyter-lsp-2.2.2 + mkdir -p /builddir/build/BUILD/jupyter-lsp-2.2.2/.pyproject-builddir + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/jupyter-lsp-2.2.2/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/jupyter-lsp-2.2.2/pyproject-wheeldir Processing /builddir/build/BUILD/jupyter-lsp-2.2.2 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.12/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! parsed = self.parsers.get(option_name, lambda x: x)(value) running dist_info creating /builddir/build/BUILD/jupyter-lsp-2.2.2/.pyproject-builddir/pip-modern-metadata-ssw3w7xa/jupyter_lsp.egg-info writing /builddir/build/BUILD/jupyter-lsp-2.2.2/.pyproject-builddir/pip-modern-metadata-ssw3w7xa/jupyter_lsp.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/jupyter-lsp-2.2.2/.pyproject-builddir/pip-modern-metadata-ssw3w7xa/jupyter_lsp.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/jupyter-lsp-2.2.2/.pyproject-builddir/pip-modern-metadata-ssw3w7xa/jupyter_lsp.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/jupyter-lsp-2.2.2/.pyproject-builddir/pip-modern-metadata-ssw3w7xa/jupyter_lsp.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/jupyter-lsp-2.2.2/.pyproject-builddir/pip-modern-metadata-ssw3w7xa/jupyter_lsp.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/jupyter-lsp-2.2.2/.pyproject-builddir/pip-modern-metadata-ssw3w7xa/jupyter_lsp.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/jupyter-lsp-2.2.2/.pyproject-builddir/pip-modern-metadata-ssw3w7xa/jupyter_lsp.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.R' under directory 'jupyter_lsp' adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/jupyter-lsp-2.2.2/.pyproject-builddir/pip-modern-metadata-ssw3w7xa/jupyter_lsp.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/jupyter-lsp-2.2.2/.pyproject-builddir/pip-modern-metadata-ssw3w7xa/jupyter_lsp-2.2.2.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: jupyter-lsp Building wheel for jupyter-lsp (pyproject.toml): started Running command Building wheel for jupyter-lsp (pyproject.toml) /usr/lib/python3.12/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! parsed = self.parsers.get(option_name, lambda x: x)(value) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/jupyter_lsp copying jupyter_lsp/trait_types.py -> build/lib/jupyter_lsp copying jupyter_lsp/handlers.py -> build/lib/jupyter_lsp copying jupyter_lsp/paths.py -> build/lib/jupyter_lsp copying jupyter_lsp/serverextension.py -> build/lib/jupyter_lsp copying jupyter_lsp/virtual_documents_shadow.py -> build/lib/jupyter_lsp copying jupyter_lsp/_version.py -> build/lib/jupyter_lsp copying jupyter_lsp/types.py -> build/lib/jupyter_lsp copying jupyter_lsp/constants.py -> build/lib/jupyter_lsp copying jupyter_lsp/session.py -> build/lib/jupyter_lsp copying jupyter_lsp/stdio.py -> build/lib/jupyter_lsp copying jupyter_lsp/manager.py -> build/lib/jupyter_lsp copying jupyter_lsp/__init__.py -> build/lib/jupyter_lsp copying jupyter_lsp/non_blocking.py -> build/lib/jupyter_lsp creating build/lib/jupyter_lsp/tests copying jupyter_lsp/tests/test_stdio.py -> build/lib/jupyter_lsp/tests copying jupyter_lsp/tests/test_paths.py -> build/lib/jupyter_lsp/tests copying jupyter_lsp/tests/test_auth.py -> build/lib/jupyter_lsp/tests copying jupyter_lsp/tests/test_bad_spec.py -> build/lib/jupyter_lsp/tests copying jupyter_lsp/tests/test_listener.py -> build/lib/jupyter_lsp/tests copying jupyter_lsp/tests/test_virtual_documents_shadow.py -> build/lib/jupyter_lsp/tests copying jupyter_lsp/tests/test_conf_d.py -> build/lib/jupyter_lsp/tests copying jupyter_lsp/tests/test_session.py -> build/lib/jupyter_lsp/tests copying jupyter_lsp/tests/test_extension.py -> build/lib/jupyter_lsp/tests copying jupyter_lsp/tests/test_detect.py -> build/lib/jupyter_lsp/tests copying jupyter_lsp/tests/conftest.py -> build/lib/jupyter_lsp/tests copying jupyter_lsp/tests/__init__.py -> build/lib/jupyter_lsp/tests copying jupyter_lsp/tests/listener.py -> build/lib/jupyter_lsp/tests creating build/lib/jupyter_lsp/specs copying jupyter_lsp/specs/vscode_css_languageserver.py -> build/lib/jupyter_lsp/specs copying jupyter_lsp/specs/dockerfile_language_server_nodejs.py -> build/lib/jupyter_lsp/specs copying jupyter_lsp/specs/texlab.py -> build/lib/jupyter_lsp/specs copying jupyter_lsp/specs/python_lsp_server.py -> build/lib/jupyter_lsp/specs copying jupyter_lsp/specs/pyls.py -> build/lib/jupyter_lsp/specs copying jupyter_lsp/specs/julia_language_server.py -> build/lib/jupyter_lsp/specs copying jupyter_lsp/specs/jedi_language_server.py -> build/lib/jupyter_lsp/specs copying jupyter_lsp/specs/unified_language_server.py -> build/lib/jupyter_lsp/specs copying jupyter_lsp/specs/pyright.py -> build/lib/jupyter_lsp/specs copying jupyter_lsp/specs/vscode_html_languageserver.py -> build/lib/jupyter_lsp/specs copying jupyter_lsp/specs/vscode_json_languageserver.py -> build/lib/jupyter_lsp/specs copying jupyter_lsp/specs/sql_language_server.py -> build/lib/jupyter_lsp/specs copying jupyter_lsp/specs/bash_language_server.py -> build/lib/jupyter_lsp/specs copying jupyter_lsp/specs/javascript_typescript_langserver.py -> build/lib/jupyter_lsp/specs copying jupyter_lsp/specs/r_languageserver.py -> build/lib/jupyter_lsp/specs copying jupyter_lsp/specs/yaml_language_server.py -> build/lib/jupyter_lsp/specs copying jupyter_lsp/specs/__init__.py -> build/lib/jupyter_lsp/specs copying jupyter_lsp/specs/typescript_language_server.py -> build/lib/jupyter_lsp/specs copying jupyter_lsp/specs/utils.py -> build/lib/jupyter_lsp/specs creating build/lib/jupyter_lsp/schema copying jupyter_lsp/schema/__init__.py -> build/lib/jupyter_lsp/schema creating build/lib/jupyter_lsp/specs/config copying jupyter_lsp/specs/config/__init__.py -> build/lib/jupyter_lsp/specs/config running egg_info writing jupyter_lsp.egg-info/PKG-INFO writing dependency_links to jupyter_lsp.egg-info/dependency_links.txt writing entry points to jupyter_lsp.egg-info/entry_points.txt writing requirements to jupyter_lsp.egg-info/requires.txt writing top-level names to jupyter_lsp.egg-info/top_level.txt reading manifest file 'jupyter_lsp.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.R' under directory 'jupyter_lsp' adding license file 'LICENSE' writing manifest file 'jupyter_lsp.egg-info/SOURCES.txt' /usr/lib/python3.12/site-packages/setuptools/command/build_py.py:204: _Warning: Package 'jupyter_lsp.etc' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'jupyter_lsp.etc' 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 'jupyter_lsp.etc' 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 'jupyter_lsp.etc' to be distributed and are already explicitly excluding 'jupyter_lsp.etc' 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/jupyter_lsp/etc copying jupyter_lsp/etc/jupyter-lsp-jupyter-server.json -> build/lib/jupyter_lsp/etc copying jupyter_lsp/etc/jupyter-lsp-notebook.json -> build/lib/jupyter_lsp/etc copying jupyter_lsp/schema/schema.json -> build/lib/jupyter_lsp/schema copying jupyter_lsp/specs/config/bash-language-server.schema.json -> build/lib/jupyter_lsp/specs/config copying jupyter_lsp/specs/config/dockerfile-language-server-nodejs.schema.json -> build/lib/jupyter_lsp/specs/config copying jupyter_lsp/specs/config/julia-language-server.schema.json -> build/lib/jupyter_lsp/specs/config copying jupyter_lsp/specs/config/pyls.schema.json -> build/lib/jupyter_lsp/specs/config copying jupyter_lsp/specs/config/pylsp.schema.json -> build/lib/jupyter_lsp/specs/config copying jupyter_lsp/specs/config/pyright.schema.json -> build/lib/jupyter_lsp/specs/config copying jupyter_lsp/specs/config/r-languageserver.schema.json -> build/lib/jupyter_lsp/specs/config copying jupyter_lsp/specs/config/sql-language-server.schema.json -> build/lib/jupyter_lsp/specs/config copying jupyter_lsp/specs/config/texlab.schema.json -> build/lib/jupyter_lsp/specs/config copying jupyter_lsp/specs/config/typescript-language-server.schema.json -> build/lib/jupyter_lsp/specs/config copying jupyter_lsp/specs/config/yaml-language-server.schema.json -> build/lib/jupyter_lsp/specs/config installing to build/bdist.linux-riscv64/wheel running install running install_lib creating build/bdist.linux-riscv64 creating build/bdist.linux-riscv64/wheel creating build/bdist.linux-riscv64/wheel/jupyter_lsp copying build/lib/jupyter_lsp/trait_types.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp copying build/lib/jupyter_lsp/handlers.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp copying build/lib/jupyter_lsp/paths.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp copying build/lib/jupyter_lsp/serverextension.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp copying build/lib/jupyter_lsp/virtual_documents_shadow.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp copying build/lib/jupyter_lsp/_version.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp creating build/bdist.linux-riscv64/wheel/jupyter_lsp/etc copying build/lib/jupyter_lsp/etc/jupyter-lsp-jupyter-server.json -> build/bdist.linux-riscv64/wheel/jupyter_lsp/etc copying build/lib/jupyter_lsp/etc/jupyter-lsp-notebook.json -> build/bdist.linux-riscv64/wheel/jupyter_lsp/etc copying build/lib/jupyter_lsp/types.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp creating build/bdist.linux-riscv64/wheel/jupyter_lsp/tests copying build/lib/jupyter_lsp/tests/test_stdio.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/tests copying build/lib/jupyter_lsp/tests/test_paths.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/tests copying build/lib/jupyter_lsp/tests/test_auth.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/tests copying build/lib/jupyter_lsp/tests/test_bad_spec.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/tests copying build/lib/jupyter_lsp/tests/test_listener.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/tests copying build/lib/jupyter_lsp/tests/test_virtual_documents_shadow.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/tests copying build/lib/jupyter_lsp/tests/test_conf_d.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/tests copying build/lib/jupyter_lsp/tests/test_session.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/tests copying build/lib/jupyter_lsp/tests/test_extension.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/tests copying build/lib/jupyter_lsp/tests/test_detect.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/tests copying build/lib/jupyter_lsp/tests/conftest.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/tests copying build/lib/jupyter_lsp/tests/__init__.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/tests copying build/lib/jupyter_lsp/tests/listener.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/tests copying build/lib/jupyter_lsp/constants.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp copying build/lib/jupyter_lsp/session.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp copying build/lib/jupyter_lsp/stdio.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp copying build/lib/jupyter_lsp/manager.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp copying build/lib/jupyter_lsp/__init__.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp copying build/lib/jupyter_lsp/non_blocking.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp creating build/bdist.linux-riscv64/wheel/jupyter_lsp/specs copying build/lib/jupyter_lsp/specs/vscode_css_languageserver.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/specs copying build/lib/jupyter_lsp/specs/dockerfile_language_server_nodejs.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/specs copying build/lib/jupyter_lsp/specs/texlab.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/specs copying build/lib/jupyter_lsp/specs/python_lsp_server.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/specs copying build/lib/jupyter_lsp/specs/pyls.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/specs copying build/lib/jupyter_lsp/specs/julia_language_server.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/specs creating build/bdist.linux-riscv64/wheel/jupyter_lsp/specs/config copying build/lib/jupyter_lsp/specs/config/typescript-language-server.schema.json -> build/bdist.linux-riscv64/wheel/jupyter_lsp/specs/config copying build/lib/jupyter_lsp/specs/config/r-languageserver.schema.json -> build/bdist.linux-riscv64/wheel/jupyter_lsp/specs/config copying build/lib/jupyter_lsp/specs/config/pyls.schema.json -> build/bdist.linux-riscv64/wheel/jupyter_lsp/specs/config copying build/lib/jupyter_lsp/specs/config/yaml-language-server.schema.json -> build/bdist.linux-riscv64/wheel/jupyter_lsp/specs/config copying build/lib/jupyter_lsp/specs/config/sql-language-server.schema.json -> build/bdist.linux-riscv64/wheel/jupyter_lsp/specs/config copying build/lib/jupyter_lsp/specs/config/bash-language-server.schema.json -> build/bdist.linux-riscv64/wheel/jupyter_lsp/specs/config copying build/lib/jupyter_lsp/specs/config/julia-language-server.schema.json -> build/bdist.linux-riscv64/wheel/jupyter_lsp/specs/config copying build/lib/jupyter_lsp/specs/config/__init__.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/specs/config copying build/lib/jupyter_lsp/specs/config/pyright.schema.json -> build/bdist.linux-riscv64/wheel/jupyter_lsp/specs/config copying build/lib/jupyter_lsp/specs/config/dockerfile-language-server-nodejs.schema.json -> build/bdist.linux-riscv64/wheel/jupyter_lsp/specs/config copying build/lib/jupyter_lsp/specs/config/texlab.schema.json -> build/bdist.linux-riscv64/wheel/jupyter_lsp/specs/config copying build/lib/jupyter_lsp/specs/config/pylsp.schema.json -> build/bdist.linux-riscv64/wheel/jupyter_lsp/specs/config copying build/lib/jupyter_lsp/specs/jedi_language_server.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/specs copying build/lib/jupyter_lsp/specs/unified_language_server.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/specs copying build/lib/jupyter_lsp/specs/pyright.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/specs copying build/lib/jupyter_lsp/specs/vscode_html_languageserver.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/specs copying build/lib/jupyter_lsp/specs/vscode_json_languageserver.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/specs copying build/lib/jupyter_lsp/specs/sql_language_server.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/specs copying build/lib/jupyter_lsp/specs/bash_language_server.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/specs copying build/lib/jupyter_lsp/specs/javascript_typescript_langserver.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/specs copying build/lib/jupyter_lsp/specs/r_languageserver.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/specs copying build/lib/jupyter_lsp/specs/yaml_language_server.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/specs copying build/lib/jupyter_lsp/specs/__init__.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/specs copying build/lib/jupyter_lsp/specs/typescript_language_server.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/specs copying build/lib/jupyter_lsp/specs/utils.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/specs creating build/bdist.linux-riscv64/wheel/jupyter_lsp/schema copying build/lib/jupyter_lsp/schema/schema.json -> build/bdist.linux-riscv64/wheel/jupyter_lsp/schema copying build/lib/jupyter_lsp/schema/__init__.py -> build/bdist.linux-riscv64/wheel/jupyter_lsp/schema running install_data creating build/bdist.linux-riscv64/wheel/jupyter_lsp-2.2.2.data creating build/bdist.linux-riscv64/wheel/jupyter_lsp-2.2.2.data/data creating build/bdist.linux-riscv64/wheel/jupyter_lsp-2.2.2.data/data/etc creating build/bdist.linux-riscv64/wheel/jupyter_lsp-2.2.2.data/data/etc/jupyter creating build/bdist.linux-riscv64/wheel/jupyter_lsp-2.2.2.data/data/etc/jupyter/jupyter_server_config.d copying jupyter_lsp/etc/jupyter-lsp-jupyter-server.json -> build/bdist.linux-riscv64/wheel/jupyter_lsp-2.2.2.data/data/etc/jupyter/jupyter_server_config.d creating build/bdist.linux-riscv64/wheel/jupyter_lsp-2.2.2.data/data/etc/jupyter/jupyter_notebook_config.d copying jupyter_lsp/etc/jupyter-lsp-notebook.json -> build/bdist.linux-riscv64/wheel/jupyter_lsp-2.2.2.data/data/etc/jupyter/jupyter_notebook_config.d running install_egg_info Copying jupyter_lsp.egg-info to build/bdist.linux-riscv64/wheel/jupyter_lsp-2.2.2-py3.12.egg-info running install_scripts creating build/bdist.linux-riscv64/wheel/jupyter_lsp-2.2.2.dist-info/WHEEL creating '/builddir/build/BUILD/jupyter-lsp-2.2.2/.pyproject-builddir/pip-wheel-_qq1e11j/.tmp-mc6jelx9/jupyter_lsp-2.2.2-py3-none-any.whl' and adding 'build/bdist.linux-riscv64/wheel' to it adding 'jupyter_lsp/__init__.py' adding 'jupyter_lsp/_version.py' adding 'jupyter_lsp/constants.py' adding 'jupyter_lsp/handlers.py' adding 'jupyter_lsp/manager.py' adding 'jupyter_lsp/non_blocking.py' adding 'jupyter_lsp/paths.py' adding 'jupyter_lsp/serverextension.py' adding 'jupyter_lsp/session.py' adding 'jupyter_lsp/stdio.py' adding 'jupyter_lsp/trait_types.py' adding 'jupyter_lsp/types.py' adding 'jupyter_lsp/virtual_documents_shadow.py' adding 'jupyter_lsp/etc/jupyter-lsp-jupyter-server.json' adding 'jupyter_lsp/etc/jupyter-lsp-notebook.json' adding 'jupyter_lsp/schema/__init__.py' adding 'jupyter_lsp/schema/schema.json' adding 'jupyter_lsp/specs/__init__.py' adding 'jupyter_lsp/specs/bash_language_server.py' adding 'jupyter_lsp/specs/dockerfile_language_server_nodejs.py' adding 'jupyter_lsp/specs/javascript_typescript_langserver.py' adding 'jupyter_lsp/specs/jedi_language_server.py' adding 'jupyter_lsp/specs/julia_language_server.py' adding 'jupyter_lsp/specs/pyls.py' adding 'jupyter_lsp/specs/pyright.py' adding 'jupyter_lsp/specs/python_lsp_server.py' adding 'jupyter_lsp/specs/r_languageserver.py' adding 'jupyter_lsp/specs/sql_language_server.py' adding 'jupyter_lsp/specs/texlab.py' adding 'jupyter_lsp/specs/typescript_language_server.py' adding 'jupyter_lsp/specs/unified_language_server.py' adding 'jupyter_lsp/specs/utils.py' adding 'jupyter_lsp/specs/vscode_css_languageserver.py' adding 'jupyter_lsp/specs/vscode_html_languageserver.py' adding 'jupyter_lsp/specs/vscode_json_languageserver.py' adding 'jupyter_lsp/specs/yaml_language_server.py' adding 'jupyter_lsp/specs/config/__init__.py' adding 'jupyter_lsp/specs/config/bash-language-server.schema.json' adding 'jupyter_lsp/specs/config/dockerfile-language-server-nodejs.schema.json' adding 'jupyter_lsp/specs/config/julia-language-server.schema.json' adding 'jupyter_lsp/specs/config/pyls.schema.json' adding 'jupyter_lsp/specs/config/pylsp.schema.json' adding 'jupyter_lsp/specs/config/pyright.schema.json' adding 'jupyter_lsp/specs/config/r-languageserver.schema.json' adding 'jupyter_lsp/specs/config/sql-language-server.schema.json' adding 'jupyter_lsp/specs/config/texlab.schema.json' adding 'jupyter_lsp/specs/config/typescript-language-server.schema.json' adding 'jupyter_lsp/specs/config/yaml-language-server.schema.json' adding 'jupyter_lsp/tests/__init__.py' adding 'jupyter_lsp/tests/conftest.py' adding 'jupyter_lsp/tests/listener.py' adding 'jupyter_lsp/tests/test_auth.py' adding 'jupyter_lsp/tests/test_bad_spec.py' adding 'jupyter_lsp/tests/test_conf_d.py' adding 'jupyter_lsp/tests/test_detect.py' adding 'jupyter_lsp/tests/test_extension.py' adding 'jupyter_lsp/tests/test_listener.py' adding 'jupyter_lsp/tests/test_paths.py' adding 'jupyter_lsp/tests/test_session.py' adding 'jupyter_lsp/tests/test_stdio.py' adding 'jupyter_lsp/tests/test_virtual_documents_shadow.py' adding 'jupyter_lsp-2.2.2.data/data/etc/jupyter/jupyter_notebook_config.d/jupyter-lsp-notebook.json' adding 'jupyter_lsp-2.2.2.data/data/etc/jupyter/jupyter_server_config.d/jupyter-lsp-jupyter-server.json' adding 'jupyter_lsp-2.2.2.dist-info/LICENSE' adding 'jupyter_lsp-2.2.2.dist-info/METADATA' adding 'jupyter_lsp-2.2.2.dist-info/WHEEL' adding 'jupyter_lsp-2.2.2.dist-info/entry_points.txt' adding 'jupyter_lsp-2.2.2.dist-info/top_level.txt' adding 'jupyter_lsp-2.2.2.dist-info/RECORD' removing build/bdist.linux-riscv64/wheel Building wheel for jupyter-lsp (pyproject.toml): finished with status 'done' Created wheel for jupyter-lsp: filename=jupyter_lsp-2.2.2-py3-none-any.whl size=68494 sha256=b8b066d12575e789686c095d9a404af976ad15c63472ffc5a37676689bfaec4c Stored in directory: /builddir/.cache/pip/wheels/6d/16/e7/98fd78412f61fdd5d07835c5323f9838e425be5a5700e8d6e8 Successfully built jupyter-lsp + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.iW837J + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-jupyter-lsp-2.2.2-1.fc40.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-jupyter-lsp-2.2.2-1.fc40.noarch ++ dirname /builddir/build/BUILDROOT/python-jupyter-lsp-2.2.2-1.fc40.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-jupyter-lsp-2.2.2-1.fc40.noarch + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 jupyter-lsp-2.2.2 ++ xargs basename --multiple ++ ls /builddir/build/BUILD/jupyter-lsp-2.2.2/pyproject-wheeldir/jupyter_lsp-2.2.2-py3-none-any.whl ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=jupyter_lsp==2.2.2 + '[' -z jupyter_lsp==2.2.2 ']' + TMPDIR=/builddir/build/BUILD/jupyter-lsp-2.2.2/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-jupyter-lsp-2.2.2-1.fc40.noarch --prefix /usr --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/jupyter-lsp-2.2.2/pyproject-wheeldir jupyter_lsp==2.2.2 Using pip 23.3.1 from /usr/lib/python3.12/site-packages/pip (python 3.12) Looking in links: /builddir/build/BUILD/jupyter-lsp-2.2.2/pyproject-wheeldir Processing ./pyproject-wheeldir/jupyter_lsp-2.2.2-py3-none-any.whl Installing collected packages: jupyter_lsp Successfully installed jupyter_lsp-2.2.2 + '[' -d /builddir/build/BUILDROOT/python-jupyter-lsp-2.2.2-1.fc40.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/python-jupyter-lsp-2.2.2-1.fc40.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-jupyter-lsp-2.2.2-1.fc40.noarch/usr/lib/python3.12/site-packages ']' + site_dirs+=("/usr/lib/python3.12/site-packages") + '[' /builddir/build/BUILDROOT/python-jupyter-lsp-2.2.2-1.fc40.noarch/usr/lib64/python3.12/site-packages '!=' /builddir/build/BUILDROOT/python-jupyter-lsp-2.2.2-1.fc40.noarch/usr/lib/python3.12/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-jupyter-lsp-2.2.2-1.fc40.noarch/usr/lib64/python3.12/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-jupyter-lsp-2.2.2-1.fc40.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.12/site-packages/jupyter_lsp-2.2.2.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-jupyter-lsp-2.2.2-1.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_lsp-2.2.2.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-jupyter-lsp-2.2.2-1.fc40.noarch --record /builddir/build/BUILDROOT/python-jupyter-lsp-2.2.2-1.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_lsp-2.2.2.dist-info/RECORD --output /builddir/build/BUILD/python-jupyter-lsp-2.2.2-1.fc40.noarch-pyproject-record + rm -fv /builddir/build/BUILDROOT/python-jupyter-lsp-2.2.2-1.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_lsp-2.2.2.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-jupyter-lsp-2.2.2-1.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_lsp-2.2.2.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-jupyter-lsp-2.2.2-1.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_lsp-2.2.2.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-jupyter-lsp-2.2.2-1.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_lsp-2.2.2.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-jupyter-lsp-2.2.2-1.fc40.noarch-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_PERCENTAGES_COUNT=2 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/python-jupyter-lsp-2.2.2-1.fc40.noarch-pyproject-files --output-modules /builddir/build/BUILD/python-jupyter-lsp-2.2.2-1.fc40.noarch-pyproject-modules --buildroot /builddir/build/BUILDROOT/python-jupyter-lsp-2.2.2-1.fc40.noarch --sitelib /usr/lib/python3.12/site-packages --sitearch /usr/lib64/python3.12/site-packages --python-version 3.12 --pyproject-record /builddir/build/BUILD/python-jupyter-lsp-2.2.2-1.fc40.noarch-pyproject-record --prefix /usr jupyter_lsp + install -m 0755 -p -d /builddir/build/BUILDROOT/python-jupyter-lsp-2.2.2-1.fc40.noarch/etc/jupyter/jupyter_notebook_config.d + install -m 0755 -p -d /builddir/build/BUILDROOT/python-jupyter-lsp-2.2.2-1.fc40.noarch/etc/jupyter/jupyter_server_config.d + mv -v /builddir/build/BUILDROOT/python-jupyter-lsp-2.2.2-1.fc40.noarch/usr/etc/jupyter/jupyter_notebook_config.d/jupyter-lsp-notebook.json /builddir/build/BUILDROOT/python-jupyter-lsp-2.2.2-1.fc40.noarch/etc/jupyter/jupyter_notebook_config.d/jupyter-lsp-notebook.json renamed '/builddir/build/BUILDROOT/python-jupyter-lsp-2.2.2-1.fc40.noarch/usr/etc/jupyter/jupyter_notebook_config.d/jupyter-lsp-notebook.json' -> '/builddir/build/BUILDROOT/python-jupyter-lsp-2.2.2-1.fc40.noarch/etc/jupyter/jupyter_notebook_config.d/jupyter-lsp-notebook.json' + mv -v /builddir/build/BUILDROOT/python-jupyter-lsp-2.2.2-1.fc40.noarch/usr/etc/jupyter/jupyter_server_config.d/jupyter-lsp-jupyter-server.json /builddir/build/BUILDROOT/python-jupyter-lsp-2.2.2-1.fc40.noarch/etc/jupyter/jupyter_server_config.d/jupyter-lsp-jupyter-server.json renamed '/builddir/build/BUILDROOT/python-jupyter-lsp-2.2.2-1.fc40.noarch/usr/etc/jupyter/jupyter_server_config.d/jupyter-lsp-jupyter-server.json' -> '/builddir/build/BUILDROOT/python-jupyter-lsp-2.2.2-1.fc40.noarch/etc/jupyter/jupyter_server_config.d/jupyter-lsp-jupyter-server.json' + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 2.2.2-1.fc40 --unique-debug-suffix -2.2.2-1.fc40.noarch --unique-debug-src-base python-jupyter-lsp-2.2.2-1.fc40.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/jupyter-lsp-2.2.2 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find: ‘debug’: No such file or directory find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 Bytecompiling .py files below /builddir/build/BUILDROOT/python-jupyter-lsp-2.2.2-1.fc40.noarch/usr/lib/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.DtZnxE + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 jupyter-lsp-2.2.2 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILDROOT/python-jupyter-lsp-2.2.2-1.fc40.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-jupyter-lsp-2.2.2-1.fc40.noarch/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-jupyter-lsp-2.2.2-1.fc40.noarch/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/jupyter-lsp-2.2.2/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=8 + /usr/bin/pytest -k 'not test_r_package_detection' ============================= test session starts ============================== platform linux -- Python 3.12.0, pytest-7.3.2, pluggy-1.3.0 rootdir: /builddir/build/BUILD/jupyter-lsp-2.2.2 configfile: setup.cfg plugins: anyio-3.7.0 collected 94 items / 1 deselected / 93 selected jupyter_lsp/tests/test_auth.py FF......... [ 11%] jupyter_lsp/tests/test_bad_spec.py ..... [ 17%] jupyter_lsp/tests/test_conf_d.py ... [ 20%] jupyter_lsp/tests/test_detect.py ... [ 23%] jupyter_lsp/tests/test_extension.py ..... [ 29%] jupyter_lsp/tests/test_listener.py ssssssssssss [ 41%] jupyter_lsp/tests/test_paths.py .............sss.sss...ss [ 68%] jupyter_lsp/tests/test_session.py ssssssssssss [ 81%] jupyter_lsp/tests/test_stdio.py sssss [ 87%] jupyter_lsp/tests/test_virtual_documents_shadow.py sss.ssssssss [100%] =================================== FAILURES =================================== _________________________ test_auth_rest[/lsp/status] __________________________ self = http_class = req = , http_conn_args = {} host = '127.0.0.1:53555' h = headers = {'Connection': 'close', 'Host': '127.0.0.1:53555', 'User-Agent': 'Python-urllib/3.12'} def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. http_class must implement the HTTPConnection API from http.client. """ host = req.host if not host: raise URLError('no host given') # will parse host:port h = http_class(host, timeout=req.timeout, **http_conn_args) h.set_debuglevel(self._debuglevel) headers = dict(req.unredirected_hdrs) headers.update({k: v for k, v in req.headers.items() if k not in headers}) # TODO(jhylton): Should this be redesigned to handle # persistent connections? # We want to make an HTTP/1.1 request, but the addinfourl # class isn't prepared to deal with a persistent connection. # It will try to read all remaining data from the socket, # which will block while the server waits for the next request. # So make sure the connection gets closed after the (only) # request. headers["Connection"] = "close" headers = {name.title(): val for name, val in headers.items()} if req._tunnel_host: tunnel_headers = {} proxy_auth_hdr = "Proxy-Authorization" if proxy_auth_hdr in headers: tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr] # Proxy-Authorization should not be sent to origin # server. del headers[proxy_auth_hdr] h.set_tunnel(req._tunnel_host, headers=tunnel_headers) try: try: > h.request(req.get_method(), req.selector, req.data, headers, encode_chunked=req.has_header('Transfer-encoding')) /usr/lib64/python3.12/urllib/request.py:1344: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , method = 'GET' url = '/lsp/status', body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:53555', 'User-Agent': 'Python-urllib/3.12'} def request(self, method, url, body=None, headers={}, *, encode_chunked=False): """Send a complete request to the server.""" > self._send_request(method, url, body, headers, encode_chunked) /usr/lib64/python3.12/http/client.py:1319: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , method = 'GET' url = '/lsp/status', body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:53555', 'User-Agent': 'Python-urllib/3.12'} encode_chunked = False def _send_request(self, method, url, body, headers, encode_chunked): # Honor explicitly requested Host: and Accept-Encoding: headers. header_names = frozenset(k.lower() for k in headers) skips = {} if 'host' in header_names: skips['skip_host'] = 1 if 'accept-encoding' in header_names: skips['skip_accept_encoding'] = 1 self.putrequest(method, url, **skips) # chunked encoding will happen if HTTP/1.1 is used and either # the caller passes encode_chunked=True or the following # conditions hold: # 1. content-length has not been explicitly set # 2. the body is a file or iterable, but not a str or bytes-like # 3. Transfer-Encoding has NOT been explicitly set by the caller if 'content-length' not in header_names: # only chunk body if not explicitly set for backwards # compatibility, assuming the client code is already handling the # chunking if 'transfer-encoding' not in header_names: # if content-length cannot be automatically determined, fall # back to chunked encoding encode_chunked = False content_length = self._get_content_length(body, method) if content_length is None: if body is not None: if self.debuglevel > 0: print('Unable to determine size of %r' % body) encode_chunked = True self.putheader('Transfer-Encoding', 'chunked') else: self.putheader('Content-Length', str(content_length)) else: encode_chunked = False for hdr, value in headers.items(): self.putheader(hdr, value) if isinstance(body, str): # RFC 2616 Section 3.7.1 says that text default has a # default charset of iso-8859-1. body = _encode(body, 'body') > self.endheaders(body, encode_chunked=encode_chunked) /usr/lib64/python3.12/http/client.py:1365: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = message_body = None def endheaders(self, message_body=None, *, encode_chunked=False): """Indicate that the last header line has been sent to the server. This method sends the request to the server. The optional message_body argument can be used to pass a message body associated with the request. """ if self.__state == _CS_REQ_STARTED: self.__state = _CS_REQ_SENT else: raise CannotSendHeader() > self._send_output(message_body, encode_chunked=encode_chunked) /usr/lib64/python3.12/http/client.py:1314: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = message_body = None, encode_chunked = False def _send_output(self, message_body=None, encode_chunked=False): """Send the currently buffered request and clear the buffer. Appends an extra \\r\\n to the buffer. A message_body may be specified, to be appended to the request. """ self._buffer.extend((b"", b"")) msg = b"\r\n".join(self._buffer) del self._buffer[:] > self.send(msg) /usr/lib64/python3.12/http/client.py:1074: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = data = b'GET /lsp/status HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: 127.0.0.1:53555\r\nUser-Agent: Python-urllib/3.12\r\nConnection: close\r\n\r\n' def send(self, data): """Send `data' to the server. ``data`` can be a string object, a bytes object, an array object, a file-like object that supports a .read() method, or an iterable object. """ if self.sock is None: if self.auto_open: > self.connect() /usr/lib64/python3.12/http/client.py:1018: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def connect(self): """Connect to the host and port specified in __init__.""" sys.audit("http.client.connect", self, self.host, self.port) > self.sock = self._create_connection( (self.host,self.port), self.timeout, self.source_address) /usr/lib64/python3.12/http/client.py:984: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ address = ('127.0.0.1', 53555), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, source_address=None, *, all_errors=False): """Connect to *address* and return the socket object. Convenience function. Connect to *address* (a 2-tuple ``(host, port)``) and return the socket object. Passing the optional *timeout* parameter will set the timeout on the socket instance before attempting to connect. If no *timeout* is supplied, the global default timeout setting returned by :func:`getdefaulttimeout` is used. If *source_address* is set it must be a tuple of (host, port) for the socket to bind as a source address before making the connection. A host of '' or port 0 tells the OS to use the default. When a connection cannot be created, raises the last error if *all_errors* is False, and an ExceptionGroup of all errors if *all_errors* is True. """ host, port = address exceptions = [] for res in getaddrinfo(host, port, 0, SOCK_STREAM): af, socktype, proto, canonname, sa = res sock = None try: sock = socket(af, socktype, proto) if timeout is not _GLOBAL_DEFAULT_TIMEOUT: sock.settimeout(timeout) if source_address: sock.bind(source_address) sock.connect(sa) # Break explicitly a reference cycle exceptions.clear() return sock except error as exc: if not all_errors: exceptions.clear() # raise only the last error exceptions.append(exc) if sock is not None: sock.close() if len(exceptions): try: if not all_errors: > raise exceptions[0] /usr/lib64/python3.12/socket.py:852: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ address = ('127.0.0.1', 53555), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, source_address=None, *, all_errors=False): """Connect to *address* and return the socket object. Convenience function. Connect to *address* (a 2-tuple ``(host, port)``) and return the socket object. Passing the optional *timeout* parameter will set the timeout on the socket instance before attempting to connect. If no *timeout* is supplied, the global default timeout setting returned by :func:`getdefaulttimeout` is used. If *source_address* is set it must be a tuple of (host, port) for the socket to bind as a source address before making the connection. A host of '' or port 0 tells the OS to use the default. When a connection cannot be created, raises the last error if *all_errors* is False, and an ExceptionGroup of all errors if *all_errors* is True. """ host, port = address exceptions = [] for res in getaddrinfo(host, port, 0, SOCK_STREAM): af, socktype, proto, canonname, sa = res sock = None try: sock = socket(af, socktype, proto) if timeout is not _GLOBAL_DEFAULT_TIMEOUT: sock.settimeout(timeout) if source_address: sock.bind(source_address) > sock.connect(sa) E ConnectionRefusedError: [Errno 111] Connection refused /usr/lib64/python3.12/socket.py:837: ConnectionRefusedError During handling of the above exception, another exception occurred: route = '/lsp/status' a_server_url_and_token = ('http://127.0.0.1:53555', 'f7d9ee44-167e-4122-b2d5-fb4fbe684ee3') @pytest.mark.parametrize("route", REST_ROUTES) def test_auth_rest(route: str, a_server_url_and_token: Tuple[str, str]) -> None: """Verify a REST route only provides access to an authenticated user.""" base_url, token = a_server_url_and_token > verify_response(base_url, route) jupyter_lsp/tests/test_auth.py:26: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jupyter_lsp/tests/test_auth.py:111: in verify_response with urlopen(url) as res: /usr/lib64/python3.12/urllib/request.py:215: in urlopen return opener.open(url, data, timeout) /usr/lib64/python3.12/urllib/request.py:515: in open response = self._open(req, data) /usr/lib64/python3.12/urllib/request.py:532: in _open result = self._call_chain(self.handle_open, protocol, protocol + /usr/lib64/python3.12/urllib/request.py:492: in _call_chain result = func(*args) /usr/lib64/python3.12/urllib/request.py:1373: in http_open return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = http_class = req = , http_conn_args = {} host = '127.0.0.1:53555' h = headers = {'Connection': 'close', 'Host': '127.0.0.1:53555', 'User-Agent': 'Python-urllib/3.12'} def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. http_class must implement the HTTPConnection API from http.client. """ host = req.host if not host: raise URLError('no host given') # will parse host:port h = http_class(host, timeout=req.timeout, **http_conn_args) h.set_debuglevel(self._debuglevel) headers = dict(req.unredirected_hdrs) headers.update({k: v for k, v in req.headers.items() if k not in headers}) # TODO(jhylton): Should this be redesigned to handle # persistent connections? # We want to make an HTTP/1.1 request, but the addinfourl # class isn't prepared to deal with a persistent connection. # It will try to read all remaining data from the socket, # which will block while the server waits for the next request. # So make sure the connection gets closed after the (only) # request. headers["Connection"] = "close" headers = {name.title(): val for name, val in headers.items()} if req._tunnel_host: tunnel_headers = {} proxy_auth_hdr = "Proxy-Authorization" if proxy_auth_hdr in headers: tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr] # Proxy-Authorization should not be sent to origin # server. del headers[proxy_auth_hdr] h.set_tunnel(req._tunnel_host, headers=tunnel_headers) try: try: h.request(req.get_method(), req.selector, req.data, headers, encode_chunked=req.has_header('Transfer-encoding')) except OSError as err: # timeout error > raise URLError(err) E urllib.error.URLError: /usr/lib64/python3.12/urllib/request.py:1347: URLError ---------------------------- Captured stdout setup ----------------------------- [20 / 20] ... [19 / 20] ... [18 / 20] ... [17 / 20] ... [16 / 20] ... [15 / 20] ... [14 / 20] ... [13 / 20] ... [12 / 20] ... [11 / 20] ... [10 / 20] ... [9 / 20] ... [8 / 20] ... [7 / 20] ... [6 / 20] ... [5 / 20] ... [4 / 20] ... [3 / 20] ... [2 / 20] ... [1 / 20] ... ______________ test_auth_websocket[/lsp/ws/bash-language-server] _______________ self = http_class = req = , http_conn_args = {} host = '127.0.0.1:53555' h = headers = {'Connection': 'close', 'Host': '127.0.0.1:53555', 'User-Agent': 'Python-urllib/3.12'} def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. http_class must implement the HTTPConnection API from http.client. """ host = req.host if not host: raise URLError('no host given') # will parse host:port h = http_class(host, timeout=req.timeout, **http_conn_args) h.set_debuglevel(self._debuglevel) headers = dict(req.unredirected_hdrs) headers.update({k: v for k, v in req.headers.items() if k not in headers}) # TODO(jhylton): Should this be redesigned to handle # persistent connections? # We want to make an HTTP/1.1 request, but the addinfourl # class isn't prepared to deal with a persistent connection. # It will try to read all remaining data from the socket, # which will block while the server waits for the next request. # So make sure the connection gets closed after the (only) # request. headers["Connection"] = "close" headers = {name.title(): val for name, val in headers.items()} if req._tunnel_host: tunnel_headers = {} proxy_auth_hdr = "Proxy-Authorization" if proxy_auth_hdr in headers: tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr] # Proxy-Authorization should not be sent to origin # server. del headers[proxy_auth_hdr] h.set_tunnel(req._tunnel_host, headers=tunnel_headers) try: try: > h.request(req.get_method(), req.selector, req.data, headers, encode_chunked=req.has_header('Transfer-encoding')) /usr/lib64/python3.12/urllib/request.py:1344: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , method = 'GET' url = '/lsp/ws/bash-language-server', body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:53555', 'User-Agent': 'Python-urllib/3.12'} def request(self, method, url, body=None, headers={}, *, encode_chunked=False): """Send a complete request to the server.""" > self._send_request(method, url, body, headers, encode_chunked) /usr/lib64/python3.12/http/client.py:1319: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , method = 'GET' url = '/lsp/ws/bash-language-server', body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:53555', 'User-Agent': 'Python-urllib/3.12'} encode_chunked = False def _send_request(self, method, url, body, headers, encode_chunked): # Honor explicitly requested Host: and Accept-Encoding: headers. header_names = frozenset(k.lower() for k in headers) skips = {} if 'host' in header_names: skips['skip_host'] = 1 if 'accept-encoding' in header_names: skips['skip_accept_encoding'] = 1 self.putrequest(method, url, **skips) # chunked encoding will happen if HTTP/1.1 is used and either # the caller passes encode_chunked=True or the following # conditions hold: # 1. content-length has not been explicitly set # 2. the body is a file or iterable, but not a str or bytes-like # 3. Transfer-Encoding has NOT been explicitly set by the caller if 'content-length' not in header_names: # only chunk body if not explicitly set for backwards # compatibility, assuming the client code is already handling the # chunking if 'transfer-encoding' not in header_names: # if content-length cannot be automatically determined, fall # back to chunked encoding encode_chunked = False content_length = self._get_content_length(body, method) if content_length is None: if body is not None: if self.debuglevel > 0: print('Unable to determine size of %r' % body) encode_chunked = True self.putheader('Transfer-Encoding', 'chunked') else: self.putheader('Content-Length', str(content_length)) else: encode_chunked = False for hdr, value in headers.items(): self.putheader(hdr, value) if isinstance(body, str): # RFC 2616 Section 3.7.1 says that text default has a # default charset of iso-8859-1. body = _encode(body, 'body') > self.endheaders(body, encode_chunked=encode_chunked) /usr/lib64/python3.12/http/client.py:1365: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = message_body = None def endheaders(self, message_body=None, *, encode_chunked=False): """Indicate that the last header line has been sent to the server. This method sends the request to the server. The optional message_body argument can be used to pass a message body associated with the request. """ if self.__state == _CS_REQ_STARTED: self.__state = _CS_REQ_SENT else: raise CannotSendHeader() > self._send_output(message_body, encode_chunked=encode_chunked) /usr/lib64/python3.12/http/client.py:1314: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = message_body = None, encode_chunked = False def _send_output(self, message_body=None, encode_chunked=False): """Send the currently buffered request and clear the buffer. Appends an extra \\r\\n to the buffer. A message_body may be specified, to be appended to the request. """ self._buffer.extend((b"", b"")) msg = b"\r\n".join(self._buffer) del self._buffer[:] > self.send(msg) /usr/lib64/python3.12/http/client.py:1074: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = data = b'GET /lsp/ws/bash-language-server HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: 127.0.0.1:53555\r\nUser-Agent: Python-urllib/3.12\r\nConnection: close\r\n\r\n' def send(self, data): """Send `data' to the server. ``data`` can be a string object, a bytes object, an array object, a file-like object that supports a .read() method, or an iterable object. """ if self.sock is None: if self.auto_open: > self.connect() /usr/lib64/python3.12/http/client.py:1018: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def connect(self): """Connect to the host and port specified in __init__.""" sys.audit("http.client.connect", self, self.host, self.port) > self.sock = self._create_connection( (self.host,self.port), self.timeout, self.source_address) /usr/lib64/python3.12/http/client.py:984: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ address = ('127.0.0.1', 53555), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, source_address=None, *, all_errors=False): """Connect to *address* and return the socket object. Convenience function. Connect to *address* (a 2-tuple ``(host, port)``) and return the socket object. Passing the optional *timeout* parameter will set the timeout on the socket instance before attempting to connect. If no *timeout* is supplied, the global default timeout setting returned by :func:`getdefaulttimeout` is used. If *source_address* is set it must be a tuple of (host, port) for the socket to bind as a source address before making the connection. A host of '' or port 0 tells the OS to use the default. When a connection cannot be created, raises the last error if *all_errors* is False, and an ExceptionGroup of all errors if *all_errors* is True. """ host, port = address exceptions = [] for res in getaddrinfo(host, port, 0, SOCK_STREAM): af, socktype, proto, canonname, sa = res sock = None try: sock = socket(af, socktype, proto) if timeout is not _GLOBAL_DEFAULT_TIMEOUT: sock.settimeout(timeout) if source_address: sock.bind(source_address) sock.connect(sa) # Break explicitly a reference cycle exceptions.clear() return sock except error as exc: if not all_errors: exceptions.clear() # raise only the last error exceptions.append(exc) if sock is not None: sock.close() if len(exceptions): try: if not all_errors: > raise exceptions[0] /usr/lib64/python3.12/socket.py:852: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ address = ('127.0.0.1', 53555), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, source_address=None, *, all_errors=False): """Connect to *address* and return the socket object. Convenience function. Connect to *address* (a 2-tuple ``(host, port)``) and return the socket object. Passing the optional *timeout* parameter will set the timeout on the socket instance before attempting to connect. If no *timeout* is supplied, the global default timeout setting returned by :func:`getdefaulttimeout` is used. If *source_address* is set it must be a tuple of (host, port) for the socket to bind as a source address before making the connection. A host of '' or port 0 tells the OS to use the default. When a connection cannot be created, raises the last error if *all_errors* is False, and an ExceptionGroup of all errors if *all_errors* is True. """ host, port = address exceptions = [] for res in getaddrinfo(host, port, 0, SOCK_STREAM): af, socktype, proto, canonname, sa = res sock = None try: sock = socket(af, socktype, proto) if timeout is not _GLOBAL_DEFAULT_TIMEOUT: sock.settimeout(timeout) if source_address: sock.bind(source_address) > sock.connect(sa) E ConnectionRefusedError: [Errno 111] Connection refused /usr/lib64/python3.12/socket.py:837: ConnectionRefusedError During handling of the above exception, another exception occurred: route = '/lsp/ws/bash-language-server' a_server_url_and_token = ('http://127.0.0.1:53555', 'f7d9ee44-167e-4122-b2d5-fb4fbe684ee3') @pytest.mark.parametrize("route", WS_ROUTES) def test_auth_websocket(route: str, a_server_url_and_token: Tuple[str, str]) -> None: """Verify a WebSocket does not provide access to an unauthenticated user.""" > verify_response(a_server_url_and_token[0], route) jupyter_lsp/tests/test_auth.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jupyter_lsp/tests/test_auth.py:111: in verify_response with urlopen(url) as res: /usr/lib64/python3.12/urllib/request.py:215: in urlopen return opener.open(url, data, timeout) /usr/lib64/python3.12/urllib/request.py:515: in open response = self._open(req, data) /usr/lib64/python3.12/urllib/request.py:532: in _open result = self._call_chain(self.handle_open, protocol, protocol + /usr/lib64/python3.12/urllib/request.py:492: in _call_chain result = func(*args) /usr/lib64/python3.12/urllib/request.py:1373: in http_open return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = http_class = req = , http_conn_args = {} host = '127.0.0.1:53555' h = headers = {'Connection': 'close', 'Host': '127.0.0.1:53555', 'User-Agent': 'Python-urllib/3.12'} def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. http_class must implement the HTTPConnection API from http.client. """ host = req.host if not host: raise URLError('no host given') # will parse host:port h = http_class(host, timeout=req.timeout, **http_conn_args) h.set_debuglevel(self._debuglevel) headers = dict(req.unredirected_hdrs) headers.update({k: v for k, v in req.headers.items() if k not in headers}) # TODO(jhylton): Should this be redesigned to handle # persistent connections? # We want to make an HTTP/1.1 request, but the addinfourl # class isn't prepared to deal with a persistent connection. # It will try to read all remaining data from the socket, # which will block while the server waits for the next request. # So make sure the connection gets closed after the (only) # request. headers["Connection"] = "close" headers = {name.title(): val for name, val in headers.items()} if req._tunnel_host: tunnel_headers = {} proxy_auth_hdr = "Proxy-Authorization" if proxy_auth_hdr in headers: tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr] # Proxy-Authorization should not be sent to origin # server. del headers[proxy_auth_hdr] h.set_tunnel(req._tunnel_host, headers=tunnel_headers) try: try: h.request(req.get_method(), req.selector, req.data, headers, encode_chunked=req.has_header('Transfer-encoding')) except OSError as err: # timeout error > raise URLError(err) E urllib.error.URLError: /usr/lib64/python3.12/urllib/request.py:1347: URLError --------------------------- Captured stderr teardown --------------------------- [W 2024-01-20 06:06:34.618 ServerApp] ServerApp.token config is deprecated in 2.0. Use IdentityProvider.token. [I 2024-01-20 06:06:37.391 ServerApp] Package jupyter_lsp took 1.5832s to import [I 2024-01-20 06:06:37.897 ServerApp] Package jupyter_server_terminals took 0.4924s to import [I 2024-01-20 06:06:37.905 ServerApp] jupyter_lsp | extension was successfully linked. [I 2024-01-20 06:06:38.415 ServerApp] jupyter_server_terminals | extension was successfully linked. [I 2024-01-20 06:06:39.620 ServerApp] Writing Jupyter server cookie secret to /tmp/pytest-of-mockbuild/pytest-0/home0/.local/share/jupyter/runtime/jupyter_cookie_secret [I 2024-01-20 06:06:41.468 ServerApp] jupyter_lsp | extension was successfully loaded. [I 2024-01-20 06:06:41.747 ServerApp] jupyter_server_terminals | extension was successfully loaded. [I 2024-01-20 06:06:41.776 ServerApp] Serving notebooks from local directory: /tmp/pytest-of-mockbuild/pytest-0/root_dir0 [I 2024-01-20 06:06:41.778 ServerApp] Jupyter Server 2.7.2 is running at: [I 2024-01-20 06:06:41.780 ServerApp] http://localhost:53555/?token=... [I 2024-01-20 06:06:41.781 ServerApp] http://127.0.0.1:53555/?token=... [I 2024-01-20 06:06:41.783 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [I 2024-01-20 06:06:45.074 ServerApp] Skipped non-installed server(s): bash-language-server, dockerfile-language-server-nodejs, javascript-typescript-langserver, jedi-language-server, julia-language-server, pyright, python-language-server, python-lsp-server, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server =========================== short test summary info ============================ FAILED jupyter_lsp/tests/test_auth.py::test_auth_rest[/lsp/status] - urllib.e... FAILED jupyter_lsp/tests/test_auth.py::test_auth_websocket[/lsp/ws/bash-language-server] ====== 2 failed, 43 passed, 48 skipped, 1 deselected in 187.55s (0:03:07) ====== RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.DtZnxE (%check) Bad exit status from /var/tmp/rpm-tmp.DtZnxE (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-jupyter-lsp.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-jupyter-lsp.spec