<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 21 July 2017 at 15:36, Michael Hudson-Doyle <span dir="ltr"><<a href="mailto:michael.hudson@canonical.com" target="_blank">michael.hudson@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="gmail-">On 29 June 2017 at 10:43, Michael Hudson-Doyle <span dir="ltr"><<a href="mailto:michael.hudson@canonical.com" target="_blank">michael.hudson@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="gmail-m_3517587315139925193gmail-">On 21 June 2017 at 15:13, Michael Hudson-Doyle <span dir="ltr"><<a href="mailto:michael.hudson@canonical.com" target="_blank">michael.hudson@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>An update on the transition to Python 3.6: Python 3.6 is now a supported version in artful release, and almost all packages that build C extensions have been rebuilt (pandas is still a problem).</div><div><br></div><div>We have created a PPA where python3.6 is the default and rebuilt all python packages: <a href="https://launchpad.net/~canonical-foundations/+archive/ubuntu/python3.6-as-default/+packages" target="_blank">https://launchpad.ne<wbr>t/~canonical-foundations/+arch<wbr>ive/ubuntu/python3.6-as-defaul<wbr>t/+packages</a> and the next step is to fix all the failures this reveals.  The initial failing source packages are listed in <a href="http://paste.ubuntu.com/24903638/" target="_blank">http://paste.ubuntu.com/249<wbr>03638/</a> although some of those have been fixed now.</div></div></blockquote><div> </div></span><div>The 100 or so failures are now summarised in <a href="https://docs.google.com/spreadsheets/d/1Y8dy5cyu8DrmTvT4CNSaVSP2ZZT79sYhT_rAQ19bFUQ/edit?usp=sharing" target="_blank">https://docs.google.com/spread<wbr>sheets/d/1Y8dy5cyu8DrmTvT4CNSa<wbr>VSP2ZZT79sYhT_rAQ19bFUQ/edit?<wbr>usp=sharing</a>, please do check if any packages you care about are on the list and fix any that you can see how to. Uploading fixes direct to the archive is preferred, but if you lack the rights to do that, attaching a bug to a debdiff and subscribe me (mwhudson on lp) and I'll sponsor it v. quickly!</div></div></div></div></blockquote><div><br></div></span><div>We've fixed many of these now, and I've uploaded the change to make python 3.6 the default version in artful. Next step is getting this to migrate, see <a href="http://people.canonical.com/~ubuntu-archive/proposed-migration/artful/update_excuses.html#python3-defaults" target="_blank">http://people.canonical.<wbr>com/~ubuntu-archive/proposed-<wbr>migration/artful/update_<wbr>excuses.html#python3-defaults</a> for that and please help fix anything that is preventing the migration (like whatever it is that breaks botch with python 3.6 as default...)</div></div></div></div></blockquote><div><br></div><div>We are so very close to this.</div><div><br></div><div>The final barrier (assuming that the recently uploaded samba does not drag any new problems in) is that src:yara does not build on armhf. This turns out to be because the codebase is full of code that assumes unaligned access is OK, for example stuff like this <a href="https://github.com/VirusTotal/yara/blob/master/libyara/exec.c#L224">https://github.com/VirusTotal/yara/blob/master/libyara/exec.c#L224</a> but also more subtly stuff like <a href="https://github.com/VirusTotal/yara/blob/master/libyara/scan.c#L409">https://github.com/VirusTotal/yara/blob/master/libyara/scan.c#L409</a> (new_match is only guaranteed to be 4-byte-aligned and crashes when you access an 8 byte field).</div><div><br></div><div>This could all be fixed, I'm sure, but I don't know if upstream would be interested and at this stage I wonder if removing the package on armhf is more pragmatic. It has a few rdeps but not all that many. Thoughts?</div><div><br></div><div>Cheers,</div><div>mwh</div><div><br></div></div></div></div>