question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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).

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:closed
  • Created 4 years ago
  • Reactions:10
  • Comments:5

github_iconTop GitHub Comments

2reactions
rvanlaarcommented, Feb 12, 2020

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?

0reactions
colecommented, Mar 2, 2020

Fixed now with the release of clikit 0.4.2.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found