Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dropping support for Python 2 #990

Open
pitkajuh opened this issue Jul 6, 2024 · 1 comment
Open

Dropping support for Python 2 #990

pitkajuh opened this issue Jul 6, 2024 · 1 comment

Comments

@pitkajuh
Copy link
Contributor

pitkajuh commented Jul 6, 2024

On many Python files, there is line

from __future__ import absolute_import, print_function

which is used for compatibility for both Python 2 and Python 3. Root 6.32 dropped support for Python 2. Is there any plans stop supporting Python 2 in this project? I think it has to be done at some point, especially if newer versions of Root will be used as prerequisite.

Migration to Python 3 has been discussed in #759 and #647, but as far as I can tell dropping support for Python 2 has not been discussed.

@guitargeek
Copy link
Contributor

Python 2 support has been dropped in ROOT, CMSSW, and practically speaking also in combine with the recent PR that removed the Python 2 environment from the CI:

So I guess this issue can be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants