Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tappandev opened this issue Mar 2, 2022 · 3 comments

Comments

@tappandev
Copy link

tappandev commented Mar 2, 2022

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.

@amolc
Copy link

amolc commented Jul 9, 2022

Hi,

I am facing the same issue. Any resolution.

@alwild
Copy link

alwild commented Oct 6, 2022

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

@tappandev
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants