Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 454342 - dev-lang/python[tk]:2.6 check compatibility with tk-8.6
Summary: dev-lang/python[tk]:2.6 check compatibility with tk-8.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL: http://bugs.python.org/issue6244
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-27 22:01 UTC by Thomas Sachau
Modified: 2013-06-30 16:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Sachau gentoo-dev 2013-01-27 22:01:43 UTC
python-2.6.8-r1 builds and works fine with version 8.5 of both tcl+tk.
When rebuilding with portage @preserved-rebuild feature, the 8.5 libs of both tcl and tk are preserved and used again when re-compiling python-2.6.8-r1.
When you do a clean install with python-2.6.8-r1 with tcl and tk >=8.6, then it compiles fine, but is missing the _tkinter module.

So as a workaround, until a real fix is around, i suggest to restrict the version dependency for both tcl and tk to <8.6
Comment 1 Rafał Mużyło 2013-01-27 23:29:36 UTC
Well, this might have to do something with 8.6 not being listed in setup.py (detect_tkinter). It's listed in 2.7 - not sure, though, if other fixes necessary.
Comment 2 Mike Gilbert gentoo-dev 2013-06-30 03:36:26 UTC
+  30 Jun 2013; Mike Gilbert <floppym@gentoo.org> -python-2.5.4-r4.ebuild,
+  -python-2.6.8.ebuild, python-2.5.4-r5.ebuild, python-2.6.8-r1.ebuild:
+  Place upper bound on dev-lang/tk dep, bug 454342. Also stabilize on m68k since
+  nobody is responding on bug 458318.
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2013-06-30 07:22:12 UTC
http://mail.python.org/pipermail/new-bugs-announce/2009-June/005125.html

Did you tried to add 8.6 there?
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2013-06-30 07:29:26 UTC
Please backport that fix instead of this version restrction.

http://bugs.python.org/issue6244
Comment 5 Mike Gilbert gentoo-dev 2013-06-30 16:09:22 UTC
+*python-2.6.8-r2 (30 Jun 2013)
+*python-2.5.4-r6 (30 Jun 2013)
+
+  30 Jun 2013; Mike Gilbert <floppym@gentoo.org> +files/python-2.5-tcl86.patch,
+  +python-2.5.4-r6.ebuild, +python-2.6.8-r2.ebuild:
+  Apply patch to allow old python versions to use tk-8.6, bug 454342. Also fix
+  the python shebang in idle2.5 and pydoc2.5, bugs 275241 and 383009.