Namcap already depends on pyelftools, which contains an elegant way to
retrieve the soname information directly from libalpm.so (demonstrated
in readelf.py).
Using hardcoded strings means the testsuite periodically breaks (every
time the external pacman project bumps their soname), for no good
Duplicate of
https://lists.archlinux.org/pipermail/arch-projects/2018-July/004948.html
And thus equally wrong.
--
Eli Schwartz
Bug Wrangler and Trusted User
signature.asc
Description: OpenPGP digital signature
Remove unused imports tree-wide, which also resolves the
deprecationwarning for the imp module import which is now printed to
stdout.
Signed-off-by: Jelle van der Waa
---
Namcap/rules/anyelf.py | 4 ++--
Namcap/rules/elffiles.py| 4 +---
Namcap/rules/extravars.py
By removing the unused imports for clean_filename this function is now
unused.
---
Namcap/util.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/Namcap/util.py b/Namcap/util.py
index 68e3878..ecf8b44 100644
--- a/Namcap/util.py
+++ b/Namcap/util.py
@@ -60,6 +60,4 @@ def
---
Namcap/tests/package/test_sodepends.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Namcap/tests/package/test_sodepends.py
b/Namcap/tests/package/test_sodepends.py
index 3a3d7b6..4188c35 100644
--- a/Namcap/tests/package/test_sodepends.py
+++
This patch series cleans up unused imports and resolves the deprecation
warning showns with Python 3.7