[Bug 1795610] [NEW] New voluptuous breaks ubuntu-image

Łukasz Zemczak 1795610 at bugs.launchpad.net
Tue Oct 2 09:52:21 UTC 2018


Public bug reported:

We had a sync of voluptuous 0.11.1 from debian sitting in cosmic-
proposed, apparently stuck on ubuntu-image autopkgtests. After ubuntu-
image got hinted in because of a failing flake8 tests (because of a new
pycodestyle sync in cosmic, sigh), voluptuous migrated to release and
completely broke ubuntu-image.

The breakage is made visible already through autopkgtests (which is why
voluptuous was blocked). I saw the same issue when our snapcraft.yaml
for snap builds was using pip for pulling in voluptuous. To save time I
have switched to using the deb instead back then. Now the
incompatibilities between 0.9.x and 0.11.x are back and almost all
parser-related tests are now failing. And they're failing for good
reason, since basically our yaml parser stopped working.

I am still investigating the reason for the incompatibilities, but it
seems voluptuous stopped liking the default values of schema entries
that are using Enumify. 0.11.0 did seem to have introduces some 'strict
default value validation' thing that is supposed to be backwards
incompatible and I assume this is the source of the problem. The thing
is that, in theory, the default value we provide for those are valid
default values, but maybe there's something special in how the
validation is done.

** Affects: ubuntu-image
     Importance: Critical
     Assignee: Łukasz Zemczak (sil2100)
         Status: In Progress

** Affects: ubuntu-image (Ubuntu)
     Importance: Critical
     Assignee: Łukasz Zemczak (sil2100)
         Status: New

** Also affects: ubuntu-image (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: ubuntu-image (Ubuntu)
   Importance: Undecided => Critical

** Changed in: ubuntu-image (Ubuntu)
     Assignee: (unassigned) => Łukasz Zemczak (sil2100)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-image in Ubuntu.
https://bugs.launchpad.net/bugs/1795610

Title:
  New voluptuous breaks ubuntu-image

Status in Ubuntu Image:
  In Progress
Status in ubuntu-image package in Ubuntu:
  New

Bug description:
  We had a sync of voluptuous 0.11.1 from debian sitting in cosmic-
  proposed, apparently stuck on ubuntu-image autopkgtests. After ubuntu-
  image got hinted in because of a failing flake8 tests (because of a
  new pycodestyle sync in cosmic, sigh), voluptuous migrated to release
  and completely broke ubuntu-image.

  The breakage is made visible already through autopkgtests (which is
  why voluptuous was blocked). I saw the same issue when our
  snapcraft.yaml for snap builds was using pip for pulling in
  voluptuous. To save time I have switched to using the deb instead back
  then. Now the incompatibilities between 0.9.x and 0.11.x are back and
  almost all parser-related tests are now failing. And they're failing
  for good reason, since basically our yaml parser stopped working.

  I am still investigating the reason for the incompatibilities, but it
  seems voluptuous stopped liking the default values of schema entries
  that are using Enumify. 0.11.0 did seem to have introduces some
  'strict default value validation' thing that is supposed to be
  backwards incompatible and I assume this is the source of the problem.
  The thing is that, in theory, the default value we provide for those
  are valid default values, but maybe there's something special in how
  the validation is done.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-image/+bug/1795610/+subscriptions



More information about the foundations-bugs mailing list