On 1/29/20 10:39 PM, Matthias Klose wrote:
Package: src:python-gmpy2
Version: 2.1.0~b3-3
Severity: important
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: python3.8
python-gmpy2 fails autopkg tests with python3.8:
autopkgtest [09:06:22]: test command1: - - - - - - - - - - results - - - - - -
- - - -
command1 FAIL stderr: <doctest test_gmpy2_math.txt[68]>:1:
DeprecationWarning: an integer is required (got type mpfr). Implicit conversion
to integers using __int__ is deprecated, and may be removed in a future version
of Python.
autopkgtest [09:06:22]: test command1: - - - - - - - - - - stderr - - - - - - -
- - -
<doctest test_gmpy2_math.txt[68]>:1: DeprecationWarning: an integer is required
(got type mpfr). Implicit conversion to integers using __int__ is deprecated,
and may be removed in a future version of Python.
gmpy2.factorial(r)
autopkgtest [09:06:22]: @@@@@@@@@@@@@@@@@@@@ summary
command1 FAIL stderr: <doctest test_gmpy2_math.txt[68]>:1:
DeprecationWarning: an integer is required (got type mpfr). Implicit conversion
to integers using __int__ is deprecated, and may be removed in a future version
of Python.
Exit request sent.
Adding the maintainer, Case Van Horsen. Case, it looks like the
following autopkgtest command is failing with Python 3.8. The output is
above. You should be able to repro by running:
python3 test/runtests.py
as this is the command that the autopkgtest runs.
I have also opened a bug report on Github for this:
https://github.com/aleaxit/gmpy/issues/259