rdmo icon indicating copy to clipboard operation
rdmo copied to clipboard

django-mptt

Open hardfalcon opened this issue 3 years ago • 7 comments

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?

hardfalcon avatar Sep 01 '21 09:09 hardfalcon

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.

afuetterer avatar Sep 05 '23 10:09 afuetterer

There is also some recent activity in this alternative library: https://github.com/django-treebeard/django-treebeard/

afuetterer avatar Sep 05 '23 10:09 afuetterer

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.

jochenklar avatar Sep 07 '23 11:09 jochenklar

Okay, so this issue should be left as is for the time being?

Long term goal: replace django-mptt -> django-treebeard

afuetterer avatar Sep 08 '23 05:09 afuetterer

Version in https://github.com/rdmorganiser/rdmo/pull/693: django-mptt~=0.14 Tests are passing.

afuetterer avatar Sep 15 '23 11:09 afuetterer

This might also be worth a look, if trees are needed: https://github.com/fabiocaccamo/django-treenode

afuetterer avatar Nov 24 '23 11:11 afuetterer

Another interesting discussion about this https://github.com/vittoriozamboni/django-groups-manager/issues/71

MyPyDavid avatar Jul 04 '24 10:07 MyPyDavid