diff options
author | Sebastian Thiel <sthiel@thoughtworks.com> | 2019-07-20 15:37:53 +0800 |
---|---|---|
committer | Sebastian Thiel <sthiel@thoughtworks.com> | 2019-07-20 15:37:53 +0800 |
commit | c9dbaab311dbafcba0b68edb6ed89988b476f1dc (patch) | |
tree | a90722893f1dea42e55faa1a6e91d7c6a171ba15 | |
parent | 74a0507f4eb468b842d1f644f0e43196cda290a1 (diff) | |
download | gitpython-c9dbaab311dbafcba0b68edb6ed89988b476f1dc.tar.gz |
Revert "This time, use test-requirements."
This reverts commit 74a0507f4eb468b842d1f644f0e43196cda290a1.
https://travis-ci.org/gitpython-developers/GitPython/jobs/561334516#L634
-rw-r--r-- | .travis.yml | 1 | ||||
-rw-r--r-- | git/compat.py | 5 | ||||
-rw-r--r-- | git/repo/base.py | 1 | ||||
-rw-r--r-- | requirements.txt | 3 |
4 files changed, 1 insertions, 9 deletions
diff --git a/.travis.yml b/.travis.yml index 7116d720..aed714af 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,6 @@ install: - python --version; git --version - git submodule update --init --recursive - git fetch --tags - - pip install -r requirements.txt - pip install -r test-requirements.txt - pip install codecov sphinx diff --git a/git/compat.py b/git/compat.py index 02dc69de..b63768f3 100644 --- a/git/compat.py +++ b/git/compat.py @@ -30,10 +30,7 @@ PY3 = sys.version_info[0] >= 3 is_win = (os.name == 'nt') is_posix = (os.name == 'posix') is_darwin = (os.name == 'darwin') -if hasattr(sys, 'getfilesystemencoding'): - defenc = sys.getfilesystemencoding() -if defenc is None: - defenc = sys.getdefaultencoding() +defenc = sys.getdefaultencoding() if PY3: import io diff --git a/git/repo/base.py b/git/repo/base.py index 911494ad..f3587080 100644 --- a/git/repo/base.py +++ b/git/repo/base.py @@ -4,7 +4,6 @@ # This module is part of GitPython and is released under # the BSD License: http://www.opensource.org/licenses/bsd-license.php -from builtins import str from collections import namedtuple import logging import os diff --git a/requirements.txt b/requirements.txt index eacd5f54..63d5ddfe 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1 @@ gitdb2 (>=2.0.0) -gitdb>=0.6.4 -ddt>=1.1.1 -future>=0.9 |