Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 20.04 LTS package #298

Closed
grossmj opened this issue Apr 27, 2020 · 20 comments
Closed

Ubuntu 20.04 LTS package #298

grossmj opened this issue Apr 27, 2020 · 20 comments

Comments

@grossmj
Copy link

grossmj commented Apr 27, 2020

It seems that dh-virtualenv is not available on Ubuntu 20.04 LTS (focal)

https://packages.ubuntu.com/search?suite=default&section=all&arch=any&keywords=dh-virtualenv&searchon=names

Do you know why and if there is any alternative?

Thank you.

@icedevml
Copy link

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.

@jhermann
Copy link
Contributor

You can just use sid's version, since it is not platform-dependent.

@zapotah
Copy link

zapotah commented Apr 29, 2020

python2 is EOL so will dh-virtualenv be ported to python3 or is there an alternative?

@grossmj
Copy link
Author

grossmj commented Jun 5, 2020

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 :)

@nailor
Copy link
Collaborator

nailor commented Jun 6, 2020 via email

@conorsch
Copy link

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

@graingert
Copy link
Contributor

fyi dh-virtualenv is in groovy now, https://packages.ubuntu.com/groovy/dh-virtualenv which ubuntu users may prefer to use

@lord2y
Copy link

lord2y commented Sep 10, 2020

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).

@graingert
Copy link
Contributor

@nailor can you make a release to https://launchpad.net/~spotify-jyrki/+archive/ubuntu/dh-virtualenv please?

@arjan-s
Copy link

arjan-s commented Oct 2, 2020

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.

@fizbin
Copy link

fizbin commented Oct 26, 2020

I see it at https://launchpad.net/ubuntu/focal/+package/dh-virtualenv - it is indeed in focal right now, today.

@arjan-s
Copy link

arjan-s commented Oct 29, 2020

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

@graingert
Copy link
Contributor

@nailor can you push out a new version to the PPA?

@auscompgeek
Copy link

@fizbin the package was deleted several months ago https://launchpad.net/ubuntu/focal/amd64/dh-virtualenv

@graingert
Copy link
Contributor

I've made a backport request https://bugs.launchpad.net/focal-backports/+bug/1902198

@nailor
Copy link
Collaborator

nailor commented Nov 2, 2020

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.

@lord2y
Copy link

lord2y commented Nov 2, 2020

@nailor I'm willing to shadow you in the process to have a bit of redundancy on this if you wanted to.

@nailor
Copy link
Collaborator

nailor commented Nov 2, 2020

The package should be available here https://launchpad.net/~jyrki-pulliainen/+archive/ubuntu/dh-virtualenv

@conorsch hope this helps!

@graingert
Copy link
Contributor

graingert commented Nov 2, 2020

@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?

@nailor
Copy link
Collaborator

nailor commented Nov 2, 2020

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests