From 86f690d2226bbcb35066080d3f234d585be687e5 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sat, 7 Mar 2026 10:24:52 +0000 Subject: [PATCH 1/4] fix: remove engine="python" from pd.read_csv in datasets Co-authored-by: derrynknife <18457108+derrynknife@users.noreply.github.com> --- surpyval/datasets/__init__.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/surpyval/datasets/__init__.py b/surpyval/datasets/__init__.py index f83ca8d..d37741d 100755 --- a/surpyval/datasets/__init__.py +++ b/surpyval/datasets/__init__.py @@ -89,7 +89,7 @@ def load_bofors_steel(): with importlib.resources.path( data_module, "bofors_steel.csv" ) as data_path: - return pd.read_csv(data_path, engine="python") + return pd.read_csv(data_path) def load_boston_housing(): @@ -109,7 +109,7 @@ def load_boston_housing(): """ with importlib.resources.path(data_module, "boston.csv") as data_path: - return pd.read_csv(data_path, engine="python") + return pd.read_csv(data_path) def load_g1_kaminskiy_krivtsov(): @@ -141,7 +141,7 @@ def load_heart_transplants(): """ with importlib.resources.path(data_module, "heart.csv") as data_path: - return pd.read_csv(data_path, engine="python") + return pd.read_csv(data_path) def load_lung(): @@ -160,7 +160,7 @@ def load_lung(): """ with importlib.resources.path(data_module, "lung.csv") as data_path: - return pd.read_csv(data_path, engine="python") + return pd.read_csv(data_path) def load_mettas_and_zhao(): @@ -246,7 +246,7 @@ def load_rossi_static(): """ with importlib.resources.path(data_module, "rossi.csv") as data_path: - return pd.read_csv(data_path, engine="python") + return pd.read_csv(data_path) def load_rossi_time_varying(): @@ -266,7 +266,7 @@ def load_rossi_time_varying(): """ with importlib.resources.path(data_module, "rossi_tv.csv") as data_path: - return pd.read_csv(data_path, engine="python") + return pd.read_csv(data_path) def load_tires_data(): @@ -282,7 +282,7 @@ def load_tires_data(): """ with importlib.resources.path(data_module, "tires.csv") as data_path: - return pd.read_csv(data_path, engine="python") + return pd.read_csv(data_path) def load_sae(): From b96ac2f74e449c9c359e9554b03e546ca13d7319 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sat, 7 Mar 2026 10:26:42 +0000 Subject: [PATCH 2/4] fix: remove engine="python" and update GitHub Action versions Co-authored-by: derrynknife <18457108+derrynknife@users.noreply.github.com> --- .github/workflows/actions.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index d554b7d..0fa7f35 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -11,10 +11,10 @@ jobs: surpyval_ci: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set-up Python 3.x - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.10' @@ -33,7 +33,7 @@ jobs: coverage html - name: Upload coverage html report artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: coverage-html-report path: htmlcov/ From 680522008efddf59796a49885007bb3968560a22 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sat, 7 Mar 2026 10:29:44 +0000 Subject: [PATCH 3/4] fix: remove engine="python", update gh actions, and fix test dependencies Co-authored-by: derrynknife <18457108+derrynknife@users.noreply.github.com> --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index f29c293..55bb0d6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,5 +3,6 @@ lifelines==0.27.4 numba==0.56.4 numpy-indexed==0.3.5 +numdifftools reliability==0.8.6 matplotlib==3.6 \ No newline at end of file From 8c8258d4512d18727a44f664a3d28207c7f56b9c Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sat, 7 Mar 2026 10:37:48 +0000 Subject: [PATCH 4/4] fix: pin scipy and setuptools versions to restore lifelines compatibility Co-authored-by: derrynknife <18457108+derrynknife@users.noreply.github.com> --- requirements.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/requirements.txt b/requirements.txt index 55bb0d6..0bccc85 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,8 @@ # Production requirements # For development, use requirements_dev.txt instead lifelines==0.27.4 +scipy<1.14 +setuptools<70 numba==0.56.4 numpy-indexed==0.3.5 numdifftools