Source: slm Version: 2.12-2 Severity: normal Hi Georges,
When I read the changelog I wonder if I was remotely responsible for breaking the build back then, by trimming a python3-six dependency elsewhere. Anyway here is a proper fix. Greetings Alexandre > slm (2.11-2) unstable; urgency=medium > > * added Build-Depends-Indep: python3-six, wich was missing to rebuild > the package. > > -- Georges Khaznadar <[email protected]> Thu, 27 Nov 2025 17:21:15 +0100 tchet@quieter:/tmp/slm$ git diff diff --git a/aide/i18n_subsites/i18n_subsites.py b/aide/i18n_subsites/i18n_subsites.py index b0dda26..4fa5b39 100644 --- a/aide/i18n_subsites/i18n_subsites.py +++ b/aide/i18n_subsites/i18n_subsites.py @@ -5,7 +5,6 @@ This plugin is designed for Pelican 3.4 and later import os -import six import logging import posixpath @@ -17,7 +16,7 @@ try: except ImportError: from collections import OrderedDict from contextlib import contextmanager -from six.moves.urllib.parse import urlparse +from urllib.parse import urlparse import gettext import locale @@ -410,7 +409,7 @@ def update_generators(): def get_pelican_cls(settings): '''Get the Pelican class requested in settings''' cls = settings['PELICAN_CLASS'] - if isinstance(cls, six.string_types): + if isinstance(cls, str): module, cls_name = cls.rsplit('.', 1) module = __import__(module) cls = getattr(module, cls_name) diff --git a/debian/control b/debian/control index cec6158..fe70bda 100644 --- a/debian/control +++ b/debian/control @@ -15,8 +15,6 @@ Build-Depends: python3-levenshtein, python3-pypinyin, python3-strictyaml, -Build-Depends-Indep: - python3-six, Standards-Version: 4.7.0 #Homepage: Vcs-Browser: https://salsa.debian.org/debian/slm

