diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh index 97dc8d9..af0b9ac 100755 --- a/.scripts/build_steps.sh +++ b/.scripts/build_steps.sh @@ -43,6 +43,8 @@ setup_conda_rc "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" source run_conda_forge_build_setup + + # make the build number clobber make_build_number "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" @@ -69,7 +71,6 @@ else --suppress-variables ${EXTRA_CB_OPTIONS:-} \ --clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" \ --extra-meta flow_run_id="${flow_run_id:-}" remote_url="${remote_url:-}" sha="${sha:-}" - ( startgroup "Inspecting artifacts" ) 2> /dev/null # inspect_artifacts was only added in conda-forge-ci-setup 4.6.0 diff --git a/build-locally.py b/build-locally.py index e0d408d..6788aea 100755 --- a/build-locally.py +++ b/build-locally.py @@ -1,13 +1,16 @@ -#!/usr/bin/env python3 +#!/bin/sh +"""exec" "python3" "$0" "$@" #""" # fmt: off # fmt: on # # This file has been generated by conda-smithy in order to build the recipe # locally. # -import os +# The line above this comment is a bash / sh / zsh guard +# to stop people from running it with the wrong interpreter import glob +import os +import platform import subprocess from argparse import ArgumentParser -import platform def setup_environment(ns): diff --git a/recipe/meta.yaml b/recipe/meta.yaml index cccb83d..9b9af55 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,5 +1,5 @@ {% set name = "hssm" %} -{% set version = "0.2.3" %} +{% set version = "0.2.4" %} package: name: {{ name|lower }} @@ -7,7 +7,7 @@ package: source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/hssm-{{ version }}.tar.gz - sha256: e20f327966ac0e378cbf5f45fac71760ba02740480ab8a614f7d69268aa7000b + sha256: 5bd1986da145942cf619e4cd7ccb0f00d59f20cc05780acdf531800e98c19dd1 build: noarch: python @@ -16,28 +16,27 @@ build: requirements: host: - - python >=3.10,<3.12 + - python >=3.10,<=3.12 - poetry-core - pip run: - - python >=3.10,<3.12 - - pymc >=5.14 - - arviz >=0.18.0 + - python >=3.10,<=3.12 + - pymc >=5.16.2,<5.17.0 + - arviz >=0.19.0 - onnx >=1.16.0,<2.0.0 - jax >=0.4.25,<0.5.0 - - ssm-simulators >=0.7.2,<0.8.0 - - huggingface_hub >=0.23.0,<0.24.0 - - onnxruntime >=1.15.0,<2.0.0 - - bambi >=0.13.0,<0.14.0 - - numpyro >=0.15.0,<0.16.0 + - ssm-simulators >=0.7.5,<0.8.0 + - huggingface_hub >=0.24.6,<0.25.0 + - bambi >=0.14.0,<0.15.0 + - numpyro >=0.15.2,<0.16.0 - seaborn >=0.13.2,<0.14.0 - hddm-wfpt >=0.1.4,<0.2.0 test: imports: - hssm # Temporarily not doing pip check because jaxlib version on conda-forge lags behind jax version - # commands: - # - pip check + commands: + - pip check requires: - pip