Skip to content

Commit

Permalink
SNOW-1654437: change recipe to accept env variable to control whether…
Browse files Browse the repository at this point in the history
… noarch build (#2461)
  • Loading branch information
sfc-gh-yuwang authored Oct 18, 2024
1 parent 43feb4e commit b31b1d8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{% set name = "snowflake-snowpark-python" %}
{% set version = "1.23.0" %}
{% set noarch_build = (os.environ.get('SNOWFLAKE_SNOWPARK_PYTHON_NOARCH_BUILD', 'false')) == 'true' %}

package:
name: {{ name|lower }}
Expand All @@ -15,6 +16,9 @@ build:
script: {{ PYTHON }} -m pip install . --no-deps -vvv
script_env:
- SNOWFLAKE_IS_PYTHON_RUNTIME_TEST=1
{% if noarch_build %}
noarch: python
{% endif %}

requirements:
host:
Expand Down

0 comments on commit b31b1d8

Please sign in to comment.