public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Python 2 cleanup: remaining packages, Dec 2020 update
@ 2020-11-28 21:47 Michał Górny
  2020-11-29 13:28 ` Marek Szuba
  0 siblings, 1 reply; 7+ messages in thread
From: Michał Górny @ 2020-11-28 21:47 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 809 bytes --]

Hi,

Here's an update on where we're standing right now.  Including only non-
masked packages.  Please note that there's only month left.  Afterwards,
the offending packages will be cleaned up / last rited (except for
build-time deps).


Waiting for cleanup of old (non-trivial!):
- dev-db/percona-server
- media-tv/mythtv
- x11-plugins/enigmail

Build-time deps, only old versions:
- dev-lang/spidermonkey

Build-time deps, to stay for the time being:
- dev-python/pypy*
- dev-qt/qtwebengine
- games-strategy/0ad
- www-client/chromium

Waiting for py3 port (likely last rite candidates):
- games-engines/renpy

Dependencies of other packages on the list:
- dev-python/numpy-python2 (games-engines/renpy)
- dev-python/pygame_sdl2 (likewise)

-- 
Best regards,
Michał Górny


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 618 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] Python 2 cleanup: remaining packages, Dec 2020 update
  2020-11-28 21:47 [gentoo-dev] Python 2 cleanup: remaining packages, Dec 2020 update Michał Górny
@ 2020-11-29 13:28 ` Marek Szuba
  2020-12-04  0:54   ` Michał Górny
  0 siblings, 1 reply; 7+ messages in thread
From: Marek Szuba @ 2020-11-29 13:28 UTC (permalink / raw
  To: gentoo-dev; +Cc: bircoph


[-- Attachment #1.1: Type: text/plain, Size: 501 bytes --]

On 2020-11-28 22:47, Michał Górny wrote:

> Waiting for py3 port (likely last rite candidates):
> - games-engines/renpy

RenPy 7.4.0, released on the 26th of November, features "new Python 3 
compatibility mode". It is of course up to the maintainer of this 
package to decide how to proceed but were this up to me, I would very 
much rather version-bump games-engines/renpy (in spite of 7.4.0 being 
described by upstream as a pre-release) than last-rite it altogether.

-- 
Marecki


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] Python 2 cleanup: remaining packages, Dec 2020 update
  2020-11-29 13:28 ` Marek Szuba
@ 2020-12-04  0:54   ` Michał Górny
  2020-12-04  9:07     ` Marek Szuba
  0 siblings, 1 reply; 7+ messages in thread
From: Michał Górny @ 2020-12-04  0:54 UTC (permalink / raw
  To: gentoo-dev; +Cc: bircoph

[-- Attachment #1: Type: text/plain, Size: 674 bytes --]

On Sun, 2020-11-29 at 14:28 +0100, Marek Szuba wrote:
> On 2020-11-28 22:47, Michał Górny wrote:
> 
> > Waiting for py3 port (likely last rite candidates):
> > - games-engines/renpy
> 
> RenPy 7.4.0, released on the 26th of November, features "new Python 3 
> compatibility mode". It is of course up to the maintainer of this 
> package to decide how to proceed but were this up to me, I would very 
> much rather version-bump games-engines/renpy (in spite of 7.4.0 being 
> described by upstream as a pre-release) than last-rite it altogether.

Sure but I'm afraid the games will need explicit porting to py3 as well.

-- 
Best regards,
Michał Górny


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 618 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] Python 2 cleanup: remaining packages, Dec 2020 update
  2020-12-04  0:54   ` Michał Górny
@ 2020-12-04  9:07     ` Marek Szuba
  2020-12-05 12:31       ` Andrew Savchenko
  0 siblings, 1 reply; 7+ messages in thread
From: Marek Szuba @ 2020-12-04  9:07 UTC (permalink / raw
  To: gentoo-dev


[-- Attachment #1.1: Type: text/plain, Size: 901 bytes --]

On 2020-12-04 01:54, Michał Górny wrote:

>>> Waiting for py3 port (likely last rite candidates):
>>> - games-engines/renpy
>>
>> RenPy 7.4.0, released on the 26th of November, features "new Python 3
>> compatibility mode". It is of course up to the maintainer of this
>> package to decide how to proceed but were this up to me, I would very
>> much rather version-bump games-engines/renpy (in spite of 7.4.0 being
>> described by upstream as a pre-release) than last-rite it altogether.
> 
> Sure but I'm afraid the games will need explicit porting to py3 as well.

Well, the games will probably have to go - if I see correctly we have 
currently got 4 games-engines/renpy revdeps in the tree 
(games-misc/katawa-shoujo, games-rpg/asphyxia, games-rpg/sakura-spirit, 
games-rpg/the-royal-trap) and they all explicitly depend on a slotted 
older version of the engine.

-- 
MS


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] Python 2 cleanup: remaining packages, Dec 2020 update
  2020-12-04  9:07     ` Marek Szuba
@ 2020-12-05 12:31       ` Andrew Savchenko
  2020-12-05 15:47         ` Marek Szuba
  0 siblings, 1 reply; 7+ messages in thread
From: Andrew Savchenko @ 2020-12-05 12:31 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 2147 bytes --]

Hi!

On Fri, 4 Dec 2020 10:07:21 +0100 Marek Szuba wrote:
> On 2020-12-04 01:54, Michał Górny wrote:
> 
> >>> Waiting for py3 port (likely last rite candidates):
> >>> - games-engines/renpy
> >>
> >> RenPy 7.4.0, released on the 26th of November, features "new Python 3
> >> compatibility mode". It is of course up to the maintainer of this
> >> package to decide how to proceed but were this up to me, I would very
> >> much rather version-bump games-engines/renpy (in spite of 7.4.0 being
> >> described by upstream as a pre-release) than last-rite it altogether.

Looks like you misunderstood what "Python 3 compatibility mode"
means. See official explanation:
https://www.renpy.org/dev-doc/html/changelog.html#python-2-python-3-compatibility-mode
*****************************************************
Full Changelog
7.4.0
[...]
Python 2/Python 3 Compatibility Mode

While Ren'Py is not yet supported on Python 3, this release of
Ren'Py includes several features to allow you to begin writing
scripts that will work on both Python 2 and Python 3.
*****************************************************

Just to be sure I tried to build renpy-7.4.0 using python3: it
fails because it still uses python2 code inside (but with import
future, so it can support scripts in python 3).

Python3 support for the RenPy itself is expected in 8.0 version.

> > Sure but I'm afraid the games will need explicit porting to py3 as well.
> 
> Well, the games will probably have to go - if I see correctly we have 
> currently got 4 games-engines/renpy revdeps in the tree 
> (games-misc/katawa-shoujo, games-rpg/asphyxia, games-rpg/sakura-spirit, 
> games-rpg/the-royal-trap) and they all explicitly depend on a slotted 
> older version of the engine.

1. pygame_sdl2 is ported to python3, so there is no need to remove
it even if renpy will be temporarily gone.

2. It should be possible to keep renpy and games as masked in the
tree, but this will require users to setup some python2 env
themselves. If this is an acceptable option, I can bump renpy to
7.4.0 in the tree.

Best regards,
Andrew Savchenko

[-- Attachment #2: Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] Python 2 cleanup: remaining packages, Dec 2020 update
  2020-12-05 12:31       ` Andrew Savchenko
@ 2020-12-05 15:47         ` Marek Szuba
  2020-12-05 22:11           ` Andrew Savchenko
  0 siblings, 1 reply; 7+ messages in thread
From: Marek Szuba @ 2020-12-05 15:47 UTC (permalink / raw
  To: gentoo-dev



On December 5, 2020 12:31:33 PM UTC, Andrew Savchenko <bircoph@gentoo.org> wrote:

>Looks like you misunderstood what "Python 3 compatibility mode"
>means. See official explanation:
>https://www.renpy.org/dev-doc/html/changelog.html#python-2-python-3-compatibility-mode

So I have. Oh well, last rites it most likely is then.  Or move py2 versions of RenPy and their revdeps to a dedicated overlay, maybe. I am not quite convinced simply having then masked in the main tree makes sense, as these will have to stay masked even after RenPy 8.0 has come out.

-- 
MS


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] Python 2 cleanup: remaining packages, Dec 2020 update
  2020-12-05 15:47         ` Marek Szuba
@ 2020-12-05 22:11           ` Andrew Savchenko
  0 siblings, 0 replies; 7+ messages in thread
From: Andrew Savchenko @ 2020-12-05 22:11 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1285 bytes --]

On Sat, 05 Dec 2020 15:47:40 +0000 Marek Szuba wrote:
> 
> 
> On December 5, 2020 12:31:33 PM UTC, Andrew Savchenko <bircoph@gentoo.org> wrote:
> 
> >Looks like you misunderstood what "Python 3 compatibility mode"
> >means. See official explanation:
> >https://www.renpy.org/dev-doc/html/changelog.html#python-2-python-3-compatibility-mode
> 
> So I have. Oh well, last rites it most likely is then.  Or move
> py2 versions of RenPy and their revdeps to a dedicated overlay,
> maybe.

Do we have a dedicated py2 overlay? Renpy has quite some py2 deps,
so it will be reasonable to support it in such overlay instead of
duplicating job for common packages.

> I am not quite convinced simply having then masked in the
> main tree makes sense, as these will have to stay masked even after
> RenPy 8.0 has come out.

The sense I see:
1) it will make it easier to update to 8.0;
2) for users willing to use renpy it will be a starting point,
though they'll need to setup py2 outside of portage somehow, maybe
using pip.

But maybe it will be easier for users to use bundled renpy from
games (it often comes with its own py2); though not all games have
linux port — that is the killer feature of the in-tree renpy
version.

Best regards,
Andrew Savchenko

[-- Attachment #2: Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-12-05 22:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-28 21:47 [gentoo-dev] Python 2 cleanup: remaining packages, Dec 2020 update Michał Górny
2020-11-29 13:28 ` Marek Szuba
2020-12-04  0:54   ` Michał Górny
2020-12-04  9:07     ` Marek Szuba
2020-12-05 12:31       ` Andrew Savchenko
2020-12-05 15:47         ` Marek Szuba
2020-12-05 22:11           ` Andrew Savchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox