-
Notifications
You must be signed in to change notification settings - Fork 342
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
aws_s3: SyntaxError: invalid syntax on RHEL 7 / CentOS 7 targets #1467
Comments
Thanks for taking the time to open this Issue. The AWS SDK that this collection depends on has dropped support for Python <3.6. As a result, with release 2.0.0 we dropped support for Python < 3.6. The specific code you're having problems with was introduced in release 5.0.0, so you may be able to use the 4.x releases of this collection for your CentOS 7 boxes. However, if you wish to use newer versions you'll need to use Python 3.6 and install a supported version of botocore. While CentOS has built python-botocore-1.12.75-1.el7, this is also a version of botocore which the collection no longer supports. The only exception where we're maintaining Python 2.7 support is the |
…ansible-collections#1467) tests/integration: ensure the CI gives more time to some slow targets Depends-On: ansible/ansible-zuul-jobs#1625 Depends-On: ansible-collections#1468 Depends-On: ansible-collections#1473 Reviewed-by: Mark Chappell <None>
…ansible-collections#1467) tests/integration: ensure the CI gives more time to some slow targets Depends-On: ansible/ansible-zuul-jobs#1625 Depends-On: ansible-collections#1468 Depends-On: ansible-collections#1473 Reviewed-by: Mark Chappell <None> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@19a24e5
…ansible-collections#1467) tests/integration: ensure the CI gives more time to some slow targets Depends-On: ansible/ansible-zuul-jobs#1625 Depends-On: ansible-collections#1468 Depends-On: ansible-collections#1473 Reviewed-by: Mark Chappell <None> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@19a24e5
…ansible-collections#1467) tests/integration: ensure the CI gives more time to some slow targets Depends-On: ansible/ansible-zuul-jobs#1625 Depends-On: ansible-collections#1468 Depends-On: ansible-collections#1473 Reviewed-by: Mark Chappell <None> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@19a24e5
…ansible-collections#1467) tests/integration: ensure the CI gives more time to some slow targets Depends-On: ansible/ansible-zuul-jobs#1625 Depends-On: ansible-collections#1468 Depends-On: ansible-collections#1473 Reviewed-by: Mark Chappell <None> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@19a24e5
…ansible-collections#1467) tests/integration: ensure the CI gives more time to some slow targets Depends-On: ansible/ansible-zuul-jobs#1625 Depends-On: ansible-collections#1468 Depends-On: ansible-collections#1473 Reviewed-by: Mark Chappell <None> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@19a24e5
…ansible-collections#1467) tests/integration: ensure the CI gives more time to some slow targets Depends-On: ansible/ansible-zuul-jobs#1625 Depends-On: ansible-collections#1468 Depends-On: ansible-collections#1473 Reviewed-by: Mark Chappell <None> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@19a24e5
…ansible-collections#1467) tests/integration: ensure the CI gives more time to some slow targets Depends-On: ansible/ansible-zuul-jobs#1625 Depends-On: ansible-collections#1468 Depends-On: ansible-collections#1473 Reviewed-by: Mark Chappell <None> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@19a24e5
…ansible-collections#1467) tests/integration: ensure the CI gives more time to some slow targets Depends-On: ansible/ansible-zuul-jobs#1625 Depends-On: ansible-collections#1468 Depends-On: ansible-collections#1473 Reviewed-by: Mark Chappell <None> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@19a24e5
…ansible-collections#1467) tests/integration: ensure the CI gives more time to some slow targets Depends-On: ansible/ansible-zuul-jobs#1625 Depends-On: ansible-collections#1468 Depends-On: ansible-collections#1473 Reviewed-by: Mark Chappell <None> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@19a24e5
…ansible-collections#1467) tests/integration: ensure the CI gives more time to some slow targets Depends-On: ansible/ansible-zuul-jobs#1625 Depends-On: ansible-collections#1468 Depends-On: ansible-collections#1473 Reviewed-by: Mark Chappell <None> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@19a24e5
…ansible-collections#1467) tests/integration: ensure the CI gives more time to some slow targets Depends-On: ansible/ansible-zuul-jobs#1625 Depends-On: ansible-collections#1468 Depends-On: ansible-collections#1473 Reviewed-by: Mark Chappell <None> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@19a24e5
…ansible-collections#1467) tests/integration: ensure the CI gives more time to some slow targets Depends-On: ansible/ansible-zuul-jobs#1625 Depends-On: ansible-collections#1468 Depends-On: ansible-collections#1473 Reviewed-by: Mark Chappell <None> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@19a24e5
…ansible-collections#1467) tests/integration: ensure the CI gives more time to some slow targets Depends-On: ansible/ansible-zuul-jobs#1625 Depends-On: ansible-collections#1468 Depends-On: ansible-collections#1473 Reviewed-by: Mark Chappell <None> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@19a24e5
…ansible-collections#1467) tests/integration: ensure the CI gives more time to some slow targets Depends-On: ansible/ansible-zuul-jobs#1625 Depends-On: ansible-collections#1468 Depends-On: ansible-collections#1473 Reviewed-by: Mark Chappell <None> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@19a24e5
…ansible-collections#1467) tests/integration: ensure the CI gives more time to some slow targets Depends-On: ansible/ansible-zuul-jobs#1625 Depends-On: ansible-collections#1468 Depends-On: ansible-collections#1473 Reviewed-by: Mark Chappell <None> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@19a24e5
…ansible-collections#1467) tests/integration: ensure the CI gives more time to some slow targets Depends-On: ansible/ansible-zuul-jobs#1625 Depends-On: ansible-collections#1468 Depends-On: ansible-collections#1473 Reviewed-by: Mark Chappell <None> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@19a24e5
…ansible-collections#1467) tests/integration: ensure the CI gives more time to some slow targets Depends-On: ansible/ansible-zuul-jobs#1625 Depends-On: ansible-collections#1468 Depends-On: ansible-collections#1473 Reviewed-by: Mark Chappell <None> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@19a24e5
…ansible-collections#1467) tests/integration: ensure the CI gives more time to some slow targets Depends-On: ansible/ansible-zuul-jobs#1625 Depends-On: ansible-collections#1468 Depends-On: ansible-collections#1473 Reviewed-by: Mark Chappell <None> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@19a24e5
…ansible-collections#1467) tests/integration: ensure the CI gives more time to some slow targets Depends-On: ansible/ansible-zuul-jobs#1625 Depends-On: ansible-collections#1468 Depends-On: ansible-collections#1473 Reviewed-by: Mark Chappell <None> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@19a24e5
…ansible-collections#1467) tests/integration: ensure the CI gives more time to some slow targets Depends-On: ansible/ansible-zuul-jobs#1625 Depends-On: ansible-collections#1468 Depends-On: ansible-collections#1473 Reviewed-by: Mark Chappell <None> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@19a24e5
Summary
Hi, by moving (in my case) from:
ansible-6.7.0 / ansible-core-2.13.8
to
ansible-7.4.0 / ansible-core-2.14.4
I'm unable to use anymore
aws_s3
where the target machine is a CentOS 7This is what I get by running ansible-playbook with -vvv:
I'm aware that README says "Due to the AWS SDK Python Support Policy this collection requires Python 3.6 or greater." but I decided to make a bug report considering that it affects RHEL 7 / CentOS 7 that does not provide by default the boto/botocore libraries compiled for python3
Issue Type
Bug Report
Component Name
aws_s3
Ansible Version
Collection Versions
AWS SDK versions
Configuration
OS / Environment
Target machine is a up-to-date CentOS 7:
CentOS Linux release 7.9.2009 (Core)
The host where ansible is running is an up-to-date Gentoo.
Steps to Reproduce
Expected Results
I expect to download the file
Actual Results
Code of Conduct
The text was updated successfully, but these errors were encountered: