• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

xolox / python-humanfriendly / 337 / 2
93%
master: 93%

Build:
Build:
LAST BUILD BRANCH: dev
DEFAULT BRANCH: master
Ran 21 Feb 2019 07:59PM UTC
Files 11
Run time 7s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Feb 2019 07:43PM UTC coverage: 94.288% (+0.1%) from 94.139%
337.2

push

travis-ci

xolox
Try to fix Python 3.4 builds on Travis CI

Adding the 'pip install --upgrade' option in dd53b9eef6e fixed the
Python 2.6 job on Travis CI but caused the Python 3.4 job to start
failing with an obscure error related to pkg_resources.

Searching for parts of that error message indicate that upgrading
pip and/or setuptools may help to resolve the problem.

Here's the failing job:
https://travis-ci.org/xolox/python-humanfriendly/builds/496657455

And below follows the (relevant) part of the output:

$ scripts/travis.sh pip install --constraint=constraints.txt --requirement=requirements-travis.txt --upgrade
...
Installing collected packages: six, scandir, pathlib2, more-itertools, setuptools, attrs, pluggy, py, atomicwrites, pytest, coverage, pytest-cov, pycodestyle, typing, mccabe, entrypoints, pyflakes, flake8, snowballstemmer, pydocstyle, flake8-polyfill, flake8-docstrings, humanfriendly, capturer, coloredlogs, docopt, urllib3, certifi, chardet, idna, requests, coveralls
  Found existing installation: six 1.10.0
    Uninstalling six-1.10.0:
      Successfully uninstalled six-1.10.0
  Rolling back uninstall of six

Exception:
Traceback (most recent call last):
  File "$VIRTUAL_ENV/lib/python3.4/site-packages/pkg_resources/__init__.py", line 2813, in _dep_map
    return self.__dep_map
  File "$VIRTUAL_ENV/lib/python3.4/site-packages/pkg_resources/__init__.py", line 2624, in __getattr__
    raise AttributeError(attr)
AttributeError: _DistInfoDistribution__dep_map

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "$VIRTUAL_ENV/lib/python3.4/site-packages/pkg_resources/__init__.py", line 2804, in _parsed_pkg_info
    return self._pkg_info
  File "$VIRTUAL_ENV/lib/python3.4/site-packages/pkg_resources/__init__.py", line 2624, in __getattr__
    raise AttributeError(attr)
AttributeError: _pkg_info

During handling of the above exception, another exception occurred:

Traceback (most recent call last)... (continued)

485 of 547 branches covered (88.67%)

1271 of 1348 relevant lines covered (94.29%)

0.94 hits per line

Source Files on job 337.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 324
  • Travis Job 337.2
  • a6155ff6 on github
  • Prev Job for on dev (#336.5)
  • Next Job for on dev (#338.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc