django-carrot icon indicating copy to clipboard operation
django-carrot copied to clipboard

Pip install fails due to older version of sphinx_bootstrap_theme dependency's utilization of use_2to3, which is deprecated by setuptools

Open tappandev opened this issue 2 years ago • 3 comments

Is it possible to upgrade the installation for sphinx_bootstrap_theme to the newest version? I would love to use carrot for my Django + Heroku deployment. Thanks!!

setuptools deprecation of use_2to3 sphinx_bootstrap_theme update to address use_2to3 deprecation

pip install django-carrot Collecting django-carrot Using cached django_carrot-1.5.0-py3-none-any.whl (210 kB) Collecting sphinx_bootstrap_theme<0.7.0,>=0.6.5 Using cached sphinx-bootstrap-theme-0.6.5.tar.gz (1.2 MB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [1 lines of output] error in sphinx-bootstrap-theme setup command: use_2to3 is invalid. [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details.

tappandev avatar Mar 02 '22 14:03 tappandev

Hi,

I am facing the same issue. Any resolution.

amolc avatar Jul 09 '22 14:07 amolc

I had to install an older version of setuptools. pip uninstall setuptools pip install setuptools==57.5.0

alwild avatar Oct 06 '22 05:10 alwild

Having not heard back I pivoted to using python-rq with the Heroku Data for Redis add on. If your use-case is also Heroku, start up docs here: https://devcenter.heroku.com/articles/python-rq

tappandev avatar Oct 06 '22 14:10 tappandev