Package: src:python-django-celery-beat
Version: 2.8.1-2
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202602/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot 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 add an affects on src:python-django-celery-beat, so that this is 
still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with sphinxdoc --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   debian/rules execute_before_dh_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf docs/.build
rm -rf .cache
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --with sphinxdoc --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild

[... snipped ...]

dumping object inventory... done
build succeeded, 14 warnings.

The HTML pages are in docs/.build/html.
set -e; \
for loc in django_celery_beat/locale/*; do \
        python3 setup.py compile_catalog --directory django_celery_beat/locale/ 
--locale $(basename $loc) --domain django; \
done
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: BSD License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running compile_catalog
compiling catalog django_celery_beat/locale/de/LC_MESSAGES/django.po to 
django_celery_beat/locale/de/LC_MESSAGES/django.mo
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: BSD License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running compile_catalog
compiling catalog django_celery_beat/locale/es/LC_MESSAGES/django.po to 
django_celery_beat/locale/es/LC_MESSAGES/django.mo
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: BSD License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running compile_catalog
compiling catalog django_celery_beat/locale/fa/LC_MESSAGES/django.po to 
django_celery_beat/locale/fa/LC_MESSAGES/django.mo
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: BSD License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running compile_catalog
compiling catalog django_celery_beat/locale/fr/LC_MESSAGES/django.po to 
django_celery_beat/locale/fr/LC_MESSAGES/django.mo
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: BSD License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running compile_catalog
compiling catalog django_celery_beat/locale/ko/LC_MESSAGES/django.po to 
django_celery_beat/locale/ko/LC_MESSAGES/django.mo
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: BSD License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running compile_catalog
compiling catalog django_celery_beat/locale/ru/LC_MESSAGES/django.po to 
django_celery_beat/locale/ru/LC_MESSAGES/django.mo
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: BSD License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running compile_catalog
compiling catalog django_celery_beat/locale/zh_Hans/LC_MESSAGES/django.po to 
django_celery_beat/locale/zh_Hans/LC_MESSAGES/django.mo
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:384: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-celery-beat/build; python3.14 -m 
pytest -p celery.contrib.pytest -k "not test_heap_always_return_the_first_item 
and not test_run_task and not test_run_tasks"
============================= test session starts ==============================
platform linux -- Python 3.14.3, pytest-9.0.2, pluggy-1.6.0
django: version: 4.2.28, settings: t.proj.settings (from ini)
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-celery-beat/build
configfile: setup.cfg
testpaths: t/unit/
plugins: timeout-2.4.0, typeguard-4.4.4, django-4.11.1
collected 122 items / 4 deselected / 118 selected

t/unit/test_admin.py .......                                             [  5%]
t/unit/test_models.py ..............F                                    [ 18%]
t/unit/test_schedulers.py .............................................. [ 57%]
......                                                                   [ 62%]
t/unit/test_utils.py ...                                                 [ 65%]
t/unit/test_crontabs.py .........................................        [100%]

=================================== FAILURES ===================================
_____________________ HumanReadableTestCase.test_long_name _____________________

self = <t.unit.test_models.HumanReadableTestCase testMethod=test_long_name>

    def test_long_name(self):
        """Long day name display."""
        for day_day_of_week, expected in (
            ("1", ", only on Monday"),
            ("mon", ", only on Monday"),
            ("Monday,tue", ", only on Monday and Tuesday"),
            ("sat-sun/2", ", only on Saturday"),
            ("mon-wed", ", only on Monday, Tuesday, and Wednesday"),
            ("*", ""),
            ("0-6", ""),
            ("2-1", ""),
            ("mon-sun", ""),
            ("tue-mon", ""),
        ):
            cron = CrontabSchedule.objects.create(
                hour="2",
                minute="0",
                day_of_week=day_day_of_week,
            )
    
>           self.assertEqual(
                cron.human_readable,
                f"At 02:00 AM{expected} UTC",
                day_day_of_week,
            )
E           AssertionError: 'At 02:00, only on Monday UTC' != 'At 02:00 AM, 
only on Monday UTC'
E           - At 02:00, only on Monday UTC
E           + At 02:00 AM, only on Monday UTC
E           ?         +++
E            : 1

t/unit/test_models.py:254: AssertionError
=============================== 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)

t/unit/test_schedulers.py::test_ModelEntry::test_entry_is_due__no_use_tz
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-celery-beat/build/t/unit/test_schedulers.py:171:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    right_now = datetime.utcnow()

t/unit/test_schedulers.py::test_ModelEntry::test_entry_and_model_last_run_at_with_utc_no_use_tz
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-celery-beat/build/t/unit/test_schedulers.py:202:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    right_now = datetime.utcnow()

t/unit/test_schedulers.py::test_ModelEntry::test_entry_and_model_last_run_at_when_model_changed
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-celery-beat/build/t/unit/test_schedulers.py:236:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    right_now = datetime.utcnow()

t/unit/test_schedulers.py::test_ModelEntry::test_entry_is_due__celery_timezone_doesnt_match_time_zone
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-celery-beat/build/t/unit/test_schedulers.py:289:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    right_now = datetime.utcnow()

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED t/unit/test_models.py::HumanReadableTestCase::test_long_name - Asserti...
====== 1 failed, 117 passed, 4 deselected, 5 warnings in 66.71s (0:01:06) ======
E: pybuild pybuild:483: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-celery-beat/build; python3.14 -m 
pytest -p celery.contrib.pytest -k "not test_heap_always_return_the_first_item 
and not test_run_task and not test_run_tasks"
I: pybuild base:384: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-celery-beat/build; python3.13 -m 
pytest -p celery.contrib.pytest -k "not test_heap_always_return_the_first_item 
and not test_run_task and not test_run_tasks"
============================= test session starts ==============================
platform linux -- Python 3.13.12, pytest-9.0.2, pluggy-1.6.0
django: version: 4.2.28, settings: t.proj.settings (from ini)
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-celery-beat/build
configfile: setup.cfg
testpaths: t/unit/
plugins: timeout-2.4.0, typeguard-4.4.4, django-4.11.1
collected 122 items / 4 deselected / 118 selected

t/unit/test_admin.py .......                                             [  5%]
t/unit/test_models.py ..............F                                    [ 18%]
t/unit/test_schedulers.py .............................................. [ 57%]
......                                                                   [ 62%]
t/unit/test_utils.py ...                                                 [ 65%]
t/unit/test_crontabs.py .........................................        [100%]

=================================== FAILURES ===================================
_____________________ HumanReadableTestCase.test_long_name _____________________

self = <t.unit.test_models.HumanReadableTestCase testMethod=test_long_name>

    def test_long_name(self):
        """Long day name display."""
        for day_day_of_week, expected in (
            ("1", ", only on Monday"),
            ("mon", ", only on Monday"),
            ("Monday,tue", ", only on Monday and Tuesday"),
            ("sat-sun/2", ", only on Saturday"),
            ("mon-wed", ", only on Monday, Tuesday, and Wednesday"),
            ("*", ""),
            ("0-6", ""),
            ("2-1", ""),
            ("mon-sun", ""),
            ("tue-mon", ""),
        ):
            cron = CrontabSchedule.objects.create(
                hour="2",
                minute="0",
                day_of_week=day_day_of_week,
            )
    
>           self.assertEqual(
                cron.human_readable,
                f"At 02:00 AM{expected} UTC",
                day_day_of_week,
            )
E           AssertionError: 'At 02:00, only on Monday UTC' != 'At 02:00 AM, 
only on Monday UTC'
E           - At 02:00, only on Monday UTC
E           + At 02:00 AM, only on Monday UTC
E           ?         +++
E            : 1

t/unit/test_models.py:254: AssertionError
=============================== 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)

t/unit/test_schedulers.py::test_ModelEntry::test_entry_is_due__no_use_tz
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-celery-beat/build/t/unit/test_schedulers.py:171:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    right_now = datetime.utcnow()

t/unit/test_schedulers.py::test_ModelEntry::test_entry_and_model_last_run_at_with_utc_no_use_tz
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-celery-beat/build/t/unit/test_schedulers.py:202:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    right_now = datetime.utcnow()

t/unit/test_schedulers.py::test_ModelEntry::test_entry_and_model_last_run_at_when_model_changed
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-celery-beat/build/t/unit/test_schedulers.py:236:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    right_now = datetime.utcnow()

t/unit/test_schedulers.py::test_ModelEntry::test_entry_is_due__celery_timezone_doesnt_match_time_zone
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-celery-beat/build/t/unit/test_schedulers.py:289:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    right_now = datetime.utcnow()

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED t/unit/test_models.py::HumanReadableTestCase::test_long_name - Asserti...
====== 1 failed, 117 passed, 4 deselected, 5 warnings in 66.67s (0:01:06) ======
E: pybuild pybuild:483: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-celery-beat/build; python3.13 -m 
pytest -p celery.contrib.pytest -k "not test_heap_always_return_the_first_item 
and not test_run_task and not test_run_tasks"
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" returned exit code 13
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to