Bug 1043397 - RPM packages built without .pyc/.pyo files
Summary: RPM packages built without .pyc/.pyo files
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: Build Subsystem
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.3.0
Assignee: Yedidyah Bar David
QA Contact: Jiri Belka
URL:
Whiteboard: integration
Depends On:
Blocks: 3.3rc1
TreeView+ depends on / blocked
 
Reported: 2013-12-16 08:32 UTC by Yedidyah Bar David
Modified: 2014-01-21 22:24 UTC (History)
9 users (show)

Fixed In Version: is28
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-21 22:17:41 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 22342 0 None None None Never
oVirt gerrit 22420 0 None None None Never

Description Yedidyah Bar David 2013-12-16 08:32:28 UTC
Description of problem:

See summary. This causes the following problem:

- packages installed
- engine-setup ran - this causes python to create .pyc/.pyo files
- engine-cleanup
- yum remove
This does not remove the pyc/pyo files as they were not part of the package
- yum install some other version, where some of the files/directories from the old version are not included in the new one
This will leave the old pyc/pyo files behind, and so they might get used.

Solved upstream.

Comment 1 Yedidyah Bar David 2013-12-16 08:34:54 UTC
Note: The reason we did not notice it very much so far is that most of our build machines have the package 'redhat-rpm-config' installed which has hooks for rpmbuild that cause it to build the pyc/pyo files anyway.

Comment 2 Sandro Bonazzola 2013-12-16 16:27:10 UTC
patch merged on upstream master and 3.3 branches

Comment 3 Jiri Belka 2014-01-08 16:59:58 UTC
ok, is30.

Comment 4 Itamar Heim 2014-01-21 22:17:41 UTC
Closing - RHEV 3.3 Released

Comment 5 Itamar Heim 2014-01-21 22:24:13 UTC
Closing - RHEV 3.3 Released


Note You need to log in before you can comment on or make changes to this bug.