From 064ecf8252f4508e41d135c9159be11fee69aec6 Mon Sep 17 00:00:00 2001 From: Tim Jenness Date: Fri, 9 Jan 2026 13:00:44 -0700 Subject: [PATCH 1/2] Use config.load for ResourcePath loadFromStream was working because there is a read() method. --- tests/test_load.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_load.py b/tests/test_load.py index 0895327..2d3907b 100644 --- a/tests/test_load.py +++ b/tests/test_load.py @@ -10,7 +10,7 @@ def test_exec_config(): exec_config_name = find_package_file("execConfig.py", platform="s3df") configuration = CondorConfig() - configuration.loadFromStream(exec_config_name) + configuration.load(exec_config_name) assert configuration.platform.scheduler == "slurm" @@ -18,7 +18,7 @@ def test_allocation_config(): slurm_config_name = find_package_file("slurmConfig.py", platform="s3df") configuration = AllocationConfig() - configuration.loadFromStream(slurm_config_name) + configuration.load(slurm_config_name) assert configuration.platform.queue == "$QUEUE" From 1755f710adf0b4c7da0e30a51bfab418a0409904 Mon Sep 17 00:00:00 2001 From: Tim Jenness Date: Thu, 15 Jan 2026 15:27:41 -0700 Subject: [PATCH 2/2] Declare dependency on required pex_config --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 5d3b23f..7570614 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,6 +23,9 @@ dependencies = [] [dependency-groups] dev = [ "lsst-ctrl-execute", + # Until new ctrl-execute appears that can be pinned to support the + # pex_config changes, require the pex_config version + "lsst-pex-config >= 30.2026.300", "pre-commit>=4.0.1", "pytest", "pytest-cov",