-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
feat(glue): Added value to PythonVersion enum #21670
feat(glue): Added value to PythonVersion enum #21670
Conversation
I think we should add a validation here since aws-cdk/packages/@aws-cdk/aws-glue/lib/job-executable.ts Lines 285 to 293 in 2502321
|
…om:meve/aws-cdk into feature/python-39-support-for-python-shell
I have added a validation for the condition you suggested. However, I would like to point out that some of the other validations seem to be a bit off. For instance: it should be possible to create a |
3a89d40
to
45cc3dc
Compare
Can you expand upon this and which other validations are off? We should make sure we have a ticket to get those fixed. |
So for instance this one: aws-cdk/packages/@aws-cdk/aws-glue/lib/job-executable.ts Lines 290 to 292 in 5cc0d35
I actually thought of fixing it also in this PR, but I also figured I might risk it being rejected. But again using an escape hatch, I just tried to create a The CloudFormation documentation [0] says:
But still that seems irrelevant for I hope this makes sense. |
@meve So the main problem seems to be |
@tmokmss I agree that is the problem, and I also agree with creating another PR for this. I will create one over the next few days. What is not clear to me, is what now is left to do for the current PR. |
@meve
Also you can refer to this document about contributing to CDK :) |
…om:meve/aws-cdk into feature/python-39-support-for-python-shell
@tmokmss Something else. So in CDK and the API, import sys
print(sys.version) gives:
See also here. The point I am trying to make is that I decided to add it the way I did, is to at least try to point out the use of |
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
PR to fix aws#21568. Extended the PythonVersion enum to include 3.9, as it already seems to be supported everywhere (CloudFormation, SDK). aws#21568 (comment) ---- ### All Submissions: * [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) ### Adding new Unconventional Dependencies: * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies) ### New Features * [x] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)? * [x] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)? *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
PR to fix #21568. Extended the PythonVersion enum to include 3.9, as it already seems to be supported everywhere (CloudFormation, SDK). #21568 (comment)
All Submissions:
Adding new Unconventional Dependencies:
New Features
yarn integ
to deploy the infrastructure and generate the snapshot (i.e.yarn integ
without--dry-run
)?By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license