From 2acfaf931813647b91ac6aa5331cb5ba75a9601e Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Mon, 11 Nov 2024 23:29:33 -0700 Subject: [PATCH] MNT: Use Jinja2 set statement for python_min * Using a Jinja2 set statement for the python_min allows for all the build metadata to be contained in the recipe/meta.yaml and for recipe/conda_build_config.yaml to be removed. * Bump build number. --- recipe/conda_build_config.yaml | 2 -- recipe/meta.yaml | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 recipe/conda_build_config.yaml diff --git a/recipe/conda_build_config.yaml b/recipe/conda_build_config.yaml deleted file mode 100644 index 83c9c40..0000000 --- a/recipe/conda_build_config.yaml +++ /dev/null @@ -1,2 +0,0 @@ -python_min: -- '3.7' diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 91217c3..280f3a2 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,5 +1,6 @@ {% set name = "pyhf" %} {% set version = "0.7.6" %} +{% set python_min = "3.7" %} package: name: {{ name|lower }} @@ -14,7 +15,7 @@ build: entry_points: - pyhf = pyhf.cli:cli script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation - number: 3 + number: 4 requirements: host: