Skip to content

Commit

Permalink
update minimum numpy version
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram committed Jan 28, 2025
1 parent 24a6e5b commit 2d984f4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions asdf_astropy/converters/table/tests/test_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,12 @@ def test_table_row_order(tmp_path):
helpers.assert_table_roundtrip(table, tmp_path)


# once asdf 2.14.x can be dropped and the minimum updated 2.15.0 this warning
# filter can be removed
@pytest.mark.filterwarnings(
"ignore:`product` is deprecated as of NumPy 1.25.0, and will be removed in "
"NumPy 2.0. Please use `prod` instead.:DeprecationWarning",
)
def test_table_inline(tmp_path):
rows = [(1, 2.0, "x"), (4, 5.0, "y"), (5, 8.2, "z")]
table = Table(rows=rows, names=("a", "b", "c"), dtype=("i4", "f8", "S1"))
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dependencies = [
"asdf-transform-schemas>=0.5",
"asdf-standard>=1.1.0",
"astropy>=5.2.0",
"numpy>=1.24",
"numpy>=1.25",
"packaging>=19",
]
[project.optional-dependencies]
Expand Down

0 comments on commit 2d984f4

Please sign in to comment.