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

rlworkgroup / garage / 3927 / 1
64%
master: 64%

Build:
DEFAULT BRANCH: master
Ran 21 Jan 2019 10:22PM UTC
Files 257
Run time 18s
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

21 Jan 2019 09:42PM UTC coverage: 65.088% (-0.07%) from 65.154%
3927.1

push

travis-ci-com

web-flow
Fix pre_commit version to avoid exception errors

When updating the conda garage environment, pre_commit gets updated to
v1.14.2, which throws the following exception when trying to push a
commit to the remote repository:

Traceback (most recent call last):
File "/home/aigonzal/miniconda2/envs/garage/bin/pre-commit", line 7,
in <module>
    from pre_commit.main import main
File "/home/aigonzal/miniconda2/envs/garage/lib/python3.6/site-
packages/pre_commit/main.py", line 12, in <module>
    from pre_commit.commands.autoupdate import autoupdate
File "/home/aigonzal/miniconda2/envs/garage/lib/python3.6/site-
packages/pre_commit/commands/autoupdate.py", line 14, in <module>
    from pre_commit.clientlib import CONFIG_SCHEMA
File "/home/aigonzal/miniconda2/envs/garage/lib/python3.6/site-
packages/pre_commit/clientlib.py", line 169, in <module>
    for hook_id, values in _meta
File "/home/aigonzal/miniconda2/envs/garage/lib/python3.6/site-
packages/pre_commit/clientlib.py", line 170, in <listcomp>
    for key, value in values
AttributeError: module 'cfgv' has no attribute 'ConditionalOptional'
error: failed to push some refs to
'https://github.com/rlworkgroup/garage.git'

pre_commit v1.14.2 has cfgv>=1.4.0 as a dependency, but cfgv 1.10 gets
installed when using conda, and that old version of cfgv produces the 
error mentioned above. If pre_commit is installed as a pip dependency
instead of a direct dependency of conda, the right version of cfgv is
installed.
There's no clear reason why pre_commit was not installed by pip before,
so if more errors occur with the pre_commit installation, revert this
commit.

9769 of 15009 relevant lines covered (65.09%)

0.65 hits per line

Source Files on job 3927.1
  • Tree
  • List 0
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1101
  • Travis Job 3927.1
  • 2a79567a on github
  • Prev Job for on master (#3848.1)
  • Next Job for on master (##1113.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