Your message dated Sun, 24 Nov 2024 17:42:50 +0000
with message-id <[email protected]>
and subject line Bug#1082315: fixed in spyder-kernels 3.0.1-1
has caused the Debian Bug report #1082315,
regarding spyder-kernels FTBFS with Python 3.13
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.)


-- 
1082315: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082315
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: spyder-kernels
Version: 2.5.0-2
Severity: normal
User: [email protected]
Usertags: python3.13

This package failed build from source when test-built against a version of
python3-defaults that includes 3.13 as a supported version.

To reproduce this issue, build against python3-defaults (python3-all-dev etc.)
from Debian experimental.

What's new in Python 3.13:
https://docs.python.org/3.13/whatsnew/3.13.html

Log snippet:

   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-kernels/build; python3.13 -m 
pytest --ignore customize/tests/test_umr.py -k "not test_dask_multiprocessing"
============================= test session starts ==============================
platform linux -- Python 3.13.0rc2, pytest-8.3.3, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
plugins: flaky-3.8.1, typeguard-4.3.0
collected 93 items / 1 deselected / 92 selected

console/tests/test_console_kernel.py ....................s.F..........ss [ 38%]
ss...                                                                    [ 43%]
customize/tests/test_utils.py .                                          [ 44%]
utils/tests/test_dochelpers.py .......................                   [ 69%]
utils/tests/test_iofuncs.py ...........                                  [ 81%]
utils/tests/test_lazymodules.py ..                                       [ 83%]
utils/tests/test_nsview.py ...............                               [100%]

=================================== FAILURES ===================================
_______________________________ test_do_complete _______________________________

kernel = <spyder_kernels.console.kernel.SpyderKernel object at 0xffff87813450>

    def test_do_complete(kernel):
        """
        Check do complete works in normal and debugging mode.
        """
        if IPYKERNEL_6:
            asyncio.run(kernel.do_execute('abba = 1', True))
        else:
            kernel.do_execute('abba = 1', True)
        assert kernel.get_value('abba') == 1
        match = kernel.do_complete('ab', 2)
>       assert 'abba' in match['matches']
E       AssertionError: assert 'abba' in []

console/tests/test_console_kernel.py:838: AssertionError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/jedi/cache.py", line 
110, in wrapper
    return dct[key]
           ~~~^^^^^
KeyError: ((), frozenset())

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/parso/grammar.py", line 
252, in load_grammar
    return _loaded_grammars[path]
           ~~~~~~~~~~~~~~~~^^^^^^
KeyError: 
'/usr/lib/python3/dist-packages/parso/python/grammar313.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/parso/grammar.py", line 
255, in load_grammar
    with open(path) as f:
         ~~~~^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 
'/usr/lib/python3/dist-packages/parso/python/grammar313.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/IPython/core/completer.py", 
line 3171, in _complete
    result = matcher(context)
  File "/usr/lib/python3/dist-packages/IPython/core/completer.py", 
line 2224, in _jedi_matcher
    matches = self._jedi_matches(
        cursor_column=context.cursor_position,
        cursor_line=context.cursor_line,
        text=context.full_text,
    )
  File "/usr/lib/python3/dist-packages/IPython/core/completer.py", 
line 2278, in _jedi_matches
    interpreter = jedi.Interpreter(text[:offset], namespaces)
  File "/usr/lib/python3/dist-packages/jedi/api/__init__.py", line 
