[Bug 526126] Review Request: python3 - Python 3.x (backwards incompatible version)

bugzilla at redhat.com bugzilla at redhat.com
Fri Oct 30 03:23:45 UTC 2009


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=526126





--- Comment #38 from Dave Malcolm <dmalcolm at redhat.com>  2009-10-29 23:23:43 EDT ---
(In reply to comment #37)
> The current specfile puts %{pylibdir}/config/* into the devel subpackage. 
> However, distutils needs to load %{pylibdir}/config/Makefile (see the
> get_makefile_filename() function in distutils/sysconfig.py.  Since distutils is
> and should be in the main python3 package, then %{pylibdir}/config/Makefile
> also needs to be in the main python3 package instead of the devel subpackage. 
> Based on _init_posix() in distutils/sysconfig.py, it looks like this is also
> true for /usr/include/python2.6/pyconfig.h.  The only alternative would be to
> put distutils into the python3-devel subpackage, but that doesn't seem right at
> all.  
(For reference, Andrew also filed a report about this for the main python
package as bug 531901)

Thanks; I've fixed this in the latest version of the file:
Updated specfile: http://dmalcolm.fedorapeople.org/python3.spec
Updated SRPM: http://dmalcolm.fedorapeople.org/python3-3.1.1-7.fc11.src.rpm
Diff between 3.1.1-6 and 3.1.1-7:
http://dmalcolm.fedorapeople.org/python3-from-3.1.1-6-to-3.1.1-7.diff

This adds an additional rpmlint warning:

python3.i686: W: devel-file-in-non-devel-package
/usr/include/python3.1/pyconfig-32.h

but clearly this is deliberate, to address the issue in comment #37/bug 531901

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the package-review mailing list