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

LudovicRousseau / pyscard / 147 / 3
67%
master: 67%

Build:
DEFAULT BRANCH: master
Ran 05 Jul 2020 09:01AM UTC
Files 65
Run time 4s
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

05 Jul 2020 08:54AM UTC coverage: 28.489%. Remained the same
147.3

push

travis-ci

LudovicRousseau
Updates text to be tolerant of macOS typo.

This change is necessary to build on modern Macs
with nix. See https://github.com/NixOS/nixpkgs/issues/91716

" Describe the bug
The Python package pyscard version 1.9.9 doesn't build on Darwin.

To Reproduce
Steps to reproduce the behavior:
nix-env -iA pythonPackages.pyscard on Darwin

Expected behavior
pyscard is successfully installed

This seems to have been introduced with the update to version 1.9.9 of
the package. Previously, a patch was provided to work around a buggy
error message that's checked during tests of the module.

This test was refactored in the 1.9.9 release to better detect old
versions of macOS and OS X.

As such, the patch stopped applying. The patch was retained in the tree
but had its usage removed in this commit, in response to an issue opened
on pyscard. While this fixed the case for building on some platforms,
python from nix on modern macOS still emits a value that causes tests to
fail.

The following program demonstrates that python from nixpkgs will still
report a version that will cause the test to believe it needs to check
against the misspelling:

nix run nixpkgs.python -c python -c '
     from distutils.util import get_platform
     print get_platform()'
macosx-10.12-x86_64

However, modern macOS will emit the correctly-spelled message, causing
this test to fail. "

837 of 2938 relevant lines covered (28.49%)

0.28 hits per line

Source Files on job 147.3
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 145
  • Travis Job 147.3
  • 945e9c4c on github
  • Prev Job for on master (#145.1)
  • Next Job for on master (#148.1)
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