Project

General

Profile

Story #7424

httplib use of ssl library is deprecated and fails with python version 2.7.9 onwards

Added by Dave Vieglais over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
d1_common_python
Target version:
Start date:
2015-10-12
Due date:
% Done:

100%

Story Points:
Sprint:

Description

A change in httplib introduced in Version 2.7.9 and its use of an apparently undocumented ssl lib api call causes RESTClient to fail on https connections. This means that the entire DataONE python stack is broken on python version 2.7.9 or later.

The Python requests library ( http://docs.python-requests.org/ ) is a well regarded replacement that offers many advantages over the lower level implementation currently utilized by the DataONE RESTClient.

The goal of this story is to replace the low level use of RESTClient with requests and ensure it's use throughout the Python stack.


Subtasks

Task #7425: Replace httplib low level use in RestClient with the requests libraryNewDave Vieglais

History

#1 Updated by Dave Vieglais about 8 years ago

  • Status changed from New to In Progress
  • Target version changed from CCI-2.0.0 to d1_common_python v2.0
  • % Done changed from 0 to 30

#2 Updated by Dave Vieglais over 6 years ago

  • % Done changed from 30 to 100
  • Status changed from In Progress to Closed

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)