Package: python3-gmpy2
Version: 2.1.0~b4-1+b1
Severity: important

(please ignore debian release information below, a rolling release
is used)

python3.7 is being used, here (not python3.8)

however python3-gmpy2 has *only* been compiled for python3.8.
this is severely exclusionary, forces people to hard-upgrade to a
set and specific version of python, and very bad practice.

this bugreport's severity might need to be upgraded.

most "good" python packages compile multiple versions not just
for python2 and python3, they compile for multiple versions *of*
python2 (or, used to) and python3.

this package should cookie-cut such other packages, there are plenty
that do this.


>>> import gmpy2
# /usr/lib/python3/dist-packages/gmpy2/__pycache__/__init__.cpython-37.pyc 
matches /usr/lib/python3/dist-packages/gmpy2/__init__.py
# code object from 
'/usr/lib/python3/dist-packages/gmpy2/__pycache__/__init__.cpython-37.pyc'
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/lib/python3/dist-packages/gmpy2/__init__.py", line 1, in <module>
    from .gmpy2 import *
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'gmpy2.gmpy2'




-- System Information:
Debian Release: 8.1
  APT prefers oldoldstable
  APT policy: (500, 'oldoldstable'), (500, 'testing'), (500, 'stable'), (500, 
'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-6-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python3-gmpy2 depends on:
ii  libc6                2.29-9
ii  libgmp10             2:6.1.2+dfsg-4
ii  libmpc3              1.1.0-1
ii  libmpfr6             4.0.1-1
ii  python-gmpy2-common  2.1.0~b4-1
ii  python3              3.8.2-2
pn  python3:any          <none>

python3-gmpy2 recommends no packages.

Versions of packages python3-gmpy2 suggests:
pn  python-gmpy2-doc  <none>

-- no debconf information

Reply via email to