[Bug 2096544] Re: 0.24.3 shipped with partial tests in PyPI

Launchpad Bug Tracker 2096544 at bugs.launchpad.net
Fri Jan 24 03:11:58 UTC 2025


This bug was fixed in the package pyudev - 0.24.3+tests-0ubuntu1

---------------
pyudev (0.24.3+tests-0ubuntu1) plucky; urgency=medium

  * Switch orig tar-ball source to GitHub instead of PyPI to include the
    full test suite (LP: #2096544)

 -- Dave Jones <dave.jones at canonical.com>  Thu, 23 Jan 2025 19:12:27
+0000

** Changed in: pyudev (Ubuntu)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pyudev in Ubuntu.
https://bugs.launchpad.net/bugs/2096544

Title:
  0.24.3 shipped with partial tests in PyPI

Status in pyudev package in Ubuntu:
  Fix Released

Bug description:
  The current version of pyudev in the archive (0.24.3) shipped with
  several files under tests/ missing. This appears to be a combination
  of a couple of factors:

  * firstly a mistake in the PyPI packaging (reported upstream [1]), and

  * secondly the fact the Debian package is using the PyPI archive in
  the first place (grabbing an orig tar-ball from GitHub is generally
  preferred for more or less this reason -- that test suites and other
  things may quite reasonably be excluded from PyPI packaging)

  The upstream developers advise (at [1]) that the test-suite included
  in the repo should not be used in packaging, and suggests an alternate
  set [2]. However, we don't run the full test-suite, merely a subset so
  I think we're probably okay sticking with that. Still, we should
  switch the source of the orig tar-ball to GitHub, and produce a new
  upload of the current version that includes the full test-suite.

  [1]: https://github.com/pyudev/pyudev/pull/519

  [2]: https://src.fedoraproject.org/tests/python-pyudev/tree/main

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pyudev/+bug/2096544/+subscriptions




More information about the foundations-bugs mailing list