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

cloudmarker / cloudmarker / 305
84%

Build:
DEFAULT BRANCH: master
Ran 27 Feb 2019 04:56PM UTC
Jobs 3
Files 23
Run time 232min
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
305

push

travis-ci-com

susam
Upgrade setuptools for Travis CI Python 3.4 builds

A build failure occurs in Travis CI builds for Python 3.4 since the
release of `isort 4.3.9`. The build failure occurs due to the following
combination of different factors:

 1. The latest version of `isort` at this time is `isort 4.3.9` which
    was released very recently on Feb 26, 2019.

 2. The `isort 4.3.9` package brings back (perhaps inadvertently) a
    conditional dependency on the `futures` package:

        futures; python_version < "3.2"

 3. When our project's dependencies are installed, `isort 4.3.9` gets
    installed but the `futures` package is ignored because the
    conditional dependency is not satisfied for Python versons 3.4 and
    above. This is correct behaviour.

 4. But during installation, the old version of `setuptools`, i.e.,
    `setuptools 35.0.2`, does not record the conditional dependency in
    the installed `METADATA` file of `isort`. The dependency is recorded
    as an unconditional dependency:

        Requires-Dist: futures

    This is incorrect behaviour. If the dependency were correctly
    recorded as a conditional dependency in the `METADATA` file, it would
    have looked like this:

        Requires-Dist: futures; python_version < "3.2"

    This dependency is correctly recorded in the `METADATA` file by
    `setuptools 36.2.0` and later versions.

 5. Pylama loads `isort` via `pkg_resources`. See `entry.load()()` call
    in `pylama/lint/extensions.py` for this call. This is a call into
    the `pkg_resources` package (part of `setuptools`).

 6. The `pkg_resources` code checks for dependencies in the installed
    `METADATA` file of `isort`, finds that `futures` is an unconditional
    dependency due to point 4 above, fails to find `futures` due to
    point 3 above, and fails with `pkg_resources.DistributionNotFound`
    error.

The issue is resolved by upgrading `setuptools` to the latest version in
Travis CI build environment for Python 3.4. The l... (continued)

78 of 111 branches covered (70.27%)

Branch coverage included in aggregate %.

467 of 590 relevant lines covered (79.15%)

2.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 305.1 27 Feb 2019 04:56PM UTC 0
77.75
Travis Job 305.1
2 305.2 27 Feb 2019 04:56PM UTC 0
77.75
Travis Job 305.2
3 305.3 27 Feb 2019 04:56PM UTC 0
77.75
Travis Job 305.3
Source Files on build 305
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #305
  • f4fecc0d on github
  • Prev Build on master (#271)
  • Next Build on master (#322)
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