Ubuntu 20.04 LTS package
grossmj opened this issue ยท 20 comments
It seems that dh-virtualenv is not available on Ubuntu 20.04 LTS (focal)
Do you know why and if there is any alternative?
Thank you.
After making some less or more hacky changes, it is possible to build dh-virtualenv for Ubuntu 20.04:
dh-virtualenv_1.2~dev-1_amd64_ubuntu_focal.zip
I've also added a GitHub Action so it is posible to build DEB through GitHub itself.
You can just use sid's version, since it is not platform-dependent.
python2 is EOL so will dh-virtualenv be ported to python3 or is there an alternative?
Now that a Debian package can be built with python3, thanks to #300, can we expect a new dh-virtualenv release soon? and maybe a backport to Ubuntu 20.04 LTS?
Thanks :)
Hey @nailor, thanks for your hard work on dh-virtualenv! It'd be great to have a Focal package available for installation. Until that package is posted, folks might find the following workaround helpful:
cat <<EOF > /etc/apt/sources.list.d/debian-unstable.list
Package: *
Pin: release a=focal
Pin-Priority: 700
Package: *
Pin: release a=unstable
Pin-Priority: 1
EOF
echo "deb https://deb.debian.org/debian unstable main contrib" > /etc/apt/sources.list.d/debian-unstable.list
apt-get install -y debian-archive-keyring
ln -s /usr/share/keyrings/debian-archive-keyring.gpg /etc/apt/trusted.gpg.d/
apt-get update && apt-get install -y dh-virtualenv
fyi dh-virtualenv is in groovy now, https://packages.ubuntu.com/groovy/dh-virtualenv which ubuntu users may prefer to use
fyi dh-virtualenv is in groovy now, https://packages.ubuntu.com/groovy/dh-virtualenv which ubuntu users may prefer to use
It's been in groovy for a while, nevertheless would be nice to have it available also in the last LTS (Focal).
@nailor can you make a release to https://launchpad.net/~spotify-jyrki/+archive/ubuntu/dh-virtualenv please?
My vote is on focal too, as it will be the latest LTS for a while. I'd say this issue shouldn't be closed yet, as a package for focal is the original question in this issue.
I see it at https://launchpad.net/ubuntu/focal/+package/dh-virtualenv
- it is indeed in focal right now, today.
Weird... I can't install it, and it also doesn't show here: https://packages.ubuntu.com/search?suite=focal&keywords=dh-virtualenv&searchon=names
@fizbin the package was deleted several months ago https://launchpad.net/ubuntu/focal/amd64/dh-virtualenv
I've made a backport request https://bugs.launchpad.net/focal-backports/+bug/1902198
Hi,
so unfortunately I no longer have access to the PPA mentioned, since I left Spotify about a year ago, and have no access to my Spotify email anymore (which in turn makes it impossible for me to upload to the said PPA). Happy to spin up a new one though.
@nailor I'm willing to shadow you in the process to have a bit of redundancy on this if you wanted to.
The package should be available here https://launchpad.net/~jyrki-pulliainen/+archive/ubuntu/dh-virtualenv
@conorsch hope this helps!
@nailor ah amazing thanks - I'm currently still stuck on xenial looking to upgrade to focal. Could you please make a 1.2.2 release for xenial and bionic on this ppa? so I can move my packages to the new dh-virtualenv then the rest of ubuntu?
@graingert Definitely! Xenial is up and Bionic should be any moment now ๐
Small disclaimer though: I don't guarantee it actually works on Xenial. It should I think, but I have not tested.