Skip to content

Commit 74a0507

Browse files
author
Sebastian Thiel
committed
This time, use test-requirements.
1 parent cc664f0 commit 74a0507

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ install:
2222
- python --version; git --version
2323
- git submodule update --init --recursive
2424
- git fetch --tags
25+
- pip install -r requirements.txt
2526
- pip install -r test-requirements.txt
2627
- pip install codecov sphinx
2728

git/compat.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@
3030
is_win = (os.name == 'nt')
3131
is_posix = (os.name == 'posix')
3232
is_darwin = (os.name == 'darwin')
33-
defenc = sys.getdefaultencoding()
33+
if hasattr(sys, 'getfilesystemencoding'):
34+
defenc = sys.getfilesystemencoding()
35+
if defenc is None:
36+
defenc = sys.getdefaultencoding()
3437

3538
if PY3:
3639
import io

git/repo/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# This module is part of GitPython and is released under
55
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
66

7+
from builtins import str
78
from collections import namedtuple
89
import logging
910
import os

requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
gitdb2 (>=2.0.0)
2+
gitdb>=0.6.4
3+
ddt>=1.1.1
4+
future>=0.9

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy