Your message dated Fri, 19 Jul 2024 19:06:59 +0000
with message-id <e1suswv-002qjt...@fasolo.debian.org>
and subject line Bug#1074638: fixed in python-makefun 1.15.4-1
has caused the Debian Bug report #1074638,
regarding python-makefun: FTBFS: tests failed
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.)
--
1074638: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1074638
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-makefun
Version: 1.15.2-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240702 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules build
> dh build --with python3 --buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build"
> module
> I: pybuild base:311: python3.12 -m build --skip-dependency-check
> --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12
> * Building wheel...
> <string>:19: DeprecationWarning: pkg_resources is deprecated as an API. See
> https://setuptools.pypa.io/en/latest/pkg_resources.html
> WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml
> does not contain a tool.setuptools_scm section'
> Traceback (most recent call last):
> File
> "/usr/lib/python3/dist-packages/setuptools_scm/_integration/pyproject_reading.py",
> line 36, in read_pyproject
> section = defn.get("tool", {})[tool_name]
> ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
> KeyError: 'setuptools_scm'
> running bdist_wheel
> running build
> running build_py
> creating build
> creating build/lib
> creating build/lib/makefun
> copying src/makefun/main.py -> build/lib/makefun
> copying src/makefun/_main_legacy_py.py -> build/lib/makefun
> copying src/makefun/_version.py -> build/lib/makefun
> copying src/makefun/_main_py35_and_higher.py -> build/lib/makefun
> copying src/makefun/__init__.py -> build/lib/makefun
> copying src/makefun/_main_py36_and_higher.py -> build/lib/makefun
> copying src/makefun/py.typed -> build/lib/makefun
> installing to build/bdist.linux-x86_64/wheel
> running install
> running install_lib
> creating build/bdist.linux-x86_64
> creating build/bdist.linux-x86_64/wheel
> creating build/bdist.linux-x86_64/wheel/makefun
> copying build/lib/makefun/main.py -> build/bdist.linux-x86_64/wheel/makefun
> copying build/lib/makefun/_main_legacy_py.py ->
> build/bdist.linux-x86_64/wheel/makefun
> copying build/lib/makefun/_version.py ->
> build/bdist.linux-x86_64/wheel/makefun
> copying build/lib/makefun/py.typed -> build/bdist.linux-x86_64/wheel/makefun
> copying build/lib/makefun/_main_py35_and_higher.py ->
> build/bdist.linux-x86_64/wheel/makefun
> copying build/lib/makefun/__init__.py ->
> build/bdist.linux-x86_64/wheel/makefun
> copying build/lib/makefun/_main_py36_and_higher.py ->
> build/bdist.linux-x86_64/wheel/makefun
> running install_egg_info
> running egg_info
> creating src/makefun.egg-info
> writing src/makefun.egg-info/PKG-INFO
> writing dependency_links to src/makefun.egg-info/dependency_links.txt
> writing requirements to src/makefun.egg-info/requires.txt
> writing top-level names to src/makefun.egg-info/top_level.txt
> writing manifest file 'src/makefun.egg-info/SOURCES.txt'
> reading manifest file 'src/makefun.egg-info/SOURCES.txt'
> adding license file 'LICENSE'
> writing manifest file 'src/makefun.egg-info/SOURCES.txt'
> Copying src/makefun.egg-info to
> build/bdist.linux-x86_64/wheel/makefun-1.15.2.egg-info
> running install_scripts
> creating build/bdist.linux-x86_64/wheel/makefun-1.15.2.dist-info/WHEEL
> creating
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/.tmp-8h9lkgha/makefun-1.15.2-py2.py3-none-any.whl'
> and adding 'build/bdist.linux-x86_64/wheel' to it
> adding 'makefun/__init__.py'
> adding 'makefun/_main_legacy_py.py'
> adding 'makefun/_main_py35_and_higher.py'
> adding 'makefun/_main_py36_and_higher.py'
> adding 'makefun/_version.py'
> adding 'makefun/main.py'
> adding 'makefun/py.typed'
> adding 'makefun-1.15.2.dist-info/LICENSE'
> adding 'makefun-1.15.2.dist-info/METADATA'
> adding 'makefun-1.15.2.dist-info/WHEEL'
> adding 'makefun-1.15.2.dist-info/top_level.txt'
> adding 'makefun-1.15.2.dist-info/RECORD'
> removing build/bdist.linux-x86_64/wheel
> Successfully built makefun-1.15.2-py2.py3-none-any.whl
> I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with
> "installer" module
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build;
> python3.12 -m pytest tests
> ============================= test session starts
> ==============================
> platform linux -- Python 3.12.4, pytest-8.2.2, pluggy-1.5.0 --
> /usr/bin/python3.12
> cachedir: .pytest_cache
> rootdir: /<<PKGBUILDDIR>>
> configfile: setup.cfg
> collecting ... collected 96 items
>
> tests/test_advanced.py::test_non_representable_defaults PASSED [
> 1%]
> tests/test_advanced.py::test_preserve_attributes PASSED [
> 2%]
> tests/test_advanced.py::test_empty_name_in_string PASSED [
> 3%]
> tests/test_advanced.py::test_same_than_wraps_basic PASSED [
> 4%]
> tests/test_advanced.py::tests_wraps_sigchange PASSED [
> 5%]
> tests/test_advanced.py::tests_wraps_lambda PASSED [
> 6%]
> tests/test_advanced.py::tests_wraps_renamed_lambda PASSED [
> 7%]
> tests/test_advanced.py::test_lambda_signature_str PASSED [
> 8%]
> tests/test_advanced.py::test_co_name PASSED [
> 9%]
> tests/test_advanced.py::test_with_signature_lambda PASSED [
> 10%]
> tests/test_advanced.py::test_create_wrapper_lambda PASSED [
> 11%]
> tests/test_advanced.py::test_invalid_co_name PASSED [
> 12%]
> tests/test_advanced.py::test_invalid_func_name PASSED [
> 13%]
> tests/test_advanced.py::test_qualname_when_nested PASSED [
> 14%]
> tests/test_advanced.py::test_type_hint_error PASSED [
> 15%]
> tests/test_advanced.py::test_type_hint_error2 PASSED [
> 16%]
> tests/test_advanced.py::test_type_hint_error_sigchange PASSED [
> 17%]
> tests/test_compile_deco.py::test_compilefun PASSED [
> 18%]
> tests/test_compile_deco.py::test_compilefun_nested PASSED [
> 19%]
> tests/test_compile_deco.py::test_compilefun_nested_already_compiled PASSED [
> 20%]
> tests/test_compile_deco.py::test_compilefun_nested_exclude[variant=all]
> PASSED [ 21%]
> tests/test_compile_deco.py::test_compilefun_nested_exclude[variant=named]
> PASSED [ 22%]
> tests/test_compile_deco.py::test_compilefun_co_names PASSED [
> 23%]
> tests/test_compile_deco.py::test_compilefun_nameerror PASSED [
> 25%]
> tests/test_compile_deco.py::test_compilefun_method PASSED [
> 26%]
> tests/test_compile_deco.py::test_compileclass_decorator PASSED [
> 27%]
> tests/test_create_from_signature.py::test_positional_only PASSED [
> 28%]
> tests/test_create_from_string.py::test_basic[type_hints=False-self_ref=True]
> PASSED [ 29%]
> tests/test_create_from_string.py::test_basic[type_hints=False-self_ref=False]
> PASSED [ 30%]
> tests/test_create_from_string.py::test_basic[type_hints=1-self_ref=True]
> PASSED [ 31%]
> tests/test_create_from_string.py::test_basic[type_hints=1-self_ref=False]
> PASSED [ 32%]
> tests/test_create_from_string.py::test_basic[type_hints=2-self_ref=True]
> PASSED [ 33%]
> tests/test_create_from_string.py::test_basic[type_hints=2-self_ref=False]
> PASSED [ 34%]
> tests/test_create_from_string.py::test_type_comments SKIPPED (This t...) [
> 35%]
> tests/test_create_from_string.py::TestArguments::test_case_simple PASSED [
> 36%]
> tests/test_create_from_string.py::TestArguments::test_case_simple_with_star
> PASSED [ 37%]
> tests/test_create_from_string.py::TestArguments::test_case_simple_with_star_args1
> PASSED [ 38%]
> tests/test_create_from_string.py::TestArguments::test_case_simple_with_star_args2
> PASSED [ 39%]
> tests/test_create_from_string.py::TestArguments::test_case_with_type_comments_and_newlines
> PASSED [ 40%]
> tests/test_doc.py::test_ex_nihilo[type=str-decorator=False] PASSED [
> 41%]
> tests/test_doc.py::test_ex_nihilo[type=str-decorator=True] PASSED [
> 42%]
> tests/test_doc.py::test_ex_nihilo[type=Signature-decorator=False] PASSED [
> 43%]
> tests/test_doc.py::test_ex_nihilo[type=Signature-decorator=True] PASSED [
> 44%]
> tests/test_doc.py::test_ex_nihilo_kw_only PASSED [
> 45%]
> tests/test_doc.py::test_from_sig_wrapper[use_decorator=False] PASSED [
> 46%]
> tests/test_doc.py::test_from_sig_wrapper[use_decorator=True] PASSED [
> 47%]
> tests/test_doc.py::test_helper_functions PASSED [
> 48%]
> tests/test_doc.py::test_injection PASSED [
> 50%]
> tests/test_doc.py::test_var_length PASSED [
> 51%]
> tests/test_doc.py::test_positional_only PASSED [
> 52%]
> tests/test_doc.py::test_with_signature PASSED [
> 53%]
> tests/test_doc.py::test_with_signature_none PASSED [
> 54%]
> tests/test_doc.py::test_wraps hello!
> b=2
> hello!
> b=0
> hello!
> b=1
>
> PASSED [ 55%]
> tests/test_doc.py::test_wraps_functools hello!
> b=0
> hello!
>
> PASSED [ 56%]
> tests/test_doc.py::test_wraps_remove PASSED [
> 57%]
> tests/test_doc.py::test_wraps_add_doc PASSED [
> 58%]
> tests/test_doc.py::test_wraps_add[prepend=True] PASSED [
> 59%]
> tests/test_doc.py::test_wraps_add[prepend=False] PASSED [
> 60%]
> tests/test_generators_coroutines.py::test_generator PASSED [
> 61%]
> tests/test_generators_coroutines.py::test_generator_with_signature PASSED [
> 62%]
> tests/test_generators_coroutines.py::test_generator_based_coroutine PASSED [
> 63%]
> tests/test_generators_coroutines.py::test_native_coroutine PASSED [
> 64%]
> tests/test_generators_coroutines.py::test_issue_96 PASSED [
> 65%]
> tests/test_issues.py::test_wraps_varpositional SKIPPED (known to fail) [
> 66%]
> tests/test_issues.py::test_varpositional2 PASSED [
> 67%]
> tests/test_issues.py::test_invalid_signature_str PASSED [
> 68%]
> tests/test_issues.py::test_invalid_signature_str_py3 PASSED [
> 69%]
> tests/test_issues.py::test_return_annotation_in_py2 PASSED [
> 70%]
> tests/test_issues.py::test_init_replaced PASSED [
> 71%]
> tests/test_issues.py::test_issue_55 PASSED [
> 72%]
> tests/test_issues.py::test_partial_noargs PASSED [
> 73%]
> tests/test_issues.py::test_wraps_dict PASSED [
> 75%]
> tests/test_issues.py::test_issue_62 PASSED [
> 76%]
> tests/test_issues.py::test_issue_63 PASSED [
> 77%]
> tests/test_issues.py::test_issue_66 PASSED [
> 78%]
> tests/test_issues.py::test_issue_pr_67 PASSED [
> 79%]
> tests/test_issues.py::test_issue_76 PASSED [
> 80%]
> tests/test_issues.py::test_issue_77_async_generator_wraps PASSED [
> 81%]
> tests/test_issues.py::test_issue_77_async_generator_partial PASSED [
> 82%]
> tests/test_issues.py::test_issue_85_wrapped_forwardref_annotation PASSED [
> 83%]
> tests/test_issues.py::test_issue_91 PASSED [
> 84%]
> tests/test_partial_and_macros.py::test_doc PASSED [
> 85%]
> tests/test_partial_and_macros.py::test_partial PASSED [
> 86%]
> tests/test_partial_and_macros.py::test_issue_57 PASSED [
> 87%]
> tests/test_partial_and_macros.py::test_create_with_partial PASSED [
> 88%]
> tests/test_partial_and_macros.py::test_args_order_and_kind FAILED [
> 89%]
> tests/test_partial_and_macros.py::test_simple_partial_copy[False] PASSED [
> 90%]
> tests/test_partial_and_macros.py::test_simple_partial_copy[True] PASSED [
> 91%]
> tests/test_so.py::test_create_facades This is generic impl called by func1
> called from func1 !
> This is generic impl called by func2
> This is generic impl called by func3
>
> PASSED [ 92%]
> tests/test_so.py::test_so_decorator PASSED [
> 93%]
> tests/test_so.py::test_so_facade PASSED [
> 94%]
> tests/test_so.py::test_so_sig_preserving Help on function my_func in module
> tests.test_so:
>
> my_func(x)
> my function
>
>
> PASSED [ 95%]
> tests/test_so.py::test_sig_preserving_2 wrapper executes
> 22
> Help on function funny_function in module tests.test_so:
>
> funny_function(x, y, z=3)
> Computes x*y + 2*z
>
>
> PASSED [ 96%]
> tests/test_so.py::test_so_partial Help on function foo in module
> tests.test_so:
>
> foo(a, *, b=10, c=1)
> <This function is equivalent to 'foo(a, b=10, c=1)', see original 'foo'
> doc below.>
> Return (a+b)*c.
>
>
> PASSED [ 97%]
> tests/test_so.py::test_so_partial2 hello world
> 1 2
> Help on function test in module tests.test_so:
>
> test(*, a='hello', b='world', x, y)
> <This function is equivalent to 'test(a='hello', b='world', x, y)'.>
>
> Help on function test in module tests.test_so:
>
> test(*, a='hello', b='world', x, y)
> <This function is equivalent to 'test(a='hello', b='world', x, y)', see
> original 'test' doc below.>
> Here is a doc
>
>
> PASSED [ 98%]
> tests/test_so.py::test_so_partial_posargs Help on function test in module
> tests.test_so:
>
> test(*, b='world', x, y)
> <This function is equivalent to 'test('hello', b='world', x, y)'.>
>
>
> PASSED [100%]
>
> =================================== FAILURES
> ===================================
> ___________________________ test_args_order_and_kind
> ___________________________
>
> def test_args_order_and_kind():
> """Make sure that the order remains ok"""
>
> def f(a, b, c, **d):
> return a + b + c + sum(d)
>
> # reference: functools.partial
> fp_ref = functools.partial(f, b=0)
>
> # except in python 2, all kwargs following the predefined arg become
> kw-only
> if sys.version_info < (3,):
> assert str(signature(fp_ref)) == "(a, b=0, c, **d)"
> else:
> assert str(signature(fp_ref)) == "(a, *, b=0, c, **d)"
>
> # our makefun.partial
> fp = makefun.partial(f, b=0)
>
> # same behaviour - except in python 2 where our "KW_ONLY_ARG!" appear
> assert str(signature(fp_ref)) ==
> str(signature(fp)).replace("=KW_ONLY_ARG!", "")
>
> # positional-only behaviour
> if sys.version_info >= (3, 8):
> from ._test_py38 import make_pos_only_f
> f = make_pos_only_f()
>
> # it is possible to keyword-partialize a positional-only
> argument...
> fp_ref = functools.partial(f, b=0)
>
> # but 'signature' does not support it !
> > with pytest.raises(ValueError):
> E Failed: DID NOT RAISE <class 'ValueError'>
>
> tests/test_partial_and_macros.py:165: Failed
> =============================== warnings summary
> ===============================
> .pybuild/cpython3_3.12/build/tests/test_generators_coroutines.py::test_native_coroutine
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test_generators_coroutines.py:96:
> DeprecationWarning: There is no current event loop
> out = get_event_loop().run_until_complete(dynamic_fun(0.1))
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info
> ============================
> FAILED tests/test_partial_and_macros.py::test_args_order_and_kind - Failed:
> D...
> ============== 1 failed, 93 passed, 2 skipped, 1 warning in 0.53s
> ==============
> E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.12
> returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2024/07/02/python-makefun_1.15.2-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240702;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240702&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.
--- End Message ---
--- Begin Message ---
Source: python-makefun
Source-Version: 1.15.4-1
Done: Boyuan Yang <by...@debian.org>
We believe that the bug you reported is fixed in the latest version of
python-makefun, 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 1074...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Boyuan Yang <by...@debian.org> (supplier of updated python-makefun 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: SHA512
Format: 1.8
Date: Fri, 19 Jul 2024 14:46:07 -0400
Source: python-makefun
Architecture: source
Version: 1.15.4-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Boyuan Yang <by...@debian.org>
Closes: 1074638
Changes:
python-makefun (1.15.4-1) unstable; urgency=medium
.
* Team upload.
* New upstream release. (Closes: #1074638)
Checksums-Sha1:
e793bef427718b3eee37409d04e3091cccfc18ec 2146 python-makefun_1.15.4-1.dsc
d2902acb3df048dc5dc253a6de39854e69b682e8 69480
python-makefun_1.15.4.orig.tar.gz
26c286db97c1c476caf709caebbad461345a89db 2652
python-makefun_1.15.4-1.debian.tar.xz
21318e14f461b002a519e578df08e0221a93886b 7084
python-makefun_1.15.4-1_amd64.buildinfo
Checksums-Sha256:
274ae84dc02c2137ec67131117b1b0e48d2dcd1afe34099176c1891c2d38b9b9 2146
python-makefun_1.15.4-1.dsc
c03fc35be1470282ea8b4877dcf7070dba0a3efd1dab63cfb3fdf7627f2e7944 69480
python-makefun_1.15.4.orig.tar.gz
cba0aa474a3874fbb35e4f332a6f2d3950ebe4e076cac769e3582010d50852e8 2652
python-makefun_1.15.4-1.debian.tar.xz
8261cbe1ead0b08779660c7e1998a18d4268a520e5354111515ddcd825c2a9dc 7084
python-makefun_1.15.4-1_amd64.buildinfo
Files:
5fffc6df2bbf0f0bc101fbfdc8c60df4 2146 python optional
python-makefun_1.15.4-1.dsc
8b27033753ac4ec0fb98a971516a6c55 69480 python optional
python-makefun_1.15.4.orig.tar.gz
56f564c40bead9ffa26097161d256134 2652 python optional
python-makefun_1.15.4-1.debian.tar.xz
19c2b72a591045c2e5e15908601f2d74 7084 python optional
python-makefun_1.15.4-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmaatRYACgkQwpPntGGC
Ws48Hg/9HJZfadDpTQtYdNerjUSVu6o6GpCDDwhhl4a55SoDNYaJLmtO8Pax5CH7
vvgYgBJy7LI2gfZg7eMKnLWp2jvezRR4pTDpKhxrfk4RzxfyJkVP+QkXvq7c+bEi
351WUCqdZQC1kwsnXsq+kulpoGEsPrxB7Y/T/1dRxERWSX9B07gV+PD/nw6mWHy3
NdVHLpmHcy9Z4DXxdBiIHY3pdWLxRh9Y3ZHKbUNcgrdUGq7GXzCUNG4bRzrDDmbc
hpW1d40CfIGdQTqfh1Xf4JJrzigZJBvPVO1s40aS0Y3/Ep4ufYA67KebzYbcSDAE
3B0GIUZctjWAvnEI2DmET8bAxMh98ibAzXauega/JGKXdrWtm+VRN1l3k8ljp4ET
L01XQlqclB2oG3aUnTv5ZHJJj8mG4nldsHIUNUyZyKynnWffVjnS0MyKb6ilCvNg
0e0cnnCpZCTTqztP2vLzI5sobXmnz2nLpaiTU/XMotjnv5hraPLLLgivku5OCJ7e
Hjg6sIdz7pS/x0qMXiO6sBw5u4zcE5w1TwX7NpWRPLwQB2aY/9F3Lbpq3tpqiONM
0zMlqx8Tr7cnGoM52xoFNVVvFnoHPKHK3tEsdZhBV4Pg4uadFAw/TBO3vAWqQN0B
22KGTn8BWV5eJ+cggSAq1deJ+JoEVJWhvAYkWmaZOaCshDUv8K8=
=Na9Y
-----END PGP SIGNATURE-----
pgppiypFNkvst.pgp
Description: PGP signature
--- End Message ---