Skip to content

Commit

Permalink
[SCSB-155] build with Numpy 2.0 (#8527)
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett authored Jul 26, 2024
1 parent 7d97170 commit f97dc68
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
---

Expand Down
8 changes: 5 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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",
]
Expand Down Expand Up @@ -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" = [
Expand Down

0 comments on commit f97dc68

Please sign in to comment.