Your message dated Sun, 18 Feb 2024 00:43:24 +0000 with message-id <e1rbvha-004keq...@fasolo.debian.org> and subject line Bug#1008369: fixed in scikit-learn 1.4.1.post1+dfsg-1 has caused the Debian Bug report #1008369, regarding scikit-learn: FTBFS: dh_auto_test: error: pybuild --test -i python{version} -p "3.10 3.9" returned exit code 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 ow...@bugs.debian.org immediately.) -- 1008369: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008369 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Source: scikit-learn Version: 1.0.2-1 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20220326 ftbfs-bookworm Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > =================================== FAILURES > =================================== > __________________________ test_docstring_parameters > ___________________________ > > @pytest.mark.filterwarnings("ignore::FutureWarning") > @pytest.mark.filterwarnings("ignore::DeprecationWarning") > @pytest.mark.skipif(IS_PYPY, reason="test segfaults on PyPy") > def test_docstring_parameters(): > # Test module docstring formatting > > # Skip test if numpydoc is not found > pytest.importorskip( > "numpydoc", reason="numpydoc is required to test the docstrings" > ) > > # XXX unreached code as of v0.22 > from numpydoc import docscrape > > incorrect = [] > for name in PUBLIC_MODULES: > if name.endswith(".conftest"): > # pytest tooling, not part of the scikit-learn API > continue > if name == "sklearn.utils.fixes": > # We cannot always control these docstrings > continue > with warnings.catch_warnings(record=True): > module = importlib.import_module(name) > classes = inspect.getmembers(module, inspect.isclass) > # Exclude non-scikit-learn classes > classes = [cls for cls in classes if > cls[1].__module__.startswith("sklearn")] > for cname, cls in classes: > this_incorrect = [] > if cname in _DOCSTRING_IGNORES or cname.startswith("_"): > continue > if inspect.isabstract(cls): > continue > with warnings.catch_warnings(record=True) as w: > cdoc = docscrape.ClassDoc(cls) > if len(w): > > raise RuntimeError( > "Error for __init__ of %s in %s:\n%s" % (cls, name, > w[0]) > ) > E RuntimeError: Error for __init__ of <class > 'sklearn.calibration.CalibrationDisplay'> in sklearn.calibration: > E {message : UserWarning('potentially wrong underline > length... \nParameters \n----------- in \nCalibration curve (also known as > reliability diagram) visualization.\n... in the docstring of > CalibrationDisplay in > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/sklearn/calibration.py.'), > category : 'UserWarning', filename : > '/usr/lib/python3/dist-packages/numpydoc/docscrape.py', lineno : 434, line : > None} > > sklearn/tests/test_docstring_parameters.py:103: RuntimeError > _________________ test_check_docstring_parameters[mock_meta0] > __________________ > > mock_meta = <sklearn.utils.tests.test_testing.MockMetaEstimator object at > 0x7fdc7943edc0> > > @pytest.mark.parametrize( > "mock_meta", > [ > MockMetaEstimator(delegate=MockEst()), > MockMetaEstimatorDeprecatedDelegation(delegate=MockEst()), > ], > ) > def test_check_docstring_parameters(mock_meta): > pytest.importorskip( > "numpydoc", reason="numpydoc is required to test the docstrings" > ) > > incorrect = check_docstring_parameters(f_ok) > assert incorrect == [] > incorrect = check_docstring_parameters(f_ok, ignore=["b"]) > assert incorrect == [] > incorrect = check_docstring_parameters(f_missing, ignore=["b"]) > assert incorrect == [] > with pytest.raises(RuntimeError, match="Unknown section Results"): > check_docstring_parameters(f_bad_sections) > with pytest.raises(RuntimeError, match="Unknown section Parameter"): > > check_docstring_parameters(Klass.f_bad_sections) > > sklearn/utils/tests/test_testing.py:540: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > func = <function Klass.f_bad_sections at 0x7fdc7966f670> > doc = <numpydoc.docscrape.FunctionDoc object at 0x7fdc6184dac0>, ignore = [] > > def check_docstring_parameters(func, doc=None, ignore=None): > """Helper to check docstring. > > Parameters > ---------- > func : callable > The function object to test. > doc : str, default=None > Docstring if it is passed manually to the test. > ignore : list, default=None > Parameters to ignore. > > Returns > ------- > incorrect : list > A list of string describing the incorrect results. > """ > from numpydoc import docscrape > > incorrect = [] > ignore = [] if ignore is None else ignore > > func_name = _get_func_name(func) > if not func_name.startswith("sklearn.") or func_name.startswith( > "sklearn.externals" > ): > return incorrect > # Don't check docstring for property-functions > if inspect.isdatadescriptor(func): > return incorrect > # Don't check docstring for setup / teardown pytest functions > if func_name.split(".")[-1] in ("setup_module", "teardown_module"): > return incorrect > # Dont check estimator_checks module > if func_name.split(".")[2] == "estimator_checks": > return incorrect > # Get the arguments from the function signature > param_signature = list(filter(lambda x: x not in ignore, > _get_args(func))) > # drop self > if len(param_signature) > 0 and param_signature[0] == "self": > param_signature.remove("self") > > # Analyze function's docstring > if doc is None: > with warnings.catch_warnings(record=True) as w: > try: > doc = docscrape.FunctionDoc(func) > except Exception as exp: > incorrect += [func_name + " parsing error: " + str(exp)] > return incorrect > if len(w): > > raise RuntimeError("Error for %s:\n%s" % (func_name, w[0])) > E RuntimeError: Error for > sklearn.utils.tests.test_testing.Klass.f_bad_sections: > E {message : UserWarning('potentially wrong underline length... > \nParameter \n---------- in \nFunction f\n... in the docstring of > f_bad_sections in > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/sklearn/utils/tests/test_testing.py.'), > category : 'UserWarning', filename : > '/usr/lib/python3/dist-packages/numpydoc/docscrape.py', lineno : 434, line : > None} > > sklearn/utils/_testing.py:665: RuntimeError > > During handling of the above exception, another exception occurred: > > mock_meta = <sklearn.utils.tests.test_testing.MockMetaEstimator object at > 0x7fdc7943edc0> > > @pytest.mark.parametrize( > "mock_meta", > [ > MockMetaEstimator(delegate=MockEst()), > MockMetaEstimatorDeprecatedDelegation(delegate=MockEst()), > ], > ) > def test_check_docstring_parameters(mock_meta): > pytest.importorskip( > "numpydoc", reason="numpydoc is required to test the docstrings" > ) > > incorrect = check_docstring_parameters(f_ok) > assert incorrect == [] > incorrect = check_docstring_parameters(f_ok, ignore=["b"]) > assert incorrect == [] > incorrect = check_docstring_parameters(f_missing, ignore=["b"]) > assert incorrect == [] > with pytest.raises(RuntimeError, match="Unknown section Results"): > check_docstring_parameters(f_bad_sections) > with pytest.raises(RuntimeError, match="Unknown section Parameter"): > > check_docstring_parameters(Klass.f_bad_sections) > E AssertionError: Regex pattern 'Unknown section Parameter' does > not match "Error for > sklearn.utils.tests.test_testing.Klass.f_bad_sections:\n{message : > UserWarning('potentially wrong underline length... \\nParameter \\n---------- > in \\nFunction f\\n... in the docstring of f_bad_sections in > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/sklearn/utils/tests/test_testing.py.'), > category : 'UserWarning', filename : > '/usr/lib/python3/dist-packages/numpydoc/docscrape.py', lineno : 434, line : > None}". > > sklearn/utils/tests/test_testing.py:540: AssertionError > _________________ test_check_docstring_parameters[mock_meta1] > __________________ > > mock_meta = > <sklearn.utils.tests.test_testing.MockMetaEstimatorDeprecatedDelegation > object at 0x7fdc7943ed30> > > @pytest.mark.parametrize( > "mock_meta", > [ > MockMetaEstimator(delegate=MockEst()), > MockMetaEstimatorDeprecatedDelegation(delegate=MockEst()), > ], > ) > def test_check_docstring_parameters(mock_meta): > pytest.importorskip( > "numpydoc", reason="numpydoc is required to test the docstrings" > ) > > incorrect = check_docstring_parameters(f_ok) > assert incorrect == [] > incorrect = check_docstring_parameters(f_ok, ignore=["b"]) > assert incorrect == [] > incorrect = check_docstring_parameters(f_missing, ignore=["b"]) > assert incorrect == [] > with pytest.raises(RuntimeError, match="Unknown section Results"): > check_docstring_parameters(f_bad_sections) > with pytest.raises(RuntimeError, match="Unknown section Parameter"): > > check_docstring_parameters(Klass.f_bad_sections) > > sklearn/utils/tests/test_testing.py:540: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > func = <function Klass.f_bad_sections at 0x7fdc7966f670> > doc = <numpydoc.docscrape.FunctionDoc object at 0x7fdc619a9760>, ignore = [] > > def check_docstring_parameters(func, doc=None, ignore=None): > """Helper to check docstring. > > Parameters > ---------- > func : callable > The function object to test. > doc : str, default=None > Docstring if it is passed manually to the test. > ignore : list, default=None > Parameters to ignore. > > Returns > ------- > incorrect : list > A list of string describing the incorrect results. > """ > from numpydoc import docscrape > > incorrect = [] > ignore = [] if ignore is None else ignore > > func_name = _get_func_name(func) > if not func_name.startswith("sklearn.") or func_name.startswith( > "sklearn.externals" > ): > return incorrect > # Don't check docstring for property-functions > if inspect.isdatadescriptor(func): > return incorrect > # Don't check docstring for setup / teardown pytest functions > if func_name.split(".")[-1] in ("setup_module", "teardown_module"): > return incorrect > # Dont check estimator_checks module > if func_name.split(".")[2] == "estimator_checks": > return incorrect > # Get the arguments from the function signature > param_signature = list(filter(lambda x: x not in ignore, > _get_args(func))) > # drop self > if len(param_signature) > 0 and param_signature[0] == "self": > param_signature.remove("self") > > # Analyze function's docstring > if doc is None: > with warnings.catch_warnings(record=True) as w: > try: > doc = docscrape.FunctionDoc(func) > except Exception as exp: > incorrect += [func_name + " parsing error: " + str(exp)] > return incorrect > if len(w): > > raise RuntimeError("Error for %s:\n%s" % (func_name, w[0])) > E RuntimeError: Error for > sklearn.utils.tests.test_testing.Klass.f_bad_sections: > E {message : UserWarning('potentially wrong underline length... > \nParameter \n---------- in \nFunction f\n... in the docstring of > f_bad_sections in > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/sklearn/utils/tests/test_testing.py.'), > category : 'UserWarning', filename : > '/usr/lib/python3/dist-packages/numpydoc/docscrape.py', lineno : 434, line : > None} > > sklearn/utils/_testing.py:665: RuntimeError > > During handling of the above exception, another exception occurred: > > mock_meta = > <sklearn.utils.tests.test_testing.MockMetaEstimatorDeprecatedDelegation > object at 0x7fdc7943ed30> > > @pytest.mark.parametrize( > "mock_meta", > [ > MockMetaEstimator(delegate=MockEst()), > MockMetaEstimatorDeprecatedDelegation(delegate=MockEst()), > ], > ) > def test_check_docstring_parameters(mock_meta): > pytest.importorskip( > "numpydoc", reason="numpydoc is required to test the docstrings" > ) > > incorrect = check_docstring_parameters(f_ok) > assert incorrect == [] > incorrect = check_docstring_parameters(f_ok, ignore=["b"]) > assert incorrect == [] > incorrect = check_docstring_parameters(f_missing, ignore=["b"]) > assert incorrect == [] > with pytest.raises(RuntimeError, match="Unknown section Results"): > check_docstring_parameters(f_bad_sections) > with pytest.raises(RuntimeError, match="Unknown section Parameter"): > > check_docstring_parameters(Klass.f_bad_sections) > E AssertionError: Regex pattern 'Unknown section Parameter' does > not match "Error for > sklearn.utils.tests.test_testing.Klass.f_bad_sections:\n{message : > UserWarning('potentially wrong underline length... \\nParameter \\n---------- > in \\nFunction f\\n... in the docstring of f_bad_sections in > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/sklearn/utils/tests/test_testing.py.'), > category : 'UserWarning', filename : > '/usr/lib/python3/dist-packages/numpydoc/docscrape.py', lineno : 434, line : > None}". > > sklearn/utils/tests/test_testing.py:540: AssertionError > = 3 failed, 24128 passed, 195 skipped, 1 deselected, 248 xfailed, 39 xpassed, > 2386 warnings in 10221.46s (2:50:21) = > E: pybuild pybuild:367: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m pytest -m "not > network" -v --color=no -k "not test_load_boston_alternative" > dh_auto_test: error: pybuild --test -i python{version} -p "3.10 3.9" returned > exit code 13 The full build log is available from: http://qa-logs.debian.net/2022/03/26/scikit-learn_1.0.2-1_unstable.log 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 marking 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: scikit-learn Source-Version: 1.4.1.post1+dfsg-1 Done: Andreas Tille <ti...@debian.org> We believe that the bug you reported is fixed in the latest version of scikit-learn, 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 1008...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Andreas Tille <ti...@debian.org> (supplier of updated scikit-learn 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 ftpmas...@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Sat, 17 Feb 2024 14:59:42 +0100 Source: scikit-learn Architecture: source Version: 1.4.1.post1+dfsg-1 Distribution: unstable Urgency: medium Maintainer: Debian Science Maintainers <debian-science-maintain...@lists.alioth.debian.org> Changed-By: Andreas Tille <ti...@debian.org> Closes: 1003165 1008369 1018635 1027208 1029701 1046775 1049646 1059206 Changes: scikit-learn (1.4.1.post1+dfsg-1) unstable; urgency=medium . * Team upload. * New upstream version Closes: #1029701, #1008369, #1027208, #1003165 * Build-Depends: s/dh-python/dh-sequence-python3/ (routine-update) * Build-Depends: python3-sphinx-copybutton * Support loong64 Closes: #1059206 * Drop nose from Build-/Test-Depends Closes: #1018635 * Fix clean target Closes: #1046775, #1049646 * Work around unknown key 'recommender' in sphinx * Exclude minimized jquery JS from source and use symlink to Debian packaged min.js instead (crossing fingers that the version plays nicely) Checksums-Sha1: 978606cc96691237880a3a2be6ed02ab48cb8d66 3087 scikit-learn_1.4.1.post1+dfsg-1.dsc 6ac713f80103107381d0b104041df96bddaa9fbd 6389528 scikit-learn_1.4.1.post1+dfsg.orig.tar.xz 8fb820f431db091a454ef18754aca750e1b0ae61 23312 scikit-learn_1.4.1.post1+dfsg-1.debian.tar.xz 22158fff23ff6e5925c620b3949954429b024a43 14091 scikit-learn_1.4.1.post1+dfsg-1_amd64.buildinfo Checksums-Sha256: 52a55300a41630a6a7a79bce38947f7dacfb643bfba558049944f4b5aad19a6a 3087 scikit-learn_1.4.1.post1+dfsg-1.dsc 25cd7954717180112f66a8e8b0340021a58e3b2cdbd59f82c83d7991dca5ff9f 6389528 scikit-learn_1.4.1.post1+dfsg.orig.tar.xz 62c3ee142fd41ee13bf925e2a1efa3cbbe835c1db3fb8a0a829ffaa1eb7f3ced 23312 scikit-learn_1.4.1.post1+dfsg-1.debian.tar.xz ce99b0a829e7f4ccbae52e3c609d4c00ae434524b01f5b58e0923fdad5ac422b 14091 scikit-learn_1.4.1.post1+dfsg-1_amd64.buildinfo Files: afe4d752ce09c233ff177c28208ae191 3087 python optional scikit-learn_1.4.1.post1+dfsg-1.dsc 313775874d682e4ababcbc4a08e740a6 6389528 python optional scikit-learn_1.4.1.post1+dfsg.orig.tar.xz 459683bbda96e5072242b20d7e36bffe 23312 python optional scikit-learn_1.4.1.post1+dfsg-1.debian.tar.xz e16b327c5110e32b273e44290c324ff6 14091 python optional scikit-learn_1.4.1.post1+dfsg-1_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQJFBAEBCAAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmXQy6IRHHRpbGxlQGRl Ymlhbi5vcmcACgkQV4oElNHGRtGbORAAm3M86V3z/Q/2ByGlDFQFHBnyaRCDxbTm jrqSVT6JBW4YEQXs1jPw4a+4mV3mqh+pIQ2tmH5u+u4VJhNPqWiqjQjyG3RpeVhq USiVX/7XaWYzcbvtyVynksqxGJY+of0RN1L16d6wLfJhSjNKBTBtKtyv4lL730eB 3q3YoRWeuUtH+/jrn1/uPIsjNry07l98TrauupZvLojKvuyQr9xgK3Me2yddu/v4 lcKigj5Yk+tJJLBy4f1ZqsWDtonGNT3YNnde3DbM+fmLheCOAlNo7OQaCuMhN1Om dvCZEd65RdvfLJXzpYSq5RrExN/B0xtmO5BBn/2lAbTWHXadFKonLTOC/U4skUXP 4tp0C6j/Zj/a6uBy1ZejEKLYmqclChgahPRj6l4c3lTrfla1YpLOnsZRRBKQQ/PC 7GLjhZxusBzxIYCoprMXwktmCcICIi/wvEdszjS8MlEr+uRsnec45vbEu3+d7Z+C njaG3TQAV7B1b988LrFLZ0ia2xq6WVYyO4NAth6J/+1emoLmk2nZdHwoDmXJu+rn oh10ozbcT8/j3L84cxB3gZCa8lC1VgwA86EieZjE54Kl0afsZqUiwqWSW9OUqR1r JWdLoWBHnkMYf0ogOVAm7rp4BkcBMV7BDp74O0SSRbfcbShTQgOuWTABhg/SrEWz iSJHBfpNqAU= =z95P -----END PGP SIGNATURE-----pgp8NA_QpsM_Y.pgp
Description: PGP signature
--- End Message ---
-- debian-science-maintainers mailing list debian-science-maintainers@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers