• What's with the python27 complaint?

    From Winston@21:1/5 to All on Tue Jul 7 12:59:39 2020
    "pkg annotate -a -S deprecated" says:

    firefox-78.0_2,1: Tag: deprecated Value: Uses Python 2.7 which is EOLed upstream

    Indeed, installing firefox emits a NOTICE that one should reconsider
    using it because it (allegedly) uses Python 2.7.

    * Sources found via Google say Python 2.7 was indeed EOLed 1/1/2020, so
    I believe that part.

    * However, I find no reference to python27 in the dependencies.

    * Actually installing firefox does not install python27.

    * Also, it doesn't look like "2.7" in the warning message is a typo for
    "3.7" because related sources say: "Python 3.7: security fixes AND bug
    fixes will be provided; End Of Life: 2023-06-27".

    So, what's going on?

    I iteratively did "pkg rquery %dn" on firefox and its dependencies until
    I ran out of new ones. In addition to the expected python37, I found
    128 other packages, from adwaita-icon-theme to xvid (alphabetically),
    but no mention of python27. Furthermore, as I said above, installing
    firefox does not install python27.

    So, where is this complaint about python27 coming from?

    Curious,
    -WBE

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Felix Palmen@21:1/5 to All on Tue Jul 7 22:47:25 2020
    * Winston <wbe@ubeblock.psr.com.invalid>:
    * Actually installing firefox does not install python27.

    Elaborating on this one, there are different kinds of dependencies, and
    one of them is a "build dependency", which means some software is needed
    to build another software, but it isn't needed at runtime.

    As for python27 in general, yes, it's EOL, and unfortunately, a lot of
    other software still depends on it and python3 isn't a "drop in"
    replacement. Work has to be done to move away from the deprecated python version. For a software as widely used as firefox, I'm pretty sure it
    will be solved in time. FreeBSD *will* of course remove python27 and all packages still depeding on it in time, as unsupported software is an uncalculable risk. Other (Linux?) distributions packaging firefox will
    have the same problem.

    --
    Dipl.-Inform. Felix Palmen <felix@palmen-it.de> ,.//..........
    {web} http://palmen-it.de {jabber} [see email] ,//palmen-it.de
    {pgp public key} http://palmen-it.de/pub.txt // """""""""""
    {pgp fingerprint} A891 3D55 5F2E 3A74 3965 B997 3EF2 8B0A BC02 DA2A

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Christian Weisgerber@21:1/5 to Winston on Tue Jul 7 19:31:11 2020
    On 2020-07-07, Winston <wbe@UBEBLOCK.psr.com.invalid> wrote:

    firefox-78.0_2,1: Tag: deprecated Value: Uses Python 2.7 which is EOLed upstream

    So, where is this complaint about python27 coming from?

    It's a build dependency via bsd.gecko.mk.

    --
    Christian "naddy" Weisgerber naddy@mips.inka.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Allodoxaphobia@21:1/5 to Felix Palmen on Tue Jul 7 21:51:16 2020
    On Tue, 7 Jul 2020 22:47:25 +0200, Felix Palmen wrote:
    * Winston <wbe@ubeblock.psr.com.invalid>:
    * Actually installing firefox does not install python27.

    Elaborating on this one, there are different kinds of dependencies, and
    one of them is a "build dependency", which means some software is needed
    to build another software, but it isn't needed at runtime.

    As for python27 in general, yes, it's EOL, and unfortunately, a lot of
    other software still depends on it and python3 isn't a "drop in"
    replacement.

    Quite true. I kept getting the warning each day to Charley Root, and I uninstalled it without any issues that I knew of - - - - until the next
    time I ran `getmail`. Sure enough, it's a depends for `getmail`.
    So, I re-installed python27.
    I have found nothing out of the `getmail` universe v-a-v the EOL of python27.

    Jonesy
    --
    Marvin L Jones | Marvin | W3DHJ.net | linux
    38.238N 104.547W | @ jonz.net | Jonesy | FreeBSD
    * Killfiling google & XXXXbanter.com: jonz.net/ng.htm

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Winston@21:1/5 to I previously on Wed Jul 8 03:15:37 2020
    I previously asked why firefox complains about python27 EOL since ...
    * Actually installing firefox does not install python27.

    to which felix@palmen-it.de (Felix Palmen) kindly replied:
    Elaborating on this one, there are different kinds of dependencies,
    and one of them is a "build dependency", which means some software is
    needed to build another software, but it isn't needed at runtime.

    Ah, thank you for explaining that! I would not have guessed that build dependencies would be retained as part of a pkg repository item.
    -WBE

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)