Dalba added a comment.

pip install --upgrade pip setuptools in the travis script (after the venv is activated) should help to get them updated.

Did that, but then the build failed with:

==================================== ERRORS ====================================

____________ ERROR at setup of TestHttpStatus.test_follow_redirects ____________

file /home/travis/build/5j9/pywikibot-core/tests/http_tests.py, line 203

def test_follow_redirects(self):

fixture 'class_based_httpbin' not found

available fixtures: tmpdir_factory, pytestconfig, cov, cache, recwarn, monkeypatch, record_xml_property, capfd, capsys, tmpdir

use 'py.test --fixtures [testpath]' for help on them.

/home/travis/build/5j9/pywikibot-core/tests/http_tests.py:203

________________ ERROR at setup of TestHttpStatus.test_http_504 ________________

file /home/travis/build/5j9/pywikibot-core/tests/http_tests.py, line 180

def test_http_504(self):

fixture 'class_based_httpbin' not found

available fixtures: tmpdir_factory, pytestconfig, cov, cache, recwarn, monkeypatch, record_xml_property, capfd, capsys, tmpdir

use 'py.test --fixtures [testpath]' for help on them.

/home/travis/build/5j9/pywikibot-core/tests/http_tests.py:180

_____________ ERROR at setup of TestHttpStatus.test_invalid_scheme _____________

file /home/travis/build/5j9/pywikibot-core/tests/http_tests.py, line 195

def test_invalid_scheme(self):

fixture 'class_based_httpbin' not found

available fixtures: tmpdir_factory, pytestconfig, cov, cache, recwarn, monkeypatch, record_xml_property, capfd, capsys, tmpdir

use 'py.test --fixtures [testpath]' for help on them.

/home/travis/build/5j9/pywikibot-core/tests/http_tests.py:195

____________ ERROR at setup of TestHttpStatus.test_server_not_found ____________

file /home/travis/build/5j9/pywikibot-core/tests/http_tests.py, line 187

def test_server_not_found(self):

fixture 'class_based_httpbin' not found

available fixtures: tmpdir_factory, pytestconfig, cov, cache, recwarn, monkeypatch, record_xml_property, capfd, capsys, tmpdir

use 'py.test --fixtures [testpath]' for help on them.

/home/travis/build/5j9/pywikibot-core/tests/http_tests.py:187

__ ERROR at setup of LiveFakeUserAgentTestCase.test_fetch_with_browseragents ___

file /usr/lib/python2.7/unittest/case.py, line 59

@functools.wraps(test_item)

def skip_wrapper(*args, **kwargs):

fixture 'class_based_httpbin' not found

available fixtures: tmpdir_factory, pytestconfig, cov, cache, recwarn, monkeypatch, record_xml_property, capfd, capsys, tmpdir

use 'py.test --fixtures [testpath]' for help on them.

/usr/lib/python2.7/unittest/case.py:59

__ ERROR at setup of LiveFakeUserAgentTestCase.test_fetch_with_fake_useragent __

file /usr/lib/python2.7/unittest/case.py, line 59

@functools.wraps(test_item)

def skip_wrapper(*args, **kwargs):

fixture 'class_based_httpbin' not found

available fixtures: tmpdir_factory, pytestconfig, cov, cache, recwarn, monkeypatch, record_xml_property, capfd, capsys, tmpdir

use 'py.test --fixtures [testpath]' for help on them.

/usr/lib/python2.7/unittest/case.py:59

_______ ERROR at setup of QueryStringParamsTestCase.test_encoded_params ________

file /home/travis/build/5j9/pywikibot-core/tests/http_tests.py, line 608

def test_encoded_params(self):

fixture 'class_based_httpbin' not found

available fixtures: tmpdir_factory, pytestconfig, cov, cache, recwarn, monkeypatch, record_xml_property, capfd, capsys, tmpdir

use 'py.test --fixtures [testpath]' for help on them.

/home/travis/build/5j9/pywikibot-core/tests/http_tests.py:608

__________ ERROR at setup of QueryStringParamsTestCase.test_no_params __________

file /home/travis/build/5j9/pywikibot-core/tests/http_tests.py, line 587

def test_no_params(self):

fixture 'class_based_httpbin' not found

available fixtures: tmpdir_factory, pytestconfig, cov, cache, recwarn, monkeypatch, record_xml_property, capfd, capsys, tmpdir

use 'py.test --fixtures [testpath]' for help on them.

/home/travis/build/5j9/pywikibot-core/tests/http_tests.py:587

______ ERROR at setup of QueryStringParamsTestCase.test_unencoded_params _______

file /home/travis/build/5j9/pywikibot-core/tests/http_tests.py, line 595

def test_unencoded_params(self):

fixture 'class_based_httpbin' not found

available fixtures: tmpdir_factory, pytestconfig, cov, cache, recwarn, monkeypatch, record_xml_property, capfd, capsys, tmpdir

use 'py.test --fixtures [testpath]' for help on them.

/home/travis/build/5j9/pywikibot-core/tests/http_tests.py:595

____________ ERROR at setup of DataBodyParameterTestCase.test_fetch ____________

file /home/travis/build/5j9/pywikibot-core/tests/http_tests.py, line 626

def test_fetch(self):

fixture 'class_based_httpbin' not found

available fixtures: tmpdir_factory, pytestconfig, cov, cache, recwarn, monkeypatch, record_xml_property, capfd, capsys, tmpdir

use 'py.test --fixtures [testpath]' for help on them.

/home/travis/build/5j9/pywikibot-core/tests/http_tests.py:626

TASK DETAIL
https://phabricator.wikimedia.org/T178777

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Dalba
Cc: valhallasw, Aklapper, pywikibot-bugs-list, Dalba, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to