django-carrot
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
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.
Hi,
I am facing the same issue. Any resolution.
I had to install an older version of setuptools.
pip uninstall setuptools
pip install setuptools==57.5.0
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