[Python-modules-team] Bug#976692: please enable pytests and autopkgtests

Nicholas D Steeves nsteeves at gmail.com
Mon Dec 7 00:38:57 GMT 2020


Source: peewee
Version: 3.13.1+dfsg-1
Severity: normal

Dear Peewee Maintainers,

Peewee does not yet run pytests when building, nor non-superficial
autopkgtests.  At this time I am seeing what appears to be a
Peewee-related failure in Vorta:

  Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/peewee.py", line 3057, in execute_sql
    cursor.execute(sql, params or ())
  sqlite3.OperationalError: no such table: eventlogmodel

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/build/1st/vorta-0.7.1/.pybuild/cpython3_3.8_vorta/build/vorta/borg/borg_thread.py", line 236, in run
      log_entry.save()
    File "/usr/lib/python3/dist-packages/peewee.py", line 6431, in save
      rows = self.update(**field_dict).where(self._pk_expr()).execute()
    File "/usr/lib/python3/dist-packages/peewee.py", line 1845, in inner
      return method(self, database, *args, **kwargs)
    File "/usr/lib/python3/dist-packages/peewee.py", line 1916, in execute
      return self._execute(database)
    File "/usr/lib/python3/dist-packages/peewee.py", line 2400, in _execute
      cursor = database.execute(self)
    File "/usr/lib/python3/dist-packages/peewee.py", line 3070, in execute
      return self.execute_sql(sql, params, commit=commit)
    File "/usr/lib/python3/dist-packages/peewee.py", line 3064, in execute_sql
      self.commit()
    File "/usr/lib/python3/dist-packages/peewee.py", line 2831, in __exit__
      reraise(new_type, new_type(exc_value, *exc_args), traceback)
    File "/usr/lib/python3/dist-packages/peewee.py", line 183, in reraise
      raise value.with_traceback(tb)
    File "/usr/lib/python3/dist-packages/peewee.py", line 3057, in execute_sql
      cursor.execute(sql, params or ())
  peewee.OperationalError: no such table: eventlogmodel

  https://tests.reproducible-builds.org/debian/rbuild/unstable/arm64/vorta_0.7.1-2.rbuild.log.gz

Failed builds on other archs do not provide as useful backtraces.

Please enable build-time pytests and non-superficial autopkgtests so
that it will become clear that the fault is in my package, if the
fault is in my package :-)

Thank you,
Nicholas



More information about the Python-modules-team mailing list