Your message dated Thu, 07 Dec 2023 08:37:26 +0000
with message-id <[email protected]>
and subject line Bug#1056530: fixed in spyder 5.5.0+ds-2
has caused the Debian Bug report #1056530,
regarding spyder's autopkg tests fail with Python 3.12
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1056530: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056530
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:spyder
Version: 5.4.2+ds-5
Severity: important
Tags: sid trixie
User: [email protected]
Usertags: python3.12

spyder's autopkg tests fail with Python 3.12:

[...]
3458s =================================== FAILURES =================================== 3458s _______________________ test_pdb_comprehension_namespace _______________________
3458s
3458s ipyconsole = <spyder.plugins.ipythonconsole.plugin.IPythonConsole object at 0x7faa5c1cc200>
3458s qtbot = <pytestqt.qtbot.QtBot object at 0x7faa5c3fa030>
3458s tmpdir = local('/tmp/pytest-of-ubuntu/pytest-14/test_pdb_comprehension_namespa0')
3458s
3458s     def test_pdb_comprehension_namespace(ipyconsole, qtbot, tmpdir):
3458s """Check that the debugger handles the namespace of a comprehension."""
3458s         shell = ipyconsole.get_current_shellwidget()
3458s         qtbot.waitUntil(lambda: shell._prompt_html is not None,
3458s                         timeout=SHELL_TIMEOUT)
3458s         control = ipyconsole.get_widget().get_focus_widget()
3458s
3458s         # Code to run
3458s         code = "locals = 1\nx = [locals + i for i in range(2)]"
3458s
3458s         # Write code to file on disk
3458s         file = tmpdir.join('test_breakpoint.py')
3458s         file.write(code)
3458s
3458s         # Run file
3458s         with qtbot.waitSignal(shell.executed):
3458s             shell.execute(f"debugfile(filename=r'{str(file)}')")
3458s
3458s         # steps 4 times
3458s         for i in range(4):
3458s             with qtbot.waitSignal(shell.executed):
3458s                 shell.pdb_execute("s")
3458s         assert "Error" not in control.toPlainText()
3458s
3458s         with qtbot.waitSignal(shell.executed):
3458s             shell.pdb_execute("print('test', locals + i + 10)")
3458s
3458s >       assert "Error" not in control.toPlainText()
3458s E assert 'Error' not in 'Python 3.12.0+ (main, Nov 12 2023, 13:37:07) [GCC 13.2.0]\nType "copyright", "credits" or "license" for more information.\n\nIPython 8.14.0 -- An enhanced Interactive Python.\n\nIn [1]: debugfile(filename=r\'/tmp/pytest-of-ubuntu/pytest-14/test_pdb_comprehension_namespa0/test_breakpoint.py\')\n> /tmp/pytest-of-ubuntu/pytest-14/test_pdb_comprehension_namespa0/test_breakpoint.py(1)<module>()\n----> 1 locals = 1\n 2 x = [locals + i for i in range(2)]\n\n\n/usr/lib/python3/dist-packages/pytz/__init__.py:30: SyntaxWarning: invalid escape sequence \'\\s\'\n match = re.match("^#\\s*version\\s*([0-9a-z]*)\\s*$", line)\n\nIPdb [1]: s\n> /tmp/pytest-of-ubuntu/pytest-14/test_pdb_comprehension_namespa0/test_breakpoint.py(2)<module>()\n 1 locals = 1\n----> 2 x = [locals + i for i in range(2)]\n\n\nIPdb [2]: s\n> /tmp/pytest-of-ubuntu/pytest-14/test_pdb_comprehension_namespa0/test_breakpoint.py(2)<module>()\n 1 locals = 1\n----> 2 x = [locals + i for i in range(2)]\n\n\nIPdb [3]: s\n> /tmp/pytest-of-ubuntu/pytest-14/test_pdb_comprehension_namespa0/test_breakpoint.py(2)<module>()\n 1 locals = 1\n----> 2 x = [locals + i for i in range(2)]\n\n/tmp/pytest-of-ubuntu/pytest-14/test_pdb_comprehension_namespa0/test_breakpoint.py:2: RuntimeWarning: assigning None to unbound local \'i\'\n x = [locals + i for i in range(2)]\n\nIPdb [4]: s\n--Return--\nNone\n> /tmp/pytest-of-ubuntu/pytest-14/test_pdb_comprehension_namespa0/test_breakpoint.py(2)<module>()\n 1 locals = 1\n----> 2 x = [locals + i for i in range(2)]\n\n\nIPdb [5]: print(\'test\', locals + i + 10)\n*** NameError: name \'i\' is not defined\n\nIPdb [6]: '
3458s E         'Error' is contained here:
3458s E           Python 3.12.0+ (main, Nov 12 2023, 13:37:07) [GCC 13.2.0]
3458s E Type "copyright", "credits" or "license" for more information.
3458s E
3458s E           IPython 8.14.0 -- An enhanced Interactive Python.
3458s E
3458s E In [1]: debugfile(filename=r'/tmp/pytest-of-ubuntu/pytest-14/test_pdb_comprehension_namespa0/test_breakpoint.py') 3458s E > /tmp/pytest-of-ubuntu/pytest-14/test_pdb_comprehension_namespa0/test_breakpoint.py(1)<module>()
3458s E           ----> 1 locals = 1
3458s E                 2 x = [locals + i for i in range(2)]
3458s E
3458s E
3458s E /usr/lib/python3/dist-packages/pytz/__init__.py:30: SyntaxWarning: invalid escape sequence '\s'
3458s E             match = re.match("^#\s*version\s*([0-9a-z]*)\s*$", line)
3458s E
3458s E           IPdb [1]: s
3458s E > /tmp/pytest-of-ubuntu/pytest-14/test_pdb_comprehension_namespa0/test_breakpoint.py(2)<module>()
3458s E                 1 locals = 1
3458s E           ----> 2 x = [locals + i for i in range(2)]
3458s E
3458s E
3458s E           IPdb [2]: s
3458s E > /tmp/pytest-of-ubuntu/pytest-14/test_pdb_comprehension_namespa0/test_breakpoint.py(2)<module>()
3458s E                 1 locals = 1
3458s E           ----> 2 x = [locals + i for i in range(2)]
3458s E
3458s E
3458s E           IPdb [3]: s
3458s E > /tmp/pytest-of-ubuntu/pytest-14/test_pdb_comprehension_namespa0/test_breakpoint.py(2)<module>()
3458s E                 1 locals = 1
3458s E           ----> 2 x = [locals + i for i in range(2)]
3458s E
3458s E /tmp/pytest-of-ubuntu/pytest-14/test_pdb_comprehension_namespa0/test_breakpoint.py:2: RuntimeWarning: assigning None to unbound local 'i'
3458s E             x = [locals + i for i in range(2)]
3458s E
3458s E           IPdb [4]: s
3458s E           --Return--
3458s E           None
3458s E > /tmp/pytest-of-ubuntu/pytest-14/test_pdb_comprehension_namespa0/test_breakpoint.py(2)<module>()
3458s E                 1 locals = 1
3458s E           ----> 2 x = [locals + i for i in range(2)]
3458s E
3458s E
3458s E           IPdb [5]: print('test', locals + i + 10)
3458s E           *** NameError: name 'i' is not defined
3458s E         ?         +++++
3458s E
3458s E           IPdb [6]:
3458s
3458s spyder/plugins/ipythonconsole/tests/test_ipythonconsole.py:1924: AssertionError 3458s ----------------------------- Captured Qt messages ----------------------------- 3458s QtWarningMsg: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-ubuntu' 3458s --------------------------- Captured stdout teardown ---------------------------
3458s Python 3.12.0+ (main, Nov 12 2023, 13:37:07) [GCC 13.2.0]
3458s Type "copyright", "credits" or "license" for more information.
3458s
3458s IPython 8.14.0 -- An enhanced Interactive Python.
3458s
3458s In [1]: debugfile(filename=r'/tmp/pytest-of-ubuntu/pytest-14/test_pdb_comprehension_namespa0/test_breakpoint.py') 3458s > /tmp/pytest-of-ubuntu/pytest-14/test_pdb_comprehension_namespa0/test_breakpoint.py(1)<module>()
3458s ----> 1 locals = 1
3458s       2 x = [locals + i for i in range(2)]
3458s
3458s
3458s /usr/lib/python3/dist-packages/pytz/__init__.py:30: SyntaxWarning: invalid escape sequence '\s'
3458s   match = re.match("^#\s*version\s*([0-9a-z]*)\s*$", line)
3458s
3458s IPdb [1]: s
3458s > /tmp/pytest-of-ubuntu/pytest-14/test_pdb_comprehension_namespa0/test_breakpoint.py(2)<module>()
3458s       1 locals = 1
3458s ----> 2 x = [locals + i for i in range(2)]
3458s
3458s
3458s IPdb [2]: s
3458s > /tmp/pytest-of-ubuntu/pytest-14/test_pdb_comprehension_namespa0/test_breakpoint.py(2)<module>()
3458s       1 locals = 1
3458s ----> 2 x = [locals + i for i in range(2)]
3458s
3458s
3458s IPdb [3]: s
3458s > /tmp/pytest-of-ubuntu/pytest-14/test_pdb_comprehension_namespa0/test_breakpoint.py(2)<module>()
3458s       1 locals = 1
3458s ----> 2 x = [locals + i for i in range(2)]
3458s
3458s /tmp/pytest-of-ubuntu/pytest-14/test_pdb_comprehension_namespa0/test_breakpoint.py:2: RuntimeWarning: assigning None to unbound local 'i'
3458s   x = [locals + i for i in range(2)]
3458s
3458s IPdb [4]: s
3458s --Return--
3458s None
3458s > /tmp/pytest-of-ubuntu/pytest-14/test_pdb_comprehension_namespa0/test_breakpoint.py(2)<module>()
3458s       1 locals = 1
3458s ----> 2 x = [locals + i for i in range(2)]
3458s
3458s
3458s IPdb [5]: print('test', locals + i + 10)
3458s *** NameError: name 'i' is not defined
3458s
3458s IPdb [6]:

