Sourcing python-remove-tests-dir-hook Sourcing python-catch-conflicts-hook.sh Sourcing python-remove-bin-bytecode-hook.sh Sourcing pypa-build-hook Using pypaBuildPhase Sourcing python-runtime-deps-check-hook Using pythonRuntimeDepsCheckHook Sourcing pypa-install-hook Using pypaInstallPhase Sourcing python-imports-check-hook.sh Using pythonImportsCheckPhase Sourcing python-namespaces-hook Sourcing python-catch-conflicts-hook.sh Sourcing pytest-check-hook Using pytestCheckPhase Running phase: unpackPhase unpacking source archive /nix/store/bxm8vi4lwz2zihsra3p88d2lj6jpa3wb-source source root is source setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/tests/test_getting_include_dir.py" Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase Executing pypaBuildPhase Setting SETUPTOOLS_SCM_PRETEND_VERSION to 1.3.1 Including all tracked files automatically Creating a wheel... pypa build flags: --no-isolation --outdir dist/ --wheel * Getting build dependencies for wheel... /nix/store/pwznzma23d47ysy9qhwcjq814vqvq7iw-python3.13-setuptools-80.9.0/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated !! ******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! corresp(dist, value, root_dir) /nix/store/pwznzma23d47ysy9qhwcjq814vqvq7iw-python3.13-setuptools-80.9.0/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: BSD License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! dist._finalize_license_expression() /nix/store/pwznzma23d47ysy9qhwcjq814vqvq7iw-python3.13-setuptools-80.9.0/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: BSD License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running egg_info creating cppy.egg-info writing cppy.egg-info/PKG-INFO writing dependency_links to cppy.egg-info/dependency_links.txt writing requirements to cppy.egg-info/requires.txt writing top-level names to cppy.egg-info/top_level.txt writing manifest file 'cppy.egg-info/SOURCES.txt' reading manifest file 'cppy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.png' under directory 'docs/source' no previously-included directories found matching '.git' no previously-included directories found matching 'dist' no previously-included directories found matching 'build' no previously-included directories found matching 'docs/build' adding license file 'LICENSE' writing manifest file 'cppy.egg-info/SOURCES.txt' * Building wheel... /nix/store/pwznzma23d47ysy9qhwcjq814vqvq7iw-python3.13-setuptools-80.9.0/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated !! ******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! corresp(dist, value, root_dir) /nix/store/pwznzma23d47ysy9qhwcjq814vqvq7iw-python3.13-setuptools-80.9.0/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: BSD License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! dist._finalize_license_expression() /nix/store/pwznzma23d47ysy9qhwcjq814vqvq7iw-python3.13-setuptools-80.9.0/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: BSD License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running bdist_wheel running build running build_py creating build/lib/cppy copying cppy/__init__.py -> build/lib/cppy copying cppy/version.py -> build/lib/cppy running egg_info writing cppy.egg-info/PKG-INFO writing dependency_links to cppy.egg-info/dependency_links.txt writing requirements to cppy.egg-info/requires.txt writing top-level names to cppy.egg-info/top_level.txt reading manifest file 'cppy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.png' under directory 'docs/source' no previously-included directories found matching '.git' no previously-included directories found matching 'dist' no previously-included directories found matching 'docs/build' adding license file 'LICENSE' writing manifest file 'cppy.egg-info/SOURCES.txt' /nix/store/pwznzma23d47ysy9qhwcjq814vqvq7iw-python3.13-setuptools-80.9.0/lib/python3.13/site-packages/setuptools/command/build_py.py:212: _Warning: Package 'cppy.include.cppy' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'cppy.include.cppy' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'cppy.include.cppy' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'cppy.include.cppy' to be distributed and are already explicitly excluding 'cppy.include.cppy' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) creating build/lib/cppy/include/cppy copying cppy/include/cppy/cppy.h -> build/lib/cppy/include/cppy copying cppy/include/cppy/defines.h -> build/lib/cppy/include/cppy copying cppy/include/cppy/errors.h -> build/lib/cppy/include/cppy copying cppy/include/cppy/ptr.h -> build/lib/cppy/include/cppy installing to build/bdist.linux-aarch64/wheel running install running install_lib creating build/bdist.linux-aarch64/wheel creating build/bdist.linux-aarch64/wheel/cppy copying build/lib/cppy/__init__.py -> build/bdist.linux-aarch64/wheel/./cppy creating build/bdist.linux-aarch64/wheel/cppy/include creating build/bdist.linux-aarch64/wheel/cppy/include/cppy copying build/lib/cppy/include/cppy/errors.h -> build/bdist.linux-aarch64/wheel/./cppy/include/cppy copying build/lib/cppy/include/cppy/ptr.h -> build/bdist.linux-aarch64/wheel/./cppy/include/cppy copying build/lib/cppy/include/cppy/cppy.h -> build/bdist.linux-aarch64/wheel/./cppy/include/cppy copying build/lib/cppy/include/cppy/defines.h -> build/bdist.linux-aarch64/wheel/./cppy/include/cppy copying build/lib/cppy/version.py -> build/bdist.linux-aarch64/wheel/./cppy running install_egg_info Copying cppy.egg-info to build/bdist.linux-aarch64/wheel/./cppy-1.3.1-py3.13.egg-info running install_scripts creating build/bdist.linux-aarch64/wheel/cppy-1.3.1.dist-info/WHEEL creating '/build/source/dist/.tmp-68gxy_zw/cppy-1.3.1-py3-none-any.whl' and adding 'build/bdist.linux-aarch64/wheel' to it adding 'cppy/__init__.py' adding 'cppy/version.py' adding 'cppy/include/cppy/cppy.h' adding 'cppy/include/cppy/defines.h' adding 'cppy/include/cppy/errors.h' adding 'cppy/include/cppy/ptr.h' adding 'cppy-1.3.1.dist-info/licenses/LICENSE' adding 'cppy-1.3.1.dist-info/METADATA' adding 'cppy-1.3.1.dist-info/WHEEL' adding 'cppy-1.3.1.dist-info/top_level.txt' adding 'cppy-1.3.1.dist-info/RECORD' removing build/bdist.linux-aarch64/wheel Successfully built cppy-1.3.1-py3-none-any.whl Finished creating a wheel... Finished executing pypaBuildPhase Running phase: pythonRuntimeDepsCheckHook Executing pythonRuntimeDepsCheck Checking runtime dependencies for cppy-1.3.1-py3-none-any.whl Finished executing pythonRuntimeDepsCheck Running phase: installPhase Executing pypaInstallPhase Successfully installed cppy-1.3.1-py3-none-any.whl Finished executing pypaInstallPhase Running phase: pythonOutputDistPhase Executing pythonOutputDistPhase Finished executing pythonOutputDistPhase Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/gshblz9y9arqlaqb1dbqm8110kh6jb5m-python3.13-cppy-1.3.1 checking for references to /build/ in /nix/store/gshblz9y9arqlaqb1dbqm8110kh6jb5m-python3.13-cppy-1.3.1... patching script interpreter paths in /nix/store/gshblz9y9arqlaqb1dbqm8110kh6jb5m-python3.13-cppy-1.3.1 stripping (with command strip and flags -S -p) in /nix/store/gshblz9y9arqlaqb1dbqm8110kh6jb5m-python3.13-cppy-1.3.1/lib shrinking RPATHs of ELF executables and libraries in /nix/store/9cz47wbq8nwqiivhjjajsjgmvv0k967w-python3.13-cppy-1.3.1-dist checking for references to /build/ in /nix/store/9cz47wbq8nwqiivhjjajsjgmvv0k967w-python3.13-cppy-1.3.1-dist... patching script interpreter paths in /nix/store/9cz47wbq8nwqiivhjjajsjgmvv0k967w-python3.13-cppy-1.3.1-dist Executing pythonRemoveTestsDir Finished executing pythonRemoveTestsDir Running phase: installCheckPhase no Makefile or custom installCheckPhase, doing nothing Running phase: pythonCatchConflictsPhase Running phase: pythonRemoveBinBytecodePhase Running phase: pythonImportsCheckPhase Executing pythonImportsCheckPhase Check whether the following modules can be imported: cppy Running phase: pytestCheckPhase Executing pytestCheckPhase pytest flags: -m pytest ============================= test session starts ============================== platform linux -- Python 3.13.11, pytest-8.4.2, pluggy-1.6.0 rootdir: /build/source configfile: pyproject.toml collected 1 item tests/test_getting_include_dir.py . [100%] ============================== 1 passed in 0.93s =============================== Finished executing pytestCheckPhase Running phase: pytestcachePhase Running phase: pytestRemoveBytecodePhase