diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh index 6c805a9..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}" diff --git a/build-locally.py b/build-locally.py index 8ac9b84..6788aea 100755 --- a/build-locally.py +++ b/build-locally.py @@ -1,5 +1,5 @@ #!/bin/sh -"""exec' "python3" "$0" "$@" #""" # fmt: off # fmt: on +"""exec" "python3" "$0" "$@" #""" # fmt: off # fmt: on # # This file has been generated by conda-smithy in order to build the recipe # locally. diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 0887921..db5da6a 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -12,13 +12,14 @@ source: build: noarch: python script: {{ PYTHON }} -m pip install . -vv - number: 1 + number: 2 requirements: host: - python >=3.8 - pip - - setuptools + - setuptools >=42 + - setuptools_scm >=3.4 run: - python >=3.8 - fsspec @@ -29,6 +30,8 @@ test: - fsspec_xrootd commands: - pip check + # make sure the version reported by pip is correct + - "pip show {{ name }} | grep -Fx 'Version: {{ version }}'" requires: - pip