[Bug 275770] py-dj42-django-js-asset: Unable to determine which files to ship inside the wheel using the following heuristics
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 15 Dec 2023 07:48:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275770 Bug ID: 275770 Summary: py-dj42-django-js-asset: Unable to determine which files to ship inside the wheel using the following heuristics Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: kai@FreeBSD.org Reporter: einar@isnic.is Assignee: kai@FreeBSD.org Flags: maintainer-feedback?(kai@FreeBSD.org) py-dj42-django-js-asset stopped building in poudriere. FreeBSD version: 14.0-RELEASE-p3 poudriere version: poudriere-git-3.4.99.20231113 ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for py39-dj42-django-js-asset-2.1.0 * Getting build dependencies for wheel... * Building wheel... Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in <module> main() File "/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel return _build_backend().build_wheel(wheel_directory, config_settings, File "/usr/local/lib/python3.9/site-packages/hatchling/build.py", line 58, in build_wheel return os.path.basename(next(builder.build(directory=wheel_directory, versions=['standard']))) File "/usr/local/lib/python3.9/site-packages/hatchling/builders/plugin/interface.py", line 155, in build artifact = version_api[version](directory, **build_data) File "/usr/local/lib/python3.9/site-packages/hatchling/builders/wheel.py", line 412, in build_standard for included_file in self.recurse_included_files(): File "/usr/local/lib/python3.9/site-packages/hatchling/builders/plugin/interface.py", line 176, in recurse_included_files yield from self.recurse_selected_project_files() File "/usr/local/lib/python3.9/site-packages/hatchling/builders/plugin/interface.py", line 180, in recurse_selected_project_files if self.config.only_include: File "/usr/local/lib/python3.9/site-packages/hatchling/builders/config.py", line 781, in only_include only_include = only_include_config.get('only-include', self.default_only_include()) or self.packages File "/usr/local/lib/python3.9/site-packages/hatchling/builders/wheel.py", line 231, in default_only_include return self.default_file_selection_options.only_include File "/usr/local/lib/python3.9/functools.py", line 993, in __get__ val = self.func(instance) File "/usr/local/lib/python3.9/site-packages/hatchling/builders/wheel.py", line 219, in default_file_selection_options raise ValueError(message) ValueError: Unable to determine which files to ship inside the wheel using the following heuristics: https://hatch.pypa.io/latest/plugins/builder/wheel/#default-file-selection At least one file selection option must be defined in the `tool.hatch.build.targets.wheel` table, see: https://hatch.pypa.io/latest/config/build/ As an example, if you intend to ship a directory named `foo` that resides within a `src` directory located at the root of your project, you can define the following: [tool.hatch.build.targets.wheel] packages = ["src/foo"] ERROR Backend subprocess exited when trying to invoke build_wheel *** Error code 1 Stop. make: stopped in /usr/ports/www/py-dj42-django-js-asset =>> Cleaning up wrkdir ===> Cleaning for py39-dj42-django-js-asset-2.1.0 build of www/py-dj42-django-js-asset@py39 | py39-dj42-django-js-asset-2.1.0 ended at Fri Dec 15 07:05:39 GMT 2023 build time: 00:00:11 !!! build failure encountered !!! -- You are receiving this mail because: You are the assignee for the bug.