--- End Message ---
--- Begin Message ---
Source: spyder
Source-Version: 5.5.0+ds-2
Done: Julian Gilbey <[email protected]>

We believe that the bug you reported is fixed in the latest version of
spyder, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julian Gilbey <[email protected]> (supplier of updated spyder package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 07 Dec 2023 07:27:24 +0000
Source: spyder
Architecture: source
Version: 5.5.0+ds-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Julian Gilbey <[email protected]>
Closes: 1056530
Changes:
 spyder (5.5.0+ds-2) unstable; urgency=medium
 .
   * Fix failing test for Python 3.12 (closes: #1056530)
   * Fix misquoted regex
Checksums-Sha1:
 a6f44802bb6fba7b02f4837cf99b9e9caf24cf1f 3739 spyder_5.5.0+ds-2.dsc
 6966df9fd120efd8192536c2dacd816a68f59b1c 34512 spyder_5.5.0+ds-2.debian.tar.xz
 c6192a0936c123f596d179171ed6069428359e37 19876 
spyder_5.5.0+ds-2_amd64.buildinfo
Checksums-Sha256:
 aadaa16196064b1a9c08e7a5f97fe99a74c3bbceab432379ecc144b531236962 3739 
spyder_5.5.0+ds-2.dsc
 bb15607846fb5b0e86838c2a4af301927e9e97970e95a80fd5a15d9a1b6999d8 34512 
spyder_5.5.0+ds-2.debian.tar.xz
 e272991516ddae846e07db3a843582b5426abf822376853ef4057a5a30c90e21 19876 
spyder_5.5.0+ds-2_amd64.buildinfo
Files:
 f575cb930be00d15788a13a8a53dda65 3739 science optional spyder_5.5.0+ds-2.dsc
 d9e05b8e7119b8029ceace1a74780806 34512 science optional 
spyder_5.5.0+ds-2.debian.tar.xz
 33060285604783d7da88efd47853b133 19876 science optional 
spyder_5.5.0+ds-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJDBAEBCAAtFiEEfhrD+iemSShMMj72aVxCkxbAe/4FAmVxfk4PHGpkZ0BkZWJp
YW4ub3JnAAoJEGlcQpMWwHv+yZQP/16Rned59DwXiLaPxrREmHuHY45nBjntYXot
O8mmJKhlL6oBXmUsD+g52u3jwnWwWScPs+kkv8Sg+TLb0qu2TFhT5QZ7Bcp4FbGE
wdb+3G8Xlwg+JpkfmCDiBP21Ukd3ByO1Ol8LnF74BiVZCEiNxVZJao7/P9KfW9uN
Jtyxi3fl3c9VVXhGLT/vDuhDOukeIDiOjq70pO4vPcW1bF97FArzICS4YHvEVffg
Ts0LGrdjQeCFNEsiCcgdkq+ucIRG+Yqw+fq6pgwi6k0zkdZXhvSuTxgJb9wEYbAi
CydnMf0fWXtwIOHHNoLUYOtJrGHIxlYrotheXky4ceOLyacAsfilq6pcMgxVH5R5
OfCbx7pYT4lzhc+Zs6Y06GbCNlkXWcB/nvMCEW+XByRKEq++XyqTAGTxr0lUruB2
aLV5uoAJE56pw3XhOXHcYEBnmBFidvzf2hQcJdt1YIZM6IKZxnynjZ8QR56ORtVx
33kmubpak4QM5rEPXq0CWAsm8oaZVwBTXgWmwomu76ZlE26O71EBvMIwtdZDjhqH
gIudMnzwJFCpZrjEXFeNW2EoLq2LQ1+SsP/iPUT6QWcjC6NInSk4rwaAc42q/QkH
LjN//lyOGb3GolbhQNwB/bqbKR6I+kz2lzny++yYjnM+R1iuWBBN4ymY83ZdYvOf
8wcHKMcp
=ZZT9
-----END PGP SIGNATURE-----

--- End Message ---
-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to