Skip to content

Commit

Permalink
setup: fix Python 3.6 build
Browse files Browse the repository at this point in the history
Even though Python 3.6 is EOL we still want to support it because Ubuntu
18.04 LTS is still supported. Work around the build problems by staying
on the last supported setuptools_scm version.
  • Loading branch information
jkloetzke committed Jul 14, 2022
1 parent 5f101ac commit d91b848
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ class build(build_orig):

# Installation time dependencies only needed by setup.py
setup_requires = [
'setuptools_scm', # automatically get package version
'setuptools_scm<7', # automatically get package version
# TODO: remove constraint when Python 3.7 is required
]

# Stub class that acts as a proxy for the real sphinx.setup_command.BuildDoc
Expand Down

0 comments on commit d91b848

Please sign in to comment.