Package: python3-torch
Version: 2.12.0+dfsg2-1
Severity: wishlist

Dear Maintainer,

python3-six is an old Python2+3 shim we are trying to get rid of.

The latest upload of python3-torch is brining it back.

Upstream's pyproject.toml talks about "dependency" chains,
but that's not how it works in Debian; each package must
only Depends on what it needs for itself.

Well python3-peachpy needs fixing in Debian regarding python3-six
but it has a popcon of 2
while python3-torch has a popcon of 1121.


Please trim out the two
 '"six",  # dependency chain: NNPACK -> PeachPy -> six'
from pyproject.toml.

Please ask upstream if they'd consider merge this change.

Greetings

Alexandre


---------------


$ grep six pyproject.toml -C 4
    "numpy",
    "packaging",
    "pyyaml",
    "requests",
    "six",  # dependency chain: NNPACK -> PeachPy -> six
    "typing-extensions>=4.10.0",
]
build-backend = "setuptools.build_meta"

--
    "numpy",
    "packaging",
    "pyyaml",
    "requests",
    "six",  # dependency chain: NNPACK -> PeachPy -> six
    "typing-extensions>=4.10.0",

    # This list should be kept in sync with the requirements.txt in
    # PyTorch root until the project fully migrates to pyproject.toml



-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (501, 'testing'), (450, 'unstable'), (400, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 7.0.7+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_BE:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-torch depends on:
ii  python3-requests           2.32.5+dfsg-1
ii  python3-setuptools         80.9.0-1
ii  python3-six                1.17.0-2  <-----------
ii  python3-sympy              1.14.0-3
ii  python3-typing-extensions  4.15.0-2
ii  python3-wheel              0.47.0-1
ii  python3-yaml               6.0.3-1

Reply via email to