Hi, Am 02.12.22 um 01:19 schrieb Greg Freemyer:
All,
I'm trying to update security:forensics/python-dfVFS
I've branched it to: https://build.opensuse.org/package/show/home:gregfreemyer:Tools-for-forensic...
The new release builds fine for factory, but for LEAP it fails with:
[ 75s] + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' [ 76s] Unsupported Python version: 3.6.15 (default, Sep 23 2021, 15:41:43) [GCC], version 3.7 or higher required. [ 76s] error: Bad exit status from /var/tmp/rpm-tmp.LM9LB1 (%build)
Is there a relatively easy way to get this build. I would really like to have this available for 15.4 at a minimum (in addition to factory).
You have to patch out the following line that upstream does not support Python <3.7: https://github.com/log2timeline/dfvfs/blob/668613e22c39759de62dbde466e030054... Afterwards you have to patch any code that uses features introduced after Python 3.6, sometimes there are backports packages which you can use. OTOH is has been mentioned over and over again that Python 3.6 is dead and that any effort to circumvent this in Leap is hard and not supported by the community. Good luck with your journey!
Thanks Greg -- Greg Freemyer Advances are made by answering questions. Discoveries are made by questioning answers. — Bernard Haisch
- Ben