Your message dated Sun, 19 Oct 2025 23:33:56 +0000
with message-id <[email protected]>
and subject line Bug#1117764: fixed in python-gmpy2 2.2.1-3
has caused the Debian Bug report #1117764,
regarding python-gmpy2: FTBFS: FAILED test/test_mpz.py::test_mpz_to_bytes - 
Failed: DID NOT RAISE <class 'Ov...
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.)


-- 
1117764: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1117764
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-gmpy2
Version: 2.2.1-2
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202510/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:python-gmpy2, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem pybuild --with python3,sphinxdoc
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
# Remove files generated by the build.
rm -rf docs/_build
rm -rf test/__pycache__
rm -rf build
rm -rf gmpy2.egg-info
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --buildsystem pybuild --with python3,sphinxdoc

[... snipped ...]

writing output... [ 94%] tutorial
writing output... [100%] win_build

/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.xmpz.iter_bits:1: WARNING: py:class reference target not found: 
collections.abc.Iterator [ref.class]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.xmpz.iter_bits:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.xmpz.iter_bits:1: WARNING: py:obj reference target not found: False 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.xmpz.iter_clear:1: WARNING: py:class reference target not found: 
collections.abc.Iterator [ref.class]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.xmpz.iter_set:1: WARNING: py:class reference target not found: 
collections.abc.Iterator [ref.class]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_bpsw_prp:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_euler_prp:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_extra_strong_lucas_prp:1: 
WARNING: py:obj reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_fermat_prp:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_fibonacci_prp:1: WARNING: 
py:obj reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_lucas_prp:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_selfridge_prp:1: WARNING: 
py:obj reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_strong_bpsw_prp:1: WARNING: 
py:obj reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_strong_lucas_prp:1: WARNING: 
py:obj reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_strong_prp:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_strong_selfridge_prp:1: 
WARNING: py:obj reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.context.is_finite:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.context.is_finite:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.context.is_infinite:1: WARNING: py:obj reference target not found: 
True [ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.context.is_infinite:1: WARNING: py:obj reference target not found: 
True [ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.context.is_infinite:1: WARNING: py:obj reference target not found: 
False [ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.context.is_integer:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.context.is_integer:1: WARNING: py:obj reference target not found: 
False [ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.context.is_nan:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.context.is_nan:1: WARNING: py:obj reference target not found: False 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.context.is_regular:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.context.is_regular:1: WARNING: py:obj reference target not found: 
False [ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.context.is_signed:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.context.is_zero:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.context.is_zero:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.context.allow_release_gil:1: WARNING: 
py:obj reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.context.overflow:1: WARNING: py:obj 
reference target not found: False [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.context.rational_division:1: WARNING: 
py:obj reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.context.trap_erange:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.context.trap_invalid:7: WARNING: 
py:obj reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.context.trap_overflow:1: WARNING: 
py:obj reference target not found: False [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.context.trap_overflow:1: WARNING: 
py:obj reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.context.trap_underflow:1: WARNING: 
py:obj reference target not found: False [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.context.trap_underflow:1: WARNING: 
py:obj reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.context.underflow:1: WARNING: py:obj 
reference target not found: False [ref.obj]
/<<PKGBUILDDIR>>/docs/history.rst:151: WARNING: py:mod reference target not 
found: numbers [ref.mod]
/<<PKGBUILDDIR>>/docs/history.rst:200: WARNING: py:mod reference target not 
found: numbers [ref.mod]
/<<PKGBUILDDIR>>/docs/history.rst:268: WARNING: py:func reference target not 
found: sys.getsizeof [ref.func]
/<<PKGBUILDDIR>>/docs/history.rst:285: WARNING: py:obj reference target not 
found: fractions.Fraction [ref.obj]
/<<PKGBUILDDIR>>/docs/history.rst:287: WARNING: py:obj reference target not 
found: decimal.Decimal [ref.obj]
/<<PKGBUILDDIR>>/docs/history.rst:307: WARNING: py:func reference target not 
found: pow [ref.func]
/<<PKGBUILDDIR>>/docs/history.rst:323: WARNING: py:meth reference target not 
found: int.bit_length [ref.meth]
/<<PKGBUILDDIR>>/docs/history.rst:346: WARNING: py:func reference target not 
found: math.ceil [ref.func]
/<<PKGBUILDDIR>>/docs/history.rst:346: WARNING: py:func reference target not 
found: math.floor [ref.func]
/<<PKGBUILDDIR>>/docs/history.rst:346: WARNING: py:func reference target not 
found: math.trunc [ref.func]
/<<PKGBUILDDIR>>/docs/history.rst:369: WARNING: py:func reference target not 
found: min [ref.func]
/<<PKGBUILDDIR>>/docs/history.rst:369: WARNING: py:func reference target not 
found: max [ref.func]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.mpc.is_finite:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.mpc.is_finite:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.mpc.is_infinite:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.mpc.is_infinite:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.mpc.is_infinite:1: WARNING: py:obj 
reference target not found: False [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.mpc.is_nan:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.mpc.is_nan:1: WARNING: py:obj 
reference target not found: False [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.mpc.is_zero:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.mpc.is_zero:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_nan:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_nan:1: WARNING: py:obj 
reference target not found: False [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_zero:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_zero:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpfr:4: WARNING: py:obj reference target not found: float.fromhex 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpfr.as_integer_ratio:1: WARNING: py:obj reference target not found: 
float.as_integer_ratio [ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpfr.is_finite:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpfr.is_finite:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpfr.is_infinite:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpfr.is_infinite:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpfr.is_infinite:1: WARNING: py:obj reference target not found: False 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpfr.is_integer:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpfr.is_integer:1: WARNING: py:obj reference target not found: False 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpfr.is_nan:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpfr.is_nan:1: WARNING: py:obj reference target not found: False 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpfr.is_regular:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpfr.is_regular:1: WARNING: py:obj reference target not found: False 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpfr.is_signed:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpfr.is_zero:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpfr.is_zero:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_finite:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_finite:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_infinite:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_infinite:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_infinite:1: WARNING: py:obj 
reference target not found: False [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_regular:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_regular:1: WARNING: py:obj 
reference target not found: False [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_signed:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_unordered:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.set_sign:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.can_round:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpq:1: WARNING: py:obj reference target not found: numbers.Rational 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpq:1: WARNING: py:obj reference target not found: fractions.Fraction 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpq.from_decimal:1: WARNING: py:obj reference target not found: 
decimal.Decimal [ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.from_bytes:9: WARNING: py:obj reference target not found: 
sys.byteorder [ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.is_congruent:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.is_congruent:1: WARNING: py:obj reference target not found: False 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.is_divisible:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.is_divisible:1: WARNING: py:obj reference target not found: False 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.is_even:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.is_even:1: WARNING: py:obj reference target not found: False 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.is_odd:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.is_odd:1: WARNING: py:obj reference target not found: False 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.is_power:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.is_power:1: WARNING: py:obj reference target not found: False 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.is_prime:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.is_prime:1: WARNING: py:obj reference target not found: False 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.is_square:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.is_square:1: WARNING: py:obj reference target not found: False 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.to_bytes:7: WARNING: py:obj reference target not found: 
sys.byteorder [ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.to_bytes:13: WARNING: py:obj reference target not found: False 
[ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.iroot:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_congruent:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_congruent:1: WARNING: py:obj 
reference target not found: False [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_divisible:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_divisible:1: WARNING: py:obj 
reference target not found: False [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_even:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_even:1: WARNING: py:obj 
reference target not found: False [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_odd:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_odd:1: WARNING: py:obj 
reference target not found: False [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_power:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_power:1: WARNING: py:obj 
reference target not found: False [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_prime:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_prime:1: WARNING: py:obj 
reference target not found: False [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_square:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_square:1: WARNING: py:obj 
reference target not found: False [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.powmod:1: WARNING: py:obj 
reference target not found: pow [ref.obj]
/<<PKGBUILDDIR>>/docs/overview.rst:6: WARNING: py:obj reference target not 
found: fractions.Fraction [ref.obj]
/<<PKGBUILDDIR>>/docs/tutorial.rst:120: WARNING: unknown keyword: 'with' 
[ref.keyword]
/<<PKGBUILDDIR>>/docs/tutorial.rst:149: WARNING: py:meth reference target not 
found: str.format [ref.meth]
generating indices... genindex done
writing additional pages... search done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 132 warnings.

The HTML pages are in _build/html.

Build finished. The HTML pages are in _build/html.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/docs'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build; 
python3.13 -m pytest test
============================= test session starts ==============================
platform linux -- Python 3.13.8, pytest-8.4.2, pluggy-1.6.0

  Mutliple-precision library:     GMP 6.3.0
  Floating-point library:         MPFR 4.2.2
  Complex library:                MPC 1.3.1

rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build
configfile: pyproject.toml
plugins: hypothesis-6.140.2, typeguard-4.4.4
collected 346 items

test/test_consts.py ....                                                 [  1%]
test/test_context.py ..........                                          [  4%]
test/test_functions.py ................................................. [ 18%]
........................................................................ [ 39%]
..................                                                       [ 44%]
test/test_generic.py .......                                             [ 46%]
test/test_misc.py ..                                                     [ 46%]
test/test_mpc.py ...................                                     [ 52%]
test/test_mpfr.py ...........s....................                       [ 61%]
test/test_mpq.py ................................                        [ 70%]
test/test_mpz.py .F..................................................... [ 86%]
...........................                                              [ 94%]
test/test_xmpz.py ...................                                    [100%]

=================================== FAILURES ===================================
______________________________ test_mpz_to_bytes _______________________________

x = -1, length = 0, byteorder = 'big', signed = True

    @settings(max_examples=1000)
    @given(integers(), integers(min_value=0, max_value=10000),
           sampled_from(['big', 'little']), booleans())
    @example(0, 0, 'big', False)
    @example(0, 0, 'little', False)
    @example(0, 1, 'big', False)
    @example(128, 1, 'big', True)
    @example(128, 1, 'little', True)
    @example(-129, 1, 'big', True)
    @example(-129, 1, 'little', True)
    @example(-1, 0, 'big', True)
    @example(-2, 0, 'big', True)
    @example(-2, 0, 'little', True)
    @example(42, 1, 'big', False)
    @example(42, 1, 'little', False)
    @example(42, 3, 'big', False)
    @example(42, 3, 'little', False)
    @example(1000, 2, 'big', False)
    @example(1000, 4, 'big', False)
    @example(-2049, 1, 'big', True)
    @example(-65281, 3, 'big', True)
    @example(-65281, 3, 'little', True)
    def test_mpz_to_bytes(x, length, byteorder, signed):
        try:
>           rx = x.to_bytes(length, byteorder, signed=signed)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E           OverflowError: int too big to convert

test/test_mpz.py:71: OverflowError

During handling of the above exception, another exception occurred:

    @settings(max_examples=1000)
>   @given(integers(), integers(min_value=0, max_value=10000),
                   ^^^
           sampled_from(['big', 'little']), booleans())

test/test_mpz.py:48: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3/dist-packages/hypothesis/core.py:1613: in _raise_to_user
    raise the_error_hypothesis_found
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

x = -1, length = 0, byteorder = 'big', signed = True

    @settings(max_examples=1000)
    @given(integers(), integers(min_value=0, max_value=10000),
           sampled_from(['big', 'little']), booleans())
    @example(0, 0, 'big', False)
    @example(0, 0, 'little', False)
    @example(0, 1, 'big', False)
    @example(128, 1, 'big', True)
    @example(128, 1, 'little', True)
    @example(-129, 1, 'big', True)
    @example(-129, 1, 'little', True)
    @example(-1, 0, 'big', True)
    @example(-2, 0, 'big', True)
    @example(-2, 0, 'little', True)
    @example(42, 1, 'big', False)
    @example(42, 1, 'little', False)
    @example(42, 3, 'big', False)
    @example(42, 3, 'little', False)
    @example(1000, 2, 'big', False)
    @example(1000, 4, 'big', False)
    @example(-2049, 1, 'big', True)
    @example(-65281, 3, 'big', True)
    @example(-65281, 3, 'little', True)
    def test_mpz_to_bytes(x, length, byteorder, signed):
        try:
            rx = x.to_bytes(length, byteorder, signed=signed)
        except OverflowError:
>           with raises(OverflowError):
                 ^^^^^^^^^^^^^^^^^^^^^
E           Failed: DID NOT RAISE <class 'OverflowError'>
E           Falsifying explicit example: test_mpz_to_bytes(
E               x=-1,
E               length=0,
E               byteorder='big',
E               signed=True,
E           )

test/test_mpz.py:73: Failed
============================= slowest 10 durations =============================
0.69s call     test/test_mpq.py::test_mpq_hash
0.69s call     test/test_mpz.py::test_mpz_from_bytes
0.56s call     test/test_mpz.py::test_mpz_is_probab_prime
0.33s call     test/test_mpc.py::test_mpc_hash
0.32s call     test/test_mpz.py::test_mpz_arithmetics
0.31s call     test/test_mpq.py::test_mpq_to_from_binary
0.31s call     test/test_mpz.py::test_mpz_pack_unpack_bulk
0.29s call     test/test_mpz.py::test_mpz_hash
0.26s call     test/test_mpfr.py::test_mpfr_hash
0.21s call     test/test_xmpz.py::test_xmpz_to_from_binary
=========================== short test summary info ============================
FAILED test/test_mpz.py::test_mpz_to_bytes - Failed: DID NOT RAISE <class 'Ov...
=================== 1 failed, 344 passed, 1 skipped in 5.90s ===================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build; python3.13 -m pytest test
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 
returned exit code 13
make: *** [debian/rules:12: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
Source: python-gmpy2
Source-Version: 2.2.1-3
Done: Martin Kelly <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-gmpy2, 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.
Martin Kelly <[email protected]> (supplier of updated python-gmpy2 
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, 20 Oct 2025 00:19:51 +0100
Source: python-gmpy2
Architecture: source
Version: 2.2.1-3
Distribution: unstable
Urgency: medium
Maintainer: Martin Kelly <[email protected]>
Changed-By: Martin Kelly <[email protected]>
Closes: 1117764
Changes:
 python-gmpy2 (2.2.1-3) unstable; urgency=medium
 .
   * Add upstream cherry-pick (Closes: #1117764)
   * Bump Standards-Version to 4.7.2 (no changes needed)
   * Update watch file version to 5
Checksums-Sha1:
 1a7350a44dc3fcebc25cb43f028a8bd7596b6187 2429 python-gmpy2_2.2.1-3.dsc
 e0e07fa3e14b6334a5090fb7fc64ab36dad541bc 6500 
python-gmpy2_2.2.1-3.debian.tar.xz
Checksums-Sha256:
 3e8325594d5d3843dc46e2dc9823c6473ee652073fae9c1c2a5f87b60ed0ad1f 2429 
python-gmpy2_2.2.1-3.dsc
 835ff9e5f94041ca4a9bec6e34c1d9c330c793561ed94b8862fba8627b894867 6500 
python-gmpy2_2.2.1-3.debian.tar.xz
Files:
 e66681d208c818cda6ec2913d1b2423d 2429 python optional python-gmpy2_2.2.1-3.dsc
 9bb3b6b81b085449bef61e35169f8524 6500 python optional 
python-gmpy2_2.2.1-3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmj1cwkACgkQOTWH2X2G
UAteLhAAkCrg+u9T4dBXIiEuK5t950FrsfVNu2hKvXBqPdM2Xk5EfmempK/byapf
oQV2C9wAX4z6jWQg2QCKNvFaF0LppQTeKq/MS6ZOJPFWBiZpjluwQqk9QzFK31Rg
SyXZDwFuyB/jlhOw4FhpyOjnGAvv0WKJGyrrb2QVe3afVUIj1gIJrlrUo+ewvRT7
meJJk3NyJ00wq6nLNieSjb2Oi8f65+5zYqYFa83tUJkqkRTmd2N2C60MVlpJ6hab
E40g/O0qh5cW8WnOvr9/Y+eh72w9QTSnlT3AsyKQDu7JNzWph3Y25zxg2JeEkbFk
q246U4L37vk7HyVJRgP8oqt23xxgjZCjhRiXABJJMdaKOY3AZ0JVuRbzH/+IY6cf
htuhKSW5wXzXN3U8TiADFOVI0biP/nTaCmFyjuLtXVXqu/8bafoF90xTVewPkhSl
jMa3260gi3GGvG/dwW++vshrnrYO9gjC0IUOAEIY70ZnsgTU4yhhsBFou8Ef4U8z
scXavOeyJ/NlvFL2FIm1Im/P7ky+oD3NC6wbrQRZTk/0tHO+ywOWxCiMONzAW6mT
w1JcNuqHl6/31Mwlj5nyM5uNuSM2KvXpPqRs/QnqxJcINqgqeGIZtqLTurgmSv+Z
oaBHwewQjRw81fhkT90d6/R4P+Z847bDex0bnFZpdAEqNRmCNXM=
=VaZc
-----END PGP SIGNATURE-----

Attachment: pgpXKTi7TuryQ.pgp
Description: PGP signature


--- End Message ---

Reply via email to