Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #89811 > unrolled thread

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

Started byAlexandre Detiste <alexandre.detiste@gmail.com>
First post2025-10-28 15:40 +0100
Last post2025-11-08 21:20 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#1119268: linux: please replace call to historic "py.test" command with calls to "pytest" Alexandre Detiste <alexandre.detiste@gmail.com> - 2025-10-28 15:40 +0100
    Bug#1119268: marked as done (linux: please replace call to  historic "py.test" command with calls to "pytest") "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-11-08 21:20 +0100

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

FromAlexandre Detiste <alexandre.detiste@gmail.com>
Date2025-10-28 15:40 +0100
SubjectBug#1119268: linux: please replace call to historic "py.test" command with calls to "pytest"
Message-ID<LKT1D-8EoT-3@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#89961 — Bug#1119268: marked as done (linux: please replace call to historic "py.test" command with calls to "pytest")

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2025-11-08 21:20 +0100
SubjectBug#1119268: marked as done (linux: please replace call to historic "py.test" command with calls to "pytest")
Message-ID<LOXzI-bu9H-15@gated-at.bofh.it>
In reply to#89811

[Multipart message — attachments visible in raw view] — view raw

Your message dated Sat, 08 Nov 2025 20:10:10 +0000
with message-id <E1vHpGE-000hB0-26@fasolo.debian.org>
and subject line Bug#1119268: fixed in linux 6.18~rc4-1~exp1
has caused the Debian Bug report #1119268,
regarding linux: please replace call to historic "py.test" command with calls to "pytest"
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 owner@bugs.debian.org
immediately.)


-- 
1119268: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1119268
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web