From 036ce9398e478268c889476c4aee260ea29addbe Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Thu, 4 Jun 2020 05:54:29 +0300 Subject: [PATCH] tests: move mock-ssh-server git dependency (#3953) This one doesn't allow us to release new pre-releases, because pypi forbids that: https://travis-ci.com/github/iterative/dvc/jobs/343343967#L2447 Let's install it separately for now, until there is a new official mock-ssh-server release. --- scripts/ci/install.sh | 2 ++ setup.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/ci/install.sh b/scripts/ci/install.sh index f1a5defc0..b1cadf436 100644 --- a/scripts/ci/install.sh +++ b/scripts/ci/install.sh @@ -10,6 +10,8 @@ scriptdir="$(dirname $0)" # work or not. $scriptdir/retry.sh pip install .[all,tests] +$scriptdir/retry.sh pip install git+https://github.com/iterative/mock-ssh-server.git + git config --global user.email "dvctester@example.com" git config --global user.name "DVC Tester" diff --git a/setup.py b/setup.py index 5191b74b8..5aa04b68f 100644 --- a/setup.py +++ b/setup.py @@ -121,7 +121,7 @@ tests_requirements = [ "flake8-docstrings", "pydocstyle<4.0", "jaraco.windows==3.9.2", - "mock-ssh-server@git+https://github.com/iterative/mock-ssh-server.git", + "mock-ssh-server", "moto==1.3.14.dev464", "rangehttpserver==1.2.0", "beautifulsoup4==4.4.0",