Skip to content

Commit

Permalink
MAINT: update jinja call for pulling plugin version from conda enviro…
Browse files Browse the repository at this point in the history
…nment
  • Loading branch information
lizgehret authored Aug 23, 2024
2 parents d40a6ea + 2f41e59 commit 8279337
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions ci/recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{% set pkg_data = load_file_data('../../../../report.json') %}
{% set version = pkg_data['install'][0]['metadata']['version'] %}

package:
name: q2-vizard
version: {{ version }}
version: {{ PLUGIN_VERSION }}

source:
path: ../..

build:
script-env:
- PLUGIN_VERSION
script: {{ PYTHON }} -m pip install -v .

requirements:
Expand All @@ -22,6 +21,8 @@ requirements:
- python {{ python }}
- pip
- setuptools
# now that we're not vendoring versioneer, we need to add it into the host
# reqs in order for it to get added to the conda env for build pkg step
- versioneer

run:
Expand Down

0 comments on commit 8279337

Please sign in to comment.