79531684

Date: 2025-03-24 17:04:33
Score: 0.5
Natty:
Report link

As pointed out in the comments, the issue stems from a breaking change introduced by setuptools>=78. A workaround is to use the PIP_CONSTRAINT environment variable to tell pip to use a lower version of setuptools. For instance, in a file named pip-constraint.txt:

setuptools<78

and then:

PIP_CONSTRAINT=pip-constraint.txt pip install stringcase

works for any python version.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: fgoudra