Skip to contentSkip to conversation

Can we retire Python 2 now?

DISCUSSION Markus Armbruster 5 participants 7 messages Dec 20, 2019 – Dec 21, 2019 KVM

lore
Share & tools
lore
#0 lore raw

Python 2 EOL is only a few days away[*]. We made configure bitch about it in commit e5abf59eae "Deprecate Python 2 support", 2019-07-01. Any objections to retiring it now, i.e. in 5.0?

Cc'ing everyone who appears to be maintaining something that looks like a Python script.

[*] https://pythonclock.org/

#1 lore raw
Quoted 3 lines · Markus Armbruster

Python 2 EOL is only a few days away[*]. We made configure bitch about it in commit e5abf59eae "Deprecate Python 2 support", 2019-07-01. Any objections to retiring it now, i.e. in 5.0?

Thanks for the reminder!

I'll be honest: even if somebody in this list objects to dropping Python 2 support, I'm not willing to be maintainer of a Python 2 codebase in 2020. The only reason for not doing it in 4.1 was the tests/vm/netbsd breakage we took very long to debug and fix.

I have just submitted this pull request:

Subject: [PULL 0/2] Require Python >= 3.5 to build QEMU
https://lore.kernel.org/qemu-devel/[email protected]/

Quoted 5 lines

Cc'ing everyone who appears to be maintaining something that looks like a Python script.

[*] https://pythonclock.org/

Signature · 1 line
Eduardo
Acked-by Reviewed-by
#3 lore raw
In reply to Markus Armbruster
Quoted 8 lines · Markus Armbruster

Python 2 EOL is only a few days away[*]. We made configure bitch about it in commit e5abf59eae "Deprecate Python 2 support", 2019-07-01. Any objections to retiring it now, i.e. in 5.0?

Cc'ing everyone who appears to be maintaining something that looks like a Python script.

[*] https://pythonclock.org/

I am pretty sure that I am not a python maintaainer at all.

But anyways, python3 is only at python3.7.
python3.0 debuted at 2008, so ...

And anything else that you can think that endorses the change.

Later, Juan.

#4 lore raw
Quoted 11 lines · Juan Quintela
Quoted 8 lines · Markus Armbruster

Python 2 EOL is only a few days away[*]. We made configure bitch about it in commit e5abf59eae "Deprecate Python 2 support", 2019-07-01. Any objections to retiring it now, i.e. in 5.0?

Cc'ing everyone who appears to be maintaining something that looks like a Python script.

[*] https://pythonclock.org/

I am pretty sure that I am not a python maintaainer at all.

You are:

    $ scripts/get_maintainer.pl -f scripts/vmstate-static-checker.py
    Juan Quintela <[email protected]> (maintainer:Migration)
    "Dr. David Alan Gilbert" <[email protected]> (maintainer:Migration)
    Eduardo Habkost <[email protected]> (odd fixer:Python scripts)
    Cleber Rosa <[email protected]> (odd fixer:Python scripts)
    [email protected] (open list:All patches CC here)

Resistance is futile!

[...]

#2 lore raw
In reply to Eduardo Habkost
Quoted 11 lines · Eduardo Habkost
Quoted 3 lines · Markus Armbruster

Python 2 EOL is only a few days away[*]. We made configure bitch about it in commit e5abf59eae "Deprecate Python 2 support", 2019-07-01. Any objections to retiring it now, i.e. in 5.0?

Thanks for the reminder!

I'll be honest: even if somebody in this list objects to dropping Python 2 support, I'm not willing to be maintainer of a Python 2 codebase in 2020. The only reason for not doing it in 4.1 was the tests/vm/netbsd breakage we took very long to debug and fix.

I wasn't exactly "willing" in 2019...

Quoted 4 lines

I have just submitted this pull request:

Subject: [PULL 0/2] Require Python >= 3.5 to build QEMU
https://lore.kernel.org/qemu-devel/[email protected]/

Awesome, thanks!

maintainer
#5 lore raw
In reply to Markus Armbruster
Quoted 8 lines · Markus Armbruster

Python 2 EOL is only a few days away[*]. We made configure bitch about it in commit e5abf59eae "Deprecate Python 2 support", 2019-07-01. Any objections to retiring it now, i.e. in 5.0?

Cc'ing everyone who appears to be maintaining something that looks like a Python script.

[*] https://pythonclock.org/

Fortunately Betteridge's law of headlines is not always true. :)

Paolo

#6 lore raw
Quoted 5 lines · Paolo Bonzini
Quoted 4 lines · Markus Armbruster

Python 2 EOL is only a few days away[*]. We made configure bitch about it in commit e5abf59eae "Deprecate Python 2 support", 2019-07-01. Any objections to retiring it now, i.e. in 5.0?

Quoted 8 lines
Quoted 4 lines

Cc'ing everyone who appears to be maintaining something that looks like a Python script.

[*] https://pythonclock.org/

Fortunately Betteridge's law of headlines is not always true. :)

Perhaps we can formulate a new law that says:

"Any person who says that he/she is pretty sure he/she is not a maintainer of something at all, is, in fact, and for sure, the maintainer of that thing."

:)

Aleksandar

Paolo

Quoted 3 lines