Bug #7977

get rid of dependencies python-pyasn1 python-pyasn1-modules

Added by Nico César over 3 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
Start date:
12/08/2015
Due date:
% Done:

0%

Estimated time:
Story points:
-

Description

  • take them out from puppet modules/arvados-pin/manifests/init.pp
  • stop building the packages

History

#1 Updated by Brett Smith over 3 years ago

These are dependencies of our Python Google API client library. From a fresh pip install arvados-python-client:

Downloading/unpacking pyasn1>=0.1.7 (from oauth2client>=1.4.6->google-api-python-client->arvados-python-client)
Downloading/unpacking pyasn1-modules>=0.0.5 (from oauth2client>=1.4.6->google-api-python-client->arvados-python-client)

Getting rid of the dependencies would mean major code changes in the Python SDK. Why do you want them completely gone?

#2 Updated by Tom Morris over 2 years ago

  • Target version set to Arvados Future Sprints

Nico - Did you see Brett's question? Do you have an answer?

#3 Updated by Nico César over 2 years ago

Tom Morris wrote:

Nico - Did you see Brett's question? Do you have an answer?

I don't have an answer but we should review google-api-python-client in the current distros. Since I've removed them in 10713-centos7-pyasn-dependency-problem (not merged yet) and seems that stuff doesn't break centos7.3 is making this a nightmare: replaced python-pyasn1-modules with python2-pyasn1-modules changing to an arbitrary version number 0.0.8 (which comes from pip) -> 0.1.9 (which seems to come from python2-pyasn1 version)

as for centos, the solution seems to stop doing our packages and start using the ones in the distro seems to work. but testing and verification is crucial here

Also available in: Atom PDF