Philipp15b/probably

poetry install breaks while installing sphinx-bootstrap-theme

Legotier opened this issue · 3 comments

Since version 58 of the setuptools package, the 2to3 functionality is no longer supported. This means that calling poetry install will fail while installing the sphinx-bootstrap-theme-package.

A solution that works is to downgrade setuptools to an earlier version, e.g. by calling poetry run pip install setuptools==57.5.0 prior to poetry install. However, this should probably be automated if possible.

This is on the forward-branch; I don't know if the problem exists on other branches as well.

Hi, thanks for reporting! Did you try upgrading the sphinx-bootstrap-theme dependency to 0.8.1? It looks like that version supports newer setuptools.

@Philipp15b I tired updating it to 0.8.1 and the issue vanishes.

I tired updating it to 0.8.1 and the issue vanishes.

For me as well. I wasn't sure if this breaks anything in the code though (as unlikely as it is), which is why I didn't want to introduce this as a possible solution yet.