Skip to content

Commit

Permalink
Build system: Exclude broken version of setuptools
Browse files Browse the repository at this point in the history
Apparently, version 60.X (up including 62) introduces a bug
manifesting in imports not found:

ImportError: cannot import name 'build_py' from 'setuptools._distutils.command'

pypa/setuptools#2353

Change-Id: I4c08d61ed95998221fa560915011f5ad2ef8f58b
Reviewed-by: Christian Tismer <[email protected]>
  • Loading branch information
FriedemannKleint committed Apr 22, 2022
1 parent a683862 commit baff416
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
setuptools>=48.0
# > 60 introduces ImportError: cannot import name 'build_py' from 'setuptools._distutils.command'
# FIXME: Check if fixed in later versions?
setuptools>=59.5,<60
build==0.7
sphinx
sphinx-panels
Expand Down

0 comments on commit baff416

Please sign in to comment.