Package: mini-dinstall
Version: 0.7.2
Severity: normal

Dear Maintainer,

after having done a fresh install and configuration of mini-dinstall the first
call

  $ mini-dinstall -b

results in repeated deprecation warnings

  /usr/bin/mini-dinstall:523: DeprecationWarning: getName() is deprecated, get
the name attribute instead
    self._logger.info('Created new installer thread (%s)' % self.getName())
  /usr/bin/mini-dinstall:1624: DeprecationWarning: getName() is deprecated, get
the name attribute instead
    logger.debug('Starting archive %s' % archive.getName())
  /usr/bin/mini-dinstall:1228: DeprecationWarning: getName() is deprecated, get
the name attribute instead
    self._logger.info('Created new thread (%s) for archive indexer %s' %
(self.getName(), self._name))
  /usr/bin/mini-dinstall:1632: DeprecationWarning: getName() is deprecated, get
the name attribute instead
    logger.debug('Waiting for archive %s to finish' % archive.getName())
  /usr/bin/mini-dinstall:1241: DeprecationWarning: getName() is deprecated, get
the name attribute instead
    self._logger.info('Thread "%s" exiting' % self.getName())

also the subsequent upload by

  $ dput local <path to changes file>

cause such warnings, partly for other line numbers

  Uploading to local (via local to localhost):
  Successfully uploaded packages.
  /usr/bin/mini-dinstall:523: DeprecationWarning: getName() is deprecated, get
the name attribute instead
    self._logger.info('Created new installer thread (%s)' % self.getName())
  /usr/bin/mini-dinstall:593: DeprecationWarning: getName() is deprecated, get
the name attribute instead
    logger.debug('Installing %s in archive %s' % (changefilename,
self._archivemap[dist][1].getName()))
  /usr/bin/mini-dinstall:600: DeprecationWarning: getName() is deprecated, get
the name attribute instead
    logger.debug('Notifying archive %s of change' %
self._archivemap[dist][1].getName())
  /usr/bin/mini-dinstall:1624: DeprecationWarning: getName() is deprecated, get
the name attribute instead
    logger.debug('Starting archive %s' % archive.getName())
  /usr/bin/mini-dinstall:1228: DeprecationWarning: getName() is deprecated, get
the name attribute instead
    self._logger.info('Created new thread (%s) for archive indexer %s' %
(self.getName(), self._name))
  /usr/bin/mini-dinstall:1632: DeprecationWarning: getName() is deprecated, get
the name attribute instead
    logger.debug('Waiting for archive %s to finish' % archive.getName())
  /usr/bin/mini-dinstall:1241: DeprecationWarning: getName() is deprecated, get
the name attribute instead
    self._logger.info('Thread "%s" exiting' % self.getName())

Looks like the python code needs an update.


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

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

Versions of packages mini-dinstall depends on:
ii  apt-utils    2.7.6
ii  python3      3.11.4-5+b1
ii  python3-apt  2.6.0

Versions of packages mini-dinstall recommends:
ii  gpgv  2.2.40-1.1

Versions of packages mini-dinstall suggests:
ii  debian-keyring  2023.09.24

-- no debconf information

Reply via email to