Package Details: python-django-js-asset 2.2-1

Git Clone URL: https://aur.archlinux.org/python-django-js-asset.git (read-only, click to copy)
Package Base: python-django-js-asset
Description: script tag with additional attributes for django.forms.Media
Upstream URL: https://github.com/matthiask/django-js-asset/
Licenses: BSD
Submitter: TrialnError
Maintainer: TrialnError
Last Packager: TrialnError
Votes: 0
Popularity: 0.000000
First Submitted: 2023-11-21 22:38 (UTC)
Last Updated: 2024-01-12 21:15 (UTC)

Latest Comments

grumpy.guy commented on 2024-01-12 22:11 (UTC)

thx for digging. Now it builds again.

TrialnError commented on 2024-01-12 21:16 (UTC) (edited on 2024-01-12 21:18 (UTC) by TrialnError)

Luckily there was a new release which was possible to be built. So I assume it got fixed by upstream. Please check

Edit: https://github.com/matthiask/django-js-asset/commit/440ad305e76a0a948e0df54eb9b92b59c1ac9cb9
Was a breakage due to a major bump on one of the makedeps.

TrialnError commented on 2024-01-12 21:13 (UTC)

Odd... It could be successfully build when I added this.
Now it indeed fails. Thanks for reporting. Time to dig...

grumpy.guy commented on 2024-01-11 07:44 (UTC)

Hi,

package fails to build for me.


File "/usr/lib/python3.11/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: A failure occurred in build().
    Aborting...
error: failed to build 'python-django-js-asset-2.1-1': 
error: packages failed to build: python-django-js-asset-2.1-1