Hi Carsten,

> FileNotFoundError: [Errno 2] No such file or directory:
> '/usr/lib/python3/dist-packages/django/contrib/admin/static/admin/js/vendor/jquery/jquery.js'

[..]

> So looking around for the missing file indeed I see this isn't there.
> Looking at the python3-django package I can see that the package
> libjs-jquery isn't a hard dependency and only recommended.

So I'm pretty much just paraphrasing the definition of the Depends
field here (hence why there is no explicit note in the Django
packaging itself), but the libjs-jquery package is not required to
provide a significant amount of functionality in Django. Needless to
say, the python3-django package can be installed without libjs-jquery
being installed.

This is all to say that given that your custom patchy2 package calls
collectstatic during its own package configuration stage, would it not
make more sense to specify libjs-query as a Depends on your package
instead?


Regards,

--
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org 🍥 chris-lamb.co.uk
       `-

Reply via email to