Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
G
gracedb-client
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
3
Merge Requests
3
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lscsoft
gracedb-client
Commits
516dbcc5
Commit
516dbcc5
authored
Jun 05, 2020
by
Alexander Pace
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
py2.7.5 compatibility fix
parent
4882ce8c
Pipeline
#131785
passed with stages
in 4 minutes and 37 seconds
Changes
5
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
4 deletions
+22
-4
debian/changelog
debian/changelog
+5
-0
docs/source/changelog.rst
docs/source/changelog.rst
+5
-0
ligo-gracedb.spec
ligo-gracedb.spec
+2
-2
ligo/gracedb/rest.py
ligo/gracedb/rest.py
+9
-1
ligo/gracedb/version.py
ligo/gracedb/version.py
+1
-1
No files found.
debian/changelog
View file @
516dbcc5
ligo-gracedb (2.6.1-1) unstable; urgency=low
* SSL_PROTOCOL fix for python < 2.7.13
-- Alexander E. Pace <alexander.pace@ligo.org> Fri, 05 Jun 2020 13:03:59 -0400
ligo-gracedb (2.6.0-1) unstable; urgency=low
* Added time/space_coinc_far fields to support RAVEN
* Testing and packaging changes.
...
...
docs/source/changelog.rst
View file @
516dbcc5
Changelog
=========
2.6.1 (June 05, 2020)
---------------------
- SSL_PROTOCOL fix for python < 2.7.13
2.6.0 (June 04, 2020)
-------------------------
...
...
ligo-gracedb.spec
View file @
516dbcc5
%define name ligo-gracedb
%define version 2.6.
0
%define unmangled_version 2.6.
0
%define version 2.6.
1
%define unmangled_version 2.6.
1
%define release 1
Summary: Gravity Wave Candidate Event Database
...
...
ligo/gracedb/rest.py
View file @
516dbcc5
...
...
@@ -278,7 +278,15 @@ class GsiRest(object):
def
set_up_connector
(
self
,
host
,
port
,
proxy_host
,
proxy_port
):
# Prepare SSL context
ssl_context
=
ssl
.
SSLContext
(
ssl
.
PROTOCOL_TLS
)
# Fix for python < 2.7.13
# https://docs.python.org/2/library/ssl.html#ssl.PROTOCOL_TLS
# This *needs* to be updated. Eventually 2.7.5 support is going
# to have to stop.
if
sys
.
version_info
>=
(
2
,
7
,
13
):
ssl_context
=
ssl
.
SSLContext
(
ssl
.
PROTOCOL_TLS
)
else
:
ssl_context
=
ssl
.
SSLContext
(
ssl
.
PROTOCOL_TLSv1
)
if
(
self
.
auth_type
==
'x509'
):
try
:
ssl_context
.
load_cert_chain
(
self
.
credentials
[
'cert_file'
],
...
...
ligo/gracedb/version.py
View file @
516dbcc5
__version__
=
'2.6.
0
'
__version__
=
'2.6.
1
'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment