Skip to content

Commit

Permalink
SNOW-1491199 IR: Fix conda requirements (#2617)
Browse files Browse the repository at this point in the history
<!---
Please answer these questions before creating your pull request. Thanks!
--->

1. Which Jira issue is this PR addressing? Make sure that there is an
accompanying issue to your PR.

   <!---
   In this section, please add a Snowflake Jira issue number.

Note that if a corresponding GitHub issue exists, you should still
include
   the Snowflake Jira issue number. For example, for GitHub issue
#1400, you should
   add "SNOW-1335071" here.
    --->

   Fixes SNOW-1491199

2. Fill out the following pre-review checklist:

- [ ] I am adding a new automated test(s) to verify correctness of my
new code
- [ ] If this test skips Local Testing mode, I'm requesting review from
@snowflakedb/local-testing
   - [ ] I am adding new logging messages
   - [ ] I am adding a new telemetry message
   - [ ] I am adding new credentials
   - [ ] I am adding a new dependency
- [ ] If this is a new feature/behavior, I'm adding the Local Testing
parity changes.
- [ ] I acknowledge that I have ensured my changes to be thread-safe.
Follow the link for more information: [Thread-safe Developer
Guidelines](https://docs.google.com/document/d/162d_i4zZ2AfcGRXojj0jByt8EUq-DrSHPPnTa4QvwbA/edit#bookmark=id.e82u4nekq80k)

3. Please describe how your code solves the related issue.

Please write a short description of how your code change solves the
related issue.

Make sure build proto correctly in conda

https://ci-dev-142.int.snowflakecomputing.com/job/AnacondaPackageBuilder-x86/1574/
  • Loading branch information
sfc-gh-azhan authored and sfc-gh-helmeleegy committed Nov 13, 2024
1 parent 45694c8 commit e2a3fc1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ requirements:
- pip
- setuptools >=40.6.0
- wheel
- protobuf
# Snowpark IR
- protobuf==3.20.1 # [py<=310]
- protobuf==4.25.3 # [py>310]
- mypy-protobuf
run:
- python
- cloudpickle >=1.6.0,<=2.0.0 # [py<=310]
Expand All @@ -37,6 +40,9 @@ requirements:
# This might no longer hold true but keep it just to avoid it from biting us again
- libffi <=3.4.4
- pyyaml
# Snowpark IR
- protobuf >=3.20,<6
- tzlocal

test:
imports:
Expand Down

0 comments on commit e2a3fc1

Please sign in to comment.