Applying /builder/shared-workdir/build/sdk/feeds/packages/lang/python/python-automat/patches/002-omit-visualize.patch using plaintext: patching file setup.py Applying /builder/shared-workdir/build/sdk/feeds/packages/lang/python/python-automat/patches/003-omit-tests.patch using plaintext: patching file setup.py * Getting build dependencies for wheel... * Building wheel... /builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/python3.11/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'readme' warnings.warn(msg) WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section' Traceback (most recent call last): File "/builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/python3.11/site-packages/setuptools_scm/_integration/pyproject_reading.py", line 36, in read_pyproject section = defn.get("tool", {})[tool_name] ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ KeyError: 'setuptools_scm' /builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/python3.11/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 :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running bdist_wheel /builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:135: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated !! ******************************************************************************** With Python 2.7 end-of-life, support for building universal wheels (i.e., wheels that support both Python 2 and Python 3) is being obviated. Please discontinue using this option, or if you still need it, file an issue with pypa/setuptools describing your use case. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. ******************************************************************************** !! self.finalize_options() running build running build_py creating build/lib/automat copying automat/__init__.py -> build/lib/automat copying automat/_discover.py -> build/lib/automat copying automat/_visualize.py -> build/lib/automat copying automat/_core.py -> build/lib/automat copying automat/_methodical.py -> build/lib/automat copying automat/_introspection.py -> build/lib/automat running egg_info writing Automat.egg-info/PKG-INFO writing dependency_links to Automat.egg-info/dependency_links.txt deleting Automat.egg-info/entry_points.txt writing requirements to Automat.egg-info/requires.txt writing top-level names to Automat.egg-info/top_level.txt ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any reading manifest file 'Automat.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'Automat.egg-info/SOURCES.txt' /builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/python3.11/site-packages/setuptools/command/build_py.py:212: _Warning: Package 'automat._test' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'automat._test' 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 'automat._test' 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 'automat._test' to be distributed and are already explicitly excluding 'automat._test' 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) warning: build_py: byte-compiling is disabled, skipping. installing to build/bdist.linux-aarch64/wheel running install running install_lib creating build/bdist.linux-aarch64/wheel creating build/bdist.linux-aarch64/wheel/automat copying build/lib/automat/__init__.py -> build/bdist.linux-aarch64/wheel/./automat copying build/lib/automat/_discover.py -> build/bdist.linux-aarch64/wheel/./automat copying build/lib/automat/_visualize.py -> build/bdist.linux-aarch64/wheel/./automat copying build/lib/automat/_core.py -> build/bdist.linux-aarch64/wheel/./automat copying build/lib/automat/_methodical.py -> build/bdist.linux-aarch64/wheel/./automat copying build/lib/automat/_introspection.py -> build/bdist.linux-aarch64/wheel/./automat warning: install_lib: byte-compiling is disabled, skipping. running install_egg_info Copying Automat.egg-info to build/bdist.linux-aarch64/wheel/./Automat-22.10.0-py3.11.egg-info running install_scripts creating build/bdist.linux-aarch64/wheel/automat-22.10.0.dist-info/WHEEL creating '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/pypi/Automat-22.10.0/openwrt-build/.tmp-ygx3zywb/automat-22.10.0-py2.py3-none-any.whl' and adding 'build/bdist.linux-aarch64/wheel' to it adding 'automat/__init__.py' adding 'automat/_core.py' adding 'automat/_discover.py' adding 'automat/_introspection.py' adding 'automat/_methodical.py' adding 'automat/_visualize.py' adding 'automat-22.10.0.dist-info/licenses/LICENSE' adding 'automat-22.10.0.dist-info/METADATA' adding 'automat-22.10.0.dist-info/WHEEL' adding 'automat-22.10.0.dist-info/top_level.txt' adding 'automat-22.10.0.dist-info/RECORD' removing build/bdist.linux-aarch64/wheel Successfully built automat-22.10.0-py2.py3-none-any.whl Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/python3.11/site-packages/installer/__main__.py", line 98, in _main(sys.argv[1:], "python -m installer") File "/builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/python3.11/site-packages/installer/__main__.py", line 86, in _main with WheelFile.open(args.wheel) as source: File "/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_generic_musl/usr/lib/python3.11/contextlib.py", line 137, in __enter__ return next(self.gen) ^^^^^^^^^^^^^^ File "/builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/python3.11/site-packages/installer/sources.py", line 162, in open with zipfile.ZipFile(path) as f: ^^^^^^^^^^^^^^^^^^^^^ File "/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_generic_musl/usr/lib/python3.11/zipfile.py", line 1311, in __init__ self.fp = io.open(file, filemode) ^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/pypi/Automat-22.10.0//openwrt-build/Automat-22.10.0-*.whl' make[3]: *** [Makefile:57: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/pypi/Automat-22.10.0/.built] Error 1 time: package/feeds/packages/python-automat/compile#5.56#0.44#13.37