On Fri, Feb 4, 2022 at 4:51 PM Ilya Maximets <[email protected]> wrote: > > On 2/4/22 20:39, Dumitru Ceara wrote: > > On 2/4/22 17:32, Ilya Maximets wrote: > >> GHA is broken due to update to pip>=22.0. This happens because now it > >> stops backtracking packages on build failure making it impossible to > >> find working combination of versions. > >> > >> We're not able to build 'hacking', because 'wheel' is not installed > >> at that point in time. Installing it separately to fix the issue, > >> so pip can find compatible versions of packages by backtracking. > >> > >> Unfortunately, new version of backtracking leads to installation of > >> incompatible versions of flake8 and hacking. Presumably because > >> current versions of hacking are not compatible with flake8>=4.0 > >> and very old hacking-0.5.4 for some reason is considered suitable > >> while resolving dependencies. So, we end up with flake8-4.0.1 and > >> hacking-0.5.4 installed. And that doesn't work. Limiting the version > >> of hacking to >=3.0 to have flake8-3.9.2 and hacking-3.0.0 installed > >> during backtracking. > >> > >> Signed-off-by: Ilya Maximets <[email protected]> > >> --- > > > > This fixes the issue for me: > > > > Acked-by: Dumitru Ceara <[email protected]> > > Thanks, Aaron, Dumitru and Gaetan! I applied this patch to all failing > branches down to 2.16. > > Aaron, Gaetan, I carried your Acked-by's from v1 with a small remark in > a commit message. I hope that's OK.
Thanks Ilya for fixing this. I cherry-picked this commit to OVN and applied to the main branch and branch-21.12. Numan > > Best regards, Ilya Maximets. > _______________________________________________ > dev mailing list > [email protected] > https://mail.openvswitch.org/mailman/listinfo/ovs-dev > _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
