diff --git a/changelog_entry.yaml b/changelog_entry.yaml index e69de29b..0824f0cb 100644 --- a/changelog_entry.yaml +++ b/changelog_entry.yaml @@ -0,0 +1,4 @@ +- bump: patch + changes: + fixed: + - Allow NumPy 2.3+ for Python 3.14 compatibility (fixes temporary elision bug causing incorrect microsimulation results) diff --git a/setup.py b/setup.py index 21c15256..f7b41f99 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,9 @@ general_requirements = [ "pytest>=8,<9", - "numpy~=2.1.0", + # NumPy 2.3+ required for Python 3.14 due to temporary elision bug fix + # See: https://github.com/numpy/numpy/issues/28681 + "numpy>=2.1.0,<3", "sortedcontainers<3", "numexpr<3", "dpath<3",