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


Groups > linux.debian.maint.python > #13874

Re: Update packages to recent version

From Thomas Goirand <zigo@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Update packages to recent version
Date 2022-01-14 13:50 +0100
Message-ID <DFubL-6EW-3@gated-at.bofh.it> (permalink)
References <DFeTn-4CP-1@gated-at.bofh.it>
Organization Debian

Show all headers | View raw


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)

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Update packages to recent version Mechtilde Stehmann <mechtilde@debian.org> - 2022-01-13 21:30 +0100
  Re: Update packages to recent version Sandro Tosi <morph@debian.org> - 2022-01-13 21:50 +0100
    Re: Update packages to recent version Mechtilde Stehmann <mechtilde@debian.org> - 2022-01-13 22:00 +0100
  Re: Update packages to recent version Paul Wise <pabs@debian.org> - 2022-01-14 02:30 +0100
  Re: Update packages to recent version Thomas Goirand <zigo@debian.org> - 2022-01-14 13:50 +0100
    Re: Update packages to recent version Mechtilde <ooo@mechtilde.de> - 2022-01-15 10:00 +0100
  Bug#986227: Update packages to recent version Phil Morrell <debian@emorrp1.name> - 2022-01-15 22:30 +0100

csiph-web