Your message dated Mon, 09 Sep 2024 13:25:03 +0000
with message-id <e1sneo7-00ehf0...@fasolo.debian.org>
and subject line Bug#1072607: fixed in python-django-test-migrations 1.3.0-3
has caused the Debian Bug report #1072607,
regarding python-django-test-migrations: FTBFS: FAIL Required test coverage of
100% not reached. Total coverage: 50.40%
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.)
--
1072607: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1072607
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:python-django-test-migrations
Version: 1.3.0-2
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
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build"
module
I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation --wheel
--outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-test-migrations
* Building wheel...
Successfully built django_test_migrations-1.3.0-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with
"installer" module
I: pybuild plugin_pyproject:129: Building wheel for python3.11 with "build"
module
I: pybuild base:311: python3.11 -m build --skip-dependency-check --no-isolation --wheel
--outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-test-migrations
* Building wheel...
Successfully built django_test_migrations-1.3.0-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.11 with
"installer" module
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-test-migrations/build;
python3.12 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-8.2.1, pluggy-1.5.0
django: settings: django_test_app.settings (from ini)
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-test-migrations/build
configfile: setup.cfg
plugins: django-test-migrations-1.3.0, django-4.5.2, cov-5.0.0, asyncio-0.20.3,
mock-3.12.0
asyncio: mode=Mode.STRICT
collected 81 items / 1 error
==================================== ERRORS ====================================
______________________ ERROR collecting tests/conftest.py ______________________
import file mismatch:
imported module 'conftest' has this __file__ attribute:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-test-migrations/build/tests/test_plan/conftest.py
which is not the same as the test file we want to collect:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-test-migrations/build/tests/conftest.py
HINT: remove __pycache__ / .pyc files and/or use a unique basename for your
test file modules
=============================== warnings summary ===============================
../../../../../../usr/lib/python3/dist-packages/django/conf/__init__.py:267
/usr/lib/python3/dist-packages/django/conf/__init__.py:267:
RemovedInDjango50Warning: The USE_L10N setting is deprecated. Starting with
Django 5.0, localized formatting of data will always be enabled. For example
Django will display numbers and dates using the format of the current locale.
warnings.warn(USE_L10N_DEPRECATED_MSG, RemovedInDjango50Warning)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
---------- coverage: platform linux, python 3.12.3-final-0 -----------
Name Stmts Miss
Branch BrPart Cover Missing
------------------------------------------------------------------------------------------------------------
django_test_migrations/plan.py 44 29
16 0 25% 40-51, 56, 68-69, 76-86, 112-116, 120-128, 135-136
django_test_migrations/sql.py 17 10
4 0 33% 15-34, 48-49
django_test_migrations/db/checks/statement_timeout.py 34 19
6 0 38% 22-25, 32-51, 63-64, 83-87
django_test_migrations/logic/migrations.py 6 3
2 0 38% 8-10
django_test_migrations/checks/autonames.py 31 16
8 0 38% 28-30, 37-47, 58-84
django_test_migrations/migrator.py 34 17
4 0 45% 35-39, 43-61, 65-66, 76, 83-84
django_test_migrations/signals.py 11 7
2 0 46% 9-15
django_test_migrations/db/backends/mysql/configuration.py 14 6
6 0 50% 18-25
django_test_migrations/db/backends/postgresql/configuration.py 14 6
6 0 50% 18-29
django_test_migrations/db/backends/registry.py 13 6
0 0 54% 32-37
django_test_migrations/contrib/unittest_case.py 30 12
2 0 62% 35-41, 52-55, 58-64
django_test_migrations/exceptions.py 6 2
0 0 67% 8, 12
django_test_migrations/logic/datetime.py 3 1
0 0 67% 6
django_test_migrations/db/backends/exceptions.py 10 2
0 0 80% 17, 29
django_test_migrations/db/backends/base/configuration.py 18 2
6 1 88% 23->exit, 28, 38
------------------------------------------------------------------------------------------------------------
TOTAL 307 138
70 1 50%
12 files skipped due to complete coverage.
Coverage HTML written to dir htmlcov
Coverage XML written to file coverage.xml
FAIL Required test coverage of 100% not reached. Total coverage: 50.40%
=========================== short test summary info ============================
ERROR tests/conftest.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
========================= 1 warning, 1 error in 0.50s ==========================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=2: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-test-migrations/build;
python3.12 -m pytest tests
I: pybuild base:311: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-test-migrations/build;
python3.11 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.11.9, pytest-8.2.1, pluggy-1.5.0
django: settings: django_test_app.settings (from ini)
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-test-migrations/build
configfile: setup.cfg
plugins: django-test-migrations-1.3.0, django-4.5.2, cov-5.0.0, asyncio-0.20.3,
mock-3.12.0
asyncio: mode=Mode.STRICT
collected 81 items / 1 error
==================================== ERRORS ====================================
______________________ ERROR collecting tests/conftest.py ______________________
import file mismatch:
imported module 'conftest' has this __file__ attribute:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-test-migrations/build/tests/test_plan/conftest.py
which is not the same as the test file we want to collect:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-test-migrations/build/tests/conftest.py
HINT: remove __pycache__ / .pyc files and/or use a unique basename for your
test file modules
=============================== warnings summary ===============================
../../../../../../usr/lib/python3/dist-packages/django/conf/__init__.py:267
/usr/lib/python3/dist-packages/django/conf/__init__.py:267:
RemovedInDjango50Warning: The USE_L10N setting is deprecated. Starting with
Django 5.0, localized formatting of data will always be enabled. For example
Django will display numbers and dates using the format of the current locale.
warnings.warn(USE_L10N_DEPRECATED_MSG, RemovedInDjango50Warning)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
---------- coverage: platform linux, python 3.11.9-final-0 -----------
Name Stmts Miss
Branch BrPart Cover Missing
------------------------------------------------------------------------------------------------------------
django_test_migrations/plan.py 44 29
20 0 23% 40-51, 56, 68-69, 76-86, 112-116, 120-128, 135-136
django_test_migrations/sql.py 17 10
6 0 30% 15-34, 48-49
django_test_migrations/db/checks/statement_timeout.py 34 19
6 0 38% 22-25, 32-51, 63-64, 83-87
django_test_migrations/logic/migrations.py 6 3
2 0 38% 8-10
django_test_migrations/checks/autonames.py 31 16
8 0 38% 28-30, 37-47, 58-84
django_test_migrations/migrator.py 34 17
4 0 45% 35-39, 43-61, 65-66, 76, 83-84
django_test_migrations/signals.py 11 7
2 0 46% 9-15
django_test_migrations/db/backends/mysql/configuration.py 14 6
6 0 50% 18-25
django_test_migrations/db/backends/postgresql/configuration.py 14 6
6 0 50% 18-29
django_test_migrations/db/backends/registry.py 13 6
0 0 54% 32-37
django_test_migrations/contrib/unittest_case.py 30 12
2 0 62% 35-41, 52-55, 58-64
django_test_migrations/exceptions.py 6 2
0 0 67% 8, 12
django_test_migrations/logic/datetime.py 3 1
0 0 67% 6
django_test_migrations/db/backends/exceptions.py 10 2
0 0 80% 17, 29
django_test_migrations/db/backends/base/configuration.py 18 2
6 1 88% 23->exit, 28, 38
------------------------------------------------------------------------------------------------------------
TOTAL 307 138
76 1 50%
12 files skipped due to complete coverage.
Coverage HTML written to dir htmlcov
Coverage XML written to file coverage.xml
FAIL Required test coverage of 100% not reached. Total coverage: 49.61%
=========================== short test summary info ============================
ERROR tests/conftest.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
========================= 1 warning, 1 error in 0.53s ==========================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=2: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-test-migrations/build;
python3.11 -m pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12
3.11" returned exit code 13
make: *** [debian/rules:7: 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/202406/
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-test-migrations
Source-Version: 1.3.0-3
Done: Colin Watson <cjwat...@debian.org>
We believe that the bug you reported is fixed in the latest version of
python-django-test-migrations, 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 1072...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Colin Watson <cjwat...@debian.org> (supplier of updated
python-django-test-migrations 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: SHA256
Format: 1.8
Date: Mon, 09 Sep 2024 13:51:59 +0100
Source: python-django-test-migrations
Architecture: source
Version: 1.3.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Colin Watson <cjwat...@debian.org>
Closes: 1072607
Changes:
python-django-test-migrations (1.3.0-3) unstable; urgency=medium
.
* Team upload.
* Run tests with --import-mode=importlib (closes: #1072607).
Checksums-Sha1:
710b18d50325a20e7caa4527c7d88c304867c1bf 2564
python-django-test-migrations_1.3.0-3.dsc
2e35e30f64c72298d0686020360b5e590104bf14 2608
python-django-test-migrations_1.3.0-3.debian.tar.xz
Checksums-Sha256:
a365a171340274e8089b6b15df542f1aac7c4665afec571248bbe0d98b83e3eb 2564
python-django-test-migrations_1.3.0-3.dsc
9d522adc68df4c322eac8df4e847fce90b55fc8e08c22d2768332dd76300c4b7 2608
python-django-test-migrations_1.3.0-3.debian.tar.xz
Files:
cd488e150f38acbb3fbc394c22ae95ae 2564 python optional
python-django-test-migrations_1.3.0-3.dsc
82a17790a22868d68826fb9ce572dafb 2608 python optional
python-django-test-migrations_1.3.0-3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmbe78wACgkQOTWH2X2G
UAtdWhAAuRxqiPIqgPWaJxdoi+1s5Q8dt9CwI5bYsHIsSJmkM4CLzpIgHkPzoiy3
kNnkyTJ4WIhBSm0P7706+J9JcKsP+dSPqCkjfKQSj3GxJujaJI18+Jmb6dAy5J3L
hOMErk6eZUehaqHsvNOFLJ/CPNv6eqoTNaLTe22bc0Vyme9fKfOHwuxTPTKy0zG0
gLZtQ7dYYs6C2q5vMKO2IjAlye6lwv8uXbQ/GsG+X4C+D1VU8hHrj/p7ORE5+9nU
rtd29R3lo/R4vnCJguC1VCwqDAn756kBa1JKHUitD4R3LpmpIUdTWiYnJ90Ta+wp
GSVMp+jbXllcNZk4pkR94kl7yYjVPs82q/AUJt3kt8J+BGzF4UUEWxeWfP0PMmJ6
TdAS2lEW4doivIhGqzuNyl10dRKtA4WWx/Xnw18t4UGqqBBkJkz0ShBQm//GGQLO
E4fFgao1B4bIsNViwXtcVrQWoPg1zpQ5ZjBKt8ngIQkNYxnbrYO68JONvk08BA4j
3yGrHDIMKdfNL7CPnZ4AIqRQxOfi6nknWMBKbhlHlRyb/vDgS+NbJqBBVKmBpjxP
brtwy2UAxDuhp720G3tolTcRGUbfBSSF+4MSZJ+AtlDSirmVN1ciL42KkXFUGdfi
wOHp6GD6u5LBQjWLzRMCrDdYOMCRwilICl0/auGKJ+BbuC+r+GY=
=iydC
-----END PGP SIGNATURE-----
pgp1mDqCanJJX.pgp
Description: PGP signature
--- End Message ---