Commit f05bdaab authored by Alexander Pace's avatar Alexander Pace
Browse files

2.7.3 fixes

parent 239c75ff
Pipeline #175815 passed with stages
in 17 minutes and 1 second
ligo-gracedb (2.7.3-1) unstable; urgency=low
* json() method for file retrieval.
-- Alexander E. Pace <alexander.pace@ligo.org> Mon, 23 Nov 2020 20:54:49 +0000
ligo-gracedb (2.7.2-1) unstable; urgency=low
* Bugfix for certificate check failure with tuple'd credentials
......
......@@ -5,7 +5,7 @@ Priority: optional
Build-Depends: debhelper (>= 9), dh-python, python-all-dev, python3-all-dev, python-setuptools, python3-setuptools, python-six, python3-six, help2man
Standards-Version: 3.8.4
X-Python-Version: >=2.7
X-Python3-Version: >=3.5
X-Python3-Version: >=3.6
Package: python-ligo-gracedb
Architecture: all
......@@ -21,7 +21,7 @@ Description: Gravitational-wave Candidate Event Database - Python
Package: python3-ligo-gracedb
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}, python3-ligo-common, python3-future, python3-setuptools, python3-cryptography, python3-requests
Depends: ${misc:Depends}, ${python3:Depends}, python3-ligo-common, python3-future, python3-setuptools, python3-cryptography, python3-requests (>= 2.16.0)
Provides: ${python3:Provides}
Description: Gravitational-wave Candidate Event Database - Python 3
The gravitational-wave candidate event database (GraceDB) is a prototype
......
%define name ligo-gracedb
%define version 2.7.2
%define unmangled_version 2.7.2
%define version 2.7.3
%define unmangled_version 2.7.3
%define release 1
Summary: Gravity Wave Candidate Event Database
......@@ -62,6 +62,7 @@ Requires: python%{python3_pkgversion}-six
Requires: python%{python3_pkgversion}-ligo-common
Requires: python%{python3_pkgversion}-future
Requires: python%{python3_pkgversion}-cryptography
Requires: python%{python3_pkgversion}-requests >= 2.16.0
%{?python_provide:%python_provide python%{python3_pkgversion}-%{name}}
......
......@@ -264,6 +264,7 @@ class GraceDBClient(Session):
resp = self.get(url, stream=True, **kwargs)
resp.raw.decode_content = True
resp.raw.status_code = resp.status_code
resp.raw.json = resp.json
return resp.raw
# Return client credentials
......
......@@ -492,7 +492,7 @@ class GraceDb(GraceDBClient):
graceid (str): GraceDB ID of the event
Returns:
:class:`httplib.HTTPResponse`
:class:`requests.models.Response`
Raises:
ligo.gracedb.exceptions.HTTPError: if the response has a status
......@@ -819,7 +819,7 @@ class GraceDb(GraceDBClient):
superevent_id (str): GraceDB ID of the superevent.
Returns:
:class:`httplib.HTTPResponse`
:class:`requests.models.Response`
Raises:
ligo.gracedb.exceptions.HTTPError: if the response has a status
......@@ -1766,7 +1766,7 @@ class GraceDb(GraceDBClient):
action (str): ``'expose'`` or ``'hide'``.
Returns:
:class:`httplib.HTTPResponse`
:class:`requests.models.Response`
Raises:
ligo.gracedb.exceptions.HTTPError: if the response has a status
......
__version__ = '2.7.2'
__version__ = '2.7.3'
......@@ -104,7 +104,7 @@ setup(
install_requires=['future>=0.15.0',
'six>=1.9.0',
'cryptography>=1.7.2',
'requests>=2.6.0',
'requests>=2.16.0',
],
setup_requires=SETUP_REQUIRES,
tests_require=tests_require,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment