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

setuptools and setuptools_scm incompatible while executing python3 setup.py build #1061

Open
rioter1 opened this issue Jul 22, 2024 · 0 comments

Comments

@rioter1
Copy link

rioter1 commented Jul 22, 2024

After executing python3 setup.py build i get

[100%] Built target pysfm
/usr/local/lib/python3.8/dist-packages/setuptools_scm/_integration/setuptools.py:31: RuntimeWarning:
ERROR: setuptools==45.2.0 is used in combination with setuptools_scm>=8.x

Your build configuration is incomplete and previously worked by accident!
setuptools_scm requires setuptools>=61

Suggested workaround if applicable:

  • migrating from the deprecated setup_requires mechanism to pep517/518
    and using a pyproject.toml to declare build dependencies
    which are reliably pre-installed before running the build tools

AND
after executing python3 setup.py build_doc I get
[100%] Built target pysfm
/usr/local/lib/python3.8/dist-packages/setuptools_scm/_integration/setuptools.py:31: RuntimeWarning:
ERROR: setuptools==45.2.0 is used in combination with setuptools_scm>=8.x

Your build configuration is incomplete and previously worked by accident!
setuptools_scm requires setuptools>=61

Suggested workaround if applicable:

  • migrating from the deprecated setup_requires mechanism to pep517/518
    and using a pyproject.toml to declare build dependencies
    which are reliably pre-installed before running the build tools

warnings.warn(
running build_doc
Running Sphinx v4.2.0
making output directory... done
WARNING: sphinx_rtd_theme (< 0.3.0) found. It will not be available since Sphinx-6.0

Theme error:
no theme named 'sphinx_rtd_theme' found (missing theme.conf?)

Anyone know how to solve it? i tried upgrading setuptools and setuptools_scm but that didn't solve the problem.

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

1 participant