rdmo
rdmo copied to clipboard
django-mptt
The maintainer of django-mptt has marked the project as unmaintained, although it looks like he is still actively developing it:
- https://github.com/django-mptt/django-mptt/blob/79301e1cb8902535c4954b32196963a6794bd74b/CHANGELOG.rst#013
- https://twitter.com/matthispam/status/1367205308439949313
The requirements.txt in rdmo 1.6-rc.1 lists django-mptt 0.12 as a dependency - can this be safely updated to 0.13.2 if support for Python 3.6 is not needed, or are there any additional compatibility issues known/to be expected?
The required version is set to django-mptt~=0.13.4
in https://github.com/rdmorganiser/rdmo/blob/c9b95607ba8880e20f573fe2cd86b46b95ccbd96/pyproject.toml#L49
The tests are passing.
The question on how to deal with unmaintained dependencies still remains relevant.
There is also some recent activity in this alternative library: https://github.com/django-treebeard/django-treebeard/
Yes, I know of tree beard, and I would use it it I would need a tree in a new project. Replacing mptt was is not the highest priority right now. For Attribute
we actually don't really need a tree anymore. The projects should be migrated to treebeard eventually.
Okay, so this issue should be left as is for the time being?
Long term goal: replace django-mptt -> django-treebeard
Version in https://github.com/rdmorganiser/rdmo/pull/693: django-mptt~=0.14
Tests are passing.
This might also be worth a look, if trees are needed: https://github.com/fabiocaccamo/django-treenode
Another interesting discussion about this https://github.com/vittoriozamboni/django-groups-manager/issues/71