-
Notifications
You must be signed in to change notification settings - Fork 26
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
update requirements.txt file to use latest boto3. #59
Conversation
Could you please review this PR and accept or deny? This change is required to use new boto3 features via Stackstrom. |
@Susanthab There are clearly errors on your changes that break the build: https://circleci.com/gh/StackStorm-Exchange/stackstorm-aws/149 I guess that fixing those first would give way to a review and eventual merge of your PR? |
Also, see issue #55, this is being actively discussed since August since there are breaking changes between boto2/3 and the pack's different components. |
Also, this PR is trying to tackle the problem in another way?: StackStorm-Exchange/exchange-incubator#10 |
I haven't looked closely at the CircleCI failures, but it's possible that it is failing because CircleCI is running checks against Could be that we need to update our CircleCI config to handle running tests against a different branch. Also, on the PR itself, I'm not a big fan of specifying a minimum version requirement with no maximum. I'd rather have something like I also don't understand how this PR is needed to use new boto3 features - the current pack installs |
I found two issues mentioned below with the current boto3 st2 pack; |
You may well need to change the version. But just changing it to We also need to figure out why CircleCI tests are failing. It may be that some other actions need updating to reflect changes in the library |
I have 109 new aws packs ready to go. I've been using about 10 of them locally in testing and all seem good (they're derivatives of the current pack anyway). They use latest boto3, and so should solve your problems. @Susanthab if you want to message me i can show you where they are - it'd be handy to have a second set of eyes on them before committing them to the incubator |
also the new stackstorm-aws_ec2 pack has the following action:
|
@AndyMoore is it safe to |
@brainstorm They already have fixes after a review from Warren so I don't expect them to change much from now - I was just trying to give them some proper testing before resubmitting to incubator |
If you put `>=1.4.5`, it may only install 1.4.5, but you need a minimum of 1.4.7 to get the features you want.
I incorporated the review comments to specify the max version limit for boto3. However the CircileCi test is failing and I'm not sure why. I believe this test is running against the master branch where as this change is on boto3 branch. |
This fix is working for me. I'm able to use new boto3 features with this requirement.txt. |
@Susanthab I modified your PR to require >= 1.4.7, since that's the version you need (>=1.4.5 does not guarantee that you will get 1.4.7, it would be satisfied by 1.4.5 or 1.4.6). I'm pretty sure the CircleCI failures are indeed because it's testing against the wrong branch, but I haven't had a chance to investigate that yet. |
@LindsayHill Thank you. |
Looking a bit closer at CircleCI, I think the problems are related to it trying to test a forked branch against this one. It should work if I do it from another branch in this repo - I've submitted #60 to replace this one |
@LindsayHill Thanks. |
Changed boto3 version of the requirements.txt file to use latest versions.
e.g: boto3>=1.4.5 ( was, boto3**=**=1.4.5)