-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix: Update Airflow prepare_framework Function to not use os.path.join #3393
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
Fix: Update Airflow prepare_framework Function to not use os.path.join #3393
Conversation
c0de21e
to
3a8e471
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/bot run all
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/bot run all
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Co-authored-by: Mufaddal Rohawala <muffi179@gmail.com>
Co-authored-by: Basil Beirouti <BasilBeirouti@gmail.com> Co-authored-by: Kalyani Nikure <110067132+knikure@users.noreply.github.com>
…aws#3438) Co-authored-by: Keshav Chandak <chakesh@amazon.com>
Co-authored-by: Navin Soni <navinns@amazon.com>
* Add DXB region * Remove change from neuron * Adding DXB to TF 2.1.0 and 2.1.1
Co-authored-by: Brock Wade <bwayde@amazon.com> Co-authored-by: Mufaddal Rohawala <89424143+mufaddal-rohawala@users.noreply.github.com>
bae3b8b
to
d000bdc
Compare
@GroovyDan apologies for late review on this PR, can you help rebase this PR with latest master? |
@mufaddal-rohawala looks like the issue this PR was fixing has already been fixed with the introduction of the |
Issue #, if available:
Description of changes:
Using
os.path.join
in the prepare_framework function can cause an issue on windows. Thesagemaker_submit_directory
hyperparameter value gets incorrectly set with the current implementation. Sincekey
should refer to an S3 key, we should be able to join on/
instead. Specifically, this issue cropped up when I was using theaws-step-functions-data-science-sdk-python
to orchestrate a training job. They are building out their training definition using the ariflow training configs which references this code. (See here: https://github.com/aws/aws-step-functions-data-science-sdk-python/blob/main/src/stepfunctions/steps/sagemaker.py#L111)Testing done:
Merge Checklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.General
Tests
unique_name_from_base
to create resource names in integ tests (if appropriate)By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.