Skip to content

Commit

Permalink
MNT: Use Jinja2 set statement for python_min
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
matthewfeickert committed Nov 12, 2024
1 parent a10b681 commit 2acfaf9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions recipe/conda_build_config.yaml

This file was deleted.

3 changes: 2 additions & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{% set name = "pyhf" %}
{% set version = "0.7.6" %}
{% set python_min = "3.7" %}

package:
name: {{ name|lower }}
Expand All @@ -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:
Expand Down

0 comments on commit 2acfaf9

Please sign in to comment.