At release-4.6.1:
./build.sh
cargo 1.73.0 (9c4383fb5 2023-08-26)
Traceback (most recent call last):
File "/Users/jwd/nobackup-cs/quodlibet/dev-utils/osx_bundle/_jhbuild/jhbuild/config.py", line 194, in load
execfile(filename, config)
File "/Users/jwd/nobackup-cs/quodlibet/dev-utils/osx_bundle/_jhbuild/jhbuild/utils/compat.py", line 67, in execfile
exec(code, globals, locals)
File "/Users/jwd/nobackup-cs/quodlibet/dev-utils/osx_bundle/_home/.jhbuildrc", line 639, in
os.environ['PYENV_VERSION'], 'lib')
~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "", line 679, in getitem
KeyError: 'PYENV_VERSION'
jhbuild: could not load config file
The failing code is in jhbuildrc-gtk-osx, and comments on it say that PYENV_VERSION is defined by pyenv. This is incorrect (https://github.com/pyenv/pyenv#environment-variables).
As a workaround, manually define PYENV_VERSION.
This error started hitting after I reinstalled pyenv, Xcode and used homebrew to reinstall a bunch of packages. I don't know what previously defined PYENV_VERSION.
At release-4.6.1:
./build.sh
cargo 1.73.0 (9c4383fb5 2023-08-26)
Traceback (most recent call last):
File "/Users/jwd/nobackup-cs/quodlibet/dev-utils/osx_bundle/_jhbuild/jhbuild/config.py", line 194, in load
execfile(filename, config)
File "/Users/jwd/nobackup-cs/quodlibet/dev-utils/osx_bundle/_jhbuild/jhbuild/utils/compat.py", line 67, in execfile
exec(code, globals, locals)
File "/Users/jwd/nobackup-cs/quodlibet/dev-utils/osx_bundle/_home/.jhbuildrc", line 639, in
os.environ['PYENV_VERSION'], 'lib')
~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "", line 679, in getitem
KeyError: 'PYENV_VERSION'
jhbuild: could not load config file
The failing code is in jhbuildrc-gtk-osx, and comments on it say that PYENV_VERSION is defined by pyenv. This is incorrect (https://github.com/pyenv/pyenv#environment-variables).
As a workaround, manually define PYENV_VERSION.
This error started hitting after I reinstalled pyenv, Xcode and used homebrew to reinstall a bunch of packages. I don't know what previously defined PYENV_VERSION.