Project

General

Profile

Actions

Bug #15080

closed

Installing arvados-cwl-runner==1.3.1 from PyPi is broken

Added by Peter Amstutz over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Start date:
04/10/2019
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Story points:
-
Release relationship:
Auto

Description

arvados-cwl-runner==1.3.1 depends on ciso8601 < 2.0.0 but has an open-ended dependency on arvados-python-client, so by default pip installs the latest arvados-python-client which depends on ciso8601 >= 2.0.0, resulting in a broken install due to the package version conflict.

Solutions:

  • Make a point release to PyPi of arvados-cwl-runner==1.3.1.1 which has an added version pin to arvados-python-client==1.3.1
  • Stop uploading dev versions to PyPi
  • Future stable releases have corresponding dependencies pinned

Subtasks 1 (0 open1 closed)

Task #15095: Review 15080-acr131-deps-fixResolvedEric Biagiotti04/10/2019

Actions

Related issues 1 (0 open1 closed)

Related to Arvados - Bug #15209: Arvados Python packages have corresponding dependencies pinnedResolvedLucas Di Pentima05/17/2019

Actions
Actions #1

Updated by Peter Amstutz over 5 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Peter Amstutz over 5 years ago

  • Description updated (diff)
  • Status changed from In Progress to New
  • Subject changed from Installing arvados-cwl-runner from PyPi is broken to Installing arvados-cwl-runner==1.3.1 from PyPi is broken
Actions #3

Updated by Peter Amstutz over 5 years ago

  • Target version changed from 2019-04-10 Sprint to 2019-04-24 Sprint
Actions #4

Updated by Tom Morris over 5 years ago

  • Assigned To set to Lucas Di Pentima
Actions #6

Updated by Lucas Di Pentima over 5 years ago

  • Status changed from New to In Progress
Actions #7

Updated by Lucas Di Pentima over 5 years ago

Updates at e823102cc - branch 15080-acr131-deps-fix

Branched off 1.3.1 & updated the python client dependency to arvados-python-client==1.3.1. This branch should be the hotfix for a-c-r 1.3.1.1

Actions #8

Updated by Lucas Di Pentima over 5 years ago

I'm having issues with using corresponding versions on dependencies. For example: making arvados-cwl-runner 1.3.1.20190404204419 ask for arvados-python-client 1.3.1.20190404204419 because when trying to build the package using virtualenv, pip tries to download the dependency that it isn't uploaded yet on PyPi.

I suppose it may be possible to ask pip to pre-install the dependency (arvados-python-client) from a local source, but I'm not sure yet if this means having to fiddle with docker volumes, to grant the docker container access to the .tar.gz file

Actions #9

Updated by Lucas Di Pentima over 5 years ago

Regarding not uploading dev versions to PyPi, isn't that detrimental to our dev workflow?

Actions #10

Updated by Tom Morris over 5 years ago

  • Release set to 23
Actions #11

Updated by Lucas Di Pentima over 5 years ago

  • Target version changed from 2019-04-24 Sprint to 2019-05-08 Sprint
Actions #12

Updated by Lucas Di Pentima over 5 years ago

  • Target version changed from 2019-05-08 Sprint to 2019-05-22 Sprint
Actions #13

Updated by Lucas Di Pentima over 5 years ago

  • Status changed from In Progress to Resolved
  • Target version changed from 2019-05-22 Sprint to 2019-05-08 Sprint

Resolving this ticket -- The last bulletpoint will be done on another.

Actions #14

Updated by Lucas Di Pentima over 5 years ago

  • Related to Bug #15209: Arvados Python packages have corresponding dependencies pinned added
Actions

Also available in: Atom PDF