741, in __init__
    super().__init__(code, environment=environment, 
project=project, **kwds)
    
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/jedi/api/__init__.py", line 
119, in __init__
    self._inference_state = InferenceState(
                            ~~~~~~~~~~~~~~^
        project, environment=environment, script_path=self.path
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3/dist-packages/jedi/inference/__init__.py", 
line 91, in __init__
    self.grammar = environment.get_grammar()
                   ~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/jedi/cache.py", line 
112, in wrapper
    result = method(self, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/jedi/api/environment.py", line 
37, in get_grammar
    return parso.load_grammar(version=version_string)
           ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/parso/grammar.py", line 
264, in load_grammar
    raise NotImplementedError(message)
NotImplementedError: Python version 3.13 is currently not 
supported.
=============================== warnings summary ===============================
../../../../../../usr/lib/python3/dist-packages/jupyter_client/jsonutil.py:31
  /usr/lib/python3/dist-packages/jupyter_client/jsonutil.py:31: 
DeprecationWarning: Parsing dates involving a day of month without a year 
specified is ambiguious
  and fails to parse leap day. The default behavior will change in Python 3.15
  to either always raise an exception or to use a different default year (TBD).
  To avoid trouble, add a specific year to the input & format.
  See https://github.com/python/cpython/issues/70647.
    datetime.strptime("1", "%d")  # noqa

../../../../../../usr/lib/python3/dist-packages/jupyter_client/connect.py:22
  /usr/lib/python3/dist-packages/jupyter_client/connect.py:22: 
DeprecationWarning: Jupyter is migrating its paths to use standard platformdirs
  given by the platformdirs library.  To remove this warning and
  see the appropriate new directories, set the environment variable
  `JUPYTER_PLATFORM_DIRS=1` and then run `jupyter --paths`.
  The use of platformdirs will be the default in `jupyter_core` v6
    from jupyter_core.paths import jupyter_data_dir, jupyter_runtime_dir, 
secure_write

.pybuild/cpython3_3.13_spyder-kernels/build/console/tests/test_console_kernel.py::test_load_data
.pybuild/cpython3_3.13_spyder-kernels/build/console/tests/test_console_kernel.py::test_save_namespace
.pybuild/cpython3_3.13_spyder-kernels/build/utils/tests/test_iofuncs.py::test_spydata_import[export_data.spydata]
.pybuild/cpython3_3.13_spyder-kernels/build/utils/tests/test_iofuncs.py::test_spydata_import[export_data_renamed.spydata]
.pybuild/cpython3_3.13_spyder-kernels/build/utils/tests/test_iofuncs.py::test_spydata_import_witherror
.pybuild/cpython3_3.13_spyder-kernels/build/utils/tests/test_iofuncs.py::test_spydata_export[spydata_values-spydata_values-export_data_copy]
.pybuild/cpython3_3.13_spyder-kernels/build/utils/tests/test_iofuncs.py::test_spydata_export[namespace_objects_full-namespace_objects_filtered-export_data_2]
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-kernels/build/spyder_kernels/utils/iofuncs.py:390:
 DeprecationWarning: Python 3.14 will, by default, filter extracted tar 
archives and reject files or modify their metadata. Use the filter argument to 
control this behavior.
    tar.extractall(path, members, numeric_owner=numeric_owner)

.pybuild/cpython3_3.13_spyder-kernels/build/utils/tests/test_nsview.py::test_get_type_string
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-kernels/build/utils/tests/test_nsview.py:345:
 PendingDeprecationWarning: the matrix subclass is not the recommended way to 
represent matrices or deal with linear algebra (see 
https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please 
adjust your code to use regular ndarray.
    matrix = np.matrix([[1, 2], [3, 4]])

.pybuild/cpython3_3.13_spyder-kernels/build/utils/tests/test_nsview.py::test_is_editable_type
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-kernels/build/utils/tests/test_nsview.py:400:
 PendingDeprecationWarning: the matrix subclass is not the recommended way to 
represent matrices or deal with linear algebra (see 
https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please 
adjust your code to use regular ndarray.
    matrix = np.matrix([[1, 2], [3, 4]])

.pybuild/cpython3_3.13_spyder-kernels/build/utils/tests/test_nsview.py::test_get_numpy_type
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-kernels/build/utils/tests/test_nsview.py:438:
 PendingDeprecationWarning: the matrix subclass is not the recommended way to 
represent matrices or deal with linear algebra (see 
https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please 
adjust your code to use regular ndarray.
    matrix = np.matrix([[1, 2], [3, 4]])

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
===Flaky Test Report===

test_cwd_in_sys_path passed 1 out of the required 1 times. Success!
test_multiprocessing passed 1 out of the required 1 times. Success!
test_multiprocessing_2 passed 1 out of the required 1 times. Success!
test_runfile passed 1 out of the required 1 times. Success!
test_np_threshold passed 1 out of the required 1 times. Success!
test_matplotlib_inline passed 1 out of the required 1 times. Success!
test_debug_namespace passed 1 out of the required 1 times. Success!

===End Flaky Test Report===
=========================== short test summary info ============================
FAILED console/tests/test_console_kernel.py::test_do_complete - AssertionErro...
===== 1 failed, 86 passed, 5 skipped, 1 deselected, 12 warnings in 38.09s ======
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-kernels/build; python3.13 -m 
pytest --ignore customize/tests/test_umr.py -k "not test_dask_multiprocessing"
I: pybuild base:311: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-kernels/build; python3.12 -m 
pytest --ignore customize/tests/test_umr.py -k "not test_dask_multiprocessing"
============================= test session starts ==============================
platform linux -- Python 3.12.6, pytest-8.3.3, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
plugins: flaky-3.8.1, typeguard-4.3.0
collected 93 items / 1 deselected / 92 selected

console/tests/test_console_kernel.py ....................s............ss [ 38%]
ss...                                                                    [ 43%]
customize/tests/test_utils.py .                                          [ 44%]
utils/tests/test_dochelpers.py .......................                   [ 69%]
utils/tests/test_iofuncs.py ...........                                  [ 81%]
utils/tests/test_lazymodules.py ..                                       [ 83%]
utils/tests/test_nsview.py ...............                               [100%]

=============================== warnings summary ===============================
../../../../../../usr/lib/python3/dist-packages/jupyter_client/connect.py:22
  /usr/lib/python3/dist-packages/jupyter_client/connect.py:22: 
DeprecationWarning: Jupyter is migrating its paths to use standard platformdirs
  given by the platformdirs library.  To remove this warning and
  see the appropriate new directories, set the environment variable
  `JUPYTER_PLATFORM_DIRS=1` and then run `jupyter --paths`.
  The use of platformdirs will be the default in `jupyter_core` v6
    from jupyter_core.paths import jupyter_data_dir, jupyter_runtime_dir, 
secure_write

.pybuild/cpython3_3.12_spyder-kernels/build/console/tests/test_console_kernel.py::test_load_data
.pybuild/cpython3_3.12_spyder-kernels/build/console/tests/test_console_kernel.py::test_save_namespace
.pybuild/cpython3_3.12_spyder-kernels/build/utils/tests/test_iofuncs.py::test_spydata_import[export_data.spydata]
.pybuild/cpython3_3.12_spyder-kernels/build/utils/tests/test_iofuncs.py::test_spydata_import[export_data_renamed.spydata]
.pybuild/cpython3_3.12_spyder-kernels/build/utils/tests/test_iofuncs.py::test_spydata_import_witherror
.pybuild/cpython3_3.12_spyder-kernels/build/utils/tests/test_iofuncs.py::test_spydata_export[spydata_values-spydata_values-export_data_copy]
.pybuild/cpython3_3.12_spyder-kernels/build/utils/tests/test_iofuncs.py::test_spydata_export[namespace_objects_full-namespace_objects_filtered-export_data_2]
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-kernels/build/spyder_kernels/utils/iofuncs.py:390:
 DeprecationWarning: Python 3.14 will, by default, filter extracted tar 
archives and reject files or modify their metadata. Use the filter argument to 
control this behavior.
    tar.extractall(path, members, numeric_owner=numeric_owner)

.pybuild/cpython3_3.12_spyder-kernels/build/utils/tests/test_nsview.py::test_get_type_string
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-kernels/build/utils/tests/test_nsview.py:345:
 PendingDeprecationWarning: the matrix subclass is not the recommended way to 
represent matrices or deal with linear algebra (see 
https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please 
adjust your code to use regular ndarray.
    matrix = np.matrix([[1, 2], [3, 4]])

.pybuild/cpython3_3.12_spyder-kernels/build/utils/tests/test_nsview.py::test_is_editable_type
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-kernels/build/utils/tests/test_nsview.py:400:
 PendingDeprecationWarning: the matrix subclass is not the recommended way to 
represent matrices or deal with linear algebra (see 
https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please 
adjust your code to use regular ndarray.
    matrix = np.matrix([[1, 2], [3, 4]])

.pybuild/cpython3_3.12_spyder-kernels/build/utils/tests/test_nsview.py::test_get_numpy_type
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-kernels/build/utils/tests/test_nsview.py:438:
 PendingDeprecationWarning: the matrix subclass is not the recommended way to 
represent matrices or deal with linear algebra (see 
https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please 
adjust your code to use regular ndarray.
    matrix = np.matrix([[1, 2], [3, 4]])

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
===Flaky Test Report===

test_cwd_in_sys_path passed 1 out of the required 1 times. Success!
test_multiprocessing passed 1 out of the required 1 times. Success!
test_multiprocessing_2 passed 1 out of the required 1 times. Success!
test_runfile passed 1 out of the required 1 times. Success!
test_np_threshold passed 1 out of the required 1 times. Success!
test_matplotlib_inline passed 1 out of the required 1 times. Success!
test_debug_namespace passed 1 out of the required 1 times. Success!

===End Flaky Test Report===
========== 87 passed, 5 skipped, 1 deselected, 11 warnings in 37.26s ===========
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 
3.12" returned exit code 13
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-09-19T13:32:47Z


If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/794219/

This bug has been filed at "normal" severity, as we haven't started the
transition to add 3.13 as a supported version, yet. This will be raised to RC
as soon as that happens, hopefully well before trixie.

Thanks,

Stefano

--- End Message ---
--- Begin Message ---
Source: spyder-kernels
Source-Version: 3.0.1-1
Done: Julian Gilbey <[email protected]>

We believe that the bug you reported is fixed in the latest version of
spyder-kernels, 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-kernels 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: Sun, 24 Nov 2024 16:43:51 +0000
Source: spyder-kernels
Architecture: source
Version: 3.0.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Julian Gilbey <[email protected]>
Closes: 1056531 1082315
Changes:
 spyder-kernels (3.0.1-1) unstable; urgency=medium
 .
   * New upstream version (closes: #1082315)
   * Re-enable xarray tests
   * Cython is no longer used in tests (closes: #1056531)
Checksums-Sha1:
 f445b6e008f476168a93cb99b4cfc827544d94bc 2991 spyder-kernels_3.0.1-1.dsc
 66b76b77c628babd6f0e1ccdd5741505a53afbe7 238107 
spyder-kernels_3.0.1.orig.tar.gz
 52bed33ddeb12059473495db9c1dfea6abf18921 4116 
spyder-kernels_3.0.1-1.debian.tar.xz
 5c2c50abc1cdad8be8452ec56dbecc7253575d2d 12476 
spyder-kernels_3.0.1-1_amd64.buildinfo
Checksums-Sha256:
 2d3230357bedcdbbd1821ae6c5a62b46f704617e39767d6f230d5d09c40ca06f 2991 
spyder-kernels_3.0.1-1.dsc
 1c2ee8d1ba33aabaf62104f32f634bf094582449a73917043f5a86cbab1c31d3 238107 
spyder-kernels_3.0.1.orig.tar.gz
 491ed37e81aee3f383c81b437ce7fc2d27c9c7df64f881a2301cacb088b30288 4116 
spyder-kernels_3.0.1-1.debian.tar.xz
 faa8f5e4362e7c09a3c5172e94169b4d76fbc3506d1e301c80af10ef08b7af13 12476 
spyder-kernels_3.0.1-1_amd64.buildinfo
Files:
 ad9fb115f58ec83c842851fb0276ca98 2991 python optional 
spyder-kernels_3.0.1-1.dsc
 b524e2727ec3325a7695bbb5e426917d 238107 python optional 
spyder-kernels_3.0.1.orig.tar.gz
 0a6db6ccf8dde4c7aa410ec000c3fb0a 4116 python optional 
spyder-kernels_3.0.1-1.debian.tar.xz
 30efff30813f6eef08643962aa510e24 12476 python optional 
spyder-kernels_3.0.1-1_amd64.buildinfo

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

iQJDBAEBCAAtFiEEfhrD+iemSShMMj72aVxCkxbAe/4FAmdDWeQPHGpkZ0BkZWJp
YW4ub3JnAAoJEGlcQpMWwHv+Jl0P/3kqRAfyf5PRbguJVNh+D0u/qEQ8vcm/NvwZ
p4BzgV+VE4LkSbQajIjhjRwr0i/Z/g/pO3cVCEoYeyI5SHJqqMAABArp0iYbQ0ho
8Hm+SMuI+H5NoTmaF2+DViOi+X3JBOEO3IvwIavHM36prp+1HAhfQZHe4DQbzv7E
/B5PJsUVCxNn1Oz2NFH6B5eD/6GJKDucDWmGYjjzr1/59A046D5NrJ71jTbVvKKP
Dx2Vxw33hVyZVCrm+aP6l1R7/Xol8CzoBS4yYUGTLC8ETV3p77u8UEoaG2HDWIbv
rcoBbymxIu3dyARepZVI2a/ZIPMDHJuuY6Uy3/o6S3kbkLsp7fWlq0ewx+dpMQ9Q
1mK9u/OBbeTJ31gnEOniUNBBXK0KHWHHpz7PeZDTV9os/E7n4ePhct2yeXqS3bvS
8HhJVVpLaKa3nM48MnnDvrlKXk7pyzoN9OySaWfBgs7F3U8jZESstPrsyFIbv6fs
3gAgXkjo3KZGTMurHbbmYUJVcF7L9rGPdmLpnXJ3/uGFCIQ2XoKjGD/zb0Ee9ceP
Kxldn5gDmemRYs0e4GSJqfHuJ07cqzwIYG7eeqRUZ0KvkFuC1ccS9zlUNmhpq7CW
Zi6+RhT6I8XGhra90M/ufv/pGXFu5fRXgQosa6HETL+lyJk9+jY22zRYssRD78lO
Q9IE3pzD
=StR+
-----END PGP SIGNATURE-----

Attachment: pgpOzunBNZddn.pgp
Description: 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