Bug ID 1124125
Summary lxc requires python(abi) = 3.6
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee opensuse_buildservice@ojkastl.de
Reporter mchandras@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

After TW moved to python-3.7 the lxc can't be updated anymore

Problem: lxc-2.0.9-7.1.x86_64 requires python(abi) = 3.6, but this requirement
cannot be provided

Indeed, in OBS the package is currently broken

https://build.opensuse.org/package/show/openSUSE:Factory/lxc

[  100s] lxc.c: In function ���lxc_attach_python_exec���:
[  100s] lxc.c:124:5: error: ���PyOS_AfterFork��� is deprecated
[-Werror=deprecated-declarations]
[  100s]      PyOS_AfterFork();
[  100s]      ^~~~~~~~~~~~~~
[  100s] In file included from /usr/include/python3.7m/Python.h:134,
[  100s]                  from lxc.c:25:
[  100s] /usr/include/python3.7m/intrcheck.h:18:18: note: declared here
[  100s]  PyAPI_FUNC(void) PyOS_AfterFork(void) Py_DEPRECATED(3.7);
[  100s]                   ^~~~~~~~~~~~~~
[  100s] cc1: all warnings being treated as errors
[  100s] error: command 'gcc' failed with exit status 1

As such, the old lxc package in TW is being pulled in and it's blocking the
update


You are receiving this mail because: