Bug#938656: texlive-extra: Python2 removal in sid/bullseye

2020-02-06 Thread Norbert Preining
On Thu, 06 Feb 2020, Hilmar Preuße wrote:
> I'm not sure what you mean if you say "all this". Currently I see just
> one python script in texlive-sience

Please see the changes on github, I had to drop
   - ebong
   - de-macro
   - lilyglyphs
   - pygmentex
   - sympytexpackage
and patch several scripts to have the correct shebang (because despite
the purge, /usr/bin/python is still not Python3).

I am currently testing packages and wait for TL upstream to settle down
(recently LaTeX and several core packages got updated, so I expect some
bug fix releases).

Best

Norbert

--
PREINING Norbert   http://www.preining.info
Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13



Bug#938656: texlive-extra: Python2 removal in sid/bullseye

2020-02-06 Thread Sandro Tosi
On Thu, Feb 6, 2020 at 10:23 AM Hilmar Preuße  wrote:
>
> Am 31.01.2020 um 11:21 teilte Norbert Preining mit:
>
> Hi Norbert,
>
> >> could you please have a look at this bug soon? texlive-science is the
> >
> > Well, I will upload some packages at some point in the future, which
> > simply upgrades all py2 to py3 deps, not taking into consideration
> > whether the actual files/scripts support/can be used with Py3.
> >
> > We are talking about 1+ files to be checked, and the gratious
> > deprecation of Py2 creates a bit of problems in TeX, where packages
> > that have been written 20 years ago are **still** in use, despite
> > not having a maintainer.
> >
> > So, let us happily break all this.
> >
> I'm not sure what you mean if you say "all this". Currently I see just
> one python script in texlive-sience
>
> hille@sid:~ $ dpkg -L texlive-science|grep \.py$
> /usr/share/texlive/texmf-dist/scripts/sympytexpackage/sympytex.py
>
> ..and yes it depends on python-sympy. Nevertheless I think we can drop
> the recommendation on python-sympy and the dep on python2: it will just
> break /one/ script.

FYI sympy in debian unstable already dropped python2 support:
https://packages.qa.debian.org/s/sympy/news/20200202T205535Z.html


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



Bug#938656: texlive-extra: Python2 removal in sid/bullseye

2020-02-06 Thread Hilmar Preuße
Am 31.01.2020 um 11:21 teilte Norbert Preining mit:

Hi Norbert,

>> could you please have a look at this bug soon? texlive-science is the
> 
> Well, I will upload some packages at some point in the future, which
> simply upgrades all py2 to py3 deps, not taking into consideration
> whether the actual files/scripts support/can be used with Py3.
> 
> We are talking about 1+ files to be checked, and the gratious 
> deprecation of Py2 creates a bit of problems in TeX, where packages
> that have been written 20 years ago are **still** in use, despite
> not having a maintainer.
> 
> So, let us happily break all this.
> 
I'm not sure what you mean if you say "all this". Currently I see just
one python script in texlive-sience

hille@sid:~ $ dpkg -L texlive-science|grep \.py$
/usr/share/texlive/texmf-dist/scripts/sympytexpackage/sympytex.py

..and yes it depends on python-sympy. Nevertheless I think we can drop
the recommendation on python-sympy and the dep on python2: it will just
break /one/ script.

On github you'll notice that the script author already did some steps to
support python3, but I guess it is not completed yet.

Hilmar
-- 
sigfault
#206401 http://counter.li.org



signature.asc
Description: OpenPGP digital signature


Bug#938656: texlive-extra: Python2 removal in sid/bullseye

2020-02-02 Thread Norbert Preining
Hi

> can this be very soon instead?

It is ready when it is ready! (Quote release managers).

> written 20 years ago will have to be upgraded or removed (that's just
> how IT works), and that's the reason why we are a distribution and not

Uhh, ohhh, you see the irony here, sending this to a TeX related circle?
DEK will be happy to know that he is not "IT", or outdated.

Enjoy

Norbert

--
PREINING Norbert   http://www.preining.info
Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13



Bug#938656: texlive-extra: Python2 removal in sid/bullseye

2020-01-31 Thread Sandro Tosi
On Fri, Jan 31, 2020 at 5:21 AM Norbert Preining  wrote:
>
> Hi
>
> > could you please have a look at this bug soon? texlive-science is the
>
> Well, I will upload some packages at some point in the future, which

can this be very soon instead?

> simply upgrades all py2 to py3 deps, not taking into consideration
> whether the actual files/scripts support/can be used with Py3.

it sounds a bit reckless but you're maintainer, you know whats best
for your package.

> We are talking about 1+ files to be checked, and the gratious
> deprecation of Py2 creates a bit of problems in TeX, where packages
> that have been written 20 years ago are **still** in use, despite
> not having a maintainer.

it's not the first time you mention this, but that wont make it any
truer. Python2 is dead upstream *and* will be removed, something
written 20 years ago will have to be upgraded or removed (that's just
how IT works), and that's the reason why we are a distribution and not
just a bunch of tarballs downloadable from a single source: we
harmonize and organize our packages.

> So, let us happily break all this.

alternatively, you can just actually check what would be broken and
patch it, fix it, remove it.

> I will ignore any bug report against TeX Live packages concerning
> Python henceforth.

it's unfortunate you decided to react this way, but that wont stop the
py2removal effort from continuing, including on TeX Live packages

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



Bug#938656: texlive-extra: Python2 removal in sid/bullseye

2020-01-31 Thread Norbert Preining
Hi

> could you please have a look at this bug soon? texlive-science is the

Well, I will upload some packages at some point in the future, which
simply upgrades all py2 to py3 deps, not taking into consideration
whether the actual files/scripts support/can be used with Py3.

We are talking about 1+ files to be checked, and the gratious 
deprecation of Py2 creates a bit of problems in TeX, where packages
that have been written 20 years ago are **still** in use, despite
not having a maintainer.

So, let us happily break all this.

I will ignore any bug report against TeX Live packages concerning
Python henceforth.

All the best

Norbert

--
PREINING Norbert   http://www.preining.info
Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13



Bug#938656: texlive-extra: Python2 removal in sid/bullseye

2020-01-30 Thread Sandro Tosi
Dear TeX Maintainers,

On Fri, 30 Aug 2019 07:55:39 + Matthias Klose  wrote:
> Package: src:texlive-extra
> Version: 2019.20190824-1
> Severity: normal
> Tags: sid bullseye
> User: debian-pyt...@lists.debian.org
> Usertags: py2removal

could you please have a look at this bug soon? texlive-science is the
last reverse dependency of python-sympy, and be able to remove that
package would unlock several other packages removal.

thanks,
Sandro



Bug#938656: texlive-extra: Python2 removal in sid/bullseye

2019-12-21 Thread Nicolas Boulenguez
Package: src:texlive-extra
Followup-For: Bug #938656
Control: unblock 938656 by 936624

gnat-gps embeds a python2 interpreter, but its documentation already
builds with python3.