Skip to content

Commit a9e11f9

Browse files
committed
removing numpy dependency
1 parent 196a4fb commit a9e11f9

7 files changed

+1
-7
lines changed

opsgenie_sdk/rest.py

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import certifi
2424
# python 2 and python 3 compatibility library
2525
import six
26-
from numpy import long
2726
from six.moves.urllib.parse import urlencode
2827
from opsgenie_sdk import errors
2928
from .metrics import HttpMetric

requirements.txt

-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ six >= 1.10
33
python_dateutil >= 2.5.3
44
setuptools >= 21.0.0
55
urllib3 >= 1.26.2
6-
numpy >= 1.16.3
76
tenacity >= 5.0.4

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
# prerequisite: setuptools
2525
# http://pypi.python.org/pypi/setuptools
2626

27-
REQUIRES = ["urllib3 >= 1.26.2", "six >= 1.10", "certifi", "python-dateutil", "numpy >= 1.16.3", "setuptools >= 21.0.0", "tenacity >= 5.0.4"]
27+
REQUIRES = ["urllib3 >= 1.26.2", "six >= 1.10", "certifi", "python-dateutil", "setuptools >= 21.0.0", "tenacity >= 5.0.4"]
2828

2929
with open("README.md", "r") as fh:
3030
long_description = fh.read()

templates/README_onlypackage.mustache

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ To be able to use it, you will need these dependencies in your own package that
2929
* six >= 1.10
3030
* certifi
3131
* python-dateutil
32-
* numpy >= 1.16.3
3332
* tenacity >= 5.0.4
3433
{{#asyncio}}
3534
* aiohttp

templates/api_client.mustache

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import uuid
1515
# python 2 and python 3 compatibility library
1616
import six
1717
import tenacity
18-
from numpy import long
1918
from six.moves.urllib.parse import quote
2019
from urllib3.exceptions import HTTPError
2120
{{#tornado}}

templates/requirements.mustache

-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ six >= 1.10
33
python_dateutil >= 2.5.3
44
setuptools >= 21.0.0
55
urllib3 >= 1.26.2
6-
numpy >= 1.16.3
76
tenacity >= 5.0.4

templates/rest.mustache

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import ssl
1414
import certifi
1515
# python 2 and python 3 compatibility library
1616
import six
17-
from numpy import long
1817
from six.moves.urllib.parse import urlencode
1918
from {{packageName}} import errors
2019
from .metrics import HttpMetric

0 commit comments

Comments
 (0)