Skip to content

Remove d2to1

Colin Watson requested to merge cjwatson/celery-haystack-ng:remove-d2to1 into develop

d2to1 is deprecated (see and no longer works with setuptools >= 68.0.0, so this project's wheel can no longer be built:

Traceback (most recent call last):
  File "/tmp/pip-build-env-mt7emmq3/overlay/lib/python3.12/site-packages/setuptools/", line 674, in _finalize_setup_keywords
    ep.load()(self,, value)
  File "/tmp/pip-build-env-mt7emmq3/normal/lib/python3.12/site-packages/d2to1/", line 30, in d2to1
    from setuptools.dist import _get_unpatched
ImportError: cannot import name '_get_unpatched' from 'setuptools.dist' (/tmp/pip-build-env-mt7emmq3/overlay/lib/python3.12/site-packages/setuptools/ Did you mean: 'get_unpatched'?

Port to plain modern setuptools.

Merge request reports