Public bug reported:

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

** Affects: pyudev (Ubuntu)
     Importance: Undecided
     Assignee: Dave Jones (waveform)
         Status: Confirmed

** Changed in: pyudev (Ubuntu)
     Assignee: (unassigned) => Dave Jones (waveform)

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

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

Title:
  0.24.3 shipped with partial tests in PyPI

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to