(the easy way is 'dnf downgrade python3')
I've pushed a tentative fix to ptyprocess so that it it avoids all the
Python subprocess / fork / ... crap.  However, using it isn't trivial.
The below is an untested outline:

- lets assume cwd is /home/python

- clone, configure, build python mainline aka 3.8 (it adds
os.posix_spawn()) with something like:

    $ git clone https://github.com/python/cpython.git
    $ ( cd cpython && ./configure --prefix=/home/python/v3.8 && make
-j && make -j install )

- $ git clone https://github.com/pexpect/pexpect.git

- $ git clone https://github.com/cagney/ptyprocess.git
  hacked to use os.posix_spawn()

- In Makefile.inc.local, point KVM_PYTHON at above, something like
(with /home/python replaced with something better):
      KVM_PYTHON =
PYTHONPATH=/home/python/pexpect:/home/python/ptyprocess
/home/python/v3.8/bin/python3

I'm testing it on an f28 system, so far so good ....
_______________________________________________
Swan-dev mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-dev

Reply via email to