-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Required Python Version Inconsistency #3325
Comments
Is there an error or warning that you're getting when trying to run the cli on 2.6? |
That page right at the top indicates it is "historical" which to me would mean it is not necessarily accurate. The project's setup.py still lists support for python 2.6: And there are issues/pull requests discussing keeping or deprecating it, thus far landing in favor of keeping it. Though currently there is an active pull request where the discussion looks to be leaning towards deprecating py2.6: |
I was installing it with Chef which seems to just pip install the aws cli tool. While it was installing PyYAML a syntax error was thrown from a setup.py file and the message was saying I was using an unsupported version of Python. That brought me to the PyYAML docs. We're just upgrading Python to 3.4.5 since there wasn't anything keeping us on the older version, it's just what came on the VM's image so this isn't a major blocker for me. |
The actual issue is not that |
Ah, I assumed it was part of pyyaml. Same sort of problem though, isn't it? |
No, this is about the managing the local environment in which pip is executing. Pyyaml can't actually control that when you run There are actually now three "setup" packages whose versions are important to control on py2.6, |
But if the package is trying to support older runtimes shouldn't it fix dependency versions that support that runtime as well? In any case we upgraded Python to 3.4.3 and are getting the same error. So there has to be something else going on. It's working with chef in our lower environments and in our test VMs and I just verified that the Python versions (before bumping to 3.4.3), wheel versions, and Unless |
…#3325) * add implementation and update unit tests * update order of guided prompts * update current integration tests * add new integration tests * lint * remove comment * fix test typos and remove unnecessary things * revert boto stubs version bump because of mypy issues * ux feedback -- change fail message * change method name for checking stack status not in progress * move click message to commands package * replace click with colored log.info * not necessary to skip test anymore
The installation documentation for installing AWS CLI here state that the required Python version is 2.6.5+
However, it installs PyYaml as a dependency and that requires Python 2.7.
It seems like it might be necessary to specify the version of PyYAML being pulled in to something else.
Edit: Although 3.12 was released 2 years ago. Surely someone else would have run into this problem by now?
The text was updated successfully, but these errors were encountered: