Bug 665953
| Summary: | update to python-3.2b (or newer) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Rex Dieter <rdieter> |
| Component: | python3 | Assignee: | Dave Malcolm <dmalcolm> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | amcnabb, dmalcolm, tomspur |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-01-05 21:36:38 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 666429 | ||
| Bug Blocks: | 665952 | ||
|
Description
Rex Dieter
2010-12-28 04:30:42 UTC
Sorry for not getting this into rawhide earlier; am working on it. I have a version that builds on my stable machine; am testing it now on my rawhide box. Note that due to PEP 3149 http://www.python.org/dev/peps/pep-3149/ this changes the libpython SONAME (and other details about how libraries are imported), so this will require another full rebuild of all src.rpms with a python3 component. Assuming my testing goes OK, I'll try to do as many of these as I can. 3.2b2 built into rawhide as python3-3.2-0.6.b2.fc15 http://koji.fedoraproject.org/koji/taskinfo?taskID=2693334 OK, thanks! Query: PyQt4 is now failing to link using a hard-coded -lpython3.2 I assume there's a way to perform some query similar to get_python_lib that can return the name of the python shlib? (In reply to comment #4) ... > I assume there's a way to perform some query similar to get_python_lib that can > return the name of the python shlib? Summarizing our IRC chat earlier: From shell, this is easiest: python3-config --libs Looking at the implementation of that, if you need to do it directly from python, try something like: from distutils import sysconfig import sys def shlib(): return ('-lpython' + sysconfig.get_config_var('VERSION') + (sys.abiflags if hasattr(sys, 'abiflags') else '')) <dmalcolm> on python 3.2 rawhide: <dmalcolm> -lpython3.2mu <dmalcolm> on python 2.7 rawhide: <dmalcolm> -lpython2.7 <dmalcolm> works on python 2.6 as well |