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

pytransitions / transitions / 722
98%

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

pending completion
722

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%)

1.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 722.1 25 May 2018 11:12AM UTC 0
Travis Job 722.1
2 722.2 25 May 2018 11:12AM UTC 0
98.33
Travis Job 722.2
3 722.3 25 May 2018 11:12AM UTC 0
98.33
Travis Job 722.3
4 722.4 25 May 2018 11:12AM UTC 0
Travis Job 722.4
Source Files on build 722
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #722
  • Pull Request #301
  • PR Base - master (#720)
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