Source: lektor
Version: 3.3.7-2
Severity: serious
X-Debbugs-Cc: jer...@riseup.net

Hi,

lektor fails its autopkgtests with babel in unstable with:

67s autopkgtest [16:15:09]: test upstream: [-----------------------
 67s /usr/lib/python3/dist-packages/_pytest/config/__init__.py:331: 
PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style 
hookwrapper teardown.
 67s Plugin: helpconfig, Hook: pytest_cmdline_parse
 67s ConftestImportFailure: ModuleNotFoundError: No module named 'pytz' (from 
/tmp/autopkgtest-lxc.jih8d3_e/downtmp/autopkgtest_tmp/tests/conftest.py)
 67s For more information see 
https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning
 67s   config = pluginmanager.hook.pytest_cmdline_parse(
 67s ImportError while loading conftest 
'/tmp/autopkgtest-lxc.jih8d3_e/downtmp/autopkgtest_tmp/tests/conftest.py'.
 67s tests/conftest.py:11: in <module>
 67s     from lektor.builder import Builder
 67s /usr/lib/python3/dist-packages/lektor/builder.py:15: in <module>
 67s     from lektor.build_programs import builtin_build_programs
 67s /usr/lib/python3/dist-packages/lektor/build_programs.py:8: in <module>
 67s     from lektor.db import Attachment
 67s /usr/lib/python3/dist-packages/lektor/db.py:28: in <module>
 67s     from lektor.datamodel import load_datamodels
 67s /usr/lib/python3/dist-packages/lektor/datamodel.py:13: in <module>
 67s     from lektor.types import builtin_types
 67s /usr/lib/python3/dist-packages/lektor/types/__init__.py:13: in <module>
 67s     from lektor.types.primitives import BooleanType
 67s /usr/lib/python3/dist-packages/lektor/types/primitives.py:6: in <module>
 67s     from pytz import FixedOffset
 67s E   ModuleNotFoundError: No module named 'pytz'
 68s autopkgtest [16:15:10]: test upstream: -----------------------]

https://ci.debian.net/packages/l/lektor/testing/amd64/45501555/

It seems to use pytz in

lektor/types/primitives.py:from pytz import FixedOffset

and thus should have a dep on pytz regardless.

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.6.15-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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

Reply via email to