Source: python-mockupdb Version: 1.8.0-4 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org 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;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lu...@debian.org&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.