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
Cannot install warlock==1.3.2 using Python 2.7 #41
Comments
Mine too...
|
Me too. |
Looks like pull request #42 fixes this issue |
there is a pull request at #42 from raukadah related to this |
Me too :(
|
Sorry for all the trouble, still warming up to this. 🙈 Will publish 1.3.3 to PyPi in a bit. |
Again, sorry for the inconvenience caused. 1.3.3 is propagating on PyPi, and I've taken additional action to catch setup.py errors in CI in the future. |
All good now 👍 |
Currently warlock 1.3.2 is broken while installing it from pypi. Here is the github issue: bcwaldon/warlock#41 and fix is in progress. Avoid installing the same fixes the issue. Related-bug: #1829724 Change-Id: Ie78a434b2734d7a79717f75b53bfb24e3eb3f1e2 Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
* Update tripleo-quickstart from branch 'master' - Avoid installing warlock!=1.3.2 in TQ Currently warlock 1.3.2 is broken while installing it from pypi. Here is the github issue: bcwaldon/warlock#41 and fix is in progress. Avoid installing the same fixes the issue. Related-bug: #1829724 Change-Id: Ie78a434b2734d7a79717f75b53bfb24e3eb3f1e2 Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Attempting to install warlock==1.3.2 on a Python virtual environment (with Python==2.7.12 and pip==19.1.1, and setuptools==41.0.1) is resulting in the following error
$>virtualenv test-venv $>source test-venv/bin/activate $>python --version Python 2.7.12 $>pip --version pip 19.1.1 from <pip path inside virtual environment> $> pip install warlock Collecting warlock==1.3.2 Using cached https://files.pythonhosted.org/packages/7e/9b/648ceb3bc527e821c04d69f14facb0655268288ac7d8d6aa3a026c3316ea/warlock-1.3.2.tar.gz ERROR: Complete output from command python setup.py egg_info: ERROR: Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-install-V0WEIx/warlock/setup.py", line 37, in <module> long_description=read("README.md"), File "/tmp/pip-install-V0WEIx/warlock/setup.py", line 28, in read os.path.join(os.path.dirname(__file__), fname), "r", encoding="utf-8" TypeError: 'encoding' is an invalid keyword argument for this function ---------------------------------------- ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-V0WEIx/warlock/
I think the 'encoding' parameter is unavailable to open() in Python 2.7.12. To backport open() of Python 3 to Python 2.6/2.7, io.open can be used.
Source: Accepted solution from this StackOverflow thread.
The text was updated successfully, but these errors were encountered: