Skip to content

Commit

Permalink
[CI] Pin setuptools to <74 because of removed MSVCCompiler class
Browse files Browse the repository at this point in the history
  • Loading branch information
mxmlnkn committed Sep 16, 2024
1 parent 259f1be commit 70c8ddf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
6 changes: 5 additions & 1 deletion python/indexed_bzip2/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,9 @@
[build-system]
# Use setuptools >= 43 because it automatically includes pyproject.toml in source distribution
# Use setuptools >= 46.5 to use attr: package.__version__
# Use setuptools < 74 because of weird error on MacOS X with PyPy 3.8:
# File "/lib/pypy3.8/site-packages/setuptools/_distutils/unixccompiler.py", line 269, in link
# self.linker_exe
# TypeError: 'NoneType' object is not subscriptable (key slice(None, None, None))
# https://setuptools.readthedocs.io/en/latest/history.html#id284
requires = ["setuptools >= 46.4.0", "wheel", "cython >= 0.29.24"]
requires = ["setuptools >= 46.4.0, < 74", "wheel", "cython >= 0.29.24"]
7 changes: 6 additions & 1 deletion python/rapidgzip/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,10 @@
[build-system]
# Use setuptools >= 43 because it automatically includes pyproject.toml in source distribution
# Use setuptools >= 46.5 to use attr: package.__version__
# Use setuptools < 74 because of removed msvccompiler:
# https://github.com/pypa/setuptools/issues/4612
# https://github.com/pypa/setuptools/issues/3532
# https://github.com/pypa/setuptools/pull/3505
# https://github.com/zhisong/pyoculus/issues/10
# https://setuptools.readthedocs.io/en/latest/history.html#id284
requires = ["setuptools >= 46.4.0", "wheel", "cython >= 0.29.24"]
requires = ["setuptools >= 46.4.0, < 74", "wheel", "cython >= 0.29.24"]

0 comments on commit 70c8ddf

Please sign in to comment.