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

Incompatible with newer setuptools (>=58.0.0) due to use of 2to3 in setup.py #216

Closed
willfurnass opened this issue Sep 8, 2021 · 1 comment · Fixed by #206
Closed

Incompatible with newer setuptools (>=58.0.0) due to use of 2to3 in setup.py #216

willfurnass opened this issue Sep 8, 2021 · 1 comment · Fixed by #206

Comments

@willfurnass
Copy link

There's been a breaking change in setuptools 58 (https://setuptools.readthedocs.io/en/latest/history.html): PR 2086

removed support for 2to3 during builds. Projects should port to a unified codebase or pin to an older version of Setuptools using PEP 518 build-requires.

Attempts to install this package alongside setuptools >= 58 result in:

    error in sphinx-bootstrap-theme setup command: use_2to3 is invalid.

is 2to3=True still needed in setup.py?

@tanglef
Copy link

tanglef commented Sep 9, 2021

It seems the only file where 2to3 is really useful is in fabfile.py with urllib2 (that and the fabric requirement that should be fabric3 in python3. Other than that I don't see why the use of 2to3=True.
We might also need to change SimpleHTTPServer as http.server since this was a Python2 module.

mostaphaRoudsari added a commit to mostaphaRoudsari/honeybee-vtk that referenced this issue May 5, 2023
mostaphaRoudsari added a commit to ladybug-tools/honeybee-vtk that referenced this issue May 5, 2023
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

Successfully merging a pull request may close this issue.

2 participants