Path: csiph.com!goblin2!goblin1!goblin.stu.neva.ru!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'configure': 0.04; '(python': 0.05; 'python3': 0.05; '21,': 0.07; 'dev': 0.07; 'locale': 0.07; '__init__': 0.09; 'failed:': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'release,': 0.09; 'python': 0.10; 'jan': 0.11; 'result.': 0.15; "'test',": 0.16; './python': 0.16; '23,': 0.16; 'disabled.': 0.16; 'executable.': 0.16; 'petr': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'skip:" 70': 0.16; 'skipped': 0.16; 'subject:gui': 0.16; 'subject:run': 0.16; 'unresolved': 0.16; 'version).': 0.16; 'wrote:': 0.16; 'obviously': 0.16; 'integer': 0.18; 'skip': 0.18; 'tests': 0.18; '2015': 0.20; 'aug': 0.20; 'ok.': 0.22; 'see:': 0.22; 'pass': 0.22; 'am,': 0.23; '(or': 0.23; '(most': 0.24; 'header:In-Reply- To:1': 0.24; 'url:bugs': 0.24; 'header:User-Agent:1': 0.26; 'developers': 0.26; 'header:X-Complaints-To:1': 0.26; 'linux': 0.26; 'fri,': 0.27; 'issue,': 0.27; 'concern': 0.29; 'fedora': 0.29; 'subject:users': 0.29; 'environment': 0.29; 'system,': 0.30; 'that.': 0.30; 'version,': 0.30; 'guess': 0.31; 'skip:s 30': 0.31; 'core': 0.32; 'skip:_ 10': 0.32; 'possibly': 0.32; 'run': 0.33; 'url:python': 0.33; 'idle': 0.33; 'traceback': 0.33; 'ubuntu': 0.33; 'version:': 0.33; 'file': 0.34; 'skip:d 20': 0.34; 'could': 0.35; 'skip:" 50': 0.35; 'subject:please': 0.35; 'expected': 0.35; 'but': 0.36; 'there': 0.36; 'url:org': 0.36; '(and': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'version': 0.38; 'skip:s 40': 0.38; 'means': 0.39; 'test': 0.39; 'does': 0.39; 'expressed': 0.39; 'to:addr:python.org': 0.40; 'where': 0.40; 'some': 0.40; 'ago.': 0.61; 'latest': 0.64; 'here': 0.66; 'repeat': 0.67; '3.4': 0.84; '3.6': 0.84; '71,': 0.84; 'reliability': 0.84; 'received:fios.verizon.net': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: Linux users: please run gui tests Date: Thu, 27 Aug 2015 14:32:12 -0400 References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-98-114-97-173.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 79 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1440700403 news.xs4all.nl 23859 [2001:888:2000:d::a6]:57245 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:95705 On 8/27/2015 4:56 AM, Petr Viktorin wrote: > On Fri, Aug 7, 2015 at 4:07 AM, Terry Reedy wrote: >> Python has an extensive test suite run after each 'batch' of commits on a >> variety of buildbots. However, the Linux buildbots all (AFAIK) run >> 'headless', with gui's disabled. Hence the following >> test_tk test_ttk_guionly test_idle >> (and on 3.5, test_tix, but not important) >> are skipped either in whole or in part. >> >> We are planning on adding the use of tkinter.ttk to Idle after the 3.5.0 >> release, but a couple of other core developers have expressed concern about >> the reliability of tkinter.ttk on Linux. >> >> There is also an unresolved issue where test_ttk hung on Ubuntu Unity 3 >> years ago. https://bugs.python.org/issue14799 >> >> I would appreciate it if some people could run the linux version of >> py -3.4 -m test -ugui test_tk test_ttk_guionly test_idle >> (or 3.5). I guess this means 'python3 for the executable. >> >> and report here python version, linux system, and result. >> Alteration of environment and locale is a known issue, skip that. > > On Fedora 21, the tests pass (Python 3.4.1 and latest dev version). > > On Fedora 23, I see: > > $ python3 -V > Python 3.4.3 > $ python3 -m test -ugui test_tk test_ttk_guionly test_idle > [1/3] test_tk > [2/3] test_ttk_guionly > [3/3] test_idle > All 3 tests OK. > > $ ./python -V > Python 3.6.0a0 > $ ./python -m test -ugui test_tk test_ttk_guionly test_idle > [1/3] test_tk > [2/3] test_ttk_guionly > [3/3] test_idle > test test_idle failed -- Traceback (most recent call last): > File "/home/pviktori/dev/cpython/Lib/idlelib/idle_test/test_configdialog.py", > line 27, in test_dialog > d=ConfigDialog(self.root, 'Test', _utest=True) > File "/home/pviktori/dev/cpython/Lib/idlelib/configDialog.py", line > 71, in __init__ > self.LoadConfigs() > File "/home/pviktori/dev/cpython/Lib/idlelib/configDialog.py", line > 1078, in LoadConfigs > self.LoadFontCfg() > File "/home/pviktori/dev/cpython/Lib/idlelib/configDialog.py", line > 980, in LoadFontCfg > self.SetFontSample() > File "/home/pviktori/dev/cpython/Lib/idlelib/configDialog.py", line > 858, in SetFontSample > self.labelFontSample.config(font=newFont) > File "/home/pviktori/dev/cpython/Lib/tkinter/__init__.py", line > 1330, in configure > return self._configure('configure', cnf, kw) > File "/home/pviktori/dev/cpython/Lib/tkinter/__init__.py", line > 1321, in _configure > self.tk.call(_flatten((self._w, cmd)) + self._options(cnf)) > _tkinter.TclError: expected integer but got "" > > 2 tests OK. > 1 test failed: > test_idle > > Tk version: 8.6.4 Very puzzling. The only obviously even possibly relevant change from 3.4 to 3.6 is that the Tk version for 3.4.3 is 8.6.1. configDialog is identical in 3.4 and 3.6. Is this a transient failure or does it repeat when you repeat the test? Is Fedora 23 'stable' or 'in development'? -- Terry Jan Reedy