Source: celery, python-django-celery-beat Control: found -1 celery/5.3.1-1 Control: found -1 python-django-celery-beat/2.4.0-1 Severity: serious Tags: sid bookworm User: debian...@lists.debian.org Usertags: breaks needs-update
Dear maintainer(s),With a recent upload of celery the autopkgtest of python-django-celery-beat fails in testing when that autopkgtest is run with the binary packages of celery from unstable. It passes when run with only packages from testing. In tabular form:
pass fail celery from testing 5.3.1-1 python-django-celery-beat from testing 2.4.0-1 all others from testing from testing I copied some of the output at the bottom of this report.Currently this regression is blocking the migration of celery to testing [1]. Due to the nature of this issue, I filed this bug report against both packages. Can you please investigate the situation and reassign the bug to the right package?
More information about this bug and the reason for filing it can be found on https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation Paul [1] https://qa.debian.org/excuses.php?package=celery https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-django-celery-beat/34896121/log.gz=================================== FAILURES =================================== 63s _________________ test_ModelEntry.test_entry_is_due__no_use_tz _________________ 63s 63s self = <t.unit.test_schedulers.test_ModelEntry object at 0x7f96b9886b90>
63s 63s @override_settings( 63s USE_TZ=False, 63s DJANGO_CELERY_BEAT_TZ_AWARE=False 63s ) 63s @pytest.mark.usefixtures('depends_on_current_app') 63s @timezone.override('Europe/Berlin') 63s @pytest.mark.celery(timezone='Europe/Berlin') 63s def test_entry_is_due__no_use_tz(self): 63s old_tz = os.environ.get("TZ") 63s os.environ["TZ"] = "Europe/Berlin" 63s if hasattr(time, "tzset"): 63s time.tzset() 63s > assert self.app.timezone.zone == 'Europe/Berlin'63s E AttributeError: 'zoneinfo.ZoneInfo' object has no attribute 'zone'
63s 63s t/unit/test_schedulers.py:162: AttributeError63s _____ test_ModelEntry.test_entry_and_model_last_run_at_with_utc_no_use_tz ______ 63s 63s self = <t.unit.test_schedulers.test_ModelEntry object at 0x7f96b90f5ad0> 63s monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f96b9364050>
63s 63s @override_settings( 63s USE_TZ=False, 63s DJANGO_CELERY_BEAT_TZ_AWARE=False 63s ) 63s @pytest.mark.usefixtures('depends_on_current_app') 63s @timezone.override('Europe/Berlin') 63s @pytest.mark.celery(timezone='Europe/Berlin')63s def test_entry_and_model_last_run_at_with_utc_no_use_tz(self, monkeypatch):
63s old_tz = os.environ.get("TZ") 63s os.environ["TZ"] = "Europe/Berlin" 63s if hasattr(time, "tzset"): 63s time.tzset() 63s > assert self.app.timezone.zone == 'Europe/Berlin'63s E AttributeError: 'zoneinfo.ZoneInfo' object has no attribute 'zone'
63s 63s t/unit/test_schedulers.py:194: AttributeError63s __ test_ModelEntry.test_entry_is_due__celery_timezone_doesnt_match_time_zone ___ 63s 63s self = <t.unit.test_schedulers.test_ModelEntry object at 0x7f96b90f5350>
63s 63s @override_settings( 63s USE_TZ=False, 63s DJANGO_CELERY_BEAT_TZ_AWARE=False, 63s TIME_ZONE="Europe/Berlin", 63s CELERY_TIMEZONE="America/New_York" 63s ) 63s @pytest.mark.usefixtures('depends_on_current_app') 63s @timezone.override('Europe/Berlin') 63s @pytest.mark.celery(timezone='America/New_York')63s def test_entry_is_due__celery_timezone_doesnt_match_time_zone(self):
63s old_tz = os.environ.get("TZ") 63s os.environ["TZ"] = "Europe/Berlin" 63s if hasattr(time, "tzset"): 63s time.tzset() 63s > assert self.app.timezone.zone == 'America/New_York'63s E AttributeError: 'zoneinfo.ZoneInfo' object has no attribute 'zone'
63s 63s t/unit/test_schedulers.py:230: AttributeError63s =============================== warnings summary ===============================
63s ../../../../usr/lib/python3/dist-packages/django/http/request.py:163s /usr/lib/python3/dist-packages/django/http/request.py:1: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
63s import cgi63s 63s ../../../../usr/lib/python3/dist-packages/django/utils/encoding.py:266 63s /usr/lib/python3/dist-packages/django/utils/encoding.py:266: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead
63s encoding = locale.getdefaultlocale()[1] or 'ascii'63s 63s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 63s =========================== short test summary info ============================ 63s FAILED t/unit/test_schedulers.py::test_ModelEntry::test_entry_is_due__no_use_tz 63s FAILED t/unit/test_schedulers.py::test_ModelEntry::test_entry_and_model_last_run_at_with_utc_no_use_tz 63s FAILED t/unit/test_schedulers.py::test_ModelEntry::test_entry_is_due__celery_timezone_doesnt_match_time_zone 63s ============ 3 failed, 95 passed, 3 deselected, 2 warnings in 1.46s ============
63s autopkgtest [23:15:47]: test upstream
OpenPGP_signature
Description: OpenPGP digital signature