Skip to content

Commit

Permalink
This time, use test-requirements.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Thiel committed Jul 20, 2019
1 parent cc664f0 commit 74a0507
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ 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

Expand Down
5 changes: 4 additions & 1 deletion git/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@
is_win = (os.name == 'nt')
is_posix = (os.name == 'posix')
is_darwin = (os.name == 'darwin')
defenc = sys.getdefaultencoding()
if hasattr(sys, 'getfilesystemencoding'):
defenc = sys.getfilesystemencoding()
if defenc is None:
defenc = sys.getdefaultencoding()

if PY3:
import io
Expand Down
1 change: 1 addition & 0 deletions git/repo/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# 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
Expand Down
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
gitdb2 (>=2.0.0)
gitdb>=0.6.4
ddt>=1.1.1
future>=0.9

0 comments on commit 74a0507

Please sign in to comment.