Path: csiph.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!bofh.it!news.nic.it!robomod From: Thomas Goirand Newsgroups: linux.debian.maint.python Subject: Re: Update packages to recent version Date: Fri, 14 Jan 2022 13:50:01 +0100 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Fri Jan 14 12:42:44 2022 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7.001 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, NICE_REPLY_A=-0.001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -3.5 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 Content-Language: en-US Organization: Debian Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailing-List: archive/latest/19687 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/950143ac-4d7c-1f5a-2ba3-0ca932f45942@debian.org Approved: robomod@news.nic.it Lines: 36 Sender: robomod@news.nic.it X-Original-Date: Fri, 14 Jan 2022 13:42:26 +0100 X-Original-Message-ID: <950143ac-4d7c-1f5a-2ba3-0ca932f45942@debian.org> X-Original-References: <74cd839e-89de-58e8-4faa-893a2d5da078@debian.org> Xref: csiph.com linux.debian.maint.python:13874 On 1/13/22 21:25, Mechtilde Stehmann wrote: > Hallo, > > I intend to package paperless-ng. > > Many of its dependencies are packaged in Debian but in an older version. > You can see the list at > https://salsa.debian.org/mechtilde/paperless-ng/-/wikis/home > > Are there any hints to upload newer versions? > > Kind regards Hi, If you're looking at the requirements.txt file from upstream to tell what version you need in Debian, this is a *very* wrong approach. What's happening is that your upstream is using the requirements.txt to tell pip what version to fetch for paperless-ng testing. This is, in no way, some indication of what should be in your package. For example, the requirements.txt contains: pytz==2021.1 however, I'd be really surprised if paperless-ng wouldn't work with some other version of python3-tz (even an older one). What's harder then, is to know what is the minimum version of each component for your application. However, running internal tests at build time may help you to know. I hope this helps, Cheers, Thomas Goirand (zigo)