Skip to content

Commit

Permalink
[Py] pin Mypy until python/mypy#17396 is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
tttapa committed Nov 14, 2024
1 parent 55f6a0d commit f76e5b1
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ requires = [
"pybind11-stubgen==2.5.1",
"numpy>=1.19,<3; implementation_name=='cpython'",
"scipy>=1.6,<2; implementation_name=='cpython'",
# Temporarily pinned until mypy support for NumPy 2.0 is fixed:
# https://github.com/python/mypy/issues/17396
"mypy~=1.4.1",
]
build-backend = "py_build_cmake.build"

Expand Down Expand Up @@ -89,12 +92,10 @@ CMAKE_CXX_FLAGS_RELWITHDEBINFO = "/Zi /Ob0 /Od /RTC1"
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO = "/INCREMENTAL:NO /DEBUG:FULL /OPT:REF"
ALPAQA_PYTHON_DEBUG_CONFIG = "RelWithDebInfo"

# Temporarily disabled until mypy support for NumPy 2.0 is fixed:
# https://github.com/python/mypy/issues/17396
# [tool.py-build-cmake.stubgen]
# packages = []
# files = ["qpalm/__init__.py"]
# args = ["-v", "--no-import"]
[tool.py-build-cmake.stubgen]
packages = []
files = ["qpalm/__init__.py"]
args = ["-v", "--no-import"]

[tool.cibuildwheel]
build-verbosity = 1
Expand Down

0 comments on commit f76e5b1

Please sign in to comment.