Skip to content

"SyntaxWarning: invalid escape sequence" error with python 3.12 #81

@pitsi

Description

@pitsi

I noticed today that apkinfo pops this error. It probably has to do with python 3.12, like many other similar errors I have come accross lately, so I am asking for a fix. It is from debian unstable, which is on python 3.12 since late June, but it still has apkinfo 0.3.28 in the repos.

$ apkinfo Downloads/wattz-1.19.apk 
/usr/lib/python3/dist-packages/pyaxmlparser/core.py:789: SyntaxWarning: invalid escape sequence '\d'
  dexre = re.compile("classes(\d*).dex")
/usr/lib/python3/dist-packages/pyaxmlparser/core.py:807: SyntaxWarning: invalid escape sequence '\d'
  dexre = re.compile("^classes(\d+)?.dex$")
/usr/lib/python3/dist-packages/pyaxmlparser/core.py:1006: SyntaxWarning: invalid escape sequence '\>'
  """
APK: Downloads/wattz-1.19.apk
App name: Wattz
Package: dubrowgn.wattz
Version name: 1.19
Version code: 19
Is it Signed: True
Is it Signed with v1 Signatures: False
Is it Signed with v2 Signatures: True
Is it Signed with v3 Signatures: False

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions