pulp / pulp_deb

Debian repository plugin for Pulp (pulpproject.org)
GNU General Public License v2.0
61 stars 76 forks source link

[PR #1020/98d82667 backport][3.1] Suppress the warnings about python3-apt not being installed #1022

Closed patchback[bot] closed 4 months ago

patchback[bot] commented 4 months ago

This is a backport of PR #1020 as merged into main (98d826674f203317e615c3568ff67f2ceb82c6c4).

closes #1019

We no longer want to see warnings like the following in the log:

pulpcore-worker: /usr/lib/python3.9/site-packages/debian/deb822.py:716: UserWarning: Parsing of Deb822 data with python3-apt’s apt_pkg was requested but this package is not importable. Is python3-apt installed?