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


Groups > linux.debian.bugs.dist > #1279325

Bug#1125925: Summary of off-list discussion regarding DFSG compliance and packaging status

From Arian Ott <arian.ott@ieee.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1125925: Summary of off-list discussion regarding DFSG compliance and packaging status
Date 2026-01-22 09:10 +0100
Message-ID <MfXVo-coga-9@gated-at.bofh.it> (permalink)
References <MeIOJ-bys8-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Hello,

This message serves as a summary of an off-list interaction between 
Gioele Barabucci and myself regarding the packaging status of 
python-rembg. To ensure proper documentation I am posting the key 
findings here.

----- BEGIN FINDINGS -----

1. Package status

Current status of the package:

* rembg passes the entire salsa-ci pipeline [1]
* I identified pymatting as missing dependency,
   causing a ModuleNotFoundError, which I will package separately.
* The included pytest was deactivated, as it requires external models to
   run. [2]

2. Investigation on model downloads

We investigated the automatic model download to ensure DFSG compliance.

* A review confirmed that nothing triggers an automatic download during
   the build phase
* While the source code (specifically in rembg/sessions) contains
   download_models methods that use pooch.retrieve , these paths are not
   executed during the build. An example of said download method can be
   found here. [3]


----- END FINDINGS -----

Taking all findings in account we must conclude that rembg is eligible 
for the main repos, as no model is downloaded during build time.

Furthermore patching the download_models methods is no longer needed [4]

This bug has been blocked by the pymatting ITP to document dependencies.


References:

[1] https://salsa.debian.org/Arian-Ott/python-rembg/-/pipelines/1009987
[2] 
https://github.com/danielgatis/rembg/blob/4ef22cea5a32279680720d758a0755f65ecc7fb4/tests/
test_remove.py#L22-L38
[3] 
https://github.com/danielgatis/rembg/blob/4ef22cea5a32279680720d758a0755f65ecc7fb4/rembg/sessions/u2net.py#L62-L72
[4] For context see: 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1125925#20

Best,

---
Arian Ott
arian.ott@ieee.org

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Find similar


Thread

Bug#1125925: RFP: rembg -- CLI tool to remove image backgrounds Gioele Barabucci <gioele@svario.it> - 2026-01-18 22:50 +0100
  Bug#1125925: RFP: rembg -- CLI tool to remove image backgrounds Arian Ott <arian.ott@ieee.org> - 2026-01-18 23:10 +0100
    Bug#1125925: RFP: rembg -- CLI tool to remove image backgrounds Gioele Barabucci <gioele@svario.it> - 2026-01-18 23:20 +0100
  Bug#1125925: RFP: rembg -- CLI tool to remove image backgrounds Gioele Barabucci <gioele@svario.it> - 2026-01-18 23:50 +0100
  Bug#1125925: Summary of off-list discussion regarding DFSG compliance and packaging status Arian Ott <arian.ott@ieee.org> - 2026-01-22 09:10 +0100

csiph-web