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

SNOW-1654437: change recipe to accept env variable to control whether noarch build #2461

Merged
merged 2 commits into from
Oct 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading