Bug#935767: Please remove Python 2 support and usage from uwsgi

2020-04-06 Thread Sandro Tosi
control: tags -1 + patch

On Mon, 26 Aug 2019 01:30:29 +0200 Thomas Goirand  wrote:
> Package: uwsgi
> Version: 2.0.18-4
> Severity: important
> Tags: patch
>
> As python 2 is going away from Bullseye, we should remove any trace of Python 
> 2
> package from src:uwsgi, and also make it use Python 3 only.

i've opened a MR to remove python2 support from src:uwsgi:
https://salsa.debian.org/uwsgi-team/uwsgi/-/merge_requests/1

i found working on this package extremely hard, so there can be some
areas i didnt cover completely, but the package builds fine and there
are no more python2 dependencies

It would be helpful if you could review, merge and release a new
package, so that we can continue with the py2removal effort (uwsgi is
at the top of the list)

Regards,
Sandro



Bug#935767: [pkg-uWSGI-devel] Bug#935767: Please remove Python 2 support and usage from uwsgi

2019-08-26 Thread Thomas Goirand
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256


On 8/26/19 7:12 AM, Jonas Smedegaard wrote:
> Quoting Thomas Goirand (2019-08-26 01:30:29)
>> Tags: patch
> 
> Do a patch really exist covering _all_ which this bugreport covers?
> 
> My impression from your description below is that a patch exist only f
or
> parts of the problem tracked here.

- From the point of view of Debian, all is ok, we just need to add
python3-six as (build-)depends. Though upstream also needs to express
this in their setup.py stuff.

> Thanks for your work on this, Thomas!

My pleasure!

Thomas
-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEE3+Kkgn20FPaRPp/ST56os/RrPrsFAl1j2zYACgkQT56os/Rr
Prtj6w//TW9LDHMm05zFSzEv77Pt+g3RU/Tk2M+YWlh7p9fLKClw6sRDsKYtDp+u
xBicREmmO1nGXh3lg+c69a9W/1kwBOn5sOqNa5qdP/z9P4qY8jbcCK6d7K718bwH
NOeHBLZpZSuvj6v/6Q/1Ha0+qMZ252CV3GVA4BUOm8PxV21auadEkUU9sNZXZK/m
M8nAOD7WpDea3g+MOD3BVb6lo7mzwa3R+Hi8GZfPjcxQVlCgCvdN8r7cjWiiXi1X
0Jti8CaF9Dd2XZt9/2sjh3CNAbOl/hIDEaLn5nMbEeq0s2mR5yxDVeAJTFKguCu4
QKIF1KHflu2JsWOaP72I+5PkeD+SFfWAcDWActMcDuh02x3IG03llqmkeGimvCCt
FhMczlaV7qklooJu3iQq3LVSKsMy0ZWiG8ycy+olxdFSubeRLaTyqIXWfHhxUKpI
Y8YkXXeTqaoHVFKxdj3Xg1mEJh6vTpplTKEBwz8td7we96YFaUbHeZVl04GkeOYv
CO3Q71Eeg5xBQ6Q7xsPAbXEVvxtAQJJ5b6Vwvne+lfWJ44/fLOUnszlGkVN4GCI6
Soj3V2toY79JRMAdTt51C/7++d/FK1cbODblhvPNVH5Rtq1o9m6499FFBfd0jEjy
EbKs2Ex4DK/h1DHjsHRqHZUNSIK6AzCEPsqsqn+D4uJBGQZsAZ8=
=r7bC
-END PGP SIGNATURE-



Bug#935767: [pkg-uWSGI-devel] Bug#935767: Please remove Python 2 support and usage from uwsgi

2019-08-25 Thread Jonas Smedegaard
Quoting Thomas Goirand (2019-08-26 01:30:29)
> Tags: patch

Do a patch really exist covering _all_ which this bugreport covers?

My impression from your description below is that a patch exist only for 
parts of the problem tracked here.


> As python 2 is going away from Bullseye, we should remove any trace of 
> Python 2 package from src:uwsgi, and also make it use Python 3 only.
> 
> I've already opened a pull request upstream to fix (hopefuly all) of 
> the code regarding Python 3 compatibility:
> 
> https://github.com/unbit/uwsgi/pull/2062
> 
> Let's wait for a while to see if upstream merges it before fixing the 
> Debian package. Note that a no-py2 branch now exists in Salsa for 
> solving this bug, but as the patch is rather big, it'd be much nicer 
> if it could be first accepted upstream, and probably a new version 
> released.

Thanks for your work on this, Thomas!


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Bug#935767: Please remove Python 2 support and usage from uwsgi

2019-08-25 Thread Thomas Goirand
Package: uwsgi
Version: 2.0.18-4
Severity: important
Tags: patch

As python 2 is going away from Bullseye, we should remove any trace of Python 2
package from src:uwsgi, and also make it use Python 3 only.

I've already opened a pull request upstream to fix (hopefuly all) of the code
regarding Python 3 compatibility:

https://github.com/unbit/uwsgi/pull/2062

Let's wait for a while to see if upstream merges it before fixing the Debian
package. Note that a no-py2 branch now exists in Salsa for solving this bug,
but as the patch is rather big, it'd be much nicer if it could be first
accepted upstream, and probably a new version released.

Cheers,

Thomas Goirand (zigo)