Your message dated Mon, 09 Nov 2026 22:34:38 +0000
with message-id <[email protected]>
and subject line Bug#1058189: fixed in python-mockupdb 1.8.0-5
has caused the Debian Bug report #1058189,
regarding python-mockupdb: FTBFS: AttributeError: module 'ssl' has no attribute
'wrap_socket'
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.)
--
1058189: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058189
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-mockupdb
Version: 1.8.0-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20231212 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:310: python3.12 setup.py config
> running config
> I: pybuild base:310: python3.11 setup.py config
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:310: /usr/bin/python3.12 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mockupdb/build/mockupdb
> copying mockupdb/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mockupdb/build/mockupdb
> copying mockupdb/__main__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mockupdb/build/mockupdb
> running egg_info
> creating mockupdb.egg-info
> writing mockupdb.egg-info/PKG-INFO
> writing dependency_links to mockupdb.egg-info/dependency_links.txt
> writing requirements to mockupdb.egg-info/requires.txt
> writing top-level names to mockupdb.egg-info/top_level.txt
> writing manifest file 'mockupdb.egg-info/SOURCES.txt'
> reading manifest file 'mockupdb.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files matching '__pycache__' found under
> directory '*'
> warning: no previously-included files matching '*.py[co]' found under
> directory '*'
> adding license file 'LICENSE'
> adding license file 'AUTHORS.rst'
> writing manifest file 'mockupdb.egg-info/SOURCES.txt'
> copying mockupdb/server.pem ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mockupdb/build/mockupdb
> I: pybuild base:310: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mockupdb/build/mockupdb
> copying mockupdb/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mockupdb/build/mockupdb
> copying mockupdb/__main__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mockupdb/build/mockupdb
> running egg_info
> writing mockupdb.egg-info/PKG-INFO
> writing dependency_links to mockupdb.egg-info/dependency_links.txt
> writing requirements to mockupdb.egg-info/requires.txt
> writing top-level names to mockupdb.egg-info/top_level.txt
> reading manifest file 'mockupdb.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files matching '__pycache__' found under
> directory '*'
> warning: no previously-included files matching '*.py[co]' found under
> directory '*'
> adding license file 'LICENSE'
> adding license file 'AUTHORS.rst'
> writing manifest file 'mockupdb.egg-info/SOURCES.txt'
> copying mockupdb/server.pem ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mockupdb/build/mockupdb
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: python3.12 setup.py test
> running test
> WARNING: Testing via this command is deprecated and will be removed in a
> future version. Users looking for a generic test entry point independent of
> test runner are encouraged to use tox.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:193:
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are
> deprecated.
> !!
>
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
>
> ********************************************************************************
>
> !!
> ir_d = dist.fetch_build_eggs(dist.install_requires)
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:194:
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are
> deprecated.
> !!
>
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
>
> ********************************************************************************
>
> !!
> tr_d = dist.fetch_build_eggs(dist.tests_require or [])
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:195:
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are
> deprecated.
> !!
>
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
>
> ********************************************************************************
>
> !!
> er_d = dist.fetch_build_eggs(
> WARNING: The wheel package is not available.
> running egg_info
> writing mockupdb.egg-info/PKG-INFO
> writing dependency_links to mockupdb.egg-info/dependency_links.txt
> writing requirements to mockupdb.egg-info/requires.txt
> writing top-level names to mockupdb.egg-info/top_level.txt
> reading manifest file 'mockupdb.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files matching '__pycache__' found under
> directory '*'
> warning: no previously-included files matching '*.py[co]' found under
> directory '*'
> adding license file 'LICENSE'
> adding license file 'AUTHORS.rst'
> writing manifest file 'mockupdb.egg-info/SOURCES.txt'
> running build_ext
> test_auto_dequeue (tests.test_mockupdb.TestAutoresponds.test_auto_dequeue)
> ... ok
> test_autoresponds_case_insensitive
> (tests.test_mockupdb.TestAutoresponds.test_autoresponds_case_insensitive) ...
> ok
> test_nested_errors (tests.test_mockupdb.TestGoing.test_nested_errors) ... ok
> test_bson_classes (tests.test_mockupdb.TestMatcher.test_bson_classes) ... ok
> test_command_fields (tests.test_mockupdb.TestMatcher.test_command_fields) ...
> ok
> test_command_first_arg
> (tests.test_mockupdb.TestMatcher.test_command_first_arg) ... ok
> test_command_name_case_insensitive
> (tests.test_mockupdb.TestMatcher.test_command_name_case_insensitive) ... ok
> test_datetime (tests.test_mockupdb.TestMatcher.test_datetime) ... ok
> test_default_wire_version
> (tests.test_mockupdb.TestMockupDB.test_default_wire_version) ... ok
> test_iteration (tests.test_mockupdb.TestMockupDB.test_iteration) ...
> /<<PKGBUILDDIR>>/tests/test_mockupdb.py:303: DeprecationWarning: insert is
> deprecated. Use insert_one or insert_many instead.
> client.test.test.insert({'_id': i})
> ok
> test_unix_domain_socket
> (tests.test_mockupdb.TestMockupDB.test_unix_domain_socket) ... ok
> test_wire_version (tests.test_mockupdb.TestMockupDB.test_wire_version) ... ok
> test_flags (tests.test_mockupdb.TestOpMsg.test_flags) ... ok
> test_assert_matches (tests.test_mockupdb.TestRequest.test_assert_matches) ...
> ok
> test_fields (tests.test_mockupdb.TestRequest.test_fields) ... ok
> test_flags (tests.test_mockupdb.TestRequest.test_flags) ... ok
> test_repr (tests.test_mockupdb.TestRequest.test_repr) ... ok
> test_ok (tests.test_mockupdb.TestResponse.test_ok) ... ok
> test_ssl_basic (tests.test_mockupdb.TestSSL.test_ssl_basic) ... ERROR
> test_ssl_uri (tests.test_mockupdb.TestSSL.test_ssl_uri) ... ERROR
> test_delete_many
> (tests.test_mockupdb.TestUnacknowledgedWrites.test_delete_many) ...
> /usr/lib/python3/dist-packages/bson/__init__.py:468: ResourceWarning:
> unclosed <socket.socket fd=6, family=2, type=1, proto=6, laddr=('127.0.0.1',
> 33613)>
> result = opts.document_class()
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /usr/lib/python3/dist-packages/bson/__init__.py:468: ResourceWarning:
> unclosed <socket.socket fd=7, family=2, type=1, proto=6, laddr=('127.0.0.1',
> 36205)>
> result = opts.document_class()
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ok
> test_delete_one
> (tests.test_mockupdb.TestUnacknowledgedWrites.test_delete_one) ... ok
> test_insert_many
> (tests.test_mockupdb.TestUnacknowledgedWrites.test_insert_many) ... ok
> test_insert_one
> (tests.test_mockupdb.TestUnacknowledgedWrites.test_insert_one) ... ok
> test_replace_one
> (tests.test_mockupdb.TestUnacknowledgedWrites.test_replace_one) ... ok
> test_update_many
> (tests.test_mockupdb.TestUnacknowledgedWrites.test_update_many) ... ok
>
> ======================================================================
> ERROR: test_ssl_basic (tests.test_mockupdb.TestSSL.test_ssl_basic)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/tests/test_mockupdb.py", line 288, in test_ssl_basic
> server.run()
> File "/<<PKGBUILDDIR>>/mockupdb/__init__.py", line 1155, in wrapper
> return meth(self, *args, **kwargs)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/<<PKGBUILDDIR>>/mockupdb/__init__.py", line 1302, in run
> self._listening_sock = _ssl.wrap_socket(
> ^^^^^^^^^^^^^^^^
> AttributeError: module 'ssl' has no attribute 'wrap_socket'
>
> ======================================================================
> ERROR: test_ssl_uri (tests.test_mockupdb.TestSSL.test_ssl_uri)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/tests/test_mockupdb.py", line 280, in test_ssl_uri
> server.run()
> File "/<<PKGBUILDDIR>>/mockupdb/__init__.py", line 1155, in wrapper
> return meth(self, *args, **kwargs)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/<<PKGBUILDDIR>>/mockupdb/__init__.py", line 1302, in run
> self._listening_sock = _ssl.wrap_socket(
> ^^^^^^^^^^^^^^^^
> AttributeError: module 'ssl' has no attribute 'wrap_socket'
>
> ----------------------------------------------------------------------
> Ran 26 tests in 10.620s
>
> FAILED (errors=2)
> Test failed: <unittest.runner.TextTestResult run=26 errors=2 failures=0>
> error: Test failed: <unittest.runner.TextTestResult run=26 errors=2
> failures=0>
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1:
> python3.12 setup.py test
> I: pybuild base:310: python3.11 setup.py test
> running test
> WARNING: Testing via this command is deprecated and will be removed in a
> future version. Users looking for a generic test entry point independent of
> test runner are encouraged to use tox.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:193:
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are
> deprecated.
> !!
>
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
>
> ********************************************************************************
>
> !!
> ir_d = dist.fetch_build_eggs(dist.install_requires)
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:194:
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are
> deprecated.
> !!
>
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
>
> ********************************************************************************
>
> !!
> tr_d = dist.fetch_build_eggs(dist.tests_require or [])
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:195:
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are
> deprecated.
> !!
>
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
>
> ********************************************************************************
>
> !!
> er_d = dist.fetch_build_eggs(
> WARNING: The wheel package is not available.
> running egg_info
> writing mockupdb.egg-info/PKG-INFO
> writing dependency_links to mockupdb.egg-info/dependency_links.txt
> writing requirements to mockupdb.egg-info/requires.txt
> writing top-level names to mockupdb.egg-info/top_level.txt
> reading manifest file 'mockupdb.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files matching '__pycache__' found under
> directory '*'
> adding license file 'LICENSE'
> adding license file 'AUTHORS.rst'
> writing manifest file 'mockupdb.egg-info/SOURCES.txt'
> running build_ext
> test_auto_dequeue (tests.test_mockupdb.TestAutoresponds.test_auto_dequeue)
> ... ok
> test_autoresponds_case_insensitive
> (tests.test_mockupdb.TestAutoresponds.test_autoresponds_case_insensitive) ...
> ok
> test_nested_errors (tests.test_mockupdb.TestGoing.test_nested_errors) ... ok
> test_bson_classes (tests.test_mockupdb.TestMatcher.test_bson_classes) ... ok
> test_command_fields (tests.test_mockupdb.TestMatcher.test_command_fields) ...
> ok
> test_command_first_arg
> (tests.test_mockupdb.TestMatcher.test_command_first_arg) ... ok
> test_command_name_case_insensitive
> (tests.test_mockupdb.TestMatcher.test_command_name_case_insensitive) ... ok
> test_datetime (tests.test_mockupdb.TestMatcher.test_datetime) ... ok
> test_default_wire_version
> (tests.test_mockupdb.TestMockupDB.test_default_wire_version) ... ok
> test_iteration (tests.test_mockupdb.TestMockupDB.test_iteration) ...
> /<<PKGBUILDDIR>>/tests/test_mockupdb.py:303: DeprecationWarning: insert is
> deprecated. Use insert_one or insert_many instead.
> client.test.test.insert({'_id': i})
> ok
> test_unix_domain_socket
> (tests.test_mockupdb.TestMockupDB.test_unix_domain_socket) ... ok
> test_wire_version (tests.test_mockupdb.TestMockupDB.test_wire_version) ... ok
> test_flags (tests.test_mockupdb.TestOpMsg.test_flags) ... ok
> test_assert_matches (tests.test_mockupdb.TestRequest.test_assert_matches) ...
> ok
> test_fields (tests.test_mockupdb.TestRequest.test_fields) ... ok
> test_flags (tests.test_mockupdb.TestRequest.test_flags) ... ok
> test_repr (tests.test_mockupdb.TestRequest.test_repr) ... ok
> test_ok (tests.test_mockupdb.TestResponse.test_ok) ... ok
> test_ssl_basic (tests.test_mockupdb.TestSSL.test_ssl_basic) ...
> /<<PKGBUILDDIR>>/mockupdb/__init__.py:1302: DeprecationWarning:
> ssl.wrap_socket() is deprecated, use SSLContext.wrap_socket()
> self._listening_sock = _ssl.wrap_socket(
> /usr/lib/python3.11/ssl.py:1475: DeprecationWarning: ssl.PROTOCOL_TLS is
> deprecated
> context = SSLContext(ssl_version)
> /usr/lib/python3/dist-packages/pymongo/mongo_client.py:664:
> DeprecationWarning: Option 'ssl_cert_reqs' is deprecated, use
> 'tlsAllowInvalidCertificates' instead.
> keyword_opts = _handle_option_deprecations(keyword_opts)
> ok
> test_ssl_uri (tests.test_mockupdb.TestSSL.test_ssl_uri) ... ok
> test_delete_many
> (tests.test_mockupdb.TestUnacknowledgedWrites.test_delete_many) ... ok
> test_delete_one
> (tests.test_mockupdb.TestUnacknowledgedWrites.test_delete_one) ... ok
> test_insert_many
> (tests.test_mockupdb.TestUnacknowledgedWrites.test_insert_many) ... ok
> test_insert_one
> (tests.test_mockupdb.TestUnacknowledgedWrites.test_insert_one) ... ok
> test_replace_one
> (tests.test_mockupdb.TestUnacknowledgedWrites.test_replace_one) ... ok
> test_update_many
> (tests.test_mockupdb.TestUnacknowledgedWrites.test_update_many) ... ok
>
> ----------------------------------------------------------------------
> Ran 26 tests in 12.671s
>
> OK
> dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.11"
> returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2023/12/12/python-mockupdb_1.8.0-4_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
--- End Message ---
--- Begin Message ---
Source: python-mockupdb
Source-Version: 1.8.0-5
Done: Nico Della Torre <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python-mockupdb, 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.
Nico Della Torre <[email protected]> (supplier of updated python-mockupdb
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: Mon, 09 Nov 2026 21:25:42 +0100
Source: python-mockupdb
Architecture: source
Version: 1.8.0-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Nico Della Torre <[email protected]>
Closes: 1058189
Changes:
python-mockupdb (1.8.0-5) unstable; urgency=medium
.
[ Ondřej Nový ]
* Remove myself from Uploaders.
.
[ Nico Della Torre ]
* Team upload.
* Add patch to fix SSL support with Python 3.12+ (Closes: #1058189)
* Add patch to support PyMongo 4.
* Run the tests with pytest, setuptools dropped the test command.
* d/watch: use version 5 with the Pypi template.
* Build with pybuild-plugin-pyproject.
* Bump Standards-Version to 4.7.3.
* Drop Rules-Requires-Root: no, it is the default now.
* Add debian/salsa-ci.yml.
* Add lintian override for no-human-maintainers.
Checksums-Sha1:
39614a9097c0425e9360f2d858358a53c1f5b92c 1485 python-mockupdb_1.8.0-5.dsc
2aa31c661fe43e9e0bc7394c82f5502c4d2cfd61 4688
python-mockupdb_1.8.0-5.debian.tar.xz
dbaf3f78ed28f3794b0227717e4fcad5d43cc105 6811
python-mockupdb_1.8.0-5_source.buildinfo
Checksums-Sha256:
cef624200bc6206b6341053af0d12027b24915cdb2a4cd8464a98a0f562f756c 1485
python-mockupdb_1.8.0-5.dsc
8f97742a3e5b0b34f704cebf87c0555701fd1f191409e33720448b161873efb1 4688
python-mockupdb_1.8.0-5.debian.tar.xz
1773c9ef0e79a938e4b35de282a8b103c6ff857d57affedbfbf41d536ec085c6 6811
python-mockupdb_1.8.0-5_source.buildinfo
Files:
b42a8ab519ec2fa999eb293125c989e5 1485 python optional
python-mockupdb_1.8.0-5.dsc
f740a9788872b84f82cc45f6ec8dcfb0 4688 python optional
python-mockupdb_1.8.0-5.debian.tar.xz
62e80bcde783218e5aca693afe5642a7 6811 python optional
python-mockupdb_1.8.0-5_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iHUEARYKAB0WIQQEVui8HcCwJ++NZqaVSTeH9vGfAwUCavJHPQAKCRCVSTeH9vGf
A8wfAP4h+RyFP8RGdqhZR1dNwb+PC8A3Qykh2P9FkSMUMBo2pAEA087NjUseeKIe
iYJ1/LAfXCZxXOBPGDP/3lkmti4KWwc=
=B61b
-----END PGP SIGNATURE-----
pgpGHD3B9_53_.pgp
Description: PGP signature
--- End Message ---