Project

General

Profile

Actions

Bug #7322

closed

[Deployment] python-virtualenv backport is missing its dependencies

Added by Brett Smith over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Deployment
Target version:
Story points:
0.5

Description

The current arvados/jobs image can't run virtualenv:

crunch@5bcd6e461833:/$ virtualenv --system-site-packages --python=python2.7 /tmp/venv
Traceback (most recent call last):
  File "/usr/local/bin/virtualenv", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources

The python-virtualenv package in Debian declares dependencies on other packages like python-pkg-resources. Our backport is missing those dependencies.

Fix this one way or another. I'm surprised fpm isn't picking them up; it might be worth spending a little time to investigate why that is. But if it's not clear, or if it's a huge pain to fix, adding /backports/python-virtualenv/fpm-info.sh to our source would be acceptable.

We only backport the virtualenv package for debian7, debian8 and ubuntu1204. Looks like this backport was introduced in the very first checkin of the run-build-packages.sh script. Do we even need this backport?

Actions

Also available in: Atom PDF