Re: Update packages to recent version

2022-01-15 Thread Phil Morrell
Control: retitle -1 ITP: paperless-ng -- scan, index and archive all your 
physical documents
Control: owner -1 Mechtilde Stehmann 
thanks

On Thu, Jan 13, 2022 at 09:25:14PM +0100, Mechtilde Stehmann wrote:
> 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

Thanks for working on this, I currently use it on my home system and
would be interested in testing a packaged version.


signature.asc
Description: PGP signature


Re: Update packages to recent version

2022-01-15 Thread Mechtilde

Hello,

thank you for your usefull hints.

Now I will start to propare the package of paperless-ng and will look, 
what happens.


Kind regards

Mechtilde


Am 14.01.22 um 13:42 schrieb Thomas Goirand:

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)



--
Mechtilde Stehmann
## Apache OpenOffice
## Freie Office Suite für Linux, MacOSX, Windows und OS/2
## Debian Developer
## PGP encryption welcome
## F0E3 7F3D C87A 4998 2899  39E7 F287 7BBA 141A AD7F



Re: Update packages to recent version

2022-01-14 Thread Thomas Goirand

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)



Re: Update packages to recent version

2022-01-13 Thread Paul Wise
On Thu, 2022-01-13 at 21:25 +0100, Mechtilde Stehmann wrote:

> Are there any hints to upload newer versions?

There are some hints about this on the team git policy page:

https://wiki.debian.org/Python/GitPackaging

Probably some other wiki pages are helpful too.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


signature.asc
Description: This is a digitally signed message part


Re: Update packages to recent version

2022-01-13 Thread Mechtilde Stehmann

Hello Sandro,


Am 13.01.22 um 21:41 schrieb Sandro Tosi:

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


how did you come up with the list of packages that require updates? i
just checked one, uvicorn, and upstream requires 0.15.0
https://github.com/jonaswinkler/paperless-ng/blob/master/requirements.txt#L95
which is already in the archive, and still it's in your list of
packages that needs to be updated.

are you sure that list is accurate?


This list is from the begin of October 2021, When I start with the 
updates I will sort out the packages which are already updated.


kind regards


--
Mechtilde Stehmann
## Debian Developer
## PGP encryption welcome
## F0E3 7F3D C87A 4998 2899  39E7 F287 7BBA 141A AD7F


Re: Update packages to recent version

2022-01-13 Thread Sandro Tosi
> 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

how did you come up with the list of packages that require updates? i
just checked one, uvicorn, and upstream requires 0.15.0
https://github.com/jonaswinkler/paperless-ng/blob/master/requirements.txt#L95
which is already in the archive, and still it's in your list of
packages that needs to be updated.

are you sure that list is accurate?

-- 
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
Twitter: https://twitter.com/sandrotosi



Update packages to recent version

2022-01-13 Thread Mechtilde Stehmann

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

--
Mechtilde Stehmann
## Debian Developer
## PGP encryption welcome
## F0E3 7F3D C87A 4998 2899  39E7 F287 7BBA 141A AD7F