avibrazil / iOSbackup

A Python 3 class that reads and extracts files from a password-encrypted iOS backup created by iTunes on Mac and Windows. Compatible with iOS 14. Class works on Linux too.
222 stars 38 forks source link

Python 3.8 #19

Closed botherder closed 1 year ago

botherder commented 2 years ago

I noticed that your setup.py indicates that Python >= 3.8 is required. Because Python 3.7 is still the default on many installations and OSes, this is causing some installation issues. Is there a particular reason to require 3.8? Thank you.

avibrazil commented 2 years ago

I don't remember anymore. I only use 3.9 and up in all my systems. Please let me know if it was usable in 3.7

avibrazil commented 2 years ago

I can't remember anymore why I put Python 3.8 as a restriction. Please someone force an installation on older Python and let me know if it works, then I'll reduce the version requirement.

Te-k commented 2 years ago

Hi, I just tested iOSbackup with python 3.8 and decrypted a backup and didn't have any problem. Is there anything specific or test script I should use to confirm that there is no compatibility issue?

avibrazil commented 2 years ago

What about 3.7?

Te-k commented 2 years ago

It also seems to work with iOS 3.7.0 so it should be good for all 3.7 versions

botherder commented 1 year ago

Just checking in if there are any developments on this?

avibrazil commented 1 year ago

New version 0.9.924 now requires Python 3.7

Te-k commented 1 year ago

Actually, iOSbackup relies on avibrazil/NSKeyedUnArchiver which also requires python 3.8. If I am right, this is based on the need for UID support in plistlib which was added in python 3.8, so not sure if there is anything to do there.

avibrazil commented 1 year ago

That’s correct.

iOSbackup requires avibrazil/NSKeyedUnArchiver (which I wrote it myself) which in turns requires plistlib with features that appeared on Python 3.8 only.

So Python 3.8 is indeed the minimum.

Currently Python is 3.11. Why are there people still relying on old 3.7?

Te-k commented 1 year ago

I am not sure, but we aren't going to try to push for 3.7 support in MVT in any case. Thanks anyway for being open to do that