SNOW-2331878: auto release branch preparation#3764
Conversation
| - Updates `src/snowflake/snowpark/version.py` with the new VERSION tuple | ||
| - Updates `recipe/meta.yaml` with the new version string | ||
| 4. **Updates Changelog**: Replaces the first version entry in `CHANGELOG.md` with the new version and today's date | ||
| 5. **Updates Test Files**: Updates all `.test` and `.test.DISABLED` files in `tests/ast/data/` with the correct `client_version` format |
There was a problem hiding this comment.
@sfc-gh-heshah , how long would it take to implement a python based unparser?
There was a problem hiding this comment.
I would wager at most one week. If you take a look at the server-side Snowpark Unparser for guidance on output format, and the server-side Snowpark decoder for how to work with protobufs in Python, they're both extremely straightforward.
| def check_snowpark_directory(): | ||
| """Check if we're in a snowpark-python directory""" | ||
| current_dir = os.getcwd() | ||
| if "snowpark-python" not in current_dir: |
There was a problem hiding this comment.
I have my own repository root named snowpandas, though it's not a big deal if I need to temporarily edit the script before running it. Not sure what a more robust solution is (maybe checking git remote get-url origin matches this repo, then comparing git rev-parse --show-toplevel to the cwd?)
There was a problem hiding this comment.
feel free to contribute to this script!
9a76e50 to
cba7cc4
Compare
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
Which Jira issue is this PR addressing? Make sure that there is an accompanying issue to your PR.
Fixes SNOW-NNNNNNN
Fill out the following pre-review checklist:
Please describe how your code solves the related issue.
Please write a short description of how your code change solves the related issue.