Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAINT: update jinja call for pulling plugin version from conda env #23

Merged
merged 10 commits into from
Aug 23, 2024
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
Loading