Description of problem: Spec file needs to be updated to current python2 (vs. python3) guidelines. While doing package review of new python-glusterfs-api we were reminded that we should update the glusterfs.spec(.in) accordingly. Version-Release number of selected component (if applicable): all How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
REVIEW: http://review.gluster.org/16428 (packaging: python2 cleanup) posted (#3) for review on master by Kaleb KEITHLEY (kkeithle)
REVIEW: http://review.gluster.org/16428 (packaging: python2 cleanup) posted (#4) for review on master by Kaleb KEITHLEY (kkeithle)
REVIEW: https://review.gluster.org/16486 (packaging: python/python(/python3) cleanup, again) posted (#1) for review on master by Kaleb KEITHLEY (kkeithle)
REVIEW: https://review.gluster.org/16486 (packaging: python/python2(/python3) cleanup, again) posted (#2) for review on master by Kaleb KEITHLEY (kkeithle)
COMMIT: https://review.gluster.org/16486 committed in master by Niels de Vos (ndevos) ------ commit 12f4db5742b334e2364afeb69a64eeeac4e6c147 Author: Kaleb S. KEITHLEY <kkeithle> Date: Tue Jan 31 04:03:51 2017 -0500 packaging: python/python2(/python3) cleanup, again missed a couple things in the previous patch Change-Id: I0ebd5c431abd9af5e1b680ad52318219edb4bfa7 BUG: 1414902 Signed-off-by: Kaleb S. KEITHLEY <kkeithle> Reviewed-on: https://review.gluster.org/16486 Smoke: Gluster Build System <jenkins.org> NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.org> Reviewed-by: Niels de Vos <ndevos>
REVIEW: https://review.gluster.org/16556 (packaging: python/python2(/python3) cleanup, again) posted (#1) for review on master by Kaleb KEITHLEY (kkeithle)
COMMIT: https://review.gluster.org/16556 committed in master by Shyamsundar Ranganathan (srangana) ------ commit 3cbf73225111b2fd04414f1fa0aea33ffedf10b2 Author: Kaleb S. KEITHLEY <kkeithle> Date: Tue Feb 7 09:17:47 2017 -0500 packaging: python/python2(/python3) cleanup, again mistake missed in the previous patches see https://review.gluster.org/#/c/16486/ and https://review.gluster.org/#/c/16428/ BUG: 1414902 Change-Id: Ie0839fa00794986f7f6a742dff70acd242e68735 Signed-off-by: Kaleb S. KEITHLEY <kkeithle> Reviewed-on: https://review.gluster.org/16556 Smoke: Gluster Build System <jenkins.org> NetBSD-regression: NetBSD Build System <jenkins.org> Reviewed-by: Anoop C S <anoopcs> CentOS-regression: Gluster Build System <jenkins.org> Reviewed-by: Shyamsundar Ranganathan <srangana>
Reassigning this bug as there is still an outstanding python dependency issue. (from rtalur) I saw this error while updating from 3.8 packages to 3.10 on centos7 and update fails. Please let us know if this is going to be a problem. Transaction check error: file /usr/lib/python2.7/site-packages/gluster/__init__.pyc from install of python2-gluster-3.11dev-0.58.gitc57808c.el7.centos.x86_64 conflicts with file from package python-gluster-3.8.8-1.el7.noarch file /usr/lib/python2.7/site-packages/gluster/__init__.pyo from install of python2-gluster-3.11dev-0.58.gitc57808c.el7.centos.x86_64 conflicts with file from package python-gluster-3.8.8-1.el7.noarch Some further mail discussions: > From Kaleb: > I suspect it's the python2-glusterfs (3.10) versus python-gluster (3.8). We > probably need a Obsoletes: python-gluster in the 3.10 python2-gluster part > of the .spec, or something like that. > > Perhaps Neils knows for certain? From Niels: Yes, it would need a "Obsoletes: python-gluster < $version" and we need to make sure that it also provides python-gluster $version. The 2nd may be done by the python scriptlets automagically. But in case it does not do it, we need to add it to prevent breakage of other packages that depend on this.
REVIEW: https://review.gluster.org/16649 (rpm: replace renamed python-gluster with python2-gluster) posted (#1) for review on master by Niels de Vos (ndevos)
COMMIT: https://review.gluster.org/16649 committed in master by Niels de Vos (ndevos) ------ commit 431011098efc5702a2f49fad1975fb956cdc9e00 Author: Niels de Vos <ndevos> Date: Thu Feb 16 20:32:36 2017 +0100 rpm: replace renamed python-gluster with python2-gluster When upgrading from < 3.10, the old python-gluster package causes conflicts with the newly renamed python2-gluster package. This can be solved by adding the appropriate Provides and Obsoletes to the python2-gluster RPM. Details on renaming packages are listed on the Fedora Packaging Guidelines. Change-Id: Ib143bf69022c45abe2d5e8d31d3375a6b85f75da URL: https://fedoraproject.org/wiki/Packaging:Guidelines#Renaming.2FReplacing_Existing_Packages BUG: 1414902 Signed-off-by: Niels de Vos <ndevos> Reviewed-on: https://review.gluster.org/16649 Smoke: Gluster Build System <jenkins.org> NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.org> Reviewed-by: Prashanth Pai <ppai> Reviewed-by: Anoop C S <anoopcs>
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.11.0, please open a new bug report. glusterfs-3.11.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://lists.gluster.org/pipermail/announce/2017-May/000073.html [2] https://www.gluster.org/pipermail/gluster-users/