Testing on python 3.13:
../Allura/allura/websetup/__init__.py:34: in setup_app
setup_schema(command, conf, vars)
../Allura/allura/websetup/schema.py:51: in setup_schema
activitystream.configure(**h.convert_bools(conf, prefix='activitystream.'))
/tmp/allura-py313-venv/lib/python3.13/site-packages/activitystream/__init__.py:84: in configure
director = ActivityDirector(**defaults)
/tmp/allura-py313-venv/lib/python3.13/site-packages/activitystream/__init__.py:26: in __init__
self.entry_points = self._load_entry_points()
/tmp/allura-py313-venv/lib/python3.13/site-packages/activitystream/__init__.py:36: in _load_entry_points
entry_points()['activitystream']}
../../../.pyenv/versions/3.13-dev/lib/python3.13/importlib/metadata/__init__.py:264: in __getitem__
raise KeyError(name)
E KeyError: 'activitystream'
Pretty sure we need to put [c08846] back. But I think python 3.9 needs it the current way. How to support both?
Related
Commit: [c08846]
Could depend on
importlib_metadatafrom pypi. Or https://pypi.org/project/backports.entry-points-selectable/ But probably a try/catch is simplest.