Preferred series is None in Launchpad?

I have a script to request builds of a snap on lp daily and it uses this to find the distro_series to build in:

series_16 = lp.snappy_serieses.getByName(name=‘16’)
ds = series_16.preferred_distro_series

but as of a week or so ago, ds is now None. What changed?

Artful was added as a distro series, perhaps this caused a regression?

@wgrant ?

It indeed got dropped when I added artful. I’ve set it back to xenial.

1 Like