Page MenuHomePhabricator

cumin's test dependencies trigger excessive pip backtracking
Closed, ResolvedPublic

Description

In attempting to migrate cumin's CI tests to run on our buster image, which includes Python 3.8, cumin ends up triggering the new pip resolver's excessive backtracking, hitting Jenkin's 20 minute timeout. It is possible that collectively cumin's dependencies are incompatible with each other or hit an edge case that could be sped up with stricter requirements.

https://pip.pypa.io/en/latest/user_guide/#changes-to-the-pip-dependency-resolver-in-20-3-2020

Once this is fixed we can start testing with Python 3.8 in CI.

Event Timeline

Change 651913 had a related patch set uploaded (by Volans; owner: Volans):
[operations/software/cumin@master] tests: fix dependencies for tests

https://gerrit.wikimedia.org/r/651913

@Legoktm thanks for filing the bug. It should be fixed now with the above patch merged. Could you confirm and resolve this task if it's all good?

Change 651913 merged by jenkins-bot:
[operations/software/cumin@master] tests: fix dependencies for tests

https://gerrit.wikimedia.org/r/651913

jbond added a subscriber: jbond.

Still seeing issues with this, i think before Christmas you mentioned you may need to do a release so projects which depend on cumin can run test.

Still seeing issues with this, i think before Christmas you mentioned you may need to do a release so projects which depend on cumin can run test.

Yes, I need to make a cumin release to solve this for you, sorry about that.

Cumin 4.1.0 has been released to PyPI, resolving. Feel free to re-open in case there is still any issue.