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

pytransitions / transitions / 722 / 2
98%
master: 98%

Build:
DEFAULT BRANCH: master
Ran 25 May 2018 11:12AM UTC
Files 20
Run time 1s
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

25 May 2018 11:10AM UTC coverage: 98.328%. Remained the same
722.2

Pull #301

travis-ci

web-flow
Fix installation on Python 3 with non-UTF-8 locale

When `setup.py` is executed, it reads `README.md` using the systems
default encoding. However, `README.md` contains UTF-8 encoded
characters.

If installing transitions under Python 3 on a system with
a non-UTF-8 locale, like `C`, Python crashes with an
`UnicodeDecodeError` because it fails to decode `README.md` as ASCII,
which is the default encoding in the C locale.

To reproduce:

```
virtualenv -p /usr/bin/python3 venv
. venv/bin/activate
LANG=C LC_ALL=C pip install transitions
```

This fix decodes `README.md` explicitly as UTF-8 in a way that works on
both Python 2 and 3.
Pull Request #301: Fix installation on Python 3 with non-UTF-8 locale

3117 of 3170 relevant lines covered (98.33%)

0.98 hits per line

Source Files on job 722.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 720
  • Travis Job 722.2
  • 67afd915 on github
  • Prev Job for on master (#720.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