Bug 632687 - Sub-package called 'python-magic' causing conflict with another python module
Summary: Sub-package called 'python-magic' causing conflict with another python module
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: file
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jan Kaluža
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-10 18:18 UTC by Diego Búrigo Zacarão
Modified: 2013-03-18 10:44 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-18 10:44:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Diego Búrigo Zacarão 2010-09-10 18:18:03 UTC
file's SPEC creates a 'python-magic' sub-package accessible via 'import magic'.

The problem is that there is another python module[1] with that name, which can be installed via 'easy_install python-magic'[2], causing a namespace conflict.

I guess file should probably rename the sub-package to something else.

[1] http://github.com/ahupp/python-magic
[2] http://pypi.python.org/pypi/python-magic

Comment 1 Jan Kaluža 2010-09-22 18:40:43 UTC
This has to be discussed with upstream. I will send email to File mailing list to find out what to do with that...

Comment 2 Bug Zapper 2010-11-03 10:15:54 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '12'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Diego Búrigo Zacarão 2010-11-05 13:51:04 UTC
Making sure it's not closed with the F12 file cycle ending

Comment 4 Jan Kaluža 2012-01-04 09:49:16 UTC
According to fresh discussion on the File mailing list it looks those two bindings will be merged together and maintained by author of python-magic from Pypi.

Just renaming the package won't help, because both projects provides module with the same name and the same Python class. This bug is more question for File upstream developers than for me as File package maintainer.

Comment 5 Jan Kaluža 2013-03-18 10:44:44 UTC
I'm not sure there's any progress here. Upstream knows about it and there were some intentions to merge those two Python bindings together. I'm not sure I as Fedora File maintainer can do anything more with that... It's up to upstream to decide or to care.

I'm closing this bug as CLOSED UPSTREAM.


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