As suggested, I patched project.py in ~/.new_local/lib/python3.11/site-packages/pipenv/ as per "gitHub.com/pypa/pipenv/issues/6106”. Reran gtk-osx-setup.sh and got the following question:
- pyenv: /Users/gtkosx/.new_local/share/pyenv/versions/3.11.7 already exists - continue with installation? (y/N) Answered “y”, and it seemed to run to completion, but with some warnings about tkinter and lzma not being installed. Continued with instructions in wiki.gnucash.org/wiki/MacOS/Quartz: - Set path to include ~/.new_local/bin - Moved copy of bash to .new_local/bin - Downloaded jhbuildrc_custom - Put jhbuild_custom in .config - Added 'branches["gnucash-git”]=(None,”master”)’ - Changed “=_modules_stable” to “=_modules_git” Finally, ran “jhbuild bootstrap-gtk-osx” and got: - Loading .env environment variables... - I: Modulesets were edited locally but JHBuild is configured to get them from the network, perhaps you need to add use_local_modulesets = True to your /Users/gtkosx/.config/jhbuildrc. - jhbuild bootstrap-gtk-osx: no such command (did you mean "jhbuild run bootstrap-gtk-osx"?) Tried running “jhbuild -f .config/jhbuildrc-custom bootstrap-gtk-osx” and got: - Loading .env environment variables... - Traceback (most recent call last): - File "/Users/gtkosx/Source/jhbuild/jhbuild/config.py", line 194, in load - execfile(filename, config) - File "/Users/gtkosx/Source/jhbuild/jhbuild/utils/compat.py", line 67, in execfile - exec(code, globals, locals) - File ".config/jhbuildrc-custom", line 3, in <module> - setup_sdk() - ^^^^^^^^^ - NameError: name 'setup_sdk' is not defined - jhbuild: could not load config file Looks like jhbuild is trying to execute "setup_sdk()” from line 3 of jhbuildrc_custom but can’t find this function. There was no reference to it in the output of gtk-osx-setup.sh. Thanks for any advice on how to proceed. > On May 10, 2024, at 10:43 AM, John Ralls <jra...@ceridwen.us> wrote: > > > >> On May 9, 2024, at 10:08, Paul Ingram <guardian.dog9...@fastmail.fm> wrote: >> >> >> Trying to build gnucash-5.6 from source on a mac mini running macOS 14.4.1 >> in accordance with the instructions on >> https://wiki.gnucash.org/wiki/MacOS/Quartz. >> >> Created administrator account “gtkosx” >> Switched to the new account: "su gtkosx" >> Ran “sh gtk-osx-setup.sh” in a bash shell >> Got the following messages: >> >> Installed openssl-3.2.0 … >> Installed readline-8.2 … >> Installed python-3.11.7 (with warnings “missing the Tk toolkit?” and >> “missing the lzma lib?” >> Installed pip-24.0 … >> Installing collected packages: distlib, setup tools, … >> Installed certifi-2024.2.2, distlib-0.3.8, … >> Created virtualenv … >> Locking dependencies ... >> Building requirements … >> Resolving dependencies … >> >> Error: >> File >> "/Users/gtkosx/.new_local/lib/python3.11/site-packages/pipenv/project.py", >> line *239*, in get_requests_session_for_source >> >> if *self.sessions.get**(*source*[*"name"*])*: >> >> ~~~~~~^^^^^^^^ >> >> KeyError: 'name' >> >> ✘ Locking Failed! >> >> >> >> Patch for project.py appears here: https://github.com/pypa/pipenv/issues/6106 >> >> >> >> Do I patch project.py manually and rerun gtk-osx-setup.sh? >> > > Yes. Pipenv has merged my PR but hasn’t done a new release. > > Regards, > John Ralls
signature.asc
Description: Message signed with OpenPGP
_______________________________________________ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.