presence of futures==3.1.1 can break molecule
See original GitHub issueI discovered that presence of futures==3.1.1
would break ansible/molecule. Removal fixed the issue.
I am not yet sure what installed it so I am unsure how we can prevent it, as it not listed as a dependendecy. Still, it could prove useful to share it.
$ molecule create --> Validating schema /Users/ssbarnea/rdo/rdo-infra/testproject/molecule/default/molecule.yml.
Validation completed successfully.
--> Test matrix
└── default
├── dependency
├── create
└── prepare
--> Scenario: 'default'
--> Action: 'dependency'
Skipping, missing the requirements file.
--> Scenario: 'default'
--> Action: 'create'
Proceed (y/n)? Traceback (most recent call last):
File "/Users/ssbarnea/.pyenv/versions/3.6.8/bin/ansible-playbook", line 7, in <module>
exec(compile(f.read(), __file__, 'exec'))
File "/Users/ssbarnea/os/ansible/bin/ansible-playbook", line 61, in <module>
import ansible.constants as C
File "/Users/ssbarnea/os/ansible/lib/ansible/constants.py", line 12, in <module>
from jinja2 import Template
File "/Users/ssbarnea/.pyenv/versions/3.6.8/lib/python3.6/site-packages/jinja2/__init__.py", line 82, in <module>
_patch_async()
File "/Users/ssbarnea/.pyenv/versions/3.6.8/lib/python3.6/site-packages/jinja2/__init__.py", line 78, in _patch_async
from jinja2.asyncsupport import patch_all
File "/Users/ssbarnea/.pyenv/versions/3.6.8/lib/python3.6/site-packages/jinja2/asyncsupport.py", line 13, in <module>
import asyncio
File "/Users/ssbarnea/.pyenv/versions/3.6.8/lib/python3.6/asyncio/__init__.py", line 21, in <module>
from .base_events import *
File "/Users/ssbarnea/.pyenv/versions/3.6.8/lib/python3.6/asyncio/base_events.py", line 17, in <module>
import concurrent.futures
File "/Users/ssbarnea/.pyenv/versions/3.6.8/lib/python3.6/site-packages/concurrent/futures/__init__.py", line 8, in <module>
from concurrent.futures._base import (FIRST_COMPLETED,
File "/Users/ssbarnea/.pyenv/versions/3.6.8/lib/python3.6/site-packages/concurrent/futures/_base.py", line 381
raise exception_type, self._exception, self._traceback
^
SyntaxError: invalid syntax
Similar to https://github.com/pypa/pipenv/issues/1753
Tracked upstream as https://github.com/agronholm/pythonfutures/issues/90
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:13 (3 by maintainers)
Top Results From Across the Web
When does the breaking of chemical bonds release energy?
The breaking of chemical bonds never releases energy to the external environment. Energy is only released when chemical bonds are formed.
Read more >2.2 Water – Concepts of Biology – 1st Canadian Edition
The hydrogen and oxygen atoms within water molecules form polar covalent bonds. ... Cells no longer function properly, and proteins will break down....
Read more >Activation energy (article) | Khan Academy
In order for the reaction to take place, some or all of the chemical bonds in the reactants must be broken so that...
Read more >[AP Biology 1.1] Structure of Water and Hydrogen Bonding
The hydrogen bonding between water molecules means they are more likely to stick together than break apart. You can see this property in...
Read more >ATP and ADP
Some of these reactions use stored energy to build things up, which we call anabolism, while other reactions break things down, releasing energy...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I have now uploaded a dummy py3 wheel for 3.1.1. Let’s hope this avoids some of the grief caused by bad packaging.
Fixed in two ways. Thanks @agronholm