Bug ID | 1229570 |
---|---|
Summary | python3-pygit2 broken due to runtime requirement on unsatisfied cffi version |
Classification | openSUSE |
Product | openSUSE Backports |
Version | SLE-15-SP6 |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Critical |
Priority | P5 - None |
Component | Packages |
Assignee | packagehub-bugs@suse.com |
Reporter | ngompa13@gmail.com |
QA Contact | packagehub-bugs@suse.com |
Target Milestone | --- |
Found By | --- |
Blocker | --- |
python3-pygit2 is broken in openSUSE Leap 15.6 because it has an unsatisfied runtime dependency on cffi>=1.16 (Leap only has 1.13.2). I detected this because pagure workers are crashing now on code.opensuse.org ever since pygit2 was upgraded (August 17 according to rpm). The traceback looks like this: Aug 21 11:28:42 pagure01 celery[5426]: Traceback (most recent call last): Aug 21 11:28:42 pagure01 celery[5426]: File "/usr/lib/python3.6/site-packages/celery/app/trace.py", line 412, in trace_task Aug 21 11:28:42 pagure01 celery[5426]: R = retval = fun(*args, **kwargs) Aug 21 11:28:42 pagure01 celery[5426]: File "/usr/lib/python3.6/site-packages/celery/app/trace.py", line 704, in __protected_call__ Aug 21 11:28:42 pagure01 celery[5426]: return self.run(*args, **kwargs) Aug 21 11:28:42 pagure01 celery[5426]: File "/usr/lib/python3.6/site-packages/pagure/lib/tasks_utils.py", line 36, in decorated_function Aug 21 11:28:42 pagure01 celery[5426]: return function(self, session, *args, **kwargs) Aug 21 11:28:42 pagure01 celery[5426]: File "/usr/lib/python3.6/site-packages/pagure/lib/tasks.py", line 117, in generate_gitolite_acls Aug 21 11:28:42 pagure01 celery[5426]: helper = pagure.lib.git_auth.get_git_auth_helper() Aug 21 11:28:42 pagure01 celery[5426]: File "/usr/lib/python3.6/site-packages/pagure/lib/git_auth.py", line 80, in get_git_auth_helper Aug 21 11:28:42 pagure01 celery[5426]: cls = classes[backend].load() Aug 21 11:28:42 pagure01 celery[5426]: File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2442, in load Aug 21 11:28:42 pagure01 celery[5426]: self.require(*args, **kwargs) Aug 21 11:28:42 pagure01 celery[5426]: File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2465, in require Aug 21 11:28:42 pagure01 celery[5426]: items = working_set.resolve(reqs, env, installer, extras=self.extras) Aug 21 11:28:42 pagure01 celery[5426]: File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 791, in resolve Aug 21 11:28:42 pagure01 celery[5426]: raise VersionConflict(dist, req).with_context(dependent_req) Aug 21 11:28:42 pagure01 celery[5426]: pkg_resources.ContextualVersionConflict: (cffi 1.13.2 (/usr/lib64/python3.6/site-packages), Requirement.parse('cffi>=1.16.0'), {'pygit2'}) This breakage is the result of this commit in pygit2 (part of 1.14.0 release): https://github.com/libgit2/pygit2/commit/aab211a842b17c8b699b2753301abb3a9ba7f1ad#diff-4d7c51b1efe9043e44439a949dfd92e5827321b34082903477fd04876edb7552