Skip to content
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

Coverage 4.0 support #3

Open
ionelmc opened this issue Sep 27, 2015 · 7 comments
Open

Coverage 4.0 support #3

ionelmc opened this issue Sep 27, 2015 · 7 comments

Comments

@ionelmc
Copy link

ionelmc commented Sep 27, 2015

Seems some things were changed in 4.0:

Traceback (most recent call last):
  File "/usr/local/bin/duvet", line 7, in <module>
    from duvet.__main__ import main
  File "/usr/local/lib/python2.7/dist-packages/duvet/__main__.py", line 10, in <module>
    from duvet.view import MainWindow
  File "/usr/local/lib/python2.7/dist-packages/duvet/view.py", line 14, in <module>
    from coverage.parser import CodeParser
ImportError: cannot import name CodeParser
@alexkahn
Copy link

alexkahn commented Dec 3, 2015

+1

1 similar comment
@lamenezes
Copy link
Contributor

+1

@lamenezes
Copy link
Contributor

this issue only exists when installing duvet from pip (pip install duvet), i.e. duvet 0.1.2

I cloned the repo in my machine and installed it with "pip install -e /path/duvet" and it works perfectly with coverage 4.0, i.e. duvet "dev"

@alexkahn
Copy link

alexkahn commented Dec 9, 2015

Good catch @lamenezes! I just installed an older version of coverage (3.7.x I think) but that works much better!

@oz123
Copy link

oz123 commented Feb 10, 2016

Time for a new 0.1.3 release? The version in pypi is outdated ...

@jkahn
Copy link

jkahn commented Jul 3, 2016

I still have this bug. Duvet version not up to date on pip?

@freakboy3742
Copy link
Member

@jkahn Correct - I haven't pushed out a release of Duvet for a while; my attention is elsewhere. In the meantime, installing from git is your best bet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants