6.0.0 rc1 on Mac

Hi,
I am trying to run this on Ventura 13.7.4, Python 3.13.2 and I get this:

~/projects/genealogy/gramps6$ make execute
(. venv/bin/activate; LD_LIBRARY_PATH=/opt/local/lib venv/bin/gramps)
.gramps.gen.utils.grampslocale.WARNING: ICU not loaded because No module named ‘PyICU’. Localization will be impaired. Use your package manager to install PyICU
Traceback (most recent call last):
File “/Users/lsanchez-chopitea/projects/genealogy/gramps6/venv/bin/gramps”, line 2, in
import gramps.grampsapp as app
File “/Users/lsanchez-chopitea/projects/genealogy/gramps6/venv/lib/python3.13/site-packages/gramps/grampsapp.py”, line 54, in
from .gen.const import APP_GRAMPS, USER_DIRLIST, USER_DATA, ORIG_HOME_DIR
File “/Users/lsanchez-chopitea/projects/genealogy/gramps6/venv/lib/python3.13/site-packages/gramps/gen/const.py”, line 248, in
GRAMPS_LOCALE = GrampsLocale(localedir=_resources.locale_dir)
File “/Users/lsanchez-chopitea/projects/genealogy/gramps6/venv/lib/python3.13/site-packages/gramps/gen/utils/grampslocale.py”, line 468, in init
self._GrampsLocale__init_first_instance()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File “/Users/lsanchez-chopitea/projects/genealogy/gramps6/venv/lib/python3.13/site-packages/gramps/gen/utils/grampslocale.py”, line 373, in __init_first_instance
locale.textdomain(self.localedomain)
^^^^^^^^^^^^^^^^^
AttributeError: module ‘locale’ has no attribute ‘textdomain’
make: *** [execute] Error 1

Should I be using this or beta2?

(Had to force PyGObject, seems to be missing from the package requirements)
Thanks
Lou

Do you have all the requirements listed here and judging by the error also install the strongly suggest requirements?

Found it.

________________________________ test_locale_02 ________________________________

    def test_locale_02():
        print(locale.__file__)
>       assert locale.textdomain
E       AttributeError: module 'locale' has no attribute 'textdomain'

test_locale.py:8: AttributeError

The HomeBrew Pythons (at least 3.10, 3.11, and 3.13) are broken in this respect. I found a diff posted on GitHub about it but it does not seem to have gotten in.

Thanks for the requirements pointer. My point about PyGObject is that that particular one should be in the package requirements (like orjson) so that pip will install it into the environment. The system and Python packages should probably be distinguished in those pages since pip should handle all the latter.

Cheers

Lou