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

Fix cov-report tox environment run #1350

Closed
insspb opened this issue Apr 14, 2020 · 0 comments · Fixed by #1353
Closed

Fix cov-report tox environment run #1350

insspb opened this issue Apr 14, 2020 · 0 comments · Fixed by #1353
Assignees
Labels
bug This issue/PR relates to a bug.

Comments

@insspb
Copy link
Member

insspb commented Apr 14, 2020

  • Cookiecutter version: master
(cookiecutter27) insspb@insspb-notebook:~/git/cookiecutter$ tox -e cov-report
cov-report create: /home/insspb/git/cookiecutter/.tox/cov-report
cov-report installdeps: -rtest_requirements.txt
cov-report installed: DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support,atomicwrites==1.3.0,attrs==19.3.0,configparser==4.0.2,contextlib2==0.6.0.post1,cookiecutter==1.7.0,coverage==5.1,freezegun==0.3.15,funcsigs==1.0.2,importlib-metadata==1.6.0,mock==3.0.5,more-itertools==5.0.0,packaging==20.3,pathlib2==2.3.5,pluggy==0.13.1,py==1.8.1,pyparsing==2.4.7,pytest==4.6.9,pytest-cov==2.8.1,pytest-mock==2.0.0,python-dateutil==2.8.1,scandir==1.10.0,six==1.14.0,wcwidth==0.1.9,zipp==1.2.0
cov-report run-test-pre: PYTHONHASHSEED='3635409391'
cov-report run-test: commands[0] | pytest --cov=cookiecutter --cov-report=term --cov-report=html
ImportError while loading conftest '/home/insspb/git/cookiecutter/tests/conftest.py'.
tests/conftest.py:11: in <module>
    from cookiecutter import utils
cookiecutter/utils.py:14: in <module>
    from cookiecutter.prompt import read_user_yes_no
cookiecutter/prompt.py:8: in <module>
    import click
E   ImportError: No module named click
ERROR: InvocationError for command /home/insspb/git/cookiecutter/.tox/cov-report/bin/pytest --cov=cookiecutter --cov-report=term --cov-report=html (exited with code 4)
___________________________________________________________________________________________________________ summary ___________________________________________________________________________________________________________
ERROR:   cov-report: commands failed
@insspb insspb added this to To do in 1.7.1 Release via automation Apr 14, 2020
@insspb insspb added the bug This issue/PR relates to a bug. label Apr 14, 2020
@insspb insspb self-assigned this Apr 14, 2020
insspb added a commit that referenced this issue Apr 14, 2020
1.7.1 Release automation moved this from To do to Done Apr 14, 2020
insspb added a commit that referenced this issue Apr 14, 2020
* Fix cov-report tox environment run #1350

* pytest-catchlog package removed from test_requirements, as now it is included in pytest (#1347)

* Some packages versions limited to be compatible with python2.7 and python 3.5 (#1349)

* Added missed coverage lines highlight to pytest-coverage report (#1352)

* Changelog update for #1352 #1349 #1347
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR relates to a bug.
Projects
No open projects
1.7.1 Release
  
Done
1 participant