Package: python3-django-import-export
Version: 4.3.5-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

The binary package is missing the HTML templates and the translations.
Without the templates, the Django admin integration, perhaps the main
feature of django-import-export, is completely broken.

---------------8<------------------8<------------------8<------------------
# from the source package
$ find import_export/ -type f | sort > /tmp/expected
$ find /usr/lib/python3/dist-packages/import_export/ -type f -and -not -name 
\*.pyc | cut -d / -f 6- | sort > /tmp/actual
$ diff -u /tmp/expected /tmp/actual 
--- /tmp/expected       2025-06-27 16:42:08.028934497 -0300
+++ /tmp/actual 2025-06-27 16:42:18.989000028 -0300
@@ -8,48 +8,6 @@
 import_export/forms.py
 import_export/__init__.py
 import_export/instance_loaders.py
-import_export/locale/ar/LC_MESSAGES/django.mo
-import_export/locale/ar/LC_MESSAGES/django.po
-import_export/locale/bg/LC_MESSAGES/django.mo
-import_export/locale/bg/LC_MESSAGES/django.po
-import_export/locale/ca/LC_MESSAGES/django.mo
-import_export/locale/ca/LC_MESSAGES/django.po
-import_export/locale/cs/LC_MESSAGES/django.mo
-import_export/locale/cs/LC_MESSAGES/django.po
-import_export/locale/de/LC_MESSAGES/django.mo
-import_export/locale/de/LC_MESSAGES/django.po
-import_export/locale/es_AR/LC_MESSAGES/django.mo
-import_export/locale/es_AR/LC_MESSAGES/django.po
-import_export/locale/es/LC_MESSAGES/django.mo
-import_export/locale/es/LC_MESSAGES/django.po
-import_export/locale/fa/LC_MESSAGES/django.mo
-import_export/locale/fa/LC_MESSAGES/django.po
-import_export/locale/fi/LC_MESSAGES/django.mo
-import_export/locale/fi/LC_MESSAGES/django.po
-import_export/locale/fr/LC_MESSAGES/django.mo
-import_export/locale/fr/LC_MESSAGES/django.po
-import_export/locale/it/LC_MESSAGES/django.mo
-import_export/locale/it/LC_MESSAGES/django.po
-import_export/locale/ja/LC_MESSAGES/django.mo
-import_export/locale/ja/LC_MESSAGES/django.po
-import_export/locale/ko/LC_MESSAGES/django.mo
-import_export/locale/ko/LC_MESSAGES/django.po
-import_export/locale/kz/LC_MESSAGES/django.mo
-import_export/locale/kz/LC_MESSAGES/django.po
-import_export/locale/nl/LC_MESSAGES/django.mo
-import_export/locale/nl/LC_MESSAGES/django.po
-import_export/locale/pl/LC_MESSAGES/django.mo
-import_export/locale/pl/LC_MESSAGES/django.po
-import_export/locale/pt_BR/LC_MESSAGES/django.mo
-import_export/locale/pt_BR/LC_MESSAGES/django.po
-import_export/locale/ru/LC_MESSAGES/django.mo
-import_export/locale/ru/LC_MESSAGES/django.po
-import_export/locale/sk/LC_MESSAGES/django.mo
-import_export/locale/sk/LC_MESSAGES/django.po
-import_export/locale/tr/LC_MESSAGES/django.mo
-import_export/locale/tr/LC_MESSAGES/django.po
-import_export/locale/zh_Hans/LC_MESSAGES/django.mo
-import_export/locale/zh_Hans/LC_MESSAGES/django.po
 import_export/management/commands/export.py
 import_export/management/commands/import.py
 import_export/management/commands/__init__.py
@@ -59,23 +17,9 @@
 import_export/resources.py
 import_export/results.py
 import_export/signals.py
-import_export/static/import_export/export.css
-import_export/static/import_export/export_selectable_fields.js
-import_export/static/import_export/guess_format.js
-import_export/static/import_export/import.css
-import_export/templates/admin/import_export/base.html
-import_export/templates/admin/import_export/change_form.html
-import_export/templates/admin/import_export/change_list_export.html
-import_export/templates/admin/import_export/change_list_export_item.html
-import_export/templates/admin/import_export/change_list.html
-import_export/templates/admin/import_export/change_list_import_export.html
-import_export/templates/admin/import_export/change_list_import.html
-import_export/templates/admin/import_export/change_list_import_item.html
-import_export/templates/admin/import_export/export.html
-import_export/templates/admin/import_export/import.html
-import_export/templates/admin/import_export/resource_fields_list.html
 import_export/templatetags/import_export_tags.py
 import_export/templatetags/__init__.py
 import_export/tmp_storages.py
 import_export/utils.py
+import_export/_version.py
 import_export/widgets.py
---------------8<------------------8<------------------8<------------------

This is caused by the fact that the package uses setuptools_scm to
manage the contents of the package, and since during the build there is
no git repository, it only collects the *.py files to install.

I'm looking into a solution.

-- System Information:
Debian Release: 13.0
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'stable-security'), (500, 'unstable'), 
(500, 'stable'), (1, 'experimental')
Architecture: arm64 (aarch64)

Kernel: Linux 6.1.0-37-arm64 (SMP w/32 CPU threads)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-django-import-export depends on:
ii  python3                   3.13.3-1
ii  python3-diff-match-patch  20241021-1
ii  python3-django            3:4.2.23-1
ii  python3-tablib            3.8.0-1

python3-django-import-export recommends no packages.

python3-django-import-export suggests no packages.

-- no debconf information

Attachment: signature.asc
Description: PGP signature

Reply via email to