[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1119268: linux: please replace call to historic "py.test" command with calls to "pytest"



Source: linux
Version: 6.16.12-2
Severity: minor

Dear Maintainers,

"py.test" was spun out of PyPy's "py" librairy ~20 years ago.

In 2016 "py.test" was renamed "pytest".


I am maintainer of the old "python3-py" that is now abandonned upstream.

I'm currently untying this package from the distribution.


The 'py.test' compat symlink is in fact provided by python3-pytest

  $ dpkg -S /usr/bin/py.test
  python3-pytest: /usr/bin/py.test


... but still removing these three extraneous dots from
the packaging would help triage the matches from Debian Code Search.

(Maybe this compat link will be dropped someday too)


Here is a mock patch made from the edited results of Debian Code Search.

Greetings,

Alexandre


https://codesearch.debian.net/search?q=py.test+path%3Adebian%2F+-path%3Adebian%2Fchangelog&literal=1


linux_6.16.12-2/debian/templates/main.tests-control.in
-  Test-Command: py.test debian/lib/python
+  Test-Command: pytest debian/lib/python
   Depends: python3-pytest, python3-jinja2
   Restrictions: superficial
   PathRank: 0.5, Final: 0.58186734

linux_6.16.12-2/debian/tests/control
-  Test-Command: py.test debian/lib/python
+  Test-Command: pytest debian/lib/python
   Restrictions: superficial
   Depends: python3-pytest, python3-jinja2
   PathRank: 0.5, Final: 0.58186734

linux_6.16.12-2/debian/salsa-ci.yml
     - pass=true
     - xargs flake8 --max-line-length=100 < "$sources" || pass=false
-    - py.test debian/lib/python || pass=false
+    - pytest debian/lib/python || pass=false
     - $pass
   needs: []



-- 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 6.16.12+deb14+1-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


Reply to: