Your message dated Sat, 31 Aug 2024 20:40:47 +0000
with message-id <e1skutr-000ujv...@fasolo.debian.org>
and subject line Bug#1080129: fixed in python-django-bootstrap-form 3.4-9
has caused the Debian Bug report #1080129,
regarding python-django-bootstrap-form: FTBFS: ERROR: bootstrapform.tests
(unittest.loader._FailedTest.bootstrapform.tests)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1080129: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1080129
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:python-django-bootstrap-form
Version: 3.4-8
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary --buildsystem=pybuild --with python3,sphinxdoc
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.12 setup.py config
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning:
Unknown distribution option: 'test_suite'
warnings.warn(msg)
running config
dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3 setup.py build
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning:
Unknown distribution option: 'test_suite'
warnings.warn(msg)
running build
running build_py
creating
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-bootstrapform/build/bootstrapform
copying bootstrapform/config.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-bootstrapform/build/bootstrapform
copying bootstrapform/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-bootstrapform/build/bootstrapform
copying bootstrapform/models.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-bootstrapform/build/bootstrapform
copying bootstrapform/tests.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-bootstrapform/build/bootstrapform
copying bootstrapform/meta.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-bootstrapform/build/bootstrapform
creating
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-bootstrapform/build/bootstrapform/templatetags
copying bootstrapform/templatetags/bootstrap.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-bootstrapform/build/bootstrapform/templatetags
copying bootstrapform/templatetags/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-bootstrapform/build/bootstrapform/templatetags
running egg_info
creating django_bootstrap_form.egg-info
writing django_bootstrap_form.egg-info/PKG-INFO
writing dependency_links to django_bootstrap_form.egg-info/dependency_links.txt
writing requirements to django_bootstrap_form.egg-info/requires.txt
writing top-level names to django_bootstrap_form.egg-info/top_level.txt
writing manifest file 'django_bootstrap_form.egg-info/SOURCES.txt'
reading manifest file 'django_bootstrap_form.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'django_bootstrap_form.egg-info/SOURCES.txt'
/usr/lib/python3/dist-packages/setuptools/command/build_py.py:218: _Warning:
Package 'bootstrapform.templates.bootstrapform' is absent from the `packages`
configuration.
!!
********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'bootstrapform.templates.bootstrapform' as an
importable package[^1],
but it is absent from setuptools' `packages` configuration.
This leads to an ambiguous overall configuration. If you want to
distribute this
package, please make sure that 'bootstrapform.templates.bootstrapform'
is explicitly added
to the `packages` configuration field.
Alternatively, you can also rely on setuptools' discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" on setuptools documentation
page:
- https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
If you don't want 'bootstrapform.templates.bootstrapform' to be
distributed and are
already explicitly excluding 'bootstrapform.templates.bootstrapform' via
`find_namespace_packages(...)/find_namespace` or
`find_packages(...)/find`,
you can try to use `exclude_package_data`, or
`include-package-data=False` in
combination with a more fine grained `package-data` configuration.
You can read more about "package data files" on setuptools
documentation page:
- https://setuptools.pypa.io/en/latest/userguide/datafiles.html
[^1]: For Python, any directory (with suitable naming) can be imported,
even if it does not contain any `.py` files.
On the other hand, currently there is no concept of package data
directory, all directories are treated like packages.
********************************************************************************
!!
check.warn(importable)
creating
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-bootstrapform/build/bootstrapform/templates
creating
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-bootstrapform/build/bootstrapform/templates/bootstrapform
copying bootstrapform/templates/bootstrapform/field.html ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-bootstrapform/build/bootstrapform/templates/bootstrapform
copying bootstrapform/templates/bootstrapform/form.html ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-bootstrapform/build/bootstrapform/templates/bootstrapform
copying bootstrapform/templates/bootstrapform/formset.html ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-bootstrapform/build/bootstrapform/templates/bootstrapform
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-bootstrapform/build; python3.12
-m unittest discover -v
bootstrapform.tests (unittest.loader._FailedTest.bootstrapform.tests) ... ERROR
======================================================================
ERROR: bootstrapform.tests (unittest.loader._FailedTest.bootstrapform.tests)
----------------------------------------------------------------------
ImportError: Failed to import test module: bootstrapform.tests
Traceback (most recent call last):
File "/usr/lib/python3.12/unittest/loader.py", line 396, in _find_test_path
module = self._get_module_from_name(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/unittest/loader.py", line 339, in
_get_module_from_name
__import__(name)
File
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-bootstrapform/build/bootstrapform/tests.py",
line 9, in <module>
from .templatetags import bootstrap
File
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-bootstrapform/build/bootstrapform/templatetags/bootstrap.py",
line 7, in <module>
from bootstrapform import config
File
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-bootstrapform/build/bootstrapform/config.py",
line 4, in <module>
BOOTSTRAP_COLUMN_COUNT = getattr(settings, 'BOOTSTRAP_COLUMN_COUNT', 12)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 102, in
__getattr__
self._setup(name)
File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 82, in
_setup
raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured: Requested setting
BOOTSTRAP_COLUMN_COUNT, but settings are not configured. You must either define
the environment variable DJANGO_SETTINGS_MODULE or call settings.configure()
before accessing settings.
----------------------------------------------------------------------
Ran 1 test in 0.000s
FAILED (errors=1)
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-bootstrapform/build; python3.12
-m unittest discover -v
dh_auto_test: error: pybuild --test -i python{version} -p 3.12 returned exit
code 13
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202408/
About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.
Thanks.
--- End Message ---
--- Begin Message ---
Source: python-django-bootstrap-form
Source-Version: 3.4-9
Done: Sunil Mohan Adapa <su...@medhas.org>
We believe that the bug you reported is fixed in the latest version of
python-django-bootstrap-form, which is due to be installed in the Debian FTP
archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1080...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sunil Mohan Adapa <su...@medhas.org> (supplier of updated
python-django-bootstrap-form package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 30 Aug 2024 21:01:39 -0700
Source: python-django-bootstrap-form
Architecture: source
Version: 3.4-9
Distribution: unstable
Urgency: medium
Maintainer: FreedomBox Packaging Team
<freedombox-pkg-t...@lists.alioth.debian.org>
Changed-By: Sunil Mohan Adapa <su...@medhas.org>
Closes: 1080129
Changes:
python-django-bootstrap-form (3.4-9) unstable; urgency=medium
.
* d/rules: Export DJANGO_SETTINGS_MODULE env when testing (Closes: #1080129).
Checksums-Sha1:
7802b2b7b2c1b24f640ff35ac6d299ba77eed1db 2697
python-django-bootstrap-form_3.4-9.dsc
6b032fb0b98406ac3525493587e628833c56458b 7584
python-django-bootstrap-form_3.4-9.debian.tar.xz
b04756dfcac2ee3303870396915a327cc55c8611 8790
python-django-bootstrap-form_3.4-9_amd64.buildinfo
Checksums-Sha256:
712f9931bad87b40f955c2870e5d0a78a6faafcd88928cc9e77e1482f99bf7c8 2697
python-django-bootstrap-form_3.4-9.dsc
3894536325a230b674d3e0d3f4162cc88ecc478787cc16151f45264cb078ac35 7584
python-django-bootstrap-form_3.4-9.debian.tar.xz
5d32de8a3ad73f60c40b910c43063fee914256fa518407535af961bade9c9fce 8790
python-django-bootstrap-form_3.4-9_amd64.buildinfo
Files:
977ecc44859a54ea18af65a611c17cdb 2697 python optional
python-django-bootstrap-form_3.4-9.dsc
932fd571ceb45bb11181b9fe1f9180b4 7584 python optional
python-django-bootstrap-form_3.4-9.debian.tar.xz
391fda1aaa6a44e92a1b44d70b2fc51b 8790 python optional
python-django-bootstrap-form_3.4-9_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEE5xPDY9ZyWnWupXSBQ+oc/wqnxfIFAmbTc7MRHHN1bmlsQG1l
ZGhhcy5vcmcACgkQQ+oc/wqnxfJ4Dw/+P4/6GT0iFaVdZXP4OR7DF+wByJXK5SLD
HvCzXQt6ZpkkgOiuf4vu7mtP2gTHcz+MBmwcsQ9zbfzCiobAhxhMaqSsHbabSkRR
csmcoKtArMbzcVoXTzrnndXC8v5S+XKUTSVLgiJLXledIottkz4y9OJp5745K6lJ
/qKfvc6bXrWYiSl1gtGDLNLOJfQj8cXIdReGAGrJtWLyfflyJhyubvlIR3jclHCN
yzwUpnF81Z4Sd1kYTTnz4eCGKsMmYQApsW6Oi3gHXKTWqyVnehtd11F6X7KyRvEH
1Y2wT2H0BtVs31eOfz9u2kGvgTMTefIwYPQPGsxnig8nY3ajgmrDhQxpyzWsDk08
IeBnyXB3ZpPSImdQEm+FJZDIAJ0EUU0MbBFOXTafE/9wED5dx/T8/w1pDFQzxZOE
hvI/3vzr6aA1T8oK8iW1zowtX0glGOAFoktECe8CxVcqX1Jvc/hIMzB1dIjeg51H
VGqe/6L2XPKBqI9GzWcQC9MHC4tTVmwN/q2fE8LsQ2DhujpHozP05nrzJYgZnnxM
aVhqeYqsL/aCkVdC8383+Nvw7QaUoPKhB4uUn3wvAhMG8DXbmenY9/57NPUyKes+
57PNMC3GPcHhb0CmDz//jmNuT/Jxn+tsXPrZgi8/dWOqo/HvRnB5jHS0eytalXOQ
QHFIND7tCIg=
=nqIT
-----END PGP SIGNATURE-----
pgp_hYoBYEaZy.pgp
Description: PGP signature
--- End Message ---