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

rlworkgroup / garage / 3927
64%

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

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

Jobs
ID Job ID Ran Files Coverage
1 3927.1 21 Jan 2019 10:22PM UTC 0
65.09
Travis Job 3927.1
Source Files on build 3927
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #3927
  • 2a79567a on github
  • Prev Build on master (#3848)
  • Next Build on master
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