androguard>=3.3 fails: "AXMLParser' object has no attribute 'is_valid'"

Traceback (most recent call last):
  File "/builds/eighthave/fdroidserver/tests/build.TestCase", line 120, in test_get_apk_metadata
    vc, vn = fdroidserver.build.get_metadata_from_apk(app, build, apkfilename)
  File "/builds/eighthave/fdroidserver/fdroidserver/build.py", line 332, in get_metadata_from_apk
    appid, versionCode, versionName = common.get_apk_id(apkfile)
  File "/builds/eighthave/fdroidserver/fdroidserver/common.py", line 2126, in get_apk_id
    return get_apk_id_androguard(apkfile)
  File "/builds/eighthave/fdroidserver/fdroidserver/common.py", line 2158, in get_apk_id_androguard
    while axml.is_valid():
AttributeError: 'AXMLParser' object has no attribute 'is_valid'
This commit is contained in:
Hans-Christoph Steiner 2019-01-03 20:50:57 +01:00
parent 76b026e572
commit 13bcc476a7

View file

@ -67,7 +67,7 @@ setup(name='fdroidserver',
'babel', 'babel',
], ],
install_requires=[ install_requires=[
'androguard >= 3.1.0rc2', 'androguard >= 3.1.0rc2, < 3.3.0',
'clint', 'clint',
'defusedxml', 'defusedxml',
'GitPython', 'GitPython',