Skip to content

Commit

Permalink
BLD: Pin swig<4.3.0
Browse files Browse the repository at this point in the history
This version and the changes to numpy.i that come with it (pulled
directly from the numpy repository) caused segfaults under certain
circumstances in Python 3.8, in particular when in a context where
pandas>2 is used. It's very difficult to understand the interactions
causing these problems and the most prudent thing to do seems to be to
wait until we deprecate support for Python 3.8 and then unpin swig.
  • Loading branch information
mferrera committed Nov 28, 2024
1 parent f7734ea commit 839503b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
requires = [
"pybind11",
"scikit-build-core[pyproject]>=0.10",
"swig",
"swig<4.3.0",
"numpy==1.19.2; python_version == '3.8'",
"numpy==1.19.5; python_version == '3.9'",
"numpy==1.21.6; python_version == '3.10'",
Expand Down

0 comments on commit 839503b

Please sign in to comment.