1.1-1 not backported to bionic (18.04)

Asked by Fernando Valera

Hello,

I have run into an issue where I am building a debian using dh-virtualenv on Ubuntu 18.04. If I try to use a version of pip later than 9.0.1, the executable python files created by this debian have defects. I want to be able to use the latest version of pip to install the packages for my debian.

This Github issue goes into more detail on the exact problem: https://github.com/spotify/dh-virtualenv/issues/225

The latest version of dh-virtualenv (1.1-1) reportedly resolves this issue, however it is not available for Ubuntu 18.04.

Would it be possible to backport 1.1-1 to Ubuntu 18.04?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu dh-virtualenv Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug to inform the devs

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

For a quick workaround: there is at least one PPA with an updated version, https://launchpad.net/~kalon33/+archive/ubuntu/gamesgiroll

Remark: Why can't you use the version of pip (python-pip) that comes with Ubuntu 18.04?
You problem is caused by using a version of pip that is not supported in Ubuntu 18.04!

Revision history for this message
Fernando Valera (fvalera) said :
#3

actionparsnip,

I will do so.

~

Manfred Hampl,

When dh-virtualenv creates a python venv, it will install the latest version of pip in that venv. I don't want to have to specify the flag "--preinstall pip==9.0.1" to use dh-virtualenv.

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

Re: "When dh-virtualenv creates a python venv, it will install the latest version of pip in that venv..."

The "latest version of pip" in Ubuntu 18.04 is version 9.0.1-2.3~ubuntu1.18.04.1 (remark: package names are python-pip and python3-pip in Ubuntu)
I do not know how and from which source Ubuntu 18.04 can install a higher version.
There seems to be something in your configuration that caused using a foreign source.

Can you help with this problem?

Provide an answer of your own, or ask Fernando Valera for more information if necessary.

To post a message you must log in.