Skip to content

[Bug]: Dupeguru is unmaintained, and as of python version 3.13 is no longer compilable. #970

@Saul-Dickson

Description

@Saul-Dickson

Checklist

  • I am using an up-to-date version.
  • I have read the documentation.
  • I have searched existing issues.

TagStudio Version

Alpha 9.5.2

Operating System & Version

Archlinux Kernel:6.15.2-arch1-1

Description

This issue is not caused by TagStudio, but does effectively deprecate one of TagStudio's features. I'll note that given dupeguru is lready installed, it will still work.

As of python version 3.13, python-setuptools no longer includes the module sandbox. This is necessary for dupeguru to compile, as can be seen with the traceback below.

archlinux >$ make
./env/bin/python build.py --modules
Traceback (most recent call last):
  File "/home/dot/.cache/paru/clone/dupeguru-git/src/dupeguru/build.py", line 13, in <module>
    from setuptools import sandbox
ImportError: cannot import name 'sandbox' from 'setuptools' (/usr/lib/python3.13/site-packages/setuptools/__init__.py)
make: *** [Makefile:88: modules] Error 1

It is apparently possible to downgrade python-setuptools to version 79 (the most recent to include the sandbox module), but I have not been able to get that to work either. Regardless, dupeguru is no longer a viable duplicate detection tool for users that do not already have it installed and running, or are willing to mess with downgrading installations.

Expected Behavior

I'm not familiar with the number of alternative duplicate detection programs out there, but there has to be at least one which could serve as a suitable replacement.

Steps to Reproduce

  1. Download dupeguru source
  2. Have a current version of python
  3. Attempt to compile dupeguru

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    TagStudio: LibraryRelating to the TagStudio library systemType: BugSomething isn't working as intended

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions