Bug #11237

python-arvados-python-client depends on old versions of packages

Added by Javier Bértoli about 1 month ago. Updated 14 days ago.

Status:ResolvedStart date:03/09/2017
Priority:NormalDue date:
Assignee:Peter Amstutz% Done:

0%

Category:Workbench
Target version:2017-04-12 sprint
Story points-
Velocity based estimate-

Related issues

Related to Arvados - Bug #8104: [SDK] PyCurl 7.21.5 breaks keepclient Resolved 04/12/2017

Associated revisions

Revision 86a6e4fe
Added by Peter Amstutz 19 days ago

Merge branch '11237-google-api-python-client' refs #11237

History

#1 Updated by Javier Bértoli about 1 month ago

  • Category set to Workbench

When updating an Ubuntu 16.04 host, python-arvados-python-client complains that the available versions are not suitable for the upgrade, and need to force dependencies:

The following packages have unmet dependencies:
 python-arvados-python-client : Depends: python-oauth2client (< 2) but 2.0.1-1 is to be installed
                                Depends: python-pycurl (< 7.21.5) but 7.43.0-1ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.
Error: /Stage[main]/Arvados-workbench-server/Package[python-arvados-python-client]/ensure: change from purged to latest failed: Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install python-arvados-python-client' returned 100: Reading package lists...
Building dependency tree...
...
...
The following packages have unmet dependencies:
 python-arvados-python-client : Depends: python-oauth2client (< 2) but 2.0.1-1 is to be installed
                                Depends: python-pycurl (< 7.21.5) but 7.43.0-1ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.

Current versions available in Ubuntu:

python-pycurl:
  Version table:
     7.43.0-1ubuntu1 500
        500 http://mirrors.us.kernel.org/ubuntu xenial/main amd64 Packages

python-oauth2client:
  Version table:
     2.0.1-1 500
        500 http://mirrors.us.kernel.org/ubuntu xenial/universe amd64 Packages

#2 Updated by Tom Clegg about 1 month ago

This pin comes from ec3ff9b4 "Pin google-api-python-client and oauth2client versions to deal with incompatability between google api client and oauth2 client 2.0. no issue #"

#3 Updated by Peter Amstutz 19 days ago

Update to latest google-api-python-client, and relaxes version pin on oauth2client:

11237-google-api-python-client

Tests running:

https://ci.curoverse.com/job/developer-run-tests/222/

#4 Updated by Peter Amstutz 19 days ago

  • Status changed from New to In Progress
  • Assignee set to Peter Amstutz
  • Target version set to 2017-04-12 sprint

#5 Updated by Tom Clegg 19 days ago

(cf. irc) tests also pass with oauth2client 1.5.2 ... so 4405570 LGTM

#6 Updated by Peter Amstutz 14 days ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF