gnucash stable: Multiple changes pushed
John Ralls
jralls at code.gnucash.org
Thu Oct 5 22:20:58 EDT 2023
Updated via https://github.com/Gnucash/gnucash/commit/fdfad6c8 (commit)
via https://github.com/Gnucash/gnucash/commit/3782eed5 (commit)
from https://github.com/Gnucash/gnucash/commit/9eacf34c (commit)
commit fdfad6c8d694c7e2ea5e340ad971257ca863d240
Merge: 9eacf34c89 3782eed567
Author: John Ralls <jralls at ceridwen.us>
Date: Thu Oct 5 15:08:09 2023 -0700
Merge Simon Arlott's 'use-default-python-version' into stable.
commit 3782eed56785adaca02cf2bd4766d3825a6f6ca7
Author: Simon Arlott <sa.me.uk>
Date: Wed Oct 4 21:15:11 2023 +0100
Use the default version of Python 3
Python scripts that run with the default version of Python 3 by executing
with /usr/bin/python3 that try to import gnucash can't find it if it has
been built for a different version.
Instead of using other installed versions of Python 3 that happen to be
present, default to using the default "unversioned" version.
It doesn't look like CMake are going to fix the default behaviour, so every
project has to do this:
https://gitlab.kitware.com/cmake/cmake/-/issues/24878
https://gitlab.kitware.com/cmake/cmake/-/issues/24126
https://gitlab.kitware.com/cmake/cmake/-/merge_requests/8287
This is only supported on CMake 3.20 or newer, so users of older versions
will still get the broken behaviour.
Use the newer default Python3_FIND_STRATEGY=LOCATION (CMP0094).
Summary of changes:
CMakeLists.txt | 8 ++++++++
1 file changed, 8 insertions(+)
More information about the gnucash-patches
mailing list