Page MenuHomePhabricator

All nosetests fails for python 3.4
Closed, ResolvedPublic

Description

10:04:59 nose34 runtests: commands[1] | nosetests --version
10:04:59   /src$ /src/.tox/nose34/bin/nosetests --version 
10:05:00 nosetests version 1.3.7
10:05:00 /src/.tox/nose34/lib/python3.4/site-packages/nose/plugins/manager.py:395: RuntimeWarning: Unable to load plugin detecthttp = detecthttp:DetectHTTP: invalid syntax (_handle_coroutine.py, line 1)
10:05:00   RuntimeWarning)
10:05:00 nose34 runtests: commands[2] | nosetests --with-detecthttp -v -a !net tests
10:05:00   /src$ /src/.tox/nose34/bin/nosetests --with-detecthttp -v -a !net tests 
10:05:01 /src/.tox/nose34/lib/python3.4/site-packages/nose/plugins/manager.py:395: RuntimeWarning: Unable to load plugin detecthttp = detecthttp:DetectHTTP: invalid syntax (_handle_coroutine.py, line 1)
10:05:01   RuntimeWarning)
10:05:01 Usage: nosetests [options]
10:05:01 
10:05:01 nosetests: error: no such option: --with-detecthttp
10:05:01 ERROR: InvocationError: '/src/.tox/nose34/bin/nosetests --with-detecthttp -v -a !net tests'
10:05:01 ___________________________________ summary ____________________________________
10:05:01 ERROR:   nose34: commands failed
10:05:01 + capture_tox_logs

Event Timeline

Xqt triaged this task as High priority.Sep 21 2018, 10:09 AM
Xqt added a subscriber: hashar.

nose-detecthttp has been changed recently
https://pypi.org/project/nose-detecthttp/
but this was on 12th September and there where some commits which passed after this date.

Has sth to do with VCS:

10:31:46 nose34 installed: ----------------------------------------,Error when trying to get requirement for VCS system Command
"git config --get-regexp remote\..*\.url"
failed with error code 1 in /src, falling back to uneditable format,
Could not determine repository Location of 
/src,beautifulsoup4==4.6.3,certifi==2018.8.24,chardet==3.0.4,idna==2.7,mock==2.0.0,multidict==4.4.2,mwparserfromhell==0.5.1,nose==1.3.7,nose-detecthttp==0.2.0,pbr==4.2.0,
## !! Could not determine repository location,
pywikibot==3.0.20180921.dev0,PyYAML==3.13,requests==2.19.1,six==1.11.0,urllib3==1.23,vcrpy==2.0.0,wrapt==1.10.11,yarl==1.2.0

Change 461932 had a related patch set uploaded (by Dalba; owner: dalba):
[pywikibot/core@master] Temporarily add vcrpy!=2.0.0 as requirement for nose-detecthttp

https://gerrit.wikimedia.org/r/461932

Dalba changed the task status from Open to Stalled.Sep 21 2018, 11:00 AM
Dalba lowered the priority of this task from High to Low.
Dalba moved this task from Backlog to Upstream issues on the Pywikibot board.
Dalba added a project: Upstream.

Waiting for the upstream issue[1] to be fixed. Then we might be able to revert the patch.

https://github.com/kevin1024/vcrpy/issues/393

Change 461932 merged by jenkins-bot:
[pywikibot/core@master] Temporarily add vcrpy!=2.0.0 as requirement for nose-detecthttp

https://gerrit.wikimedia.org/r/461932

Wasn't VCR deactivated with 787f9eaea929e2a8337a63c9c191368d74a35ca1 ?

Wasn't VCR deactivated with 787f9eaea929e2a8337a63c9c191368d74a35ca1 ?

Yes, but this time it's a requirement of nose-detecthttp. See https://github.com/venmo/nose-detecthttp/blob/d5a73391bd6f10eb9024cc1aee43a6b3c71f2b69/setup.py#L9.

Change 462336 had a related patch set uploaded (by Dalba; owner: Dalba):
[pywikibot/core@master] Revert "Temporarily add vcrpy!=2.0.0 as requirement for nose-detecthttp"

https://gerrit.wikimedia.org/r/462336

Change 462336 merged by jenkins-bot:
[pywikibot/core@master] Revert "Temporarily add vcrpy!=2.0.0 as requirement for nose-detecthttp"

https://gerrit.wikimedia.org/r/462336