Bug#932820: vanguards: Use Python 3 instead of PyPy, because we are going to remove unsupported PyPy

2022-11-01 Thread Bastian Germann

On Sat, 15 Oct 2022 22:56:30 +0200 Micha Lenk  wrote:

* dh-python has a Debhelper sequence for pypy (Python 2), but not
   for pypy3 (Python 3). There is no bug report for dh-python open
   that would request it.

* Once a pypy3 Debhelper sequence is available, the following pypy3
   packages need to be created (just from looking at vanguards's
   Build-Depends:)
   * pypy3-setuptools
   * pypy3-stem
   * pypy3-pytest
   * pypy3-ipaddress


#1011926 will autoremove pypy (and with it vanguards) in a month.
You should really think of moving to CPython 3 as long as the pypy3
conditions are not fulfilled. I do not think there is high probability
of this happening before bookworm freeze, so if you want to keep
vanguards in bookworm CPython is the way to go.



Bug#932820: vanguards: Use Python 3 instead of PyPy, because we are going to remove unsupported PyPy

2022-10-15 Thread Micha Lenk

Control: retitle -1 vanguards: Migrate to PyPy3 (Python 3)

Hi,

On Fri, 26 Jul 2019 14:19:21 -0300 Ondrej Novy  wrote:

[...] current plan is:

* remove almost all pypy modules, keep only pypy interpreter (and maybe

setuptools, etc.)

* migrate to pypy3 (not possible now, waiting for tooling)


I've fixed this bug's title to reflect the new plan.

The plan is a bit unspecific about what tooling could be missing, so I 
started to investigate a bit:


* pypy3 is available

* dh-python has a Debhelper sequence for pypy (Python 2), but not
  for pypy3 (Python 3). There is no bug report for dh-python open
  that would request it.

* Once a pypy3 Debhelper sequence is available, the following pypy3
  packages need to be created (just from looking at vanguards's
  Build-Depends:)
  * pypy3-setuptools
  * pypy3-stem
  * pypy3-pytest
  * pypy3-ipaddress

Regards,
Micha



Bug#932820: vanguards: Use Python 3 instead of PyPy, because we are going to remove unsupported PyPy

2019-07-26 Thread Ondrej Novy
Hi,

yes, sorry for noise. After talk over IRC, current plan is:

* remove almost all pypy modules, keep only pypy interpreter (and maybe
setuptools, etc.)
* migrate to pypy3 (not possible now, waiting for tooling)

Thanks.

-- 
Best regards
 Ondřej Nový


Bug#932820: vanguards: Use Python 3 instead of PyPy, because we are going to remove unsupported PyPy

2019-07-26 Thread Iain Learmonth
Control: tags -1 + wontfix

Hi,

On closer inspection the premise of this bug is also false. pypy is not
unsupported. See this FAQ item:

http://doc.pypy.org/en/latest/faq.html#how-long-will-pypy-support-python2

Thanks,
Iain.



signature.asc
Description: OpenPGP digital signature


Bug#932820: vanguards: Use Python 3 instead of PyPy, because we are going to remove unsupported PyPy

2019-07-26 Thread Iain Learmonth
Hi,

On 26/07/2019 13:51, Ondrej Novy wrote:
> there will be no pypy3-* packages. python3-* can/should be run with
> pypy3. Is that right, Stefano?

pybuild also doesn't seem to have any support for pypy3.

Thanks,
Iain.



signature.asc
Description: OpenPGP digital signature


Bug#932820: vanguards: Use Python 3 instead of PyPy, because we are going to remove unsupported PyPy

2019-07-26 Thread Ondrej Novy
Hi,

st 24. 7. 2019 v 11:00 odesílatel Iain Learmonth  napsal:

> We are using PyPy because Python 3 was not really fast enough. The
> migration path here is that we move to pypy3. We are blocked by the lack
> of packages for pypy3-setuptools and pypy3-stem.
>

there will be no pypy3-* packages. python3-* can/should be run with pypy3.
Is that right, Stefano?

-- 
Best regards
 Ondřej Nový


Bug#932820: vanguards: Use Python 3 instead of PyPy, because we are going to remove unsupported PyPy

2019-07-24 Thread Iain Learmonth
Hi,

On 23/07/2019 17:38, Ondřej Nový wrote:
> please use Python 3 instead of PyPy, because we are going to remove
> unsupported PyPy.

We are using PyPy because Python 3 was not really fast enough. The
migration path here is that we move to pypy3. We are blocked by the lack
of packages for pypy3-setuptools and pypy3-stem.

Thanks,
Iain.



signature.asc
Description: OpenPGP digital signature


Bug#932820: vanguards: Use Python 3 instead of PyPy, because we are going to remove unsupported PyPy

2019-07-23 Thread Ondřej Nový
Package: vanguards
Version: 0.3.1-1
Severity: normal

Hi,

please use Python 3 instead of PyPy, because we are going to remove
unsupported PyPy.

Debdiff attached.

Thanks.

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_SOFTLOCKUP
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8), 
LANGUAGE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages vanguards depends on:
pn  pypy 
pn  pypy-ipaddress   
pn  pypy-setuptools  
pn  pypy-stem
pn  tor  

vanguards recommends no packages.

vanguards suggests no packages.
diff -Nru vanguards-0.3.1/debian/control vanguards-0.3.1/debian/control
--- vanguards-0.3.1/debian/control  2019-02-06 20:10:43.0 +0100
+++ vanguards-0.3.1/debian/control  2019-07-23 18:29:04.0 +0200
@@ -6,11 +6,10 @@
 Build-Depends: debhelper (>= 11),
dh-exec,
dh-python,
-   pypy,
-   pypy-setuptools,
-   pypy-stem (>= 1.6.0-3.1),
-   pypy-pytest,
-   pypy-ipaddress
+   python3,
+   python3-setuptools,
+   python3-stem (>= 1.6.0-3.1),
+   python3-pytest,
 Standards-Version: 4.1.5
 Vcs-Browser: https://github.com/mikeperry-tor/vanguards
 Vcs-Git: https://github.com/mikeperry-tor/vanguards
@@ -19,8 +18,7 @@
 Package: vanguards
 Architecture: all
 Depends: ${misc:Depends},
- ${pypy:Depends},
- pypy-ipaddress,
+ ${python3:Depends},
  tor
 Description: Additional protections for Tor Onion Services
  vanguards uses the Stem Tor control port library to connect to a Tor control
diff -Nru vanguards-0.3.1/debian/changelog vanguards-0.3.1/debian/changelog
--- vanguards-0.3.1/debian/changelog2019-05-28 11:15:00.0 +0200
+++ vanguards-0.3.1/debian/changelog2019-07-23 18:32:54.0 +0200
@@ -1,3 +1,10 @@
+vanguards (0.3.1-2) UNRELEASED; urgency=medium
+
+  * Use Python 3 instead of PyPy, because we are going to remove unsupported
+PyPy
+
+ -- Ondřej Nový   Tue, 23 Jul 2019 18:32:54 +0200
+
 vanguards (0.3.1-1) unstable; urgency=medium
 
   * New upstream version 0.3.1
diff -Nru vanguards-0.3.1/debian/rules vanguards-0.3.1/debian/rules
--- vanguards-0.3.1/debian/rules2019-02-06 20:09:54.0 +0100
+++ vanguards-0.3.1/debian/rules2019-07-23 18:25:20.0 +0200
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 %:
-   dh $@ --with pypy --buildsystem=pybuild
+   dh $@ --with python3 --buildsystem=pybuild
 
 override_dh_installsystemd:
dh_installsystemd --no-enable --no-start