Am16.12.22 um 05:04 schrieb Greg Freemyer:
Before your submissions you can always check locally with
osc build --alternative-project=devel:languages:python:backports x86_64 15.4_py3
Or add this to your home project meta (see e.g. https://build.opensuse.org/projects/home:bnavigator:branches:devel:languages...):
<repository name="15.4_py39"> <path project="devel:languages:python:backports" repository="15.4_py39"/> <arch>x86_64</arch> </repository> I added the above to security:forensics and it is now building python39 packages for the ~50 python modules in there.
My suggestion was for development and local test not for end-user consumption. You will need to branch the whole dependency tree into securoty:forensics. Using the whole d:l:p:backports as zypper repo is strongly discouraged.
I just installed python39-dfdatetime from the security:forensics 15.4_py39 repo.
Unfortunately, it doesn't have all the dependencies it needs:
./run_tests.py Using Python version 3.9.15 (main, Oct 28 2022, 17:28:38) [GCC] Checking availability and versions of dependencies.
Checking availability and versions of test dependencies. [FAILURE] missing: mock [FAILURE] missing: pbr [FAILURE] missing: six
I'll see if I can figure out SRs to start addressing those.
Those are not runtime dependencies they are only listed in test_requirements.txt and not even really needed for those anymore. Upstream just did not clean up their code: https://github.com/log2timeline/dfdatetime/blob/20221112/test_requirements.t... https://github.com/log2timeline/dfdatetime/search?q=mock https://github.com/log2timeline/dfdatetime/search?q=pbr https://github.com/log2timeline/dfdatetime/search?q=six
Thanks, Greg
- Ben