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

Temporarily fix handing of python file paths on Windows during Snowpark decorator processing #1202

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

sfc-gh-bdufour
Copy link
Contributor

@sfc-gh-bdufour sfc-gh-bdufour commented Jun 13, 2024

Pre-review checklist

  • I've confirmed that instructions included in README.md are still correct after my changes in the codebase.
  • N/A I've added or updated automated unit tests to verify correctness of my new code.
  • N/A I've added or updated integration tests to verify correctness of my new code.
  • I've confirmed that my changes are working by executing CLI's commands manually.
  • I've confirmed that my changes are up-to-date with the target branch.
  • N/A I've described my changes in the release notes.
  • I've described my changes in the section below.

Changes description

This is a short-term fix for a blocking bug during setup script generation on Windows. Since the paths are not correctly escape, any '' character is treated as an escape sequence, and the generation step fails. This fix will unblock 2.5.0 with minimal risk. We'll work on a better fix for the next patch release, or the next major release, whichever comes first.

Testing

Manually tested this fix on Windows. Verified that MacOS still works.

@sfc-gh-bdufour sfc-gh-bdufour marked this pull request as ready for review June 13, 2024 21:21
@sfc-gh-bdufour sfc-gh-bdufour requested a review from a team as a code owner June 13, 2024 21:21
@sfc-gh-bdufour sfc-gh-bdufour merged commit eb1824a into main Jun 13, 2024
22 checks passed
@sfc-gh-bdufour sfc-gh-bdufour deleted the bdufour-fix-codegen-windows branch June 13, 2024 21:21
sfc-gh-turbaszek pushed a commit that referenced this pull request Jun 17, 2024
sfc-gh-turbaszek pushed a commit that referenced this pull request Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants