From c11558a8b63c18c9ca865fdb794b1f786404310c Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Thu, 8 Nov 2018 06:03:21 +0700 Subject: [PATCH] MementoBear: Use hyphen in dependency package name memento_client is unrecognised by `packaging`. Use hyphens. --- bear-requirements.txt | 2 +- bear-requirements.yaml | 2 +- bears/general/MementoBear.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bear-requirements.txt b/bear-requirements.txt index 2d720d269a..7cc8fcd961 100644 --- a/bear-requirements.txt +++ b/bear-requirements.txt @@ -18,7 +18,7 @@ isort~=4.2 language-check~=1.0 libclang-py3~=3.4.0 lxml==3.6.0 -memento_client~=0.6.1 +memento-client~=0.6.1 munkres3~=1.0 mypy==0.590 nbformat~=4.1 diff --git a/bear-requirements.yaml b/bear-requirements.yaml index 0f09947cd4..ae9d7f9b3a 100644 --- a/bear-requirements.yaml +++ b/bear-requirements.yaml @@ -177,7 +177,7 @@ pip_requirements: version: ~=3.4.0 lxml: version: ==3.6.0 - memento_client: + memento-client: version: ~=0.6.1 munkres3: version: ~=1.0 diff --git a/bears/general/MementoBear.py b/bears/general/MementoBear.py index 5ea4d1a4fc..2c5fd3926d 100644 --- a/bears/general/MementoBear.py +++ b/bears/general/MementoBear.py @@ -14,7 +14,7 @@ class MementoBear(LocalBear): DEFAULT_TIMEOUT = 15 LANGUAGES = {'All'} - REQUIREMENTS = {PipRequirement('memento_client', '0.6.1')} + REQUIREMENTS = {PipRequirement('memento-client', '0.6.1')} AUTHORS = {'The coala developers'} AUTHORS_EMAILS = {'coala-devel@googlegroups.com'} LICENSE = 'AGPL-3.0'