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

LudovicRousseau / pyscard / 147
67%

Build:
DEFAULT BRANCH: master
Ran 05 Jul 2020 09:00AM UTC
Jobs 5
Files 65
Run time 48s
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
147

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 2935 relevant lines covered (28.52%)

1.43 hits per line

Jobs
ID Job ID Ran Files Coverage
1 147.1 05 Jul 2020 09:01AM UTC 0
28.49
Travis Job 147.1
2 147.2 05 Jul 2020 09:01AM UTC 0
28.49
Travis Job 147.2
3 147.3 05 Jul 2020 09:01AM UTC 0
28.49
Travis Job 147.3
4 147.4 05 Jul 2020 09:00AM UTC 0
28.49
Travis Job 147.4
5 147.5 05 Jul 2020 09:01AM UTC 0
28.52
Travis Job 147.5
Source Files on build 147
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #147
  • 945e9c4c on github
  • Prev Build on master (#145)
  • Next Build on master (#148)
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