parse: apkindex: don't require python 3.12
Use hash() instead, it's simpler anyway.
Also add a test to ensure we're actually hitting the cache.
Merge request reports
Activity
- Resolved by Newbyte
I guess we also need a new bug wrt testing python backwards compatibility in CI pre-merge. The current test, using vermin, didn't catch this.
cc @alexeymin
mentioned in issue #2477 (closed)
My machine is using Pop!_OS 22.04, and the available version of Python in its PPA is 3.10. The
walk_up
parameter breaks pmbootstrap usage on earlier version of Python, such as this, sincewalk_up
is only implemented in Python 3.12+.My current hack is to manually add "walking up" process to mimick the
walk_up
parameter, but seems like this is much better and simpler.Looking forward to see this getting merged!
Edited by Hendra Manudinataadded 16 commits
-
e5149a91...2106e13f - 14 commits from branch
master
- 12f9e43a - parse: apkindex: don't require python 3.12 (MR 2455)
- d4d7ba03 - test: parse: apkindex: check that cache works (MR 2455)
-
e5149a91...2106e13f - 14 commits from branch
enabled an automatic merge when all merge checks for d4d7ba03 pass