From 19cb01b9a16091db765dfd3a9dca6a1a61cec6dd Mon Sep 17 00:00:00 2001 From: Matt Drozt Date: Wed, 13 May 2026 19:02:00 -0500 Subject: [PATCH 1/3] Update numpy version cap to allow for numpy 2.0 support, adds tests to CI that were previously being ignored. --- setup.py | 2 +- tests/test_controller_metadata_usage.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 97d142628..2a73c8a40 100644 --- a/setup.py +++ b/setup.py @@ -179,7 +179,7 @@ class BuildError(Exception): "pydantic>2", "pyzmq>=25.1.2", "pygithub>=2.3.0", - "numpy<2", + "numpy<3.0.0", "smartredis>=0.6,<0.7", ], zip_safe=False, diff --git a/tests/test_controller_metadata_usage.py b/tests/test_controller_metadata_usage.py index ca510130d..cc44dbcd5 100644 --- a/tests/test_controller_metadata_usage.py +++ b/tests/test_controller_metadata_usage.py @@ -13,6 +13,7 @@ from smartsim.entity import Model from smartsim.settings import RunSettings +pytestmark = pytest.mark.group_b class _DummyStep: def __init__(self, metadata_dir: pathlib.Path, entity_name: str) -> None: @@ -42,7 +43,7 @@ def fake_create_job_step(entity: Model, metadata_dir: pathlib.Path) -> _DummySte return _DummyStep(metadata_dir, entity.name) monkeypatch.setattr(controller, "_create_job_step", fake_create_job_step) - monkeypatch.setattr(controller, "_launch_step", lambda step, entity: None) + monkeypatch.setattr(controller, "_launch_step", lambda step, entity, monitor: None) monkeypatch.setattr( controller, "symlink_output_files", lambda *args, **kwargs: None ) From a4d2730d7f1c6b9af46259b55d406e8877b2ad79 Mon Sep 17 00:00:00 2001 From: Matt Drozt Date: Thu, 14 May 2026 12:37:22 -0500 Subject: [PATCH 2/3] Update changelog --- doc/changelog.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/changelog.md b/doc/changelog.md index de4623ec5..1665c069f 100644 --- a/doc/changelog.md +++ b/doc/changelog.md @@ -20,6 +20,7 @@ Description - Python 3.12 is now supported; where available, installed TensorFlow version is now 2.16.2, PyTorch is 2.7.1. - Drop Python 3.9 support +- Add Numpy 2.0 support - Terminate LSF and LSB support - Implement workaround for Tensorflow that allows RedisAI to build with GCC-14 - Add instructions for installing SmartSim on PML's Scylla @@ -104,6 +105,9 @@ Detailed Notes ([SmartSim-PR792](https://github.com/CrayLabs/SmartSim/pull/792)) - Address potential type errors in SmartSim. ([SmartSim-PR798](https://github.com/CrayLabs/SmartSim/pull/798)) +- Removes an Numpy upper bound in the SmartSim dependency list now that + SmartRedis and supported ML backends support Numpy 2.0. + ([SmartSim-PR803](https://github.com/CrayLabs/SmartSim/pull/803)) ### 0.8.0 From c2ca88db59bca26672c94dcf7c1a9d1a135db5a3 Mon Sep 17 00:00:00 2001 From: Matt Drozt Date: Thu, 14 May 2026 13:27:46 -0500 Subject: [PATCH 3/3] Style --- tests/test_controller_metadata_usage.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_controller_metadata_usage.py b/tests/test_controller_metadata_usage.py index cc44dbcd5..908c829b0 100644 --- a/tests/test_controller_metadata_usage.py +++ b/tests/test_controller_metadata_usage.py @@ -15,6 +15,7 @@ pytestmark = pytest.mark.group_b + class _DummyStep: def __init__(self, metadata_dir: pathlib.Path, entity_name: str) -> None: self.name = f"{entity_name}-step"