diff --git a/CHANGES.rst b/CHANGES.rst index 1ade3e9c42..e56a5e119e 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -271,6 +271,8 @@ general - Increase minimum required stdatamodels and stpipe. [#8592] +- build with Numpy 2.0 release candidate to address ABI changes [#8527] + lib --- diff --git a/pyproject.toml b/pyproject.toml index 06fa22799f..aa74812f77 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -123,7 +123,7 @@ requires = [ "setuptools>=61.2", "setuptools_scm[toml]>=3.4", "wheel", - "oldest-supported-numpy", + "numpy>=2.0", ] build-backend = "setuptools.build_meta" @@ -208,7 +208,8 @@ results_root = "jwst-pipeline-results" text_file_format = "rst" doctest_plus = "enabled" doctest_rst = "enabled" -addopts = ["-p no:legacypath", +addopts = [ + "-p no:legacypath", "--show-capture=no", "--report-crds-context", ] @@ -260,11 +261,12 @@ exclude = [ ".eggs", "build", ] +line-length = 130 + lint.ignore = [ "E741", # ambiguous variable name (O/0, l/I, etc.) "E722", # Do not use bare `except` ] -line-length = 130 [tool.ruff.lint.per-file-ignores] "jwst/**/__init__.py" = [