Skip to content

Commit 2c46fda

Browse files
committed
Change Requests requirement and remove unused imports
1 parent 3f5b17a commit 2c46fda

File tree

5 files changed

+3
-16
lines changed

5 files changed

+3
-16
lines changed

.travis.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,6 @@ env:
1515

1616
matrix:
1717
include:
18-
- python: 2.7
19-
env: TOXENV=py27 REQUESTS_VERSION="===2.0.1"
20-
- python: 3.4
21-
env: TOXENV=py34 REQUESTS_VERSION="===2.0.1"
22-
- python: 3.5
23-
env: TOXENV=py35 REQUESTS_VERSION="===2.0.1"
24-
- python: pypy
25-
env: TOXENV=pypy REQUESTS_VERSION="===2.0.1"
2618
- python: 2.7
2719
env: TOXENV=py27 REQUESTS_VERSION=""
2820
- python: 3.4

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,18 @@
2323
'pyasn1'
2424
]
2525

26-
kwargs['tests_require'] = ['betamax >=0.2.0', 'pytest <3.3.0',
26+
kwargs['tests_require'] = ['betamax>=0.8.0', 'pytest>2.3.5',
2727
'betamax-matchers>=0.1.0']
2828
if sys.version_info < (3, 0):
2929
kwargs['tests_require'].append('unittest2 ==0.5.1')
3030
if sys.version_info < (3, 3):
31-
kwargs['tests_require'].append('mock ==1.0.1')
31+
kwargs['tests_require'].append('mock')
3232

3333
if sys.argv[-1] in ("submit", "publish"):
3434
os.system("python setup.py bdist_wheel sdist upload")
3535
sys.exit()
3636

37-
requires.extend(["requests >= 2.0", "uritemplate >= 3.0.0"])
37+
requires.extend(["requests >= 2.18", "uritemplate >= 3.0.0"])
3838

3939
__version__ = ''
4040
with open('github3/__about__.py', 'r') as fd:

tests/integration/test_orgs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# -*- coding: utf-8 -*-
22
"""Integration tests for methods implemented on Organization."""
33
import pytest
4-
import requests
54

65
import github3
76

tests/integration/test_repos_release.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
import os
33
import tempfile
44

5-
import pytest
6-
import requests
7-
85
from .helper import IntegrationHelper
96

107

tests/integration/test_repos_repo.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import github3.exceptions as exc
44

55
import pytest
6-
import requests
76

87
from . import helper
98

0 commit comments

Comments
 (0)