Bug 1300459 - atomic v1.8.0 makes egg-info a file v/s a directory in v1.6
Summary: atomic v1.8.0 makes egg-info a file v/s a directory in v1.6
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: atomic
Version: 7.2
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: rc
: ---
Assignee: Brent Baude
QA Contact: atomic-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-20 22:00 UTC by Lokesh Mandvekar
Modified: 2016-03-31 23:25 UTC (History)
3 users (show)

Fixed In Version: atomic-1.8-5.git1bc3814
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-31 23:25:42 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0527 0 normal SHIPPED_LIVE atomic bug fix and enhancement update 2016-04-01 03:20:15 UTC

Description Lokesh Mandvekar 2016-01-20 22:00:35 UTC
Description of problem:

$ rpm -q atomic
atomic-1.6-6.gitca1e384.el7.x86_64

$ ls /usr/lib/python2.7/site-packages/atomic-1.6-py2.7.egg-info/
dependency_links.txt  PKG-INFO	requires.txt  SOURCES.txt  top_level.txt



on updating to 1.8.0...

$ rpm -q atomic
atomic-1.8-4.git958d939.el7.x86_64

$ cat /usr/lib/python2.7/site-packages/atomic-1.8-py2.7.egg-info 
Metadata-Version: 1.0
Name: atomic
Version: 1.8
Summary: UNKNOWN
Home-page: UNKNOWN
Author: Daniel Walsh
Author-email: dwalsh>
License: UNKNOWN
Description: UNKNOWN
Platform: UNKNOWN


Version-Release number of selected component (if applicable): atomic-1.8-4.git958d939.el7.x86_64

This causes the rpmdiff error here: https://errata.devel.redhat.com/rpmdiff/show/137813?result_id=3559740

Comment 2 Daniel Walsh 2016-01-21 15:14:54 UTC
Brent could you take a look at this?

Comment 9 Daniel Walsh 2016-01-22 16:46:55 UTC
Lets remove it and leave it in site-library for now. Allowing users to do a

import Atomic

Is not a bad thing.

Comment 10 Daniel Walsh 2016-01-22 17:30:04 UTC
Here is a patch to remove it after it is installed.

https://github.com/projectatomic/atomic/pull/291

I tried to figure out a way to simply not install it in the first place, but I did not find anything obvious. If any setup.py experts have a way to tell setup not to create the file, that would be a better solution.

Comment 12 Alex Jia 2016-01-27 05:36:01 UTC
The egg-info file has been removed from atomic-1.8-6.

[cloud-user@atomic-00 ~]$ rpm -q atomic
atomic-1.8-6.git1bc3814.el7.x86_64
[cloud-user@atomic-00 ~]$ ls /usr/lib/python2.7/site-packages/atomic-1.8-py2.7.egg-info
ls: cannot access /usr/lib/python2.7/site-packages/atomic-1.8-py2.7.egg-info: No such file or directory

Comment 13 Lokesh Mandvekar 2016-01-27 05:55:31 UTC
(In reply to Alex Jia from comment #12)
> The egg-info file has been removed from atomic-1.8-6.
> 
> [cloud-user@atomic-00 ~]$ rpm -q atomic
> atomic-1.8-6.git1bc3814.el7.x86_64
> [cloud-user@atomic-00 ~]$ ls
> /usr/lib/python2.7/site-packages/atomic-1.8-py2.7.egg-info
> ls: cannot access
> /usr/lib/python2.7/site-packages/atomic-1.8-py2.7.egg-info: No such file or
> directory

yes, that's expected behavior as per the latest commit

Comment 14 Alex Jia 2016-01-27 06:43:19 UTC
(In reply to Lokesh Mandvekar from comment #13)
> > /usr/lib/python2.7/site-packages/atomic-1.8-py2.7.egg-info: No such file or
> > directory
> 
> yes, that's expected behavior as per the latest commit

Yes, I see, is it enough for your? need I to double verify it use rpmdiff/rpmdiff-cli? it seems we only have a rpmdiff for el7sed version w/o single el7 version.

Comment 15 Alex Jia 2016-02-01 05:24:28 UTC
Per comment 12 and comment 13, move the bug to VERIFIED status.

Comment 17 errata-xmlrpc 2016-03-31 23:25:42 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-0527.html


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