Your message dated Tue, 06 Oct 2026 05:49:00 +0000
with message-id <[email protected]>
and subject line Bug#1060094: fixed in python-thinc 9.1.1-5
has caused the Debian Bug report #1060094,
regarding python-thinc: remove usage of python3-mock
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.)
--
1060094: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1060094
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-thinc
Severity: normal
Please apply this patch to remove usage of old python3-mock
and use unittest.mock from the standard library instead.
Greetings
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (501, 'testing'), (450, 'unstable'), (400, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.5.0-5-amd64 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8),
LANGUAGE=fr_BE:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
diff --git a/debian/control b/debian/control
index 6b924ba..d5ba177 100644
--- a/debian/control
+++ b/debian/control
@@ -14,7 +14,6 @@ Build-Depends: cython3,
python3-cytoolz,
python3-dill,
python3-hypothesis,
- python3-mock,
python3-msgpack,
python3-msgpack-numpy,
python3-murmurhash,
diff --git a/requirements.txt b/requirements.txt
index 112e535..a68b66e 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -22,7 +22,6 @@ hypothesis>=3.27.0,<7.0.0
pytest>=5.2.0,!=7.1.0
pytest-cov>=2.7.0,<5.0.0
coverage>=5.0.0,<8.0.0
-mock>=2.0.0,<3.0.0
flake8>=3.5.0,<3.6.0
mypy>=0.990,<0.1000; python_version >= "3.7"
types-mock>=0.1.1
diff --git a/thinc/tests/layers/test_linear.py
b/thinc/tests/layers/test_linear.py
index 2362b55..2e5602f 100644
--- a/thinc/tests/layers/test_linear.py
+++ b/thinc/tests/layers/test_linear.py
@@ -1,5 +1,5 @@
import pytest
-from mock import MagicMock
+from unittest.mock import MagicMock
from hypothesis import given, settings
import numpy
from numpy.testing import assert_allclose
diff --git a/thinc/tests/layers/test_with_debug.py
b/thinc/tests/layers/test_with_debug.py
index 679c1f2..d4bdbee 100644
--- a/thinc/tests/layers/test_with_debug.py
+++ b/thinc/tests/layers/test_with_debug.py
@@ -1,4 +1,4 @@
-from mock import MagicMock
+from unittest.mock import MagicMock
from thinc.api import with_debug, Linear
--- End Message ---
--- Begin Message ---
Source: python-thinc
Source-Version: 9.1.1-5
Done: Alexandre Detiste <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python-thinc, 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.
Alexandre Detiste <[email protected]> (supplier of updated python-thinc 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: SHA512
Format: 1.8
Date: Tue, 06 Oct 2026 07:25:54 +0200
Source: python-thinc
Architecture: source
Version: 9.1.1-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers
<[email protected]>
Changed-By: Alexandre Detiste <[email protected]>
Closes: 1060094
Changes:
python-thinc (9.1.1-5) unstable; urgency=medium
.
* Team upload.
* Patch-out usage of python3-mock (Closes: #1060094)
* Drop "Rules-Requires-Root: no": it is the default now
* Bump Standards-Version to 4.7.4, drop Priority: tag
* Rewrite d/watch in v5 format
* Salsa CI: disable ALL & ANY jobs, test nocheck profile
Checksums-Sha1:
53507a260eddc9d180bf6f83a82767f9a2ad9660 2458 python-thinc_9.1.1-5.dsc
161db0ab023f9ad9cbaa24d858f9e465daf61671 4952
python-thinc_9.1.1-5.debian.tar.xz
2057ba4319aa0da36ed876a96e48b77adc6fc7f3 8192
python-thinc_9.1.1-5_source.buildinfo
Checksums-Sha256:
78db476b89abaccf39038f9b8a65f345ec228100e3dfc8c2ecff8ce02b21c658 2458
python-thinc_9.1.1-5.dsc
43d5201ee0cb55bee9d5e308c7b258c0669c4418bd5c1bbfeb763bba096ab982 4952
python-thinc_9.1.1-5.debian.tar.xz
9385da59e8c23acb23d0c9fef298bb1a9848fad3294f197b07ea8cad2c410fdd 8192
python-thinc_9.1.1-5_source.buildinfo
Files:
96c1c2934067756ec3ef0dd297619bb8 2458 python optional python-thinc_9.1.1-5.dsc
5b19944f2cbdccc69608237572dabfdf 4952 python optional
python-thinc_9.1.1-5.debian.tar.xz
8b88c066d9b1d46c225c9b8d258a7504 8192 python optional
python-thinc_9.1.1-5_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmrEhuwRHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBqZkg/9FNNRu2Q0gOhikKbq+jLLu5yv2H4jEjcz
3l9W/206zV9MM0cfFO1nuDz/aqjdftHS7mxdiLENUu5dQ4B3r+PQ4F/bYFZDJDYa
TQMKLtOoRO/8z709hGNUWY4lOGyOzIfe4+x4ENUidZBdHa+TbpnoRsHRuyu9gltq
vh0zEALZGIOd+vQYMNt72GdKXWt7mUfMqfLlFtZDxMCePPQVhf+WbUKef+VR9WB8
uF0IznFzTV4NBx58osIshhbnxvt0FvOscM96iqzJBZmDK8E22PJ6ehynSyt00+Bw
7MpUrtL1iSgdPzk3wnPGyjzAHMFsa0mSOdQ/UpB443t8IG8Ase75d7Y6bO61D3aX
j05kg5opS9CfvBha0C6XUPLLlzwUPTmanfquzsNisRh71Y7VwiE7JqRygxvJgBD/
LjciI5Zbngo1mVMNxdQe7Hg9fK09FRxANALx8HvoxmDL/oTlwl/bWx3lcK0Quh+1
fZ+iu+fspNqYq3bOkuCZbQvgZ/g/2QoAOZ6PhVGPIoBGR4xfPz7zUxIrz3ZL/Z3/
En2k0cnu0a5Pqp+29wo+jeCWO14kpJ5dFBhbDljCZHTugDS0F9MsEGJxu3nT79Td
31nPDTFyR0ol1X7fVqhGUvGPuq9o00T+kZ7hblhhPI6ZDybuH5RLvhbK0bYfY73h
E0GNfHgouJA=
=MwGV
-----END PGP SIGNATURE-----
pgp7F1H3pL_Iy.pgp
Description: PGP signature
--- End Message ---