Poetry does not work on Python 3.5.2
See original GitHub issue- I am on the latest Poetry version.
- I have searched the issues of this repo and believe that this is not a duplicate.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).
- OS version and name: OS X, Python docker images
- Poetry version: 1.0.0
- Link of a Gist with the contents of your pyproject.toml file: https://raw.githubusercontent.com/cole/aiosmtplib/master/pyproject.toml
Issue
poetry install
fails on version 3.5.2:
$ poetry install -v
Traceback (most recent call last):
File "/root/.tox/py35-asyncio/bin/poetry", line 7, in <module>
from poetry.console import main
File "/root/.tox/py35-asyncio/lib/python3.5/site-packages/poetry/console/__init__.py", line 1, in <module>
from .application import Application
File "/root/.tox/py35-asyncio/lib/python3.5/site-packages/poetry/console/application.py", line 1, in <module>
from cleo import Application as BaseApplication
File "/root/.tox/py35-asyncio/lib/python3.5/site-packages/cleo/__init__.py", line 3, in <module>
from .application import Application
File "/root/.tox/py35-asyncio/lib/python3.5/site-packages/cleo/application.py", line 4, in <module>
from clikit.console_application import ConsoleApplication
File "/root/.tox/py35-asyncio/lib/python3.5/site-packages/clikit/__init__.py", line 1, in <module>
from .api.config.application_config import ApplicationConfig
File "/root/.tox/py35-asyncio/lib/python3.5/site-packages/clikit/api/config/__init__.py", line 1, in <module>
from .application_config import ApplicationConfig
File "/root/.tox/py35-asyncio/lib/python3.5/site-packages/clikit/api/config/application_config.py", line 6, in <module>
from typing import ContextManager
ImportError: cannot import name 'ContextManager'
The cause of this issue seems to be in clikit. It’s also tracked in that repo: https://github.com/sdispater/clikit/issues/7.
Likely an issue on 3.5.0-3.5.3, however 3.5.2 is the most commonly used of those versions.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:10
- Comments:5
Top Results From Across the Web
Introduction | Documentation | Poetry - Python dependency ...
Introduction Poetry is a tool for dependency management and packaging in Python. It allows you to declare the libraries your project depends on...
Read more >Poetry does not work on Python 3.5.2 - Bountysource
[x] I am on the latest Poetry version. [x] I have searched the issues of this repo and believe that this is not...
Read more >Poetry doesn't use the correct version of Python - Stack Overflow
I'm using MacOS, which comes bundled with Python 2.7. I think that might be causing some of the issues here. I've reinstalled Python...
Read more >3. How to package a Python
How to package a Python#. In this chapter we will develop an entire example Python package from beginning-to-end to demonstrate the key steps...
Read more >Poetry doens't use chosen python version - Render community
Hi everyone, I followed the Deploy Django tutorial but I have some problems deploying it to render.com. The website works properly in ...
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 FreeTop 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
Top GitHub Comments
We’re getting hit by this issue right now, what’s that status of this issue?
As in, how can I help to move this forward?
Fixed now with the release of clikit 0.4.2.