On Thu, Dec 1, 2022 at 8:46 PM Ben Greiner wrote:
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!
I was more hoping to force python-dfVFS to be a python39 or python310 package. Both python39 and python310 are in LEAP 15.4. But, I'm not a python programmer. Am I thinking this will be simpler than it really is? FYI: python-dfVFS uses a large number of libraries that would not be in the basic python39 RPMs. In Tumbleweed, I have the full suite of libraries for python38, python39, python310, etc. For my own personal use, can I just gather up those RPMs and manually install them? Maybe I just need to give up on LEAP 15.4 as a target for the latest release of python-dfVFS? Thanks, Greg