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

bugsnag / bugsnag-python / 739 / 18
94%
master: 94%

Build:
DEFAULT BRANCH: master
Ran 15 Aug 2018 06:50PM UTC
Files 18
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

15 Aug 2018 06:45PM UTC coverage: 57.356%. First build
TOXENV=py34-wsgi

Pull #161

travis-ci

Chris Kuehl
Remove dependency on distutils

distutils is vaguely "legacy" and on some systems (e.g. Ubuntu 18.04)
requires an additional system package (python3-distutils) to be
available, making it slightly harder to use bugsnag.

We can get the same kinds of information from sysconfig instead, which
is "more" a part of the stdlib and generally provides the same behavior,
e.g.:

    >>> distutils.sysconfig.get_python_lib()
    '/home/ckuehl/proj/buggo/venv/lib/python3.6/site-packages'
    >>> sysconfig.get_paths()['purelib']
    '/home/ckuehl/proj/buggo/venv/lib/python3.6/site-packages'

In the long term, I think it probably makes the most sense to actually
report all of `sys.path` along with errors, rather than just this one
value.
Pull Request #161:

538 of 938 relevant lines covered (57.36%)

0.57 hits per line

Source Files on job 739.18 (TOXENV=py34-wsgi)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 687
  • Travis Job 739.18
  • f8cbdb23 on github
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