Date: Fri, 15 Dec 2023 07:48:26 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 275770] py-dj42-django-js-asset: Unable to determine which files to ship inside the wheel using the following heuristics Message-ID: <bug-275770-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275770 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 =3D=3D=3D=3D=3D env: NO_DEPENDS=3Dyes USER=3Droot UID=3D0 GID=3D0 =3D=3D=3D> 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_pro= cess.py", line 353, in <module> main() File "/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_pro= cess.py", line 335, in main json_out['return_val'] =3D hook(**hook_input['kwargs']) File "/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_pro= cess.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=3Dwheel_directory, versions=3D['standard']))) File "/usr/local/lib/python3.9/site-packages/hatchling/builders/plugin/interface= .py", line 155, in build artifact =3D 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 =3D 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 =3D 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 =3D ["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 =3D>> Cleaning up wrkdir =3D=3D=3D> 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 !!! --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275770-7788>