Skip to content

[utils] Migrate compare.py shebang to python3 #260

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

Merged

Conversation

tomershafir
Copy link
Contributor

Many modern environments link python to Python 2 and python3 to Python 3, so on those the script would be ran with Python 2. However, the script uses pandas and scipy which have long dropped support for Python 2. In addition, the code is effectively Python 3. Thus, its better to upgrade and explictly run the script using python3.

Many modern environments link `python` to Python 2 and `python3` to Python 3, so on those the script would be ran with Python 2. However, the script uses `pandas` and `scipy` which have long dropped support for Python 2. In addition, the code is effectively Python 3. Thus, its better to upgrade and explictly run the script using `python3`.
@MatzeB
Copy link
Contributor

MatzeB commented Jun 18, 2025

LGTM

@MatzeB MatzeB merged commit 9949b17 into llvm:main Jun 18, 2025
1 check passed
@tomershafir tomershafir deleted the utils-compare-migrate-shebang-to-python3 branch June 18, 2025 19:05
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

Successfully merging this pull request may close these issues.

2 participants