Bug 572820 - numpy.distutils.misc_util is missing from numpy installation
Summary: numpy.distutils.misc_util is missing from numpy installation
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: numpy
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-12 05:20 UTC by Brad Bell
Modified: 2010-05-07 03:53 UTC (History)
4 users (show)

Fixed In Version: numpy-1.3.0-8.fc12
Clone Of:
Environment:
Last Closed: 2010-05-06 07:03:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Brad Bell 2010-03-12 05:20:50 UTC
Description of problem:
-----------------------
numpy.distutils.misc_util is missing from numpy installation; see
    http://www.scipy.org/Documentation/numpy_distutils
for a description of numpy.distutils.misc_util.

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
Using Fedora 12 on 2010-03-11.

Package:
--------
numpy.i686 0:1.3.0-6.fc12

How reproducible:
-----------------
Very

Steps to Reproduce:
-------------------
1. sudo yum remove numpy
2. sudo yum install numpy
3. python
4. from numpy.distutils.misc_util import get_numpy_include_dirs
  
Actual results on Fedora 12:
----------------------------
Python 2.6.2 (r262:71600, Aug 21 2009, 12:22:21) 
[GCC 4.4.1 20090818 (Red Hat 4.4.1-6)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from numpy.distutils.misc_util import get_numpy_include_dirs
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named distutils.misc_util


Actual results on Cygwin (as expected):
---------------------------------------
$ python
Python 2.5.2 (r252:60911, Dec  2 2008, 09:26:14)
[GCC 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from numpy.distutils.misc_util import get_numpy_include_dirs
>>>


Addition Information on Fedora:
-------------------------------
find /usr/lib -name 'misc_util*'
(nothing is found)

Addition Information on Cygwin:
-------------------------------
find /usr/lib -name 'misc_util*'
/usr/lib/python2.5/site-packages/numpy/distutils/misc_util.py
/usr/lib/python2.5/site-packages/numpy/distutils/misc_util.pyc
/usr/lib/python2.5/site-packages/numpy/distutils/misc_util.pyo

Comment 1 Matthew Barnes 2010-03-12 12:41:19 UTC
Reassigning to numpy.

Comment 2 Gwyn Ciesla 2010-03-16 13:51:49 UTC
distutils is included in the -f2py subpackage.  Is distutils used by more than just f2py?

Comment 3 Brad Bell 2010-03-16 14:28:31 UTC
Because it appears to me that distutils is part of the numpy specifications, I use it as part of a package that depends on numpy; see
     http://www.seanet.com/~bradbell/pycppad/install.xml

To be more specific, see the line
     from numpy.distutils.misc_util import get_numpy_include_dirs

near the beginning of the file
     http://github.com/b45ch1/pycppad/blob/master/setup.template

Comment 4 Brad Bell 2010-03-19 13:12:32 UTC
There was a problem with the example use of how numpy.distutils may be useful for installing things under $HOME (an upstream tarball used by pycppad was missing).

This has been fixed and now
     http://www.seanet.com/~bradbell/pycppad/install.xml
is a better example of how numpy.distutils may be useful under Fedora.

Comment 5 Gwyn Ciesla 2010-04-26 20:19:19 UTC
It looks like distutils is distinct from f2py, so I'll get out updates correcting this shortly.

Comment 6 Fedora Update System 2010-04-26 21:14:53 UTC
numpy-1.3.0-8.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/numpy-1.3.0-8.fc12

Comment 7 Fedora Update System 2010-04-26 21:14:58 UTC
numpy-1.3.0-8.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/numpy-1.3.0-8.fc13

Comment 8 Fedora Update System 2010-04-27 05:48:23 UTC
numpy-1.3.0-8.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update numpy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/numpy-1.3.0-8.fc13

Comment 9 Fedora Update System 2010-04-28 01:19:33 UTC
numpy-1.3.0-8.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update numpy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/numpy-1.3.0-8.fc12

Comment 10 Fedora Update System 2010-05-06 07:03:25 UTC
numpy-1.3.0-8.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2010-05-07 03:53:27 UTC
numpy-1.3.0-8.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


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