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

Already on GitHub? Sign in to your account

Package for Ubuntu 16.04 Xenial #84

Closed
zokier opened this Issue Apr 8, 2016 · 4 comments

Comments

Projects
None yet
2 participants
Contributor

zokier commented Apr 8, 2016

There are Bintray packages for older Ubuntu versions, but not for the upcoming new 16.04. Because Xenial includes only Python 3 in default install, now would be a good time to make the packages fully Python 3 based/compatible to reduce dependencies, especially as per my understanding PCP itself is already Python 3 compatible.

The final release of 16.04 is scheduled to happen April 21st.

Contributor

zokier commented Apr 9, 2016

I made the Ubuntu package Python3 based, here is the diff: master...zokier:xenial . Note that I haven't tested the packages very thoroughly, but it seems to work fine for me.

I noticed that the package is built with --without-systemd. Now that both Debian and Ubuntu are systemd based, it probably would be a good idea to change that? I'm not sure what is needed to systemdify the package otherwise.

Contributor

natoscott commented Apr 11, 2016

@zokier thanks for the info & patch!

The patch takes the approach of removing the python2 support - could you change it to support both python2 and python3 side-by-side? (IOW, build depend on both, and generate both a python-pcp and a python3-pcp deb package)

I'll attempt to get a 16.04 bintray build in place for the next PCP release (http://pcp.io/roadmap - timing looks good from the dates you gave).

Contributor

natoscott commented Apr 11, 2016

@zokier oh, regarding systemd:

I noticed that the package is built with --without-systemd.

This is fairly well tested on Fedora and RHEL7 now. For Debian builds, it's a matter of enabling that build option, updating the debian packaging (like you did for python3) and testing the resulting debs.

cheers.

Contributor

natoscott commented Apr 15, 2016

(Merged modified support for py2 & py3 side-by-side.)

@natoscott natoscott closed this Apr 15, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment