>>> py3-scikit-build: Building testing/py3-scikit-build 0.15.0-r2 (using abuild 3.10.0_rc1-r2) started Wed, 23 Nov 2022 23:36:35 +0000 >>> py3-scikit-build: Checking sanity of /home/buildozer/aports/testing/py3-scikit-build/APKBUILD... >>> py3-scikit-build: Analyzing dependencies... >>> py3-scikit-build: Installing for build: build-base py3-distro py3-packaging py3-setuptools py3-wheel python3 py3-gpep517 py3-setuptools_scm cmake cython gfortran py3-mock py3-path py3-pytest py3-pytest-cov py3-requests py3-six python3-dev (1/42) Installing libbz2 (1.0.8-r4) (2/42) Installing libffi (3.4.4-r0) (3/42) Installing gdbm (1.23-r0) (4/42) Installing xz-libs (5.2.8-r0) (5/42) Installing mpdecimal (2.5.1-r1) (6/42) Installing readline (8.2.0-r0) (7/42) Installing sqlite-libs (3.40.0-r0) (8/42) Installing python3 (3.11.0-r2) (9/42) Installing py3-distro (1.8.0-r1) (10/42) Installing py3-parsing (3.0.9-r1) (11/42) Installing py3-packaging (21.3-r3) (12/42) Installing py3-setuptools (65.6.2-r0) (13/42) Installing py3-wheel (0.38.4-r1) (14/42) Installing py3-installer (0.5.1-r2) (15/42) Installing py3-gpep517 (11-r1) (16/42) Installing py3-typing-extensions (4.4.0-r1) (17/42) Installing py3-setuptools_scm (7.0.5-r3) (18/42) Installing libarchive (3.6.1-r1) (19/42) Installing rhash-libs (1.4.3-r1) (20/42) Installing libuv (1.44.2-r0) (21/42) Installing cmake (3.25.0-r0) (22/42) Installing cython (0.29.32-r1) (23/42) Installing libgfortran (12.2.1_git20220924-r4) (24/42) Installing gfortran (12.2.1_git20220924-r4) (25/42) Installing py3-pbr (5.11.0-r1) (26/42) Installing py3-mock (4.0.3-r4) (27/42) Installing py3-path (16.5.0-r1) (28/42) Installing py3-attrs (22.1.0-r1) (29/42) Installing py3-iniconfig (1.1.1-r4) (30/42) Installing py3-pluggy (1.0.0-r2) (31/42) Installing py3-py (1.11.0-r1) (32/42) Installing py3-pytest (7.2.0-r2) (33/42) Installing py3-coverage (6.5.0-r1) (34/42) Installing py3-pytest-cov (4.0.0-r1) (35/42) Installing py3-certifi (2022.9.24-r1) (36/42) Installing py3-charset-normalizer (3.0.1-r1) (37/42) Installing py3-idna (3.4-r3) (38/42) Installing py3-urllib3 (1.26.12-r1) (39/42) Installing py3-requests (2.28.1-r2) (40/42) Installing py3-six (1.16.0-r4) (41/42) Installing python3-dev (3.11.0-r2) (42/42) Installing .makedepends-py3-scikit-build (20221123.233637) Executing busybox-1.35.0-r29.trigger OK: 567 MiB in 138 packages >>> py3-scikit-build: Cleaning up srcdir >>> py3-scikit-build: Cleaning up pkgdir >>> py3-scikit-build: Fetching https://distfiles.alpinelinux.org/distfiles/edge/scikit-build-0.15.0.tar.gz >>> py3-scikit-build: Fetching https://distfiles.alpinelinux.org/distfiles/edge/scikit-build-0.15.0.tar.gz >>> py3-scikit-build: Checking sha512sums... scikit-build-0.15.0.tar.gz: OK 0001-fix-tests.patch: OK >>> py3-scikit-build: Unpacking /var/cache/distfiles/edge/scikit-build-0.15.0.tar.gz... >>> py3-scikit-build: 0001-fix-tests.patch patching file tests/__init__.py patching file tests/samples/cython-flags/setup.cfg patching file tests/samples/hello-cpp/setup.cfg patching file tests/samples/issue-274-support-default-package-dir/setup.cfg patching file tests/samples/issue-274-support-one-package-without-package-dir/setup.cfg patching file tests/samples/issue-334-configure-cmakelist-non-cp1252-encoding/setup.cfg patching file tests/test_hello_cpp.py patching file tests/test_setup.py 2022-11-23 23:36:41,024 gpep517 INFO Building wheel via backend setuptools.build_meta 2022-11-23 23:36:41,142 root INFO running bdist_wheel 2022-11-23 23:36:41,253 root INFO running build 2022-11-23 23:36:41,253 root INFO running build_py 2022-11-23 23:36:41,257 root INFO creating build 2022-11-23 23:36:41,257 root INFO creating build/lib 2022-11-23 23:36:41,257 root INFO creating build/lib/skbuild 2022-11-23 23:36:41,258 root INFO copying skbuild/constants.py -> build/lib/skbuild 2022-11-23 23:36:41,258 root INFO copying skbuild/setuptools_wrap.py -> build/lib/skbuild 2022-11-23 23:36:41,259 root INFO copying skbuild/compat.py -> build/lib/skbuild 2022-11-23 23:36:41,259 root INFO copying skbuild/__init__.py -> build/lib/skbuild 2022-11-23 23:36:41,259 root INFO copying skbuild/exceptions.py -> build/lib/skbuild 2022-11-23 23:36:41,259 root INFO copying skbuild/cmaker.py -> build/lib/skbuild 2022-11-23 23:36:41,260 root INFO copying skbuild/_version.py -> build/lib/skbuild 2022-11-23 23:36:41,260 root INFO creating build/lib/skbuild/utils 2022-11-23 23:36:41,260 root INFO copying skbuild/utils/__init__.py -> build/lib/skbuild/utils 2022-11-23 23:36:41,261 root INFO creating build/lib/skbuild/command 2022-11-23 23:36:41,261 root INFO copying skbuild/command/build.py -> build/lib/skbuild/command 2022-11-23 23:36:41,262 root INFO copying skbuild/command/bdist_wheel.py -> build/lib/skbuild/command 2022-11-23 23:36:41,262 root INFO copying skbuild/command/test.py -> build/lib/skbuild/command 2022-11-23 23:36:41,262 root INFO copying skbuild/command/clean.py -> build/lib/skbuild/command 2022-11-23 23:36:41,262 root INFO copying skbuild/command/install_lib.py -> build/lib/skbuild/command 2022-11-23 23:36:41,262 root INFO copying skbuild/command/bdist.py -> build/lib/skbuild/command 2022-11-23 23:36:41,263 root INFO copying skbuild/command/install_scripts.py -> build/lib/skbuild/command 2022-11-23 23:36:41,263 root INFO copying skbuild/command/sdist.py -> build/lib/skbuild/command 2022-11-23 23:36:41,263 root INFO copying skbuild/command/build_ext.py -> build/lib/skbuild/command 2022-11-23 23:36:41,263 root INFO copying skbuild/command/__init__.py -> build/lib/skbuild/command 2022-11-23 23:36:41,263 root INFO copying skbuild/command/install.py -> build/lib/skbuild/command 2022-11-23 23:36:41,263 root INFO copying skbuild/command/generate_source_manifest.py -> build/lib/skbuild/command 2022-11-23 23:36:41,264 root INFO copying skbuild/command/egg_info.py -> build/lib/skbuild/command 2022-11-23 23:36:41,264 root INFO copying skbuild/command/build_py.py -> build/lib/skbuild/command 2022-11-23 23:36:41,264 root INFO creating build/lib/skbuild/platform_specifics 2022-11-23 23:36:41,265 root INFO copying skbuild/platform_specifics/linux.py -> build/lib/skbuild/platform_specifics 2022-11-23 23:36:41,265 root INFO copying skbuild/platform_specifics/unix.py -> build/lib/skbuild/platform_specifics 2022-11-23 23:36:41,265 root INFO copying skbuild/platform_specifics/cygwin.py -> build/lib/skbuild/platform_specifics 2022-11-23 23:36:41,265 root INFO copying skbuild/platform_specifics/osx.py -> build/lib/skbuild/platform_specifics 2022-11-23 23:36:41,265 root INFO copying skbuild/platform_specifics/bsd.py -> build/lib/skbuild/platform_specifics 2022-11-23 23:36:41,266 root INFO copying skbuild/platform_specifics/windows.py -> build/lib/skbuild/platform_specifics 2022-11-23 23:36:41,266 root INFO copying skbuild/platform_specifics/__init__.py -> build/lib/skbuild/platform_specifics 2022-11-23 23:36:41,266 root INFO copying skbuild/platform_specifics/abstract.py -> build/lib/skbuild/platform_specifics 2022-11-23 23:36:41,267 root INFO copying skbuild/platform_specifics/platform_factory.py -> build/lib/skbuild/platform_specifics 2022-11-23 23:36:41,267 root INFO running egg_info 2022-11-23 23:36:41,283 root INFO creating scikit_build.egg-info 2022-11-23 23:36:41,285 root INFO writing scikit_build.egg-info/PKG-INFO 2022-11-23 23:36:41,286 root INFO writing dependency_links to scikit_build.egg-info/dependency_links.txt 2022-11-23 23:36:41,286 root INFO writing requirements to scikit_build.egg-info/requires.txt 2022-11-23 23:36:41,286 root INFO writing top-level names to scikit_build.egg-info/top_level.txt 2022-11-23 23:36:41,288 root INFO writing manifest file 'scikit_build.egg-info/SOURCES.txt' 2022-11-23 23:36:45,467 root INFO reading manifest file 'scikit_build.egg-info/SOURCES.txt' 2022-11-23 23:36:45,467 root INFO reading manifest template 'MANIFEST.in' 2022-11-23 23:36:45,506 root WARNING warning: no previously-included files matching '__pycache__' found under directory '*' 2022-11-23 23:36:45,507 root WARNING warning: no previously-included files matching '*.py[co]' found under directory '*' 2022-11-23 23:36:45,507 root WARNING warning: no previously-included files matching '_skbuild' found under directory '*' 2022-11-23 23:36:45,507 root WARNING warning: no previously-included files matching '*venv*' found under directory '*' 2022-11-23 23:36:45,508 root INFO adding license file 'LICENSE' 2022-11-23 23:36:45,508 root INFO adding license file 'AUTHORS.rst' 2022-11-23 23:36:45,510 root INFO writing manifest file 'scikit_build.egg-info/SOURCES.txt' /usr/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'skbuild.resources.cmake' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'skbuild.resources.cmake' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'skbuild.resources.cmake' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'skbuild.resources.cmake' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) 2022-11-23 23:36:45,514 root INFO creating build/lib/skbuild/resources 2022-11-23 23:36:45,514 root INFO creating build/lib/skbuild/resources/cmake 2022-11-23 23:36:45,514 root INFO copying skbuild/resources/cmake/FindCython.cmake -> build/lib/skbuild/resources/cmake 2022-11-23 23:36:45,514 root INFO copying skbuild/resources/cmake/FindF2PY.cmake -> build/lib/skbuild/resources/cmake 2022-11-23 23:36:45,515 root INFO copying skbuild/resources/cmake/FindNumPy.cmake -> build/lib/skbuild/resources/cmake 2022-11-23 23:36:45,515 root INFO copying skbuild/resources/cmake/FindPythonExtensions.cmake -> build/lib/skbuild/resources/cmake 2022-11-23 23:36:45,516 root INFO copying skbuild/resources/cmake/UseCython.cmake -> build/lib/skbuild/resources/cmake 2022-11-23 23:36:45,516 root INFO copying skbuild/resources/cmake/UseF2PY.cmake -> build/lib/skbuild/resources/cmake 2022-11-23 23:36:45,516 root INFO copying skbuild/resources/cmake/UsePythonExtensions.cmake -> build/lib/skbuild/resources/cmake 2022-11-23 23:36:45,517 root INFO copying skbuild/resources/cmake/targetLinkLibrariesWithDynamicLookup.cmake -> build/lib/skbuild/resources/cmake 2022-11-23 23:36:45,517 root INFO copying skbuild/platform_specifics/README.rst -> build/lib/skbuild/platform_specifics 2022-11-23 23:36:45,524 wheel INFO installing to build/bdist.linux-armv8l/wheel 2022-11-23 23:36:45,524 root INFO running install 2022-11-23 23:36:45,532 root INFO running install_lib 2022-11-23 23:36:45,535 root INFO creating build/bdist.linux-armv8l 2022-11-23 23:36:45,535 root INFO creating build/bdist.linux-armv8l/wheel 2022-11-23 23:36:45,536 root INFO creating build/bdist.linux-armv8l/wheel/skbuild 2022-11-23 23:36:45,536 root INFO copying build/lib/skbuild/constants.py -> build/bdist.linux-armv8l/wheel/skbuild 2022-11-23 23:36:45,536 root INFO copying build/lib/skbuild/setuptools_wrap.py -> build/bdist.linux-armv8l/wheel/skbuild 2022-11-23 23:36:45,537 root INFO copying build/lib/skbuild/compat.py -> build/bdist.linux-armv8l/wheel/skbuild 2022-11-23 23:36:45,537 root INFO creating build/bdist.linux-armv8l/wheel/skbuild/utils 2022-11-23 23:36:45,537 root INFO copying build/lib/skbuild/utils/__init__.py -> build/bdist.linux-armv8l/wheel/skbuild/utils 2022-11-23 23:36:45,538 root INFO copying build/lib/skbuild/__init__.py -> build/bdist.linux-armv8l/wheel/skbuild 2022-11-23 23:36:45,538 root INFO creating build/bdist.linux-armv8l/wheel/skbuild/resources 2022-11-23 23:36:45,538 root INFO creating build/bdist.linux-armv8l/wheel/skbuild/resources/cmake 2022-11-23 23:36:45,539 root INFO copying build/lib/skbuild/resources/cmake/UseCython.cmake -> build/bdist.linux-armv8l/wheel/skbuild/resources/cmake 2022-11-23 23:36:45,539 root INFO copying build/lib/skbuild/resources/cmake/FindCython.cmake -> build/bdist.linux-armv8l/wheel/skbuild/resources/cmake 2022-11-23 23:36:45,539 root INFO copying build/lib/skbuild/resources/cmake/FindPythonExtensions.cmake -> build/bdist.linux-armv8l/wheel/skbuild/resources/cmake 2022-11-23 23:36:45,540 root INFO copying build/lib/skbuild/resources/cmake/targetLinkLibrariesWithDynamicLookup.cmake -> build/bdist.linux-armv8l/wheel/skbuild/resources/cmake 2022-11-23 23:36:45,540 root INFO copying build/lib/skbuild/resources/cmake/FindNumPy.cmake -> build/bdist.linux-armv8l/wheel/skbuild/resources/cmake 2022-11-23 23:36:45,541 root INFO copying build/lib/skbuild/resources/cmake/FindF2PY.cmake -> build/bdist.linux-armv8l/wheel/skbuild/resources/cmake 2022-11-23 23:36:45,541 root INFO copying build/lib/skbuild/resources/cmake/UseF2PY.cmake -> build/bdist.linux-armv8l/wheel/skbuild/resources/cmake 2022-11-23 23:36:45,541 root INFO copying build/lib/skbuild/resources/cmake/UsePythonExtensions.cmake -> build/bdist.linux-armv8l/wheel/skbuild/resources/cmake 2022-11-23 23:36:45,541 root INFO copying build/lib/skbuild/exceptions.py -> build/bdist.linux-armv8l/wheel/skbuild 2022-11-23 23:36:45,542 root INFO creating build/bdist.linux-armv8l/wheel/skbuild/command 2022-11-23 23:36:45,542 root INFO copying build/lib/skbuild/command/build.py -> build/bdist.linux-armv8l/wheel/skbuild/command 2022-11-23 23:36:45,542 root INFO copying build/lib/skbuild/command/bdist_wheel.py -> build/bdist.linux-armv8l/wheel/skbuild/command 2022-11-23 23:36:45,542 root INFO copying build/lib/skbuild/command/test.py -> build/bdist.linux-armv8l/wheel/skbuild/command 2022-11-23 23:36:45,542 root INFO copying build/lib/skbuild/command/clean.py -> build/bdist.linux-armv8l/wheel/skbuild/command 2022-11-23 23:36:45,543 root INFO copying build/lib/skbuild/command/install_lib.py -> build/bdist.linux-armv8l/wheel/skbuild/command 2022-11-23 23:36:45,543 root INFO copying build/lib/skbuild/command/bdist.py -> build/bdist.linux-armv8l/wheel/skbuild/command 2022-11-23 23:36:45,543 root INFO copying build/lib/skbuild/command/install_scripts.py -> build/bdist.linux-armv8l/wheel/skbuild/command 2022-11-23 23:36:45,543 root INFO copying build/lib/skbuild/command/sdist.py -> build/bdist.linux-armv8l/wheel/skbuild/command 2022-11-23 23:36:45,543 root INFO copying build/lib/skbuild/command/build_ext.py -> build/bdist.linux-armv8l/wheel/skbuild/command 2022-11-23 23:36:45,543 root INFO copying build/lib/skbuild/command/__init__.py -> build/bdist.linux-armv8l/wheel/skbuild/command 2022-11-23 23:36:45,544 root INFO copying build/lib/skbuild/command/install.py -> build/bdist.linux-armv8l/wheel/skbuild/command 2022-11-23 23:36:45,544 root INFO copying build/lib/skbuild/command/generate_source_manifest.py -> build/bdist.linux-armv8l/wheel/skbuild/command 2022-11-23 23:36:45,544 root INFO copying build/lib/skbuild/command/egg_info.py -> build/bdist.linux-armv8l/wheel/skbuild/command 2022-11-23 23:36:45,544 root INFO copying build/lib/skbuild/command/build_py.py -> build/bdist.linux-armv8l/wheel/skbuild/command 2022-11-23 23:36:45,544 root INFO copying build/lib/skbuild/cmaker.py -> build/bdist.linux-armv8l/wheel/skbuild 2022-11-23 23:36:45,545 root INFO creating build/bdist.linux-armv8l/wheel/skbuild/platform_specifics 2022-11-23 23:36:45,545 root INFO copying build/lib/skbuild/platform_specifics/linux.py -> build/bdist.linux-armv8l/wheel/skbuild/platform_specifics 2022-11-23 23:36:45,546 root INFO copying build/lib/skbuild/platform_specifics/unix.py -> build/bdist.linux-armv8l/wheel/skbuild/platform_specifics 2022-11-23 23:36:45,546 root INFO copying build/lib/skbuild/platform_specifics/cygwin.py -> build/bdist.linux-armv8l/wheel/skbuild/platform_specifics 2022-11-23 23:36:45,546 root INFO copying build/lib/skbuild/platform_specifics/osx.py -> build/bdist.linux-armv8l/wheel/skbuild/platform_specifics 2022-11-23 23:36:45,546 root INFO copying build/lib/skbuild/platform_specifics/bsd.py -> build/bdist.linux-armv8l/wheel/skbuild/platform_specifics 2022-11-23 23:36:45,546 root INFO copying build/lib/skbuild/platform_specifics/README.rst -> build/bdist.linux-armv8l/wheel/skbuild/platform_specifics 2022-11-23 23:36:45,546 root INFO copying build/lib/skbuild/platform_specifics/windows.py -> build/bdist.linux-armv8l/wheel/skbuild/platform_specifics 2022-11-23 23:36:45,547 root INFO copying build/lib/skbuild/platform_specifics/__init__.py -> build/bdist.linux-armv8l/wheel/skbuild/platform_specifics 2022-11-23 23:36:45,547 root INFO copying build/lib/skbuild/platform_specifics/abstract.py -> build/bdist.linux-armv8l/wheel/skbuild/platform_specifics 2022-11-23 23:36:45,547 root INFO copying build/lib/skbuild/platform_specifics/platform_factory.py -> build/bdist.linux-armv8l/wheel/skbuild/platform_specifics 2022-11-23 23:36:45,548 root INFO copying build/lib/skbuild/_version.py -> build/bdist.linux-armv8l/wheel/skbuild 2022-11-23 23:36:45,548 root INFO running install_egg_info 2022-11-23 23:36:45,550 root INFO Copying scikit_build.egg-info to build/bdist.linux-armv8l/wheel/scikit_build-0.15.0-py3.11.egg-info 2022-11-23 23:36:45,552 root INFO running install_scripts 2022-11-23 23:36:45,635 wheel INFO creating build/bdist.linux-armv8l/wheel/scikit_build-0.15.0.dist-info/WHEEL 2022-11-23 23:36:45,636 wheel INFO creating '/home/buildozer/aports/testing/py3-scikit-build/src/scikit-build-0.15.0/dist/.tmp-sftk9sj0/scikit_build-0.15.0-py2.py3-none-any.whl' and adding 'build/bdist.linux-armv8l/wheel' to it 2022-11-23 23:36:45,637 wheel INFO adding 'skbuild/__init__.py' 2022-11-23 23:36:45,637 wheel INFO adding 'skbuild/_version.py' 2022-11-23 23:36:45,637 wheel INFO adding 'skbuild/cmaker.py' 2022-11-23 23:36:45,638 wheel INFO adding 'skbuild/compat.py' 2022-11-23 23:36:45,638 wheel INFO adding 'skbuild/constants.py' 2022-11-23 23:36:45,638 wheel INFO adding 'skbuild/exceptions.py' 2022-11-23 23:36:45,638 wheel INFO adding 'skbuild/setuptools_wrap.py' 2022-11-23 23:36:45,639 wheel INFO adding 'skbuild/command/__init__.py' 2022-11-23 23:36:45,639 wheel INFO adding 'skbuild/command/bdist.py' 2022-11-23 23:36:45,639 wheel INFO adding 'skbuild/command/bdist_wheel.py' 2022-11-23 23:36:45,640 wheel INFO adding 'skbuild/command/build.py' 2022-11-23 23:36:45,640 wheel INFO adding 'skbuild/command/build_ext.py' 2022-11-23 23:36:45,640 wheel INFO adding 'skbuild/command/build_py.py' 2022-11-23 23:36:45,640 wheel INFO adding 'skbuild/command/clean.py' 2022-11-23 23:36:45,640 wheel INFO adding 'skbuild/command/egg_info.py' 2022-11-23 23:36:45,640 wheel INFO adding 'skbuild/command/generate_source_manifest.py' 2022-11-23 23:36:45,641 wheel INFO adding 'skbuild/command/install.py' 2022-11-23 23:36:45,641 wheel INFO adding 'skbuild/command/install_lib.py' 2022-11-23 23:36:45,641 wheel INFO adding 'skbuild/command/install_scripts.py' 2022-11-23 23:36:45,641 wheel INFO adding 'skbuild/command/sdist.py' 2022-11-23 23:36:45,641 wheel INFO adding 'skbuild/command/test.py' 2022-11-23 23:36:45,641 wheel INFO adding 'skbuild/platform_specifics/README.rst' 2022-11-23 23:36:45,642 wheel INFO adding 'skbuild/platform_specifics/__init__.py' 2022-11-23 23:36:45,642 wheel INFO adding 'skbuild/platform_specifics/abstract.py' 2022-11-23 23:36:45,642 wheel INFO adding 'skbuild/platform_specifics/bsd.py' 2022-11-23 23:36:45,642 wheel INFO adding 'skbuild/platform_specifics/cygwin.py' 2022-11-23 23:36:45,642 wheel INFO adding 'skbuild/platform_specifics/linux.py' 2022-11-23 23:36:45,643 wheel INFO adding 'skbuild/platform_specifics/osx.py' 2022-11-23 23:36:45,643 wheel INFO adding 'skbuild/platform_specifics/platform_factory.py' 2022-11-23 23:36:45,643 wheel INFO adding 'skbuild/platform_specifics/unix.py' 2022-11-23 23:36:45,643 wheel INFO adding 'skbuild/platform_specifics/windows.py' 2022-11-23 23:36:45,643 wheel INFO adding 'skbuild/resources/cmake/FindCython.cmake' 2022-11-23 23:36:45,644 wheel INFO adding 'skbuild/resources/cmake/FindF2PY.cmake' 2022-11-23 23:36:45,644 wheel INFO adding 'skbuild/resources/cmake/FindNumPy.cmake' 2022-11-23 23:36:45,644 wheel INFO adding 'skbuild/resources/cmake/FindPythonExtensions.cmake' 2022-11-23 23:36:45,645 wheel INFO adding 'skbuild/resources/cmake/UseCython.cmake' 2022-11-23 23:36:45,645 wheel INFO adding 'skbuild/resources/cmake/UseF2PY.cmake' 2022-11-23 23:36:45,645 wheel INFO adding 'skbuild/resources/cmake/UsePythonExtensions.cmake' 2022-11-23 23:36:45,646 wheel INFO adding 'skbuild/resources/cmake/targetLinkLibrariesWithDynamicLookup.cmake' 2022-11-23 23:36:45,646 wheel INFO adding 'skbuild/utils/__init__.py' 2022-11-23 23:36:45,646 wheel INFO adding 'scikit_build-0.15.0.dist-info/AUTHORS.rst' 2022-11-23 23:36:45,647 wheel INFO adding 'scikit_build-0.15.0.dist-info/LICENSE' 2022-11-23 23:36:45,647 wheel INFO adding 'scikit_build-0.15.0.dist-info/METADATA' 2022-11-23 23:36:45,647 wheel INFO adding 'scikit_build-0.15.0.dist-info/WHEEL' 2022-11-23 23:36:45,647 wheel INFO adding 'scikit_build-0.15.0.dist-info/top_level.txt' 2022-11-23 23:36:45,647 wheel INFO adding 'scikit_build-0.15.0.dist-info/RECORD' 2022-11-23 23:36:45,648 wheel INFO removing build/bdist.linux-armv8l/wheel 2022-11-23 23:36:45,650 gpep517 INFO The backend produced dist/scikit_build-0.15.0-py2.py3-none-any.whl scikit_build-0.15.0-py2.py3-none-any.whl ============================= test session starts ============================== platform linux -- Python 3.11.0, pytest-7.2.0, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /home/buildozer/aports/testing/py3-scikit-build/src/scikit-build-0.15.0, configfile: setup.cfg, testpaths: tests plugins: cov-4.0.0 collecting ... collected 244 items / 101 deselected / 1 skipped / 143 selected tests/test_broken_project.py::test_cmakelists_with_fatalerror_fails PASSED [ 0%] tests/test_broken_project.py::test_cmakelists_with_syntaxerror_fails PASSED [ 1%] tests/test_broken_project.py::test_hello_with_compileerror_fails PASSED [ 2%] tests/test_cmake_target.py::test_cmake_target_build PASSED [ 2%] tests/test_cmakelists_not_in_top_level_dir.py::test_build PASSED [ 3%] tests/test_cmakelists_not_in_top_level_dir.py::test_cmake_source_dir[invalid-True] PASSED [ 4%] tests/test_cmakelists_not_in_top_level_dir.py::test_cmake_source_dir[-False] PASSED [ 4%] tests/test_cmakelists_not_in_top_level_dir.py::test_cmake_source_dir[.-False] PASSED [ 5%] tests/test_cmaker.py::test_get_python_version PASSED [ 6%] tests/test_cmaker.py::test_get_python_include_dir PASSED [ 6%] tests/test_cmaker.py::test_get_python_library PASSED [ 7%] tests/test_cmaker.py::test_cmake_executable PASSED [ 8%] tests/test_cmaker.py::test_has_cmake_cache_arg PASSED [ 9%] tests/test_cmaker.py::test_make_without_build_dir_fails PASSED [ 9%] tests/test_cmaker.py::test_make_without_configure_fails PASSED [ 10%] tests/test_cmaker.py::test_make[True] PASSED [ 11%] tests/test_cmaker.py::test_make[False] PASSED [ 11%] tests/test_cmaker.py::test_make_with_install_target[] PASSED [ 12%] tests/test_cmaker.py::test_make_with_install_target[install] PASSED [ 13%] tests/test_cmaker.py::test_make_with_install_target[install-runtime] PASSED [ 13%] tests/test_cmaker.py::test_make_with_install_target[nonexistant-install-target] PASSED [ 14%] tests/test_cmaker.py::test_configure_with_cmake_args PASSED [ 15%] tests/test_cmaker.py::test_check_for_bad_installs PASSED [ 16%] tests/test_command_line.py::test_help PASSED [ 16%] tests/test_command_line.py::test_help_commands PASSED [ 17%] tests/test_command_line.py::test_metadata_display PASSED [ 18%] tests/test_command_line.py::test_no_command PASSED [ 18%] tests/test_command_line.py::test_invalid_command PASSED [ 19%] tests/test_command_line.py::test_too_many_separators PASSED [ 20%] tests/test_command_line.py::test_cmake_args PASSED [ 20%] tests/test_command_line.py::test_cmake_cache_entry_as_global_option PASSED [ 21%] tests/test_command_line.py::test_cmake_initial_cache_as_global_option PASSED [ 22%] tests/test_command_line.py::test_cmake_executable_arg PASSED [ 23%] tests/test_command_line.py::test_hide_listing[True-sdist] FAILED [ 23%] tests/test_command_line.py::test_hide_listing[True-bdist_wheel] FAILED [ 24%] tests/test_command_line.py::test_hide_listing[False-sdist] PASSED [ 25%] tests/test_command_line.py::test_hide_listing[False-bdist_wheel] PASSED [ 25%] tests/test_command_line.py::test_run_cmake_arg PASSED [ 26%] tests/test_command_line.py::test_skip_cmake_arg PASSED [ 27%] tests/test_constants.py::test_set_skbuild_plat_name PASSED [ 27%] tests/test_cython_flags.py::test_hello_cython_builds PASSED [ 28%] tests/test_filter_manifest.py::test_bdist_wheel_command PASSED [ 29%] tests/test_hello_cpp.py::test_hello_builds PASSED [ 30%] tests/test_hello_cpp.py::test_hello_wheel PASSED [ 30%] tests/test_hello_cpp.py::test_hello_clean[with-dry-run] PASSED [ 31%] tests/test_hello_cpp.py::test_hello_clean[without-dry-run] PASSED [ 32%] tests/test_hello_cpp.py::test_hello_cleans FAILED [ 32%] tests/test_hello_cpp.py::test_hello_develop PASSED [ 33%] tests/test_hello_cython.py::test_hello_cython_builds PASSED [ 34%] tests/test_hello_cython.py::test_hello_cython_sdist PASSED [ 34%] tests/test_hello_cython.py::test_hello_cython_wheel PASSED [ 35%] tests/test_hello_pure.py::test_hello_pure_builds PASSED [ 36%] tests/test_hello_pure.py::test_hello_pure_sdist PASSED [ 37%] tests/test_hello_pure.py::test_hello_pure_wheel PASSED [ 37%] tests/test_hello_pure.py::test_hello_clean PASSED [ 38%] tests/test_include_exclude_data.py::test_include_exclude_data PASSED [ 39%] tests/test_include_exclude_data.py::test_include_exclude_data_with_base PASSED [ 39%] tests/test_issue274_support_default_package_dir.py::test_install_command PASSED [ 40%] tests/test_issue274_support_default_package_dir.py::test_test_command PASSED [ 41%] tests/test_issue274_support_one_package_without_package_dir.py::test_install_command PASSED [ 41%] tests/test_issue274_support_one_package_without_package_dir.py::test_test_command PASSED [ 42%] tests/test_issue284_build_ext_inplace.py::test_build_ext_inplace_command PASSED [ 43%] tests/test_issue334_configure_cmakelists_non_cp1252_encoding.py::test_install_command PASSED [ 44%] tests/test_issue335_support_cmake_source_dir.py::test_bdist_wheel_command PASSED [ 44%] tests/test_logging.py::test_hide_listing PASSED [ 45%] tests/test_logging.py::test_no_hide_listing PASSED [ 46%] tests/test_manifest_in.py::test_manifest_in_wheel PASSED [ 46%] tests/test_outside_project_root.py::test_outside_project_root_fails[None] PASSED [ 47%] tests/test_outside_project_root.py::test_outside_project_root_fails[-DINSTALL_FILE:BOOL=1] PASSED [ 48%] tests/test_outside_project_root.py::test_outside_project_root_fails[-DINSTALL_PROJECT:BOOL=1] PASSED [ 48%] tests/test_platform.py::test_platform_has_entries PASSED [ 49%] tests/test_platform.py::test_write_compiler_test_file PASSED [ 50%] tests/test_platform.py::test_cxx_compiler PASSED [ 51%] tests/test_platform.py::test_fortran_compiler PASSED [ 51%] tests/test_platform.py::test_generator_cleanup PASSED [ 52%] tests/test_platform.py::test_cached_generator SKIPPED (Requires Windows) [ 53%] tests/test_setup.py::test_distribution_is_pure[unknown] PASSED [ 53%] tests/test_setup.py::test_distribution_is_pure[py_modules] PASSED [ 54%] tests/test_setup.py::test_distribution_is_pure[packages] PASSED [ 55%] tests/test_setup.py::test_distribution_is_pure[skbuild] PASSED [ 55%] tests/test_setup.py::test_cmake_args_keyword[cmake_args0] PASSED [ 56%] tests/test_setup.py::test_cmake_args_keyword[cmake_args1] PASSED [ 57%] tests/test_setup.py::test_cmake_install_dir_keyword[None-True-str] PASSED [ 58%] tests/test_setup.py::test_cmake_install_dir_keyword[-True-str] PASSED [ 58%] tests/test_setup.py::test_cmake_install_dir_keyword[/tmp/scikit-build-True-SKBuildError] PASSED [ 59%] tests/test_setup.py::test_cmake_install_dir_keyword[banana-False-str] FAILED [ 60%] tests/test_setup.py::test_cmake_with_sdist_keyword[True] PASSED [ 60%] tests/test_setup.py::test_cmake_with_sdist_keyword[False] PASSED [ 61%] tests/test_setup.py::test_cmake_minimum_required_version_keyword PASSED [ 62%] tests/test_setup.py::test_script_keyword[pure] FAILED [ 62%] tests/test_setup.py::test_script_keyword[skbuild] FAILED [ 63%] tests/test_setup.py::test_py_modules_keyword[pure] FAILED [ 64%] tests/test_setup.py::test_py_modules_keyword[skbuild] FAILED [ 65%] tests/test_setup.py::test_strip_package[package_parts0--] PASSED [ 65%] tests/test_setup.py::test_strip_package[package_parts1-file.py-file.py] PASSED [ 66%] tests/test_setup.py::test_strip_package[package_parts2-foo/file.py-foo/file.py] PASSED [ 67%] tests/test_setup.py::test_strip_package[package_parts3--] PASSED [ 67%] tests/test_setup.py::test_strip_package[package_parts4--] PASSED [ 68%] tests/test_setup.py::test_strip_package[package_parts5-foo/file.py-file.py] PASSED [ 69%] tests/test_setup.py::test_strip_package[package_parts6-foo\\file.py-file.py] PASSED [ 69%] tests/test_setup.py::test_strip_package[package_parts7-foo/file.py-foo/file.py] PASSED [ 70%] tests/test_setup.py::test_strip_package[package_parts8-foo/bar/file.py-file.py] PASSED [ 71%] tests/test_setup.py::test_strip_package[package_parts9-foo/bar/baz/file.py-baz/file.py] PASSED [ 72%] tests/test_setup.py::test_strip_package[package_parts10-/foo/file.py-/foo/file.py] PASSED [ 72%] tests/test_setup.py::test_cmake_install_into_pure_package[0] FAILED [ 73%] tests/test_setup.py::test_cmake_install_into_pure_package[1] FAILED [ 74%] tests/test_skbuild.py::test_generator_selection PASSED [ 74%] tests/test_skbuild.py::test_generator[NMake Makefiles-nmake] SKIPPED [ 75%] tests/test_skbuild.py::test_generator[Unix Makefiles-make] PASSED [ 76%] tests/test_skbuild.py::test_platform_windows_find_visual_studio[2008] SKIPPED [ 76%] tests/test_skbuild.py::test_platform_windows_find_visual_studio[2010] SKIPPED [ 77%] tests/test_skbuild.py::test_platform_windows_find_visual_studio[2012] SKIPPED [ 78%] tests/test_skbuild.py::test_platform_windows_find_visual_studio[2013] SKIPPED [ 79%] tests/test_skbuild.py::test_platform_windows_find_visual_studio[2015] SKIPPED [ 79%] tests/test_skbuild.py::test_platform_windows_find_visual_studio[2017] SKIPPED [ 80%] tests/test_skbuild.py::test_platform_windows_find_visual_studio[2019] SKIPPED [ 81%] tests/test_skbuild.py::test_platform_windows_find_visual_studio[2022] SKIPPED [ 81%] tests/test_skbuild.py::test_toolset SKIPPED (Requires Windows) [ 82%] tests/test_skbuild_variable.py::test_skbuild_variable_builds PASSED [ 83%] tests/test_skbuild_variable.py::test_skbuild_variable_sdist PASSED [ 83%] tests/test_skbuild_variable.py::test_skbuild_variable_wheel PASSED [ 84%] tests/test_utils.py::test_context_decorator PASSED [ 85%] tests/test_utils.py::test_push_dir PASSED [ 86%] tests/test_utils.py::test_push_dir_decorator PASSED [ 86%] tests/test_utils.py::test_mkdir_p PASSED [ 87%] tests/test_utils.py::test_push_env PASSED [ 88%] tests/test_utils.py::test_python_module_finder PASSED [ 88%] tests/test_utils.py::test_to_platform_path[None-None] PASSED [ 89%] tests/test_utils.py::test_to_platform_path[-] PASSED [ 90%] tests/test_utils.py::test_to_platform_path[/bar/foo/baz-/bar/foo/baz] PASSED [ 90%] tests/test_utils.py::test_to_platform_path[C:\\bar\\foo\\baz-C:/bar/foo/baz] PASSED [ 91%] tests/test_utils.py::test_to_platform_path[C:\\bar/foo\\baz/-C:/bar/foo/baz/] PASSED [ 92%] tests/test_utils.py::test_to_unix_path[None-None] PASSED [ 93%] tests/test_utils.py::test_to_unix_path[-] PASSED [ 93%] tests/test_utils.py::test_to_unix_path[/bar/foo/baz-/bar/foo/baz] PASSED [ 94%] tests/test_utils.py::test_to_unix_path[C:\\bar\\foo\\baz-C:/bar/foo/baz] PASSED [ 95%] tests/test_utils.py::test_to_unix_path[C:\\bar/foo\\baz/-C:/bar/foo/baz/] PASSED [ 95%] tests/test_utils.py::test_list_ancestors[-expected_ancestors0] PASSED [ 96%] tests/test_utils.py::test_list_ancestors[.-expected_ancestors1] PASSED [ 97%] tests/test_utils.py::test_list_ancestors[part1/part2/part3/part4-expected_ancestors2] PASSED [ 97%] tests/test_utils.py::test_list_ancestors[part1\\part2\\part3\\part4-expected_ancestors3] PASSED [ 98%] tests/test_utils.py::test_list_ancestors[/part1/part2/part3/part4-expected_ancestors4] PASSED [ 99%] tests/test_utils.py::test_list_ancestors[C:/part1/part2/part3/part4-expected_ancestors5] PASSED [100%] =================================== FAILURES =================================== ________________________ test_hide_listing[True-sdist] _________________________ action = 'sdist', hide_listing = True capfd = <_pytest.capture.CaptureFixture object at 0xf437a870> caplog = <_pytest.logging.LogCaptureFixture object at 0xf431bbf0> @pytest.mark.parametrize("action", ["sdist", "bdist_wheel"]) @pytest.mark.parametrize("hide_listing", [True, False]) def test_hide_listing(action, hide_listing, capfd, caplog): cmd = [action] if hide_listing: cmd.insert(0, "--hide-listing") @project_setup_py_test("test-hide-listing", cmd, verbose_git=False, disable_languages_test=True) def run(): pass run() out, err = capfd.readouterr() out += err + caplog.text if hide_listing: > assert to_platform_path("bonjour/__init__.py") not in out E AssertionError: assert 'bonjour/__init__.py' not in 'hint: Using... under it)\n' E 'bonjour/__init__.py' is contained here: E hint: Using 'master' as the name for the initial branch. This default branch name E hint: is subject to change. To configure the initial branch name to use in all E hint: of your new repositories, which will suppress this warning, call: E hint: E hint: git config --global init.defaultBranch E hint: ... E E ...Full output truncated (46 lines hidden), use '-vv' to show action = 'sdist' capfd = <_pytest.capture.CaptureFixture object at 0xf437a870> caplog = <_pytest.logging.LogCaptureFixture object at 0xf431bbf0> cmd = ['--hide-listing', 'sdist'] err = "hint: Using 'master' as the name for the initial branch. This default branch name\nhint: is subject to change. To con...nhint: 'development'. The just-created branch can be renamed via this command:\nhint: \nhint: \tgit branch -m \n" hide_listing = True out = "hint: Using 'master' as the name for the initial branch. This default branch name\nhint: is subject to change. To con...ive_util.py:101 Creating tar archive\nINFO root:dir_util.py:219 removing 'hello-1.2.3' (and everything under it)\n" run = .run at 0xf42ffa28> tests/test_command_line.py:178: AssertionError ------------------------------ Captured log call ------------------------------- INFO root:dist.py:985 running sdist INFO root:dist.py:985 running generate_source_manifest INFO root:dist.py:985 running egg_info INFO root:dir_util.py:71 creating hello.egg-info INFO root:egg_info.py:666 writing hello.egg-info/PKG-INFO INFO root:egg_info.py:283 writing dependency_links to hello.egg-info/dependency_links.txt INFO root:egg_info.py:283 writing top-level names to hello.egg-info/top_level.txt INFO root:util.py:335 writing manifest file 'hello.egg-info/SOURCES.txt' WARNING root:build_py.py:215 file helloModule.py (for module helloModule) not found INFO root:sdist.py:355 reading manifest template 'MANIFEST.in' INFO root:util.py:335 writing manifest file 'hello.egg-info/SOURCES.txt' WARNING root:cmd.py:336 warning: sdist: standard file not found: should have one of README, README.rst, README.txt, README.md INFO root:dist.py:985 running check INFO root:dir_util.py:71 creating hello-1.2.3 INFO root:dir_util.py:71 creating hello-1.2.3/bonjour INFO root:dir_util.py:71 creating hello-1.2.3/bonjour/data INFO root:dir_util.py:71 creating hello-1.2.3/hello INFO root:dir_util.py:71 creating hello-1.2.3/hello.egg-info INFO root:sdist.py:486 copying files to hello-1.2.3... INFO root:file_util.py:137 copying CMakeLists.txt -> hello-1.2.3 INFO root:file_util.py:137 copying bonjourModule.py -> hello-1.2.3 INFO root:file_util.py:137 copying setup.py -> hello-1.2.3 INFO root:file_util.py:137 copying bonjour/__init__.py -> hello-1.2.3/bonjour INFO root:file_util.py:137 copying bonjour/data/ciel.txt -> hello-1.2.3/bonjour/data INFO root:file_util.py:137 copying bonjour/data/soleil.txt -> hello-1.2.3/bonjour/data INFO root:file_util.py:137 copying bonjour/data/terre.txt -> hello-1.2.3/bonjour/data INFO root:file_util.py:137 copying hello/CMakeLists.txt -> hello-1.2.3/hello INFO root:file_util.py:137 copying hello/__init__.py -> hello-1.2.3/hello INFO root:file_util.py:137 copying hello/__main__.py -> hello-1.2.3/hello INFO root:file_util.py:137 copying hello.egg-info/PKG-INFO -> hello-1.2.3/hello.egg-info INFO root:file_util.py:137 copying hello.egg-info/SOURCES.txt -> hello-1.2.3/hello.egg-info INFO root:file_util.py:137 copying hello.egg-info/dependency_links.txt -> hello-1.2.3/hello.egg-info INFO root:file_util.py:137 copying hello.egg-info/top_level.txt -> hello-1.2.3/hello.egg-info INFO root:setopt.py:70 Writing hello-1.2.3/setup.cfg INFO skbuild:sdist.py:16 copied 15 files INFO skbuild:sdist.py:21 creating 'dist/hello-1.2.3' gztar archive and adding 'hello-1.2.3' to it INFO root:dir_util.py:71 creating dist INFO root:archive_util.py:101 Creating tar archive INFO root:dir_util.py:219 removing 'hello-1.2.3' (and everything under it) _____________________ test_hide_listing[True-bdist_wheel] ______________________ action = 'bdist_wheel', hide_listing = True capfd = <_pytest.capture.CaptureFixture object at 0xf430e4d0> caplog = <_pytest.logging.LogCaptureFixture object at 0xf421ffb0> @pytest.mark.parametrize("action", ["sdist", "bdist_wheel"]) @pytest.mark.parametrize("hide_listing", [True, False]) def test_hide_listing(action, hide_listing, capfd, caplog): cmd = [action] if hide_listing: cmd.insert(0, "--hide-listing") @project_setup_py_test("test-hide-listing", cmd, verbose_git=False, disable_languages_test=True) def run(): pass run() out, err = capfd.readouterr() out += err + caplog.text if hide_listing: > assert to_platform_path("bonjour/__init__.py") not in out E assert 'bonjour/__init__.py' not in '\n\n-------...mv8l/wheel\n' E 'bonjour/__init__.py' is contained here: E E E -------------------------------------------------------------------------------- E -- Trying "Ninja" generator E -------------------------------- E ---------------------------... E E ...Full output truncated (150 lines hidden), use '-vv' to show action = 'bdist_wheel' capfd = <_pytest.capture.CaptureFixture object at 0xf430e4d0> caplog = <_pytest.logging.LogCaptureFixture object at 0xf421ffb0> cmd = ['--hide-listing', 'bdist_wheel'] err = "hint: Using 'master' as the name for the initial branch. This default branch name\nhint: is subject to change. To con...INCLUDE_DIR\n Python3_LIBRARY\n Python_EXECUTABLE\n Python_INCLUDE_DIR\n Python_LIBRARY\n SKBUILD\n\n\n" hide_listing = True out = '\n\n--------------------------------------------------------------------------------\n-- Trying "Ninja" generator\n--.../RECORD\'\nINFO wheel:bdist_wheel.py:399 removing _skbuild/linux-armv8l-3.11/setuptools/bdist.linux-armv8l/wheel\n' run = .run at 0xf42371b8> tests/test_command_line.py:178: AssertionError ------------------------------ Captured log call ------------------------------- INFO root:dist.py:985 running bdist_wheel INFO root:dist.py:985 running build INFO root:dist.py:985 running build_py INFO root:dir_util.py:71 creating _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311 INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/bonjourModule.py -> _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311 INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/helloModule.py -> _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311 INFO root:dir_util.py:71 creating _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/bonjour INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/bonjour/__init__.py -> _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/bonjour INFO root:dir_util.py:71 creating _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/hello INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/hello/__main__.py -> _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/hello INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/hello/__init__.py -> _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/hello INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/hello/world.py -> _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/hello INFO root:dir_util.py:71 creating _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/bonjour/data INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/bonjour/data/soleil.txt -> _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/bonjour/data INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/bonjour/data/terre.txt -> _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/bonjour/data INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/bonjour/data/ciel.txt -> _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/bonjour/data INFO skbuild:build_py.py:41 copied 6 files INFO root:dist.py:985 running build_ext INFO wheel:bdist_wheel.py:358 installing to _skbuild/linux-armv8l-3.11/setuptools/bdist.linux-armv8l/wheel INFO root:dist.py:985 running install INFO root:dist.py:985 running install_lib INFO root:dir_util.py:71 creating _skbuild/linux-armv8l-3.11/setuptools/bdist.linux-armv8l INFO root:dir_util.py:71 creating _skbuild/linux-armv8l-3.11/setuptools/bdist.linux-armv8l/wheel INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/bonjourModule.py -> _skbuild/linux-armv8l-3.11/setuptools/bdist.linux-armv8l/wheel INFO root:dir_util.py:71 creating _skbuild/linux-armv8l-3.11/setuptools/bdist.linux-armv8l/wheel/hello INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/hello/__main__.py -> _skbuild/linux-armv8l-3.11/setuptools/bdist.linux-armv8l/wheel/hello INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/hello/__init__.py -> _skbuild/linux-armv8l-3.11/setuptools/bdist.linux-armv8l/wheel/hello INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/hello/world.py -> _skbuild/linux-armv8l-3.11/setuptools/bdist.linux-armv8l/wheel/hello INFO root:dir_util.py:71 creating _skbuild/linux-armv8l-3.11/setuptools/bdist.linux-armv8l/wheel/bonjour INFO root:dir_util.py:71 creating _skbuild/linux-armv8l-3.11/setuptools/bdist.linux-armv8l/wheel/bonjour/data INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/bonjour/data/soleil.txt -> _skbuild/linux-armv8l-3.11/setuptools/bdist.linux-armv8l/wheel/bonjour/data INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/bonjour/data/terre.txt -> _skbuild/linux-armv8l-3.11/setuptools/bdist.linux-armv8l/wheel/bonjour/data INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/bonjour/data/ciel.txt -> _skbuild/linux-armv8l-3.11/setuptools/bdist.linux-armv8l/wheel/bonjour/data INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/bonjour/__init__.py -> _skbuild/linux-armv8l-3.11/setuptools/bdist.linux-armv8l/wheel/bonjour INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/helloModule.py -> _skbuild/linux-armv8l-3.11/setuptools/bdist.linux-armv8l/wheel INFO skbuild:install_lib.py:18 copied 9 files INFO root:dist.py:985 running install_egg_info INFO root:dist.py:985 running egg_info INFO root:dir_util.py:71 creating hello.egg-info INFO root:egg_info.py:666 writing hello.egg-info/PKG-INFO INFO root:egg_info.py:283 writing dependency_links to hello.egg-info/dependency_links.txt INFO root:egg_info.py:283 writing top-level names to hello.egg-info/top_level.txt INFO root:util.py:335 writing manifest file 'hello.egg-info/SOURCES.txt' INFO root:util.py:335 writing manifest file 'hello.egg-info/SOURCES.txt' INFO root:util.py:335 Copying hello.egg-info to _skbuild/linux-armv8l-3.11/setuptools/bdist.linux-armv8l/wheel/hello-1.2.3-py3.11.egg-info INFO root:dist.py:985 running install_scripts INFO skbuild:install_scripts.py:17 copied 0 files INFO wheel:bdist_wheel.py:423 creating _skbuild/linux-armv8l-3.11/setuptools/bdist.linux-armv8l/wheel/hello-1.2.3.dist-info/WHEEL INFO wheel:wheelfile.py:122 creating 'dist/hello-1.2.3-cp311-cp311-linux_armv8l.whl' and adding '_skbuild/linux-armv8l-3.11/setuptools/bdist.linux-armv8l/wheel' to it INFO wheel:wheelfile.py:165 adding 'bonjourModule.py' INFO wheel:wheelfile.py:165 adding 'helloModule.py' INFO wheel:wheelfile.py:165 adding 'bonjour/__init__.py' INFO wheel:wheelfile.py:165 adding 'bonjour/data/ciel.txt' INFO wheel:wheelfile.py:165 adding 'bonjour/data/soleil.txt' INFO wheel:wheelfile.py:165 adding 'bonjour/data/terre.txt' INFO wheel:wheelfile.py:165 adding 'hello/__init__.py' INFO wheel:wheelfile.py:165 adding 'hello/__main__.py' INFO wheel:wheelfile.py:165 adding 'hello/world.py' INFO wheel:wheelfile.py:165 adding 'hello-1.2.3.dist-info/METADATA' INFO wheel:wheelfile.py:165 adding 'hello-1.2.3.dist-info/WHEEL' INFO wheel:wheelfile.py:165 adding 'hello-1.2.3.dist-info/top_level.txt' INFO wheel:wheelfile.py:165 adding 'hello-1.2.3.dist-info/RECORD' INFO wheel:bdist_wheel.py:399 removing _skbuild/linux-armv8l-3.11/setuptools/bdist.linux-armv8l/wheel ______________________________ test_hello_cleans _______________________________ capfd = <_pytest.capture.CaptureFixture object at 0xf41d0370> caplog = <_pytest.logging.LogCaptureFixture object at 0xf42bed50> def test_hello_cleans(capfd, caplog): with push_dir(): tmp_dir = _tmpdir("test_hello_cleans") _copy_dir(tmp_dir, os.path.join(SAMPLES_DIR, "hello-cpp")) @project_setup_py_test("hello-cpp", ["build"], tmp_dir=tmp_dir) def run_build(): pass @project_setup_py_test("hello-cpp", ["clean"], tmp_dir=tmp_dir) def run_clean(): pass # Check that a project can be cleaned twice in a row run_build() print("<<-->>") run_clean() print("<<-->>") run_clean() _, clean1_out, clean2_out = capfd.readouterr()[0].split("<<-->>") clean1_out = clean1_out.strip() clean2_out = clean2_out.strip() > assert "running clean" == clean1_out.splitlines()[0] E IndexError: list index out of range _ = '\n\n--------------------------------------------------------------------------------\n-- Trying "Ninja" generator\n--...t-635/test_hello_cleans0/bonjour/data/terre.txt -> _skbuild/linux-armv8l-3.11/cmake-install/bonjour/data/terre.txt\n\n' capfd = <_pytest.capture.CaptureFixture object at 0xf41d0370> caplog = <_pytest.logging.LogCaptureFixture object at 0xf42bed50> clean1_out = '' clean2_out = '' run_build = .run_build at 0xf41dcc08> run_clean = .run_clean at 0xf41dce88> tmp_dir = local('/tmp/pytest-of-buildozer/pytest-635/test_hello_cleans0') tests/test_hello_cpp.py:178: IndexError ------------------------------ Captured log call ------------------------------- INFO root:dist.py:985 running build INFO root:dist.py:985 running build_py INFO root:dir_util.py:71 creating _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311 INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/bonjourModule.py -> _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311 INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/helloModule.py -> _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311 INFO root:dir_util.py:71 creating _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/bonjour INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/bonjour/__init__.py -> _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/bonjour INFO root:dir_util.py:71 creating _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/hello INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/hello/__main__.py -> _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/hello INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/hello/__init__.py -> _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/hello INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/hello/world.py -> _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/hello INFO root:dir_util.py:71 creating _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/bonjour/data INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/bonjour/data/soleil.txt -> _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/bonjour/data INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/bonjour/data/terre.txt -> _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/bonjour/data INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/bonjour/data/ciel.txt -> _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/bonjour/data INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/hello/_hello.cpython-311-arm-linux-musleabihf.so -> _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/hello INFO skbuild:build_py.py:41 copied 6 files INFO root:dist.py:985 running build_ext INFO root:dist.py:985 running clean INFO skbuild:clean.py:26 removing '_skbuild/linux-armv8l-3.11/cmake-install' INFO skbuild:clean.py:26 removing '_skbuild/linux-armv8l-3.11/cmake-build' INFO skbuild:clean.py:26 removing '_skbuild/linux-armv8l-3.11' INFO root:dist.py:985 running clean _______________ test_cmake_install_dir_keyword[banana-False-str] _______________ cmake_install_dir = 'banana', expected_failed = False error_code_type = capsys = <_pytest.capture.CaptureFixture object at 0xf4110870> @pytest.mark.parametrize( "cmake_install_dir, expected_failed, error_code_type", ( (None, True, str), ("", True, str), (str(py.path.local.get_temproot().join("scikit-build")), True, SKBuildError), ("banana", False, str), ), ) def test_cmake_install_dir_keyword(cmake_install_dir, expected_failed, error_code_type, capsys): # ------------------------------------------------------------------------- # "SOURCE" tree layout: # # ROOT/ # # CMakeLists.txt # setup.py # # apple/ # __init__.py # # ------------------------------------------------------------------------- # "BINARY" distribution layout # # ROOT/ # # apple/ # __init__.py # tmp_dir = _tmpdir("cmake_install_dir_keyword") setup_kwarg = "" if cmake_install_dir is not None: setup_kwarg = "cmake_install_dir=r'{}'".format(cmake_install_dir) tmp_dir.join("setup.py").write( textwrap.dedent( """ from skbuild import setup setup( name="test_cmake_install_dir", version="1.2.3", description="a package testing use of cmake_install_dir", author='The scikit-build team', license="MIT", packages=['apple', 'banana'], {setup_kwarg} ) """.format( setup_kwarg=setup_kwarg ) ) ) # Install location purposely set to "." so that we can test # usage of "cmake_install_dir" skbuild.setup keyword. tmp_dir.join("CMakeLists.txt").write( textwrap.dedent( """ cmake_minimum_required(VERSION 3.5.0) project(banana NONE) file(WRITE "${CMAKE_BINARY_DIR}/__init__.py" "") install(FILES "${CMAKE_BINARY_DIR}/__init__.py" DESTINATION ".") """ ) ) tmp_dir.ensure("apple", "__init__.py") failed = False message = "" try: with execute_setup_py(tmp_dir, ["build"], disable_languages_test=True): pass except SystemExit as e: # Error is not of type SKBuildError, it is expected to be # raised by distutils.core.setup failed = isinstance(e.code, error_code_type) message = str(e) out, _ = capsys.readouterr() assert failed == expected_failed if failed: if error_code_type == str: assert message == "error: package directory " "'{}' does not exist".format( os.path.join(CMAKE_INSTALL_DIR(), "banana") ) else: assert message.strip().startswith("setup parameter 'cmake_install_dir' " "is set to an absolute path.") else: init_py = to_platform_path("{}/banana/__init__.py".format(CMAKE_INSTALL_DIR())) > assert "copying {}".format(init_py) in out E assert 'copying _skbuild/linux-armv8l-3.11/cmake-install/banana/__init__.py' in '\n\n--------------------------------------------------------------------------------\n-- Trying "Ninja" generator\n--------------------------------\n---------------------------\n----------------------\n-----------------\n------------\n-------\n--\n--\n-------\n------------\n-----------------\n----------------------\n---------------------------\n--------------------------------\n-- Trying "Ninja" generator - failure\n--------------------------------------------------------------------------------\n\n\n\n--------------------------------------------------------------------------------\n-- Trying "Unix Makefiles" generator\n--------------------------------\n---------------------------\n----------------------\n-----------------\n------------\n-------\n--\n--\n-------\n------------\n-----------------\n----------------------\n---------------------------\n--------------------------------\n-- Trying "Unix Makefiles" generator - success\n--------------------------------------------------------------------------------\n\nConfiguring Project\n Working directory:\n /tmp/pytest-of-buildozer/pytest-662/cmake_install_dir_keyword0/_skbuild/linux-armv8l-3.11/cmake-build\n Command:\n cmake /tmp/pytest-of-buildozer/pytest-662/cmake_install_dir_keyword0 -G \'Unix Makefiles\' -DCMAKE_INSTALL_PREFIX:PATH=/tmp/pytest-of-buildozer/pytest-662/cmake_install_dir_keyword0/_skbuild/linux-armv8l-3.11/cmake-install/banana -DPYTHON_VERSION_STRING:STRING=3.11.0 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/home/buildozer/aports/testing/py3-scikit-build/src/scikit-build-0.15.0/skbuild/resources/cmake -DPython3_EXECUTABLE:FILEPATH=/usr/bin/python3 -DPython3_INCLUDE_DIR:PATH=/usr/include/python3.11 -DPython3_LIBRARY:PATH=/usr/lib/libpython3.11.so -DPython_EXECUTABLE:FILEPATH=/usr/bin/python3 -DPython_INCLUDE_DIR:PATH=/usr/include/python3.11 -DPython_LIBRARY:PATH=/usr/lib/libpython3.11.so -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3 -DPYTHON_INCLUDE_DIR:PATH=/usr/include/python3.11 -DPYTHON_LIBRARY:PATH=/usr/lib/libpython3.11.so -DCMAKE_BUILD_TYPE:STRING=Release\n\n\ncreating directory _skbuild/linux-armv8l-3.11/cmake-install/apple\ncopying apple/__init__.py -> _skbuild/linux-armv8l-3.11/cmake-install/apple/__init__.py\n\n' E + where 'copying _skbuild/linux-armv8l-3.11/cmake-install/banana/__init__.py' = ('_skbuild/linux-armv8l-3.11/cmake-install/banana/__init__.py') E + where = 'copying {}'.format _ = '' capsys = <_pytest.capture.CaptureFixture object at 0xf4110870> cmake_install_dir = 'banana' error_code_type = expected_failed = False failed = False init_py = '_skbuild/linux-armv8l-3.11/cmake-install/banana/__init__.py' message = '' out = '\n\n--------------------------------------------------------------------------------\n-- Trying "Ninja" generator\n--...-3.11/cmake-install/apple\ncopying apple/__init__.py -> _skbuild/linux-armv8l-3.11/cmake-install/apple/__init__.py\n\n' setup_kwarg = "cmake_install_dir=r'banana'" tmp_dir = local('/tmp/pytest-of-buildozer/pytest-662/cmake_install_dir_keyword0') tests/test_setup.py:235: AssertionError ----------------------------- Captured stdout call ----------------------------- Not searching for unused variables given on the command line. -- Configuring incomplete, errors occurred! See also "/tmp/pytest-of-buildozer/pytest-662/cmake_install_dir_keyword0/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log". Not searching for unused variables given on the command line. -- Configuring done -- Generating done -- Build files have been written to: /tmp/pytest-of-buildozer/pytest-662/cmake_install_dir_keyword0/_cmake_test_compile/build -- Configuring done -- Generating done -- Build files have been written to: /tmp/pytest-of-buildozer/pytest-662/cmake_install_dir_keyword0/_skbuild/linux-armv8l-3.11/cmake-build Install the project... -- Install configuration: "Release" -- Installing: /tmp/pytest-of-buildozer/pytest-662/cmake_install_dir_keyword0/_skbuild/linux-armv8l-3.11/cmake-install/banana/./__init__.py ----------------------------- Captured stderr call ----------------------------- CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. CMake Warning: Manually-specified variables were not used by the project: PYTHON_EXECUTABLE PYTHON_INCLUDE_DIR PYTHON_LIBRARY PYTHON_VERSION_STRING Python3_EXECUTABLE Python3_INCLUDE_DIR Python3_LIBRARY Python_EXECUTABLE Python_INCLUDE_DIR Python_LIBRARY SKBUILD ------------------------------ Captured log call ------------------------------- INFO root:dist.py:985 running build INFO root:dist.py:985 running build_py INFO root:dir_util.py:71 creating _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311 INFO root:dir_util.py:71 creating _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/apple INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/apple/__init__.py -> _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/apple INFO root:dir_util.py:71 creating _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/banana INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/banana/__init__.py -> _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/banana INFO skbuild:build_py.py:41 copied 2 files INFO root:dist.py:985 running build_ext __________________________ test_script_keyword[pure] ___________________________ distribution_type = 'pure' capsys = <_pytest.capture.CaptureFixture object at 0xf3fd6370> @pytest.mark.parametrize("distribution_type", ("pure", "skbuild")) def test_script_keyword(distribution_type, capsys): # ------------------------------------------------------------------------- # # "SOURCE" tree layout for "pure" distribution: # # ROOT/ # setup.py # foo.py # bar.py # # "SOURCE" tree layout for "pure" distribution: # # ROOT/ # setup.py # CMakeLists.txt # # ------------------------------------------------------------------------- # "BINARY" distribution layout is identical for both # # ROOT/ # foo.py # bar.py # tmp_dir = _tmpdir("script_keyword") tmp_dir.join("setup.py").write( textwrap.dedent( """ from skbuild import setup setup( name="test_script_keyword", version="1.2.3", description="a package testing use of script keyword", author='The scikit-build team', license="MIT", scripts=['foo.py', 'bar.py'], packages=[], ) """ ) ) if distribution_type == "skbuild": tmp_dir.join("CMakeLists.txt").write( textwrap.dedent( """ cmake_minimum_required(VERSION 3.5.0) project(foo NONE) file(WRITE "${CMAKE_BINARY_DIR}/foo.py" "# foo.py") file(WRITE "${CMAKE_BINARY_DIR}/bar.py" "# bar.py") install( FILES "${CMAKE_BINARY_DIR}/foo.py" "${CMAKE_BINARY_DIR}/bar.py" DESTINATION "." ) """ ) ) messages = [ "copying {}/{}.py -> " "{}/setuptools/scripts-".format(CMAKE_INSTALL_DIR(), module, SKBUILD_DIR()) for module in ["foo", "bar"] ] elif distribution_type == "pure": tmp_dir.join("foo.py").write("# foo.py") tmp_dir.join("bar.py").write("# bar.py") messages = [ "copying {}.py -> " "{}/setuptools/scripts-".format(module, SKBUILD_DIR()) for module in ["foo", "bar"] ] with execute_setup_py(tmp_dir, ["build"], disable_languages_test=True): pass out, _ = capsys.readouterr() for message in messages: > assert to_platform_path(message) in out E AssertionError: assert 'copying foo.py -> _skbuild/linux-armv8l-3.11/setuptools/scripts-' in 'skipping skbuild (no CMakeLists.txt found)\n' E + where 'copying foo.py -> _skbuild/linux-armv8l-3.11/setuptools/scripts-' = to_platform_path('copying foo.py -> _skbuild/linux-armv8l-3.11/setuptools/scripts-') _ = '' capsys = <_pytest.capture.CaptureFixture object at 0xf3fd6370> distribution_type = 'pure' message = 'copying foo.py -> _skbuild/linux-armv8l-3.11/setuptools/scripts-' messages = ['copying foo.py -> _skbuild/linux-armv8l-3.11/setuptools/scripts-', 'copying bar.py -> _skbuild/linux-armv8l-3.11/setuptools/scripts-'] out = 'skipping skbuild (no CMakeLists.txt found)\n' tmp_dir = local('/tmp/pytest-of-buildozer/pytest-666/script_keyword0') tests/test_setup.py:462: AssertionError ------------------------------ Captured log call ------------------------------- INFO root:dist.py:985 running build INFO root:dist.py:985 running build_scripts INFO root:dir_util.py:71 creating _skbuild INFO root:dir_util.py:71 creating _skbuild/linux-armv8l-3.11 INFO root:dir_util.py:71 creating _skbuild/linux-armv8l-3.11/setuptools INFO root:dir_util.py:71 creating _skbuild/linux-armv8l-3.11/setuptools/scripts-3.11 INFO root:file_util.py:137 copying foo.py -> _skbuild/linux-armv8l-3.11/setuptools/scripts-3.11 INFO root:file_util.py:137 copying bar.py -> _skbuild/linux-armv8l-3.11/setuptools/scripts-3.11 INFO root:build_scripts.py:147 changing mode of _skbuild/linux-armv8l-3.11/setuptools/scripts-3.11/foo.py from 644 to 755 INFO root:build_scripts.py:147 changing mode of _skbuild/linux-armv8l-3.11/setuptools/scripts-3.11/bar.py from 644 to 755 _________________________ test_script_keyword[skbuild] _________________________ distribution_type = 'skbuild' capsys = <_pytest.capture.CaptureFixture object at 0xf40393b0> @pytest.mark.parametrize("distribution_type", ("pure", "skbuild")) def test_script_keyword(distribution_type, capsys): # ------------------------------------------------------------------------- # # "SOURCE" tree layout for "pure" distribution: # # ROOT/ # setup.py # foo.py # bar.py # # "SOURCE" tree layout for "pure" distribution: # # ROOT/ # setup.py # CMakeLists.txt # # ------------------------------------------------------------------------- # "BINARY" distribution layout is identical for both # # ROOT/ # foo.py # bar.py # tmp_dir = _tmpdir("script_keyword") tmp_dir.join("setup.py").write( textwrap.dedent( """ from skbuild import setup setup( name="test_script_keyword", version="1.2.3", description="a package testing use of script keyword", author='The scikit-build team', license="MIT", scripts=['foo.py', 'bar.py'], packages=[], ) """ ) ) if distribution_type == "skbuild": tmp_dir.join("CMakeLists.txt").write( textwrap.dedent( """ cmake_minimum_required(VERSION 3.5.0) project(foo NONE) file(WRITE "${CMAKE_BINARY_DIR}/foo.py" "# foo.py") file(WRITE "${CMAKE_BINARY_DIR}/bar.py" "# bar.py") install( FILES "${CMAKE_BINARY_DIR}/foo.py" "${CMAKE_BINARY_DIR}/bar.py" DESTINATION "." ) """ ) ) messages = [ "copying {}/{}.py -> " "{}/setuptools/scripts-".format(CMAKE_INSTALL_DIR(), module, SKBUILD_DIR()) for module in ["foo", "bar"] ] elif distribution_type == "pure": tmp_dir.join("foo.py").write("# foo.py") tmp_dir.join("bar.py").write("# bar.py") messages = [ "copying {}.py -> " "{}/setuptools/scripts-".format(module, SKBUILD_DIR()) for module in ["foo", "bar"] ] with execute_setup_py(tmp_dir, ["build"], disable_languages_test=True): pass out, _ = capsys.readouterr() for message in messages: > assert to_platform_path(message) in out E assert 'copying _skbuild/linux-armv8l-3.11/cmake-install/foo.py -> _skbuild/linux-armv8l-3.11/setuptools/scripts-' in '\n\n--------------------------------------------------------------------------------\n-- Trying "Ninja" generator\n--------------------------------\n---------------------------\n----------------------\n-----------------\n------------\n-------\n--\n--\n-------\n------------\n-----------------\n----------------------\n---------------------------\n--------------------------------\n-- Trying "Ninja" generator - failure\n--------------------------------------------------------------------------------\n\n\n\n--------------------------------------------------------------------------------\n-- Trying "Unix Makefiles" generator\n--------------------------------\n---------------------------\n----------------------\n-----------------\n------------\n-------\n--\n--\n-------\n------------\n-----------------\n----------------------\n---------------------------\n--------------------------------\n-- Trying "Unix Makefiles" generator - success\n--------------------------------------------------------------------------------\n\nConfiguring Project\n Working directory:\n /tmp/pytest-of-buildozer/pytest-667/script_keyword0/_skbuild/linux-armv8l-3.11/cmake-build\n Command:\n cmake /tmp/pytest-of-buildozer/pytest-667/script_keyword0 -G \'Unix Makefiles\' -DCMAKE_INSTALL_PREFIX:PATH=/tmp/pytest-of-buildozer/pytest-667/script_keyword0/_skbuild/linux-armv8l-3.11/cmake-install -DPYTHON_VERSION_STRING:STRING=3.11.0 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/home/buildozer/aports/testing/py3-scikit-build/src/scikit-build-0.15.0/skbuild/resources/cmake -DPython3_EXECUTABLE:FILEPATH=/usr/bin/python3 -DPython3_INCLUDE_DIR:PATH=/usr/include/python3.11 -DPython3_LIBRARY:PATH=/usr/lib/libpython3.11.so -DPython_EXECUTABLE:FILEPATH=/usr/bin/python3 -DPython_INCLUDE_DIR:PATH=/usr/include/python3.11 -DPython_LIBRARY:PATH=/usr/lib/libpython3.11.so -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3 -DPYTHON_INCLUDE_DIR:PATH=/usr/include/python3.11 -DPYTHON_LIBRARY:PATH=/usr/lib/libpython3.11.so -DCMAKE_BUILD_TYPE:STRING=Release\n\n\n\n' E + where 'copying _skbuild/linux-armv8l-3.11/cmake-install/foo.py -> _skbuild/linux-armv8l-3.11/setuptools/scripts-' = to_platform_path('copying _skbuild/linux-armv8l-3.11/cmake-install/foo.py -> _skbuild/linux-armv8l-3.11/setuptools/scripts-') _ = '' capsys = <_pytest.capture.CaptureFixture object at 0xf40393b0> distribution_type = 'skbuild' message = 'copying _skbuild/linux-armv8l-3.11/cmake-install/foo.py -> _skbuild/linux-armv8l-3.11/setuptools/scripts-' messages = ['copying _skbuild/linux-armv8l-3.11/cmake-install/foo.py -> _skbuild/linux-armv8l-3.11/setuptools/scripts-', 'copying _skbuild/linux-armv8l-3.11/cmake-install/bar.py -> _skbuild/linux-armv8l-3.11/setuptools/scripts-'] out = '\n\n--------------------------------------------------------------------------------\n-- Trying "Ninja" generator\n--...PATH=/usr/include/python3.11 -DPYTHON_LIBRARY:PATH=/usr/lib/libpython3.11.so -DCMAKE_BUILD_TYPE:STRING=Release\n\n\n\n' tmp_dir = local('/tmp/pytest-of-buildozer/pytest-667/script_keyword0') tests/test_setup.py:462: AssertionError ----------------------------- Captured stdout call ----------------------------- Not searching for unused variables given on the command line. -- Configuring incomplete, errors occurred! See also "/tmp/pytest-of-buildozer/pytest-667/script_keyword0/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log". Not searching for unused variables given on the command line. -- Configuring done -- Generating done -- Build files have been written to: /tmp/pytest-of-buildozer/pytest-667/script_keyword0/_cmake_test_compile/build -- Configuring done -- Generating done -- Build files have been written to: /tmp/pytest-of-buildozer/pytest-667/script_keyword0/_skbuild/linux-armv8l-3.11/cmake-build Install the project... -- Install configuration: "Release" -- Installing: /tmp/pytest-of-buildozer/pytest-667/script_keyword0/_skbuild/linux-armv8l-3.11/cmake-install/./foo.py -- Installing: /tmp/pytest-of-buildozer/pytest-667/script_keyword0/_skbuild/linux-armv8l-3.11/cmake-install/./bar.py ----------------------------- Captured stderr call ----------------------------- CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. CMake Warning: Manually-specified variables were not used by the project: PYTHON_EXECUTABLE PYTHON_INCLUDE_DIR PYTHON_LIBRARY PYTHON_VERSION_STRING Python3_EXECUTABLE Python3_INCLUDE_DIR Python3_LIBRARY Python_EXECUTABLE Python_INCLUDE_DIR Python_LIBRARY SKBUILD ------------------------------ Captured log call ------------------------------- INFO root:dist.py:985 running build INFO root:dist.py:985 running build_ext INFO root:dist.py:985 running build_scripts INFO root:dir_util.py:71 creating _skbuild/linux-armv8l-3.11/setuptools/scripts-3.11 INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/foo.py -> _skbuild/linux-armv8l-3.11/setuptools/scripts-3.11 INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/bar.py -> _skbuild/linux-armv8l-3.11/setuptools/scripts-3.11 INFO root:build_scripts.py:147 changing mode of _skbuild/linux-armv8l-3.11/setuptools/scripts-3.11/foo.py from 644 to 755 INFO root:build_scripts.py:147 changing mode of _skbuild/linux-armv8l-3.11/setuptools/scripts-3.11/bar.py from 644 to 755 ________________________ test_py_modules_keyword[pure] _________________________ distribution_type = 'pure' capsys = <_pytest.capture.CaptureFixture object at 0xf3f8df50> @pytest.mark.parametrize("distribution_type", ("pure", "skbuild")) def test_py_modules_keyword(distribution_type, capsys): # ------------------------------------------------------------------------- # # "SOURCE" tree layout for "pure" distribution: # # ROOT/ # setup.py # foo.py # bar.py # # "SOURCE" tree layout for "skbuild" distribution: # # ROOT/ # setup.py # CMakeLists.txt # # ------------------------------------------------------------------------- # "BINARY" distribution layout is identical for both # # ROOT/ # foo.py # bar.py # tmp_dir = _tmpdir("py_modules_keyword") tmp_dir.join("setup.py").write( textwrap.dedent( """ from skbuild import setup setup( name="test_py_modules_keyword", version="1.2.3", description="a package testing use of py_modules keyword", author='The scikit-build team', license="MIT", py_modules=['foo', 'bar'] ) """ ) ) if distribution_type == "skbuild": tmp_dir.join("CMakeLists.txt").write( textwrap.dedent( """ cmake_minimum_required(VERSION 3.5.0) project(foobar NONE) file(WRITE "${CMAKE_BINARY_DIR}/foo.py" "# foo.py") file(WRITE "${CMAKE_BINARY_DIR}/bar.py" "# bar.py") install( FILES "${CMAKE_BINARY_DIR}/foo.py" "${CMAKE_BINARY_DIR}/bar.py" DESTINATION "." ) """ ) ) messages = [ "copying {}/{}.py -> " "{}/setuptools/lib".format(CMAKE_INSTALL_DIR(), module, SKBUILD_DIR()) for module in ["foo", "bar"] ] elif distribution_type == "pure": tmp_dir.join("foo.py").write("# foo.py") tmp_dir.join("bar.py").write("# bar.py") messages = ["copying {}.py -> " "{}/setuptools/lib".format(module, SKBUILD_DIR()) for module in ["foo", "bar"]] with execute_setup_py(tmp_dir, ["build"], disable_languages_test=True): pass out, _ = capsys.readouterr() for message in messages: > assert to_platform_path(message) in out E AssertionError: assert 'copying foo.py -> _skbuild/linux-armv8l-3.11/setuptools/lib' in 'skipping skbuild (no CMakeLists.txt found)\n' E + where 'copying foo.py -> _skbuild/linux-armv8l-3.11/setuptools/lib' = to_platform_path('copying foo.py -> _skbuild/linux-armv8l-3.11/setuptools/lib') _ = '' capsys = <_pytest.capture.CaptureFixture object at 0xf3f8df50> distribution_type = 'pure' message = 'copying foo.py -> _skbuild/linux-armv8l-3.11/setuptools/lib' messages = ['copying foo.py -> _skbuild/linux-armv8l-3.11/setuptools/lib', 'copying bar.py -> _skbuild/linux-armv8l-3.11/setuptools/lib'] out = 'skipping skbuild (no CMakeLists.txt found)\n' tmp_dir = local('/tmp/pytest-of-buildozer/pytest-668/py_modules_keyword0') tests/test_setup.py:543: AssertionError ------------------------------ Captured log call ------------------------------- INFO root:dist.py:985 running build INFO root:dist.py:985 running build_py INFO root:dir_util.py:71 creating _skbuild INFO root:dir_util.py:71 creating _skbuild/linux-armv8l-3.11 INFO root:dir_util.py:71 creating _skbuild/linux-armv8l-3.11/setuptools INFO root:dir_util.py:71 creating _skbuild/linux-armv8l-3.11/setuptools/lib INFO root:file_util.py:137 copying foo.py -> _skbuild/linux-armv8l-3.11/setuptools/lib INFO root:file_util.py:137 copying bar.py -> _skbuild/linux-armv8l-3.11/setuptools/lib INFO skbuild:build_py.py:41 copied 2 files _______________________ test_py_modules_keyword[skbuild] _______________________ distribution_type = 'skbuild' capsys = <_pytest.capture.CaptureFixture object at 0xf40655f0> @pytest.mark.parametrize("distribution_type", ("pure", "skbuild")) def test_py_modules_keyword(distribution_type, capsys): # ------------------------------------------------------------------------- # # "SOURCE" tree layout for "pure" distribution: # # ROOT/ # setup.py # foo.py # bar.py # # "SOURCE" tree layout for "skbuild" distribution: # # ROOT/ # setup.py # CMakeLists.txt # # ------------------------------------------------------------------------- # "BINARY" distribution layout is identical for both # # ROOT/ # foo.py # bar.py # tmp_dir = _tmpdir("py_modules_keyword") tmp_dir.join("setup.py").write( textwrap.dedent( """ from skbuild import setup setup( name="test_py_modules_keyword", version="1.2.3", description="a package testing use of py_modules keyword", author='The scikit-build team', license="MIT", py_modules=['foo', 'bar'] ) """ ) ) if distribution_type == "skbuild": tmp_dir.join("CMakeLists.txt").write( textwrap.dedent( """ cmake_minimum_required(VERSION 3.5.0) project(foobar NONE) file(WRITE "${CMAKE_BINARY_DIR}/foo.py" "# foo.py") file(WRITE "${CMAKE_BINARY_DIR}/bar.py" "# bar.py") install( FILES "${CMAKE_BINARY_DIR}/foo.py" "${CMAKE_BINARY_DIR}/bar.py" DESTINATION "." ) """ ) ) messages = [ "copying {}/{}.py -> " "{}/setuptools/lib".format(CMAKE_INSTALL_DIR(), module, SKBUILD_DIR()) for module in ["foo", "bar"] ] elif distribution_type == "pure": tmp_dir.join("foo.py").write("# foo.py") tmp_dir.join("bar.py").write("# bar.py") messages = ["copying {}.py -> " "{}/setuptools/lib".format(module, SKBUILD_DIR()) for module in ["foo", "bar"]] with execute_setup_py(tmp_dir, ["build"], disable_languages_test=True): pass out, _ = capsys.readouterr() for message in messages: > assert to_platform_path(message) in out E assert 'copying _skbuild/linux-armv8l-3.11/cmake-install/foo.py -> _skbuild/linux-armv8l-3.11/setuptools/lib' in '\n\n--------------------------------------------------------------------------------\n-- Trying "Ninja" generator\n--------------------------------\n---------------------------\n----------------------\n-----------------\n------------\n-------\n--\n--\n-------\n------------\n-----------------\n----------------------\n---------------------------\n--------------------------------\n-- Trying "Ninja" generator - failure\n--------------------------------------------------------------------------------\n\n\n\n--------------------------------------------------------------------------------\n-- Trying "Unix Makefiles" generator\n--------------------------------\n---------------------------\n----------------------\n-----------------\n------------\n-------\n--\n--\n-------\n------------\n-----------------\n----------------------\n---------------------------\n--------------------------------\n-- Trying "Unix Makefiles" generator - success\n--------------------------------------------------------------------------------\n\nConfiguring Project\n Working directory:\n /tmp/pytest-of-buildozer/pytest-669/py_modules_keyword0/_skbuild/linux-armv8l-3.11/cmake-build\n Command:\n cmake /tmp/pytest-of-buildozer/pytest-669/py_modules_keyword0 -G \'Unix Makefiles\' -DCMAKE_INSTALL_PREFIX:PATH=/tmp/pytest-of-buildozer/pytest-669/py_modules_keyword0/_skbuild/linux-armv8l-3.11/cmake-install -DPYTHON_VERSION_STRING:STRING=3.11.0 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/home/buildozer/aports/testing/py3-scikit-build/src/scikit-build-0.15.0/skbuild/resources/cmake -DPython3_EXECUTABLE:FILEPATH=/usr/bin/python3 -DPython3_INCLUDE_DIR:PATH=/usr/include/python3.11 -DPython3_LIBRARY:PATH=/usr/lib/libpython3.11.so -DPython_EXECUTABLE:FILEPATH=/usr/bin/python3 -DPython_INCLUDE_DIR:PATH=/usr/include/python3.11 -DPython_LIBRARY:PATH=/usr/lib/libpython3.11.so -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3 -DPYTHON_INCLUDE_DIR:PATH=/usr/include/python3.11 -DPYTHON_LIBRARY:PATH=/usr/lib/libpython3.11.so -DCMAKE_BUILD_TYPE:STRING=Release\n\n\n\n' E + where 'copying _skbuild/linux-armv8l-3.11/cmake-install/foo.py -> _skbuild/linux-armv8l-3.11/setuptools/lib' = to_platform_path('copying _skbuild/linux-armv8l-3.11/cmake-install/foo.py -> _skbuild/linux-armv8l-3.11/setuptools/lib') _ = '' capsys = <_pytest.capture.CaptureFixture object at 0xf40655f0> distribution_type = 'skbuild' message = 'copying _skbuild/linux-armv8l-3.11/cmake-install/foo.py -> _skbuild/linux-armv8l-3.11/setuptools/lib' messages = ['copying _skbuild/linux-armv8l-3.11/cmake-install/foo.py -> _skbuild/linux-armv8l-3.11/setuptools/lib', 'copying _skbuild/linux-armv8l-3.11/cmake-install/bar.py -> _skbuild/linux-armv8l-3.11/setuptools/lib'] out = '\n\n--------------------------------------------------------------------------------\n-- Trying "Ninja" generator\n--...PATH=/usr/include/python3.11 -DPYTHON_LIBRARY:PATH=/usr/lib/libpython3.11.so -DCMAKE_BUILD_TYPE:STRING=Release\n\n\n\n' tmp_dir = local('/tmp/pytest-of-buildozer/pytest-669/py_modules_keyword0') tests/test_setup.py:543: AssertionError ----------------------------- Captured stdout call ----------------------------- Not searching for unused variables given on the command line. -- Configuring incomplete, errors occurred! See also "/tmp/pytest-of-buildozer/pytest-669/py_modules_keyword0/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log". Not searching for unused variables given on the command line. -- Configuring done -- Generating done -- Build files have been written to: /tmp/pytest-of-buildozer/pytest-669/py_modules_keyword0/_cmake_test_compile/build -- Configuring done -- Generating done -- Build files have been written to: /tmp/pytest-of-buildozer/pytest-669/py_modules_keyword0/_skbuild/linux-armv8l-3.11/cmake-build Install the project... -- Install configuration: "Release" -- Installing: /tmp/pytest-of-buildozer/pytest-669/py_modules_keyword0/_skbuild/linux-armv8l-3.11/cmake-install/./foo.py -- Installing: /tmp/pytest-of-buildozer/pytest-669/py_modules_keyword0/_skbuild/linux-armv8l-3.11/cmake-install/./bar.py ----------------------------- Captured stderr call ----------------------------- CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. CMake Warning: Manually-specified variables were not used by the project: PYTHON_EXECUTABLE PYTHON_INCLUDE_DIR PYTHON_LIBRARY PYTHON_VERSION_STRING Python3_EXECUTABLE Python3_INCLUDE_DIR Python3_LIBRARY Python_EXECUTABLE Python_INCLUDE_DIR Python_LIBRARY SKBUILD ------------------------------ Captured log call ------------------------------- INFO root:dist.py:985 running build INFO root:dist.py:985 running build_py INFO root:dir_util.py:71 creating _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311 INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/foo.py -> _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311 INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/bar.py -> _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311 INFO skbuild:build_py.py:41 copied 2 files INFO root:dist.py:985 running build_ext ___________________ test_cmake_install_into_pure_package[0] ____________________ with_cmake_source_dir = 0 capsys = <_pytest.capture.CaptureFixture object at 0xf3f683d0> @pytest.mark.parametrize("with_cmake_source_dir", [0, 1]) def test_cmake_install_into_pure_package(with_cmake_source_dir, capsys): # ------------------------------------------------------------------------- # "SOURCE" tree layout: # # (1) with_cmake_source_dir == 0 # # ROOT/ # # CMakeLists.txt # setup.py # # fruits/ # __init__.py # # # (2) with_cmake_source_dir == 1 # # ROOT/ # # setup.py # # fruits/ # __init__.py # # src/ # # CMakeLists.txt # # ------------------------------------------------------------------------- # "BINARY" distribution layout: # # ROOT/ # # fruits/ # # __init__.py # apple.py # banana.py # # data/ # # apple.dat # banana.dat # tmp_dir = _tmpdir("cmake_install_into_pure_package") cmake_source_dir = "src" if with_cmake_source_dir else "" tmp_dir.join("setup.py").write( textwrap.dedent( """ from skbuild import setup setup( name="test_py_modules_keyword", version="1.2.3", description="a package testing use of py_modules keyword", author='The scikit-build team', license="MIT", packages=['fruits'], cmake_install_dir='fruits', cmake_source_dir='{cmake_source_dir}', ) """.format( cmake_source_dir=cmake_source_dir ) ) ) cmake_src_dir = tmp_dir.ensure(cmake_source_dir, dir=1) cmake_src_dir.join("CMakeLists.txt").write( textwrap.dedent( """ cmake_minimum_required(VERSION 3.5.0) project(test NONE) file(WRITE "${CMAKE_BINARY_DIR}/apple.py" "# apple.py") file(WRITE "${CMAKE_BINARY_DIR}/banana.py" "# banana.py") install( FILES "${CMAKE_BINARY_DIR}/apple.py" "${CMAKE_BINARY_DIR}/banana.py" DESTINATION "." ) file(WRITE "${CMAKE_BINARY_DIR}/apple.dat" "# apple.dat") file(WRITE "${CMAKE_BINARY_DIR}/banana.dat" "# banana.dat") install( FILES "${CMAKE_BINARY_DIR}/apple.dat" "${CMAKE_BINARY_DIR}/banana.dat" DESTINATION "data" ) """ ) ) tmp_dir.ensure("fruits/__init__.py") with execute_setup_py(tmp_dir, ["build"], disable_languages_test=True): pass messages = [ "copying {}/{} -> " "{}/setuptools/lib".format(CMAKE_INSTALL_DIR(), module, SKBUILD_DIR()) for module in [ "fruits/__init__.py", "fruits/apple.py", "fruits/banana.py", "fruits/data/apple.dat", "fruits/data/banana.dat", ] ] out, _ = capsys.readouterr() for message in messages: > assert to_platform_path(message) in out E assert 'copying _skbuild/linux-armv8l-3.11/cmake-install/fruits/__init__.py -> _skbuild/linux-armv8l-3.11/setuptools/lib' in '\n\n--------------------------------------------------------------------------------\n-- Trying "Ninja" generator\n--------------------------------\n---------------------------\n----------------------\n-----------------\n------------\n-------\n--\n--\n-------\n------------\n-----------------\n----------------------\n---------------------------\n--------------------------------\n-- Trying "Ninja" generator - failure\n--------------------------------------------------------------------------------\n\n\n\n--------------------------------------------------------------------------------\n-- Trying "Unix Makefiles" generator\n--------------------------------\n---------------------------\n----------------------\n-----------------\n------------\n-------\n--\n--\n-------\n------------\n-----------------\n----------------------\n---------------------------\n--------------------------------\n-- Trying "Unix Makefiles" generator - success\n--------------------------------------------------------------------------------\n\nConfiguring Project\n Working directory:\n /tmp/pytest-of-buildozer/pytest-670/cmake_install_into_pure_packag0/_skbuild/linux-armv8l-3.11/cmake-build\n Command:\n cmake /tmp/pytest-of-buildozer/pytest-670/cmake_install_into_pure_packag0 -G \'Unix Makefiles\' -DCMAKE_INSTALL_PREFIX:PATH=/tmp/pytest-of-buildozer/pytest-670/cmake_install_into_pure_packag0/_skbuild/linux-armv8l-3.11/cmake-install/fruits -DPYTHON_VERSION_STRING:STRING=3.11.0 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/home/buildozer/aports/testing/py3-scikit-build/src/scikit-build-0.15.0/skbuild/resources/cmake -DPython3_EXECUTABLE:FILEPATH=/usr/bin/python3 -DPython3_INCLUDE_DIR:PATH=/usr/include/python3.11 -DPython3_LIBRARY:PATH=/usr/lib/libpython3.11.so -DPython_EXECUTABLE:FILEPATH=/usr/bin/python3 -DPython_INCLUDE_DIR:PATH=/usr/include/python3.11 -DPython_LIBRARY:PATH=/usr/lib/libpython3.11.so -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3 -DPYTHON_INCLUDE_DIR:PATH=/usr/include/python3.11 -DPYTHON_LIBRARY:PATH=/usr/lib/libpython3.11.so -DCMAKE_BUILD_TYPE:STRING=Release\n\n\ncopying fruits/__init__.py -> _skbuild/linux-armv8l-3.11/cmake-install/fruits/__init__.py\n\n' E + where 'copying _skbuild/linux-armv8l-3.11/cmake-install/fruits/__init__.py -> _skbuild/linux-armv8l-3.11/setuptools/lib' = to_platform_path('copying _skbuild/linux-armv8l-3.11/cmake-install/fruits/__init__.py -> _skbuild/linux-armv8l-3.11/setuptools/lib') _ = '' capsys = <_pytest.capture.CaptureFixture object at 0xf3f683d0> cmake_source_dir = '' cmake_src_dir = local('/tmp/pytest-of-buildozer/pytest-670/cmake_install_into_pure_packag0') message = 'copying _skbuild/linux-armv8l-3.11/cmake-install/fruits/__init__.py -> _skbuild/linux-armv8l-3.11/setuptools/lib' messages = ['copying _skbuild/linux-armv8l-3.11/cmake-install/fruits/__init__.py -> _skbuild/linux-armv8l-3.11/setuptools/lib', '...'copying _skbuild/linux-armv8l-3.11/cmake-install/fruits/data/banana.dat -> _skbuild/linux-armv8l-3.11/setuptools/lib'] out = '\n\n--------------------------------------------------------------------------------\n-- Trying "Ninja" generator\n--...TYPE:STRING=Release\n\n\ncopying fruits/__init__.py -> _skbuild/linux-armv8l-3.11/cmake-install/fruits/__init__.py\n\n' tmp_dir = local('/tmp/pytest-of-buildozer/pytest-670/cmake_install_into_pure_packag0') with_cmake_source_dir = 0 tests/test_setup.py:1060: AssertionError ----------------------------- Captured stdout call ----------------------------- Not searching for unused variables given on the command line. -- Configuring incomplete, errors occurred! See also "/tmp/pytest-of-buildozer/pytest-670/cmake_install_into_pure_packag0/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log". Not searching for unused variables given on the command line. -- Configuring done -- Generating done -- Build files have been written to: /tmp/pytest-of-buildozer/pytest-670/cmake_install_into_pure_packag0/_cmake_test_compile/build -- Configuring done -- Generating done -- Build files have been written to: /tmp/pytest-of-buildozer/pytest-670/cmake_install_into_pure_packag0/_skbuild/linux-armv8l-3.11/cmake-build Install the project... -- Install configuration: "Release" -- Installing: /tmp/pytest-of-buildozer/pytest-670/cmake_install_into_pure_packag0/_skbuild/linux-armv8l-3.11/cmake-install/fruits/./apple.py -- Installing: /tmp/pytest-of-buildozer/pytest-670/cmake_install_into_pure_packag0/_skbuild/linux-armv8l-3.11/cmake-install/fruits/./banana.py -- Installing: /tmp/pytest-of-buildozer/pytest-670/cmake_install_into_pure_packag0/_skbuild/linux-armv8l-3.11/cmake-install/fruits/data/apple.dat -- Installing: /tmp/pytest-of-buildozer/pytest-670/cmake_install_into_pure_packag0/_skbuild/linux-armv8l-3.11/cmake-install/fruits/data/banana.dat ----------------------------- Captured stderr call ----------------------------- CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. CMake Warning: Manually-specified variables were not used by the project: PYTHON_EXECUTABLE PYTHON_INCLUDE_DIR PYTHON_LIBRARY PYTHON_VERSION_STRING Python3_EXECUTABLE Python3_INCLUDE_DIR Python3_LIBRARY Python_EXECUTABLE Python_INCLUDE_DIR Python_LIBRARY SKBUILD ------------------------------ Captured log call ------------------------------- INFO root:dist.py:985 running build INFO root:dist.py:985 running build_py INFO root:dir_util.py:71 creating _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311 INFO root:dir_util.py:71 creating _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/fruits INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/fruits/apple.py -> _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/fruits INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/fruits/banana.py -> _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/fruits INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/fruits/__init__.py -> _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/fruits INFO root:dir_util.py:71 creating _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/fruits/data INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/fruits/data/apple.dat -> _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/fruits/data INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/fruits/data/banana.dat -> _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/fruits/data INFO skbuild:build_py.py:41 copied 3 files INFO root:dist.py:985 running build_ext ___________________ test_cmake_install_into_pure_package[1] ____________________ with_cmake_source_dir = 1 capsys = <_pytest.capture.CaptureFixture object at 0xf3fe32b0> @pytest.mark.parametrize("with_cmake_source_dir", [0, 1]) def test_cmake_install_into_pure_package(with_cmake_source_dir, capsys): # ------------------------------------------------------------------------- # "SOURCE" tree layout: # # (1) with_cmake_source_dir == 0 # # ROOT/ # # CMakeLists.txt # setup.py # # fruits/ # __init__.py # # # (2) with_cmake_source_dir == 1 # # ROOT/ # # setup.py # # fruits/ # __init__.py # # src/ # # CMakeLists.txt # # ------------------------------------------------------------------------- # "BINARY" distribution layout: # # ROOT/ # # fruits/ # # __init__.py # apple.py # banana.py # # data/ # # apple.dat # banana.dat # tmp_dir = _tmpdir("cmake_install_into_pure_package") cmake_source_dir = "src" if with_cmake_source_dir else "" tmp_dir.join("setup.py").write( textwrap.dedent( """ from skbuild import setup setup( name="test_py_modules_keyword", version="1.2.3", description="a package testing use of py_modules keyword", author='The scikit-build team', license="MIT", packages=['fruits'], cmake_install_dir='fruits', cmake_source_dir='{cmake_source_dir}', ) """.format( cmake_source_dir=cmake_source_dir ) ) ) cmake_src_dir = tmp_dir.ensure(cmake_source_dir, dir=1) cmake_src_dir.join("CMakeLists.txt").write( textwrap.dedent( """ cmake_minimum_required(VERSION 3.5.0) project(test NONE) file(WRITE "${CMAKE_BINARY_DIR}/apple.py" "# apple.py") file(WRITE "${CMAKE_BINARY_DIR}/banana.py" "# banana.py") install( FILES "${CMAKE_BINARY_DIR}/apple.py" "${CMAKE_BINARY_DIR}/banana.py" DESTINATION "." ) file(WRITE "${CMAKE_BINARY_DIR}/apple.dat" "# apple.dat") file(WRITE "${CMAKE_BINARY_DIR}/banana.dat" "# banana.dat") install( FILES "${CMAKE_BINARY_DIR}/apple.dat" "${CMAKE_BINARY_DIR}/banana.dat" DESTINATION "data" ) """ ) ) tmp_dir.ensure("fruits/__init__.py") with execute_setup_py(tmp_dir, ["build"], disable_languages_test=True): pass messages = [ "copying {}/{} -> " "{}/setuptools/lib".format(CMAKE_INSTALL_DIR(), module, SKBUILD_DIR()) for module in [ "fruits/__init__.py", "fruits/apple.py", "fruits/banana.py", "fruits/data/apple.dat", "fruits/data/banana.dat", ] ] out, _ = capsys.readouterr() for message in messages: > assert to_platform_path(message) in out E assert 'copying _skbuild/linux-armv8l-3.11/cmake-install/fruits/__init__.py -> _skbuild/linux-armv8l-3.11/setuptools/lib' in '\n\n--------------------------------------------------------------------------------\n-- Trying "Ninja" generator\n--------------------------------\n---------------------------\n----------------------\n-----------------\n------------\n-------\n--\n--\n-------\n------------\n-----------------\n----------------------\n---------------------------\n--------------------------------\n-- Trying "Ninja" generator - failure\n--------------------------------------------------------------------------------\n\n\n\n--------------------------------------------------------------------------------\n-- Trying "Unix Makefiles" generator\n--------------------------------\n---------------------------\n----------------------\n-----------------\n------------\n-------\n--\n--\n-------\n------------\n-----------------\n----------------------\n---------------------------\n--------------------------------\n-- Trying "Unix Makefiles" generator - success\n--------------------------------------------------------------------------------\n\nConfiguring Project\n Working directory:\n /tmp/pytest-of-buildozer/pytest-671/cmake_install_into_pure_packag0/_skbuild/linux-armv8l-3.11/cmake-build\n Command:\n cmake /tmp/pytest-of-buildozer/pytest-671/cmake_install_into_pure_packag0/src -G \'Unix Makefiles\' -DCMAKE_INSTALL_PREFIX:PATH=/tmp/pytest-of-buildozer/pytest-671/cmake_install_into_pure_packag0/_skbuild/linux-armv8l-3.11/cmake-install/fruits -DPYTHON_VERSION_STRING:STRING=3.11.0 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/home/buildozer/aports/testing/py3-scikit-build/src/scikit-build-0.15.0/skbuild/resources/cmake -DPython3_EXECUTABLE:FILEPATH=/usr/bin/python3 -DPython3_INCLUDE_DIR:PATH=/usr/include/python3.11 -DPython3_LIBRARY:PATH=/usr/lib/libpython3.11.so -DPython_EXECUTABLE:FILEPATH=/usr/bin/python3 -DPython_INCLUDE_DIR:PATH=/usr/include/python3.11 -DPython_LIBRARY:PATH=/usr/lib/libpython3.11.so -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3 -DPYTHON_INCLUDE_DIR:PATH=/usr/include/python3.11 -DPYTHON_LIBRARY:PATH=/usr/lib/libpython3.11.so -DCMAKE_BUILD_TYPE:STRING=Release\n\n\ncopying fruits/__init__.py -> _skbuild/linux-armv8l-3.11/cmake-install/fruits/__init__.py\n\n' E + where 'copying _skbuild/linux-armv8l-3.11/cmake-install/fruits/__init__.py -> _skbuild/linux-armv8l-3.11/setuptools/lib' = to_platform_path('copying _skbuild/linux-armv8l-3.11/cmake-install/fruits/__init__.py -> _skbuild/linux-armv8l-3.11/setuptools/lib') _ = '' capsys = <_pytest.capture.CaptureFixture object at 0xf3fe32b0> cmake_source_dir = 'src' cmake_src_dir = local('/tmp/pytest-of-buildozer/pytest-671/cmake_install_into_pure_packag0/src') message = 'copying _skbuild/linux-armv8l-3.11/cmake-install/fruits/__init__.py -> _skbuild/linux-armv8l-3.11/setuptools/lib' messages = ['copying _skbuild/linux-armv8l-3.11/cmake-install/fruits/__init__.py -> _skbuild/linux-armv8l-3.11/setuptools/lib', '...'copying _skbuild/linux-armv8l-3.11/cmake-install/fruits/data/banana.dat -> _skbuild/linux-armv8l-3.11/setuptools/lib'] out = '\n\n--------------------------------------------------------------------------------\n-- Trying "Ninja" generator\n--...TYPE:STRING=Release\n\n\ncopying fruits/__init__.py -> _skbuild/linux-armv8l-3.11/cmake-install/fruits/__init__.py\n\n' tmp_dir = local('/tmp/pytest-of-buildozer/pytest-671/cmake_install_into_pure_packag0') with_cmake_source_dir = 1 tests/test_setup.py:1060: AssertionError ----------------------------- Captured stdout call ----------------------------- Not searching for unused variables given on the command line. -- Configuring incomplete, errors occurred! See also "/tmp/pytest-of-buildozer/pytest-671/cmake_install_into_pure_packag0/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log". Not searching for unused variables given on the command line. -- Configuring done -- Generating done -- Build files have been written to: /tmp/pytest-of-buildozer/pytest-671/cmake_install_into_pure_packag0/_cmake_test_compile/build -- Configuring done -- Generating done -- Build files have been written to: /tmp/pytest-of-buildozer/pytest-671/cmake_install_into_pure_packag0/_skbuild/linux-armv8l-3.11/cmake-build Install the project... -- Install configuration: "Release" -- Installing: /tmp/pytest-of-buildozer/pytest-671/cmake_install_into_pure_packag0/_skbuild/linux-armv8l-3.11/cmake-install/fruits/./apple.py -- Installing: /tmp/pytest-of-buildozer/pytest-671/cmake_install_into_pure_packag0/_skbuild/linux-armv8l-3.11/cmake-install/fruits/./banana.py -- Installing: /tmp/pytest-of-buildozer/pytest-671/cmake_install_into_pure_packag0/_skbuild/linux-armv8l-3.11/cmake-install/fruits/data/apple.dat -- Installing: /tmp/pytest-of-buildozer/pytest-671/cmake_install_into_pure_packag0/_skbuild/linux-armv8l-3.11/cmake-install/fruits/data/banana.dat ----------------------------- Captured stderr call ----------------------------- CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. CMake Warning: Manually-specified variables were not used by the project: PYTHON_EXECUTABLE PYTHON_INCLUDE_DIR PYTHON_LIBRARY PYTHON_VERSION_STRING Python3_EXECUTABLE Python3_INCLUDE_DIR Python3_LIBRARY Python_EXECUTABLE Python_INCLUDE_DIR Python_LIBRARY SKBUILD ------------------------------ Captured log call ------------------------------- INFO root:dist.py:985 running build INFO root:dist.py:985 running build_py INFO root:dir_util.py:71 creating _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311 INFO root:dir_util.py:71 creating _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/fruits INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/fruits/apple.py -> _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/fruits INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/fruits/banana.py -> _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/fruits INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/fruits/__init__.py -> _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/fruits INFO root:dir_util.py:71 creating _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/fruits/data INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/fruits/data/apple.dat -> _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/fruits/data INFO root:file_util.py:137 copying _skbuild/linux-armv8l-3.11/cmake-install/fruits/data/banana.dat -> _skbuild/linux-armv8l-3.11/setuptools/lib.linux-armv8l-cpython-311/fruits/data INFO skbuild:build_py.py:41 copied 3 files INFO root:dist.py:985 running build_ext =============================== warnings summary =============================== tests/test_cmake_target.py::test_cmake_target_build /usr/lib/python3.11/site-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but tests/test_cmake_target.py::test_cmake_target_build returned (local('/tmp/pytest-of-buildozer/pytest-599/test_cmake_target_build0'), None), which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( tests/test_cmakelists_not_in_top_level_dir.py::test_build /usr/lib/python3.11/site-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but tests/test_cmakelists_not_in_top_level_dir.py::test_build returned (local('/tmp/pytest-of-buildozer/pytest-600/test_build0'), None), which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( tests/test_command_line.py::test_help /usr/lib/python3.11/site-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but tests/test_command_line.py::test_help returned (local('/tmp/pytest-of-buildozer/pytest-614/test_help0'), None), which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( tests/test_command_line.py::test_help_commands /usr/lib/python3.11/site-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but tests/test_command_line.py::test_help_commands returned (local('/tmp/pytest-of-buildozer/pytest-615/test_help_commands0'), None), which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( tests/test_command_line.py::test_metadata_display /usr/lib/python3.11/site-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but tests/test_command_line.py::test_metadata_display returned (local('/tmp/pytest-of-buildozer/pytest-616/test_metadata_display0'), None), which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( tests/test_command_line.py::test_cmake_args /usr/lib/python3.11/site-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but tests/test_command_line.py::test_cmake_args returned (local('/tmp/pytest-of-buildozer/pytest-620/test_cmake_args0'), None), which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( tests/test_command_line.py::test_cmake_cache_entry_as_global_option /usr/lib/python3.11/site-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but tests/test_command_line.py::test_cmake_cache_entry_as_global_option returned (local('/tmp/pytest-of-buildozer/pytest-621/test_cmake_cache_entry_as_glob0'), None), which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( tests/test_command_line.py: 2 warnings tests/test_filter_manifest.py: 1 warning tests/test_hello_cpp.py: 3 warnings tests/test_hello_cython.py: 1 warning tests/test_hello_pure.py: 1 warning tests/test_include_exclude_data.py: 2 warnings tests/test_issue274_support_default_package_dir.py: 3 warnings tests/test_issue274_support_one_package_without_package_dir.py: 3 warnings tests/test_issue334_configure_cmakelists_non_cp1252_encoding.py: 2 warnings tests/test_issue335_support_cmake_source_dir.py: 1 warning tests/test_manifest_in.py: 1 warning tests/test_outside_project_root.py: 4 warnings tests/test_skbuild_variable.py: 1 warning /usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( tests/test_command_line.py::test_run_cmake_arg /usr/lib/python3.11/site-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but tests/test_command_line.py::test_run_cmake_arg returned (local('/tmp/pytest-of-buildozer/pytest-627/test_run_cmake_arg0'), None), which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( tests/test_command_line.py::test_skip_cmake_arg /usr/lib/python3.11/site-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but tests/test_command_line.py::test_skip_cmake_arg returned (local('/tmp/pytest-of-buildozer/pytest-628/test_skip_cmake_arg0'), None), which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( tests/test_cython_flags.py::test_hello_cython_builds /usr/lib/python3.11/site-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but tests/test_cython_flags.py::test_hello_cython_builds returned (local('/tmp/pytest-of-buildozer/pytest-629/test_hello_cython_builds0'), None), which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( tests/test_hello_cpp.py::test_hello_develop tests/test_hello_cpp.py::test_hello_develop tests/test_issue274_support_default_package_dir.py::test_install_command tests/test_issue274_support_default_package_dir.py::test_test_command tests/test_issue274_support_one_package_without_package_dir.py::test_install_command tests/test_issue274_support_one_package_without_package_dir.py::test_test_command tests/test_issue334_configure_cmakelists_non_cp1252_encoding.py::test_install_command tests/test_outside_project_root.py::test_outside_project_root_fails[None] /usr/lib/python3.11/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( tests/test_hello_cpp.py::test_hello_develop tests/test_hello_cpp.py::test_hello_develop tests/test_issue274_support_default_package_dir.py::test_test_command tests/test_issue274_support_default_package_dir.py::test_test_command tests/test_issue274_support_one_package_without_package_dir.py::test_test_command tests/test_issue274_support_one_package_without_package_dir.py::test_test_command /usr/lib/python3.11/site-packages/setuptools/_distutils/util.py:230: DeprecationWarning: shell/Perl-style substitions are deprecated warnings.warn( tests/test_hello_cpp.py::test_hello_develop /usr/lib/python3.11/site-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but tests/test_hello_cpp.py::test_hello_develop returned (local('/tmp/pytest-of-buildozer/pytest-636/test_hello_develop0'), None), which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( tests/test_hello_cython.py::test_hello_cython_builds tests/test_hello_cython.py::test_hello_cython_sdist tests/test_hello_cython.py::test_hello_cython_wheel setup.py:3: FutureWarning: package_dir={'hello_cython': 'hello/'} ends with a trailing slash, which is not supported by setuptools. tests/test_hello_cython.py::test_hello_cython_builds /usr/lib/python3.11/site-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but tests/test_hello_cython.py::test_hello_cython_builds returned (local('/tmp/pytest-of-buildozer/pytest-637/test_hello_cython_builds0'), None), which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( tests/test_hello_cython.py::test_hello_cython_sdist /usr/lib/python3.11/site-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but tests/test_hello_cython.py::test_hello_cython_sdist returned (local('/tmp/pytest-of-buildozer/pytest-638/test_hello_cython_sdist0'), None), which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( tests/test_hello_cython.py::test_hello_cython_wheel /usr/lib/python3.11/site-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but tests/test_hello_cython.py::test_hello_cython_wheel returned (local('/tmp/pytest-of-buildozer/pytest-639/test_hello_cython_wheel0'), None), which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( tests/test_hello_pure.py::test_hello_pure_builds /usr/lib/python3.11/site-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but tests/test_hello_pure.py::test_hello_pure_builds returned (local('/tmp/pytest-of-buildozer/pytest-640/test_hello_pure_builds0'), None), which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( tests/test_hello_pure.py::test_hello_pure_sdist /usr/lib/python3.11/site-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but tests/test_hello_pure.py::test_hello_pure_sdist returned (local('/tmp/pytest-of-buildozer/pytest-641/test_hello_pure_sdist0'), None), which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( tests/test_hello_pure.py::test_hello_pure_wheel /usr/lib/python3.11/site-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but tests/test_hello_pure.py::test_hello_pure_wheel returned (local('/tmp/pytest-of-buildozer/pytest-642/test_hello_pure_wheel0'), None), which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( tests/test_include_exclude_data.py::test_include_exclude_data tests/test_include_exclude_data.py::test_include_exclude_data_with_base /usr/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'hello.data.subdata' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'hello.data.subdata' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'hello.data.subdata' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'hello.data.subdata' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) tests/test_include_exclude_data.py::test_include_exclude_data tests/test_include_exclude_data.py::test_include_exclude_data_with_base /usr/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'hello2.data2.subdata2' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'hello2.data2.subdata2' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'hello2.data2.subdata2' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'hello2.data2.subdata2' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) tests/test_include_exclude_data.py::test_include_exclude_data /usr/lib/python3.11/site-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but tests/test_include_exclude_data.py::test_include_exclude_data returned (local('/tmp/pytest-of-buildozer/pytest-644/test_include_exclude_data0'), None), which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( tests/test_include_exclude_data.py::test_include_exclude_data_with_base /usr/lib/python3.11/site-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but tests/test_include_exclude_data.py::test_include_exclude_data_with_base returned (local('/tmp/pytest-of-buildozer/pytest-645/test_include_exclude_data_with0'), None), which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( tests/test_issue274_support_default_package_dir.py::test_install_command /usr/lib/python3.11/site-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but tests/test_issue274_support_default_package_dir.py::test_install_command returned (local('/tmp/pytest-of-buildozer/pytest-646/test_install_command0'), None), which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( tests/test_issue274_support_one_package_without_package_dir.py::test_install_command /usr/lib/python3.11/site-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but tests/test_issue274_support_one_package_without_package_dir.py::test_install_command returned (local('/tmp/pytest-of-buildozer/pytest-648/test_install_command0'), None), which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( tests/test_issue284_build_ext_inplace.py::test_build_ext_inplace_command /usr/lib/python3.11/site-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but tests/test_issue284_build_ext_inplace.py::test_build_ext_inplace_command returned (local('/tmp/pytest-of-buildozer/pytest-650/test_build_ext_inplace_command0'), None), which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( tests/test_issue334_configure_cmakelists_non_cp1252_encoding.py::test_install_command /usr/lib/python3.11/site-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but tests/test_issue334_configure_cmakelists_non_cp1252_encoding.py::test_install_command returned (local('/tmp/pytest-of-buildozer/pytest-651/test_install_command0'), None), which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( tests/test_manifest_in.py::test_manifest_in_wheel /usr/lib/python3.11/site-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but tests/test_manifest_in.py::test_manifest_in_wheel returned (local('/tmp/pytest-of-buildozer/pytest-653/test_manifest_in_wheel0'), None), which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( tests/test_skbuild_variable.py::test_skbuild_variable_builds /usr/lib/python3.11/site-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but tests/test_skbuild_variable.py::test_skbuild_variable_builds returned (local('/tmp/pytest-of-buildozer/pytest-673/test_skbuild_variable_builds0'), None), which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( tests/test_skbuild_variable.py::test_skbuild_variable_sdist /usr/lib/python3.11/site-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but tests/test_skbuild_variable.py::test_skbuild_variable_sdist returned (local('/tmp/pytest-of-buildozer/pytest-674/test_skbuild_variable_sdist0'), None), which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( tests/test_skbuild_variable.py::test_skbuild_variable_wheel /usr/lib/python3.11/site-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but tests/test_skbuild_variable.py::test_skbuild_variable_wheel returned (local('/tmp/pytest-of-buildozer/pytest-675/test_skbuild_variable_wheel0'), None), which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ---------- coverage: platform linux, python 3.11.0-final-0 ----------- Coverage XML written to file tests/coverage.xml =========================== short test summary info ============================ SKIPPED [1] tests/test_distribution.py:12: pytest_virtualenv not available. See #228 SKIPPED [1] tests/test_platform.py:118: Requires Windows SKIPPED [1] tests/test_skbuild.py:112: NMake Makefiles generator is available only on Linux SKIPPED [8] tests/test_skbuild.py:156: Requires Windows SKIPPED [1] tests/test_skbuild.py:178: Requires Windows FAILED tests/test_command_line.py::test_hide_listing[True-sdist] - AssertionE... FAILED tests/test_command_line.py::test_hide_listing[True-bdist_wheel] - asse... FAILED tests/test_hello_cpp.py::test_hello_cleans - IndexError: list index ou... FAILED tests/test_setup.py::test_cmake_install_dir_keyword[banana-False-str] FAILED tests/test_setup.py::test_script_keyword[pure] - AssertionError: asser... FAILED tests/test_setup.py::test_script_keyword[skbuild] - assert 'copying _s... FAILED tests/test_setup.py::test_py_modules_keyword[pure] - AssertionError: a... FAILED tests/test_setup.py::test_py_modules_keyword[skbuild] - assert 'copyin... FAILED tests/test_setup.py::test_cmake_install_into_pure_package[0] - assert ... FAILED tests/test_setup.py::test_cmake_install_into_pure_package[1] - assert ... = 10 failed, 122 passed, 12 skipped, 101 deselected, 73 warnings in 67.75s (0:01:07) = >>> ERROR: py3-scikit-build: check failed >>> py3-scikit-build: Uninstalling dependencies... (1/42) Purging .makedepends-py3-scikit-build (20221123.233637) (2/42) Purging py3-distro (1.8.0-r1) (3/42) Purging py3-wheel (0.38.4-r1) (4/42) Purging py3-gpep517 (11-r1) (5/42) Purging py3-installer (0.5.1-r2) (6/42) Purging py3-setuptools_scm (7.0.5-r3) (7/42) Purging py3-setuptools (65.6.2-r0) (8/42) Purging py3-typing-extensions (4.4.0-r1) (9/42) Purging cmake (3.25.0-r0) (10/42) Purging cython (0.29.32-r1) (11/42) Purging gfortran (12.2.1_git20220924-r4) (12/42) Purging libgfortran (12.2.1_git20220924-r4) (13/42) Purging py3-mock (4.0.3-r4) (14/42) Purging py3-pbr (5.11.0-r1) (15/42) Purging py3-path (16.5.0-r1) (16/42) Purging py3-pytest-cov (4.0.0-r1) (17/42) Purging py3-pytest (7.2.0-r2) (18/42) Purging py3-attrs (22.1.0-r1) (19/42) Purging py3-iniconfig (1.1.1-r4) (20/42) Purging py3-packaging (21.3-r3) (21/42) Purging py3-parsing (3.0.9-r1) (22/42) Purging py3-pluggy (1.0.0-r2) (23/42) Purging py3-py (1.11.0-r1) (24/42) Purging py3-coverage (6.5.0-r1) (25/42) Purging py3-requests (2.28.1-r2) (26/42) Purging py3-certifi (2022.9.24-r1) (27/42) Purging py3-charset-normalizer (3.0.1-r1) (28/42) Purging py3-idna (3.4-r3) (29/42) Purging py3-urllib3 (1.26.12-r1) (30/42) Purging py3-six (1.16.0-r4) (31/42) Purging python3-dev (3.11.0-r2) (32/42) Purging python3 (3.11.0-r2) (33/42) Purging libarchive (3.6.1-r1) (34/42) Purging libbz2 (1.0.8-r4) (35/42) Purging libffi (3.4.4-r0) (36/42) Purging gdbm (1.23-r0) (37/42) Purging xz-libs (5.2.8-r0) (38/42) Purging mpdecimal (2.5.1-r1) (39/42) Purging readline (8.2.0-r0) (40/42) Purging sqlite-libs (3.40.0-r0) (41/42) Purging rhash-libs (1.4.3-r1) (42/42) Purging libuv (1.44.2-r0) Executing busybox-1.35.0-r29.trigger OK: 331 MiB in 96 packages