From 51dd1896215bd49f9627f469a6d65b59697db530 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 9 Feb 2026 14:59:05 +0000 Subject: [PATCH 1/2] Initial plan From 60962120421f45ddd4988889017a46ccce1d7da4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 9 Feb 2026 15:02:08 +0000 Subject: [PATCH 2/2] Fix meta.yaml path for version extraction Changed load_file_regex path from '../bad_path/__init__.py' to 'bad_path/__init__.py' to correctly locate the version file during conda build process. The source path '..' copies the repo root to the work directory, so the file is at 'bad_path/__init__.py' relative to that. Co-authored-by: gb119 <4428426+gb119@users.noreply.github.com> --- conda.recipe/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conda.recipe/meta.yaml b/conda.recipe/meta.yaml index d7b803d..1e559c8 100644 --- a/conda.recipe/meta.yaml +++ b/conda.recipe/meta.yaml @@ -1,7 +1,7 @@ {% set name = "bad_path" %} # Read version from package __init__.py -{% set version = load_file_regex(load_file='../bad_path/__init__.py', regex_pattern='__version__\s*=\s*["\']([^"\']+)["\']') %} +{% set version = load_file_regex(load_file='bad_path/__init__.py', regex_pattern='__version__\s*=\s*["\']([^"\']+)["\']') %} package: name: {{ name|lower }}