-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-10.0
-
None
-
No
-
None
-
rhel-security-selinux
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
None
What were you trying to do that didn't work?
The warning was found out by anaconda team (RHEL-82838)
Please provide the package NVR for which the bug is seen:
libselinux-3.9-1.el10.x86_64
How reproducible is this bug?:
Always
Steps to reproduce
Minimal reproducer for the swigvarlink DeprecationWarning
#!/usr/bin/env python3 import warnings warnings.simplefilter('always') import selinux
When you run it on affected system the warning appeared.
$ python3 minimal_reproducer.py <frozen importlib._bootstrap>:488: DeprecationWarning: builtin type SwigPyPacked has no __module__ attribute <frozen importlib._bootstrap>:488: DeprecationWarning: builtin type SwigPyObject has no __module__ attribute <sys>:0: DeprecationWarning: builtin type swigvarlink has no __module__ attribute
Expected results
The empty output is expected
Source of the issue
The warning is caused by code generated with affected SWIG
https://github.com/swig/swig/issues/2881
Rebuild against fixed swig will solve it.
- depends on
-
RHEL-82838 Anaconda DeprecationWarning: builtin type swigvarlink
-
- Integration